tilegx: optimize string copy_byte() internal function
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-02  Chris Metcalf  <cmetcalf@tilera.com>
2
3         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4
5 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6
7         * nptl/tst-setuid3.c: Write errors to stdout.
8
9 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10
11         * elf/dl-deps.c
12         (preload): New functions broken out of _dl_map_object_deps.
13         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14
15 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16
17         [BZ #14138]
18         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20
21 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22
23         * sysdeps/mips/strcmp.S: New.
24
25 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26
27         [BZ #14138]
28         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29         (linkat): Likewise.
30         (mkdirat): Likewise.
31         (readlinkat): Likewise.
32         (renameat): Likewise.
33         (symlinkat): Likewise.
34         (unlinkat): Likewise.
35         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42
43 2014-09-30  Will Newton  <will.newton@linaro.org>
44
45         * math/math.h: Define long double math functions if
46         _LIBC_TEST is defined.
47         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
48
49         * localedata/Makefile: Move assignment to tests-special
50         into an ifdef testing run-built-tests.
51         * timezone/Makefile: Likewise.
52
53 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
54
55         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
56         with $(BASH) not $(SHELL).
57
58 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
59             Matthew LeGendre  <legendre1@llnl.gov>
60
61         [BZ #17411]
62         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
63         l_reloc_result.
64
65 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
66
67         * stdio-common/printf_fp.c
68         (hack_digit): New function, broken out of ...
69         (__printf_fp): ... local function here.  Update call sites.
70         hack_digit now takes an additional parameter that is a pointer
71         to a struct of the referenced locals.  Those locals moved inside
72         the struct and references updated.
73
74 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
75
76         * aclocal.m4: Require autoconf 2.69.
77         * configure: Regenerated.
78         * sysdeps/aarch64/configure: Likewise.
79         * sysdeps/alpha/configure: Likewise.
80         * sysdeps/arm/armv7/configure: Likewise.
81         * sysdeps/arm/configure: Likewise.
82         * sysdeps/ia64/configure: Likewise.
83         * sysdeps/mach/configure: Likewise.
84         * sysdeps/mips/configure: Likewise.
85         * sysdeps/s390/configure: Likewise.
86         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
87         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
88
89         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
90         file.
91         * sysdeps/ia64/configure.ac: Likewise.
92
93 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
94
95         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
96         specify symbol version for ld.so.  Do not include entry for
97         libpthread.
98         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
99         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
100         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
101
102         [BZ #14171]
103         * Makeconfig [$(build-shared) = yes]
104         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
105         makefiles.
106         [$(build-shared) = yes && $(soversions.mk-done) = t]
107         ($(common-objpfx)gnu/lib-names.h): Remove rule.
108         [$(build-shared) = yes && $(soversions.mk-done) = t]
109         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
110         to Makerules.
111         [$(build-shared) = yes && $(soversions.mk-done) = t]
112         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
113         here.
114         [$(build-shared) = yes && $(soversions.mk-done) = t]
115         (common-generated): Don't append gnu/lib-names.h and
116         gnu/lib-names.stmp here.
117         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
118         (lib-names-h-abi): New variable.
119         [$(build-shared) = yes && $(soversions.mk-done) = t]
120         (lib-names-stmp-abi): Likewise.
121         [$(build-shared) = yes && $(soversions.mk-done) = t &&
122         abi-variants] (before-compile): Append
123         $(common-objpfx)$(lib-names-h-abi).
124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
125         abi-variants] (common-generated): Append gnu/lib-names.h.
126         [$(build-shared) = yes && $(soversions.mk-done) = t &&
127         abi-variants] (install-others-nosubdir): Depend on
128         $(inst_includedir)/$(lib-names-h-abi).
129         [$(build-shared) = yes && $(soversions.mk-done) = t &&
130         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
131         [$(build-shared) = yes && $(soversions.mk-done) = t]
132         ($(common-objpfx)$(lib-names-h-abi)): New rule.
133         [$(build-shared) = yes && $(soversions.mk-done) = t]
134         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
135         [$(build-shared) = yes && $(soversions.mk-done) = t]
136         (common-generated): Append $(lib-names-h-abi) and
137         $(lib-names-stmp-abi).
138         * scripts/lib-names.awk: Do not handle multi being set.
139         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
140         Remove variable.
141         (abi-lp64_be-ld-soname): Likewise.
142         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
143         Likewise.
144         (abi-hard-ld-soname): Likewise.
145         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
146         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
147         Remove variable.
148         (abi-o32_hard-ld-soname): Likewise.
149         (abi-o32_soft_2008-ld-soname): Likewise.
150         (abi-o32_hard_2008-ld-soname): Likewise.
151         (abi-n32_soft-ld-soname): Likewise.
152         (abi-n32_hard-ld-soname): Likewise.
153         (abi-n32_soft_2008-ld-soname): Likewise.
154         (abi-n32_hard_2008-ld-soname): Likewise.
155         (abi-n64_soft-ld-soname): Likewise.
156         (abi-n64_hard-ld-soname): Likewise.
157         (abi-n64_soft_2008-ld-soname): Likewise.
158         (abi-n64_hard_2008-ld-soname): Likewise.
159         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
160         Likewise.
161         (abi-64-v2-ld-soname): Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
163         ld.so entries.
164         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
165         variable.
166         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
167         entry.
168         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
169         variable.
170         (abi-64-ld-soname): Likewise.
171         (abi-x32-ld-soname): Likewise.
172         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
173         entry.
174         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
175
176 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
177
178         [BZ #14138]
179         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
180         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
181         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
182         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
183         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
184         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
185         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
186         syscall entry for GLIBC_2.2 symbol version.
187         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
188         Likewise.
189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
190         (setrlimit): Likewise.
191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
192         Likewise.
193
194 2014-09-23  Will Newton  <will.newton@linaro.org>
195
196         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
197         _LINUX_ARM_SYSDEP_H include guard too.
198         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
199         define.
200
201 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
202
203         * sysdeps/unix/sysv/linux/eventfd.c:
204         Make first argument unsigned.
205         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
206         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
207
208 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
209
210         * socket/recvmmsg.c (recvmmsg): Drop const argument.
211         * socket/sys/socket.h: Likewise
212         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
213
214 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
215
216         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
217
218 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
219
220         * time/tst-ftime.c: New test.
221         * time/Makefile (tests): Add tst-ftime.
222
223 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
224
225         * soft-fp/extended.h: Fix comment formatting.
226         * soft-fp/op-1.h: Likewise.
227         * soft-fp/op-2.h: Likewise.
228         * soft-fp/op-4.h: Likewise.
229         * soft-fp/op-8.h: Likewise.
230         * soft-fp/op-common.h: Likewise.
231         * soft-fp/soft-fp.h: Likewise.
232
233         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
234
235 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
236
237         [BZ #6652]
238         * Makeconfig (soversions-default-setname): Remove variable.
239         ($(common-objpfx)soversions.i): Don't pass default_setname to
240         soversions.awk.
241         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
242         oldest_abi to abi-versions.awk.
243         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
244         * config.make.in (oldest-abi): Remove variable.
245         * configure.ac (--enable-oldest-abi): Remove configure option.
246         * configure: Regenerated.
247         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
248         text.
249         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
250         * scripts/soversions.awk: Do not handle default_setname variable.
251         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
252         variable.
253         * sysdeps/mach/hurd/configure: Regenerated.
254         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
255         variable.
256         * sysdeps/unix/sysv/linux/configure: Regenerated.
257
258 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
259
260         * elf/Makefile (CFLAGS-interp.c): Remove.
261         ($(elf-objpfx)runtime-linker.h): Generate header with linker
262         path string.
263         * elf/interp.c: Include generated runtime-linker.h
264
265         * Makerules (lib%.so): Don't include $(+interp) in
266         prerequisites.
267         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
268         * dlfcn/eval.c: Remove file.
269
270         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
271         macros.
272
273         [BZ #17266]
274         * misc/sys/cdefs.h: Define __extern_always_inline for clang
275         4.2 and newer.
276
277         [BZ #17370]
278         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
279
280 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
281             Jakub Jelinek  <jakub@redhat.com>
282
283         [BZ #17266]
284         * libio/stdio.h: Check definition of __fortify_function
285         instead of __extern_always_inline to include bits/stdio2.h.
286         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
287         check if __extern_always_inline is defined.
288         [__USE_MISC || __USE_XOPEN]: Likewise.
289         [__USE_ISOC99] Likewise.
290         * misc/sys/cdefs.h (__fortify_function): Define only if
291         __extern_always_inline is defined.
292         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
293         __extern_always_inline and __extern_inline only for g++-4.3
294         and newer or a compatible gcc.
295
296 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
297
298         [BZ #17371]
299         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
300         last change to handle zero prefix length.
301
302 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
303
304         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
305         _SC_REGEX_VERSION.
306
307         * posix/getconf.c (vars): Add _POSIX_IPV6 and
308         _POSIX_RAW_SOCKETS.
309
310 2014-09-13  Allan McRae  <allan@archlinux.org>
311
312         * po/ru.po: Update Russian translation from translation project.
313
314 2014-09-12  Roland McGrath  <roland@hack.frob.com>
315
316         * locale/programs/locale.c (show_locale_vars): Inline local function
317         into its sole call site.  Clean up some style nits.
318         (print_item): New function, broken out of ...
319         (show_info): ... local function here.  Clean up style nits.
320
321         * locale/programs/ld-ctype.c (set_one_default): New function, broken
322         out of ...
323         (set_class_defaults): ... local function set_default here.
324         Define set_default as a macro locally to pass constant parameters.
325         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
326         rather than a shared local.
327
328         * stdlib/rpmatch.c (try): New function, broken out of ...
329         (rpmatch): ... local function here.  Also, prototypify definition.
330
331 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
332
333         * scripts/soversions.awk: Do not handle configuration names.
334         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
335         vendor and os variables to soversions.awk.
336         * configure.ac: Do not modify gnu-* host_os.
337         * configure: Regenerated
338         * shlib-versions: Remove first column with configuration names.
339         * nptl/shlib-versions: Likewise.
340         * nptl_db/shlib-versions: Likewise.
341         * sysdeps/hppa/shlib-versions: Likewise.
342         * sysdeps/m68k/shlib-versions: Likewise.
343         * sysdeps/mach/hurd/shlib-versions: Likewise.
344         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
345         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
346         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
347         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
348         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
349         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
350         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
351         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
353         Likewise.
354         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
355         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
356         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
357         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
358         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
359         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
360         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
361         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
362
363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
364         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
366         Regenerated.
367         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
369         Condition symbol version definitions on [HAVE_ELFV2_ABI].
370
371         * shlib-versions: Remove OS-specific entries.  Moved to files in
372         sysdeps.
373         * sysdeps/mach/hurd/shlib-versions: New file.
374         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
375
376         * nptl/shlib-versions: Remove architecture-specific entries.
377         Moved to files in sysdeps.
378         * shlib-versions: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
380         file.
381         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
382         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
383         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
384         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
385
386         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
387         (UDP_NO_CHECK6_RX): Likewise.
388
389 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
390
391         * sysdeps/posix/sysconf.c (__sysconf): Spell
392         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
393
394 2014-08-12  Florian Weimer  <fweimer@redhat.com>
395
396         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
397         loading.
398         * iconv/Versions (__gconv_transliterate): Export for use from
399         gconv modules.
400         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
401         (struct __gconv_trans_data, __gconv_trans_fct,
402         __gconv_trans_context_fct, __gconv_trans_query_fct,
403         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
404         definitions.
405         (struct __gconv_step_data): Remove __trans member.
406         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
407         longer hidden.  Remove unused trans_data argument.
408         * iconv/gconv_int.h (struct trans_struct): Remove definition.
409         (__gconv_translit_find): Remove declaration.
410         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
411         prototype.
412         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
413         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
414         trans_data argument.  Add hidden definition.
415         (__gconv_translit_find): Remove.
416         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
417         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
418         * iconv/skeleton.c: Remove transliteration initialization.
419         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
420         __gconv_step_data initialization.
421         * libio/iofwide.c (__libio_translit_): Remove.
422         (_IO_fwide): Adjust struct __gconv_step_data initialization.
423         * wcsmbs/btowc.c (__btowc): Likewise.
424         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
425         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
426         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
427         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
428         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
429         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
430         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
431         * wcsmbs/wctob.c (wctob): Likewise.
432
433 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
434
435         [BZ #16194]
436         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
437         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
438         register usage.
439         * sysdeps/x86/Makefile: Adjust.
440
441 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
442             Roland McGrath  <roland@hack.frob.com>
443
444         * locale/weight.h: Add include guard.
445         (findidx): Make static rather than auto; take new parameters
446         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
447         * locale/weightwc.h: Likewise.
448         * posix/fnmatch_loop.c
449         (FCT): Change type of EXTRA from int32_t to wint_t.
450         Don't include either header inside the function.
451         Call FINDIDX rather than findidx, and pass new arguments.
452         #undef FINDIDX at the end of the file.
453         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
454         FINDIDX before including fnmatch_loop.c for the non-wide version.
455         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
456         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
457         for the wide version.
458         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
459         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
460         Pass new arguments to findidx.
461         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
462         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
463         Don't #include it inside the function.  Pass new arguments to findidx.
464         * posix/regex_internal.h
465         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
466         (re_string_elem_size_at): Don't #include it inside the function.
467         Pass new arguments to findidx.
468         * string/strcoll_l.c: #include WEIGHT_H at top level.
469         (get_next_seq): Don't #include it inside the function.
470         Pass new arguments to findidx.
471         (get_next_seq_nocache): Likewise.
472         * string/strxfrm_l.c: #include WEIGHT_H at top level.
473         (STRXFRM): Don't #include it inside the function.
474         Pass new arguments to findidx.
475
476 2014-09-11  Florian Weimer  <fweimer@redhat.com>
477
478         [BZ #17344]
479         * malloc/malloc.c (unlink): Turn asserts into a call to
480         malloc_printerr.
481
482 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
483
484         [BZ #17370]
485         * libio/wfileops (do_ftell_wide): Free OUT.
486
487 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
488
489         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
490
491 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
492
493         [BZ #17363]
494         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
495         group if the current group is empty.
496
497 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
498
499         * benchtests/bench-memset.c (test_main): Add more test from size
500         from 32 to 512 bytes.
501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
502         Add POWER8 memset object.
503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
504         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
505         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
506         implementation.
507         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
508         Likewise.
509         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
510         multiarch POWER8 memset optimization.
511         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
512         POWER8 memset optimization.
513
514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
515         Remove bzero multiarch objects.
516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
518         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
519         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
520         Remove define.
521         [__bzero]: Redefine to specific name.
522         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
523         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
525         define.
526         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
527         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
528
529 2014-09-10  Florian Weimer  <fweimer@redhat.com>
530
531         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
532         warnings into errors.
533
534         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
535         __cxa_thread_atexit_impl prototype.
536
537 2014-09-09  Steve Ellcey  <sellcey@mips.com>
538
539         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
540         Fix capitalization of error message.
541
542 2014-09-09  Steve Ellcey  <sellcey@mips.com>
543
544         * sysdeps/mips/preconfigure: Modify ABI tests.
545
546 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
547
548         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
549
550 2014-09-07  Roland McGrath  <roland@hack.frob.com>
551             Carlos O'Donell  <carlos@systemhalted.org>
552
553         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
554         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
555         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
556         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
557         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
558         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
559         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
560         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
561         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
572         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
574         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
575         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
576         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
577         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
578         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
579         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
580         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
581         Deconditionalize the code that was previously under [RESET_PID].
582         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
583         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
584         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
585         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
586         include sysdep.h.
587
588 2014-09-08  Allan McRae  <allan@archlinux.org>
589
590         * version.h (RELEASE): Set to "development".
591         (VERSION): Set to "2.20.90"
592
593 2014-09-07  Allan McRae  <allan@archlinux.org
594
595         * version.h (RELEASE): Set to "stable".
596         (VERSION): Set to "2.20"
597         * include/features.h (__GLIBC_MINOR__): Set to 20.
598
599         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
600         Liebler.
601
602         * po/ko.po: Update Korean translation from translation project.
603
604 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
605
606         [BZ #17354]
607         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
608         macro for handling signed relocations.
609
610 2014-09-03  Florian Weimer  <fweimer@redhat.com>
611
612         [BZ #17325]
613         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
614         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
615         assert.
616         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
617         * iconvdata/ibm935.c (BODY): Likewise.
618         * iconvdata/ibm937.c (BODY): Likewise.
619         * iconvdata/ibm939.c (BODY): Likewise.
620         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
621         assert.
622         * iconvdata/Makefile (iconv-test.out): Pass module list to test
623         script.
624         * iconvdata/run-iconv-test.sh: New test loop for checking for
625         decoder crashers.
626
627 2014-09-02  Khem Raj  <raj.khem@gmail.com>
628
629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
630         libm_hidden_ver.
631
632 2014-09-01  Allan McRae  <allan@archlinux.org>
633
634         * po/eo.po: Update Esperanto translation from translation project.
635
636         * po/ca.po: Update Catalan translation from translation project.
637
638 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
639
640         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
641         __proc_dostop call.
642
643 2014-08-27  Mark Wielaard  <mjw@redhat.com>
644
645         [BZ #17319]
646         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
647         to call set_thread_area instead of hand written asm.
648         (__NR_set_thread_area): Removed define.
649         (TLS_FLAG_WRITABLE): Likewise.
650         (__ASSUME_SET_THREAD_AREA): Remove check.
651         (TLS_EBX_ARG): Remove define.
652         (TLS_LOAD_EBX): Likewise.
653
654 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
655
656         Simplify atomicity of socket creation in bind.
657
658         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
659         looking up the name after linking the file.
660
661 2014-08-27  Allan McRae  <allan@archlinux.org>
662
663         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
664
665 2014-08-26  Florian Weimer  <fweimer@redhat.com>
666
667         [BZ #17187]
668         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
669         trans_compare, open_translit, __gconv_translit_find):
670         Remove module loading code.
671
672 2014-08-26  Allan McRae  <allan@archlinux.org>
673
674         * po/vi.po: Update Vietnamese translation from translation project.
675
676         * po/uk.po: Update Ukrainian translation from translation project.
677
678         * po/fr.po: Update French translation from translation project.
679
680         * po/ru.po: Update Russian translation from translation project.
681
682         * po/pl.po: Update Polish translation from translation project.
683
684         * po/cs.po: Update Czech translation from translation project.
685
686         * po/de.po: Update German translation from translation project.
687
688         * po/bg.po: Update Bulgarian translation from translation project.
689
690         * po/sv.po: Update Sweedish translation from translation project.
691
692         * po/nl.po: Update Dutch translation from translation project.
693
694         * po/es.po: Update Spanish translation from translation project.
695
696 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
697
698         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
699
700         * catgets/Makefile (CPPFLAGS-gencat): Remove.
701         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
702         (CPPFLAGS-iconvconfig): Likewise.
703         * timezone/Makefile (CPPFLAGS-zic): Likewise.
704
705         * include/libc-symbols.h: Remove unnecessary check for
706         NOT_IN_libc.
707         * nptl/pthreadP.h: Likewise.
708         * sysdeps/aarch64/setjmp.S: Likewise.
709         * sysdeps/alpha/setjmp.S: Likewise.
710         * sysdeps/arm/sysdep.h: Likewise.
711         * sysdeps/i386/setjmp.S: Likewise.
712         * sysdeps/m68k/setjmp.c: Likewise.
713         * sysdeps/posix/getcwd.c: Likewise.
714         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
715         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
716         * sysdeps/s390/s390-32/setjmp.S: Likewise.
717         * sysdeps/s390/s390-64/setjmp.S: Likewise.
718         * sysdeps/sh/sh3/setjmp.S: Likewise.
719         * sysdeps/sh/sh4/setjmp.S: Likewise.
720         * sysdeps/unix/alpha/sysdep.h: Likewise.
721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
723         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
724         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
729         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
730         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
732         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
734         * sysdeps/x86_64/setjmp.S: Likewise.
735
736 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
737
738         [BZ #17263]
739         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
740         <stdint.h>.
741         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
742         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
743
744 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
745
746         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
747
748         [BZ #17262]
749         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
750         and __x86_64__ when disabling x87 inline functions.
751
752 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
753
754         [BZ #17259]
755         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
756         asm statement with __cpuid_count.
757
758 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
759
760         * configure.ac: Change __ehdr_start code to dereference the struct.
761         Run readelf on the output to look for relocations.
762         * configure: Regenerated.
763
764 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
765
766         [BZ #17261]
767         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
768         value to 0.
769         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
770
771 2014-08-12  Roland McGrath  <roland@hack.frob.com>
772
773         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
774
775 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
776
777         [BZ #16892]
778         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
779         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
780
781 2014-08-12  Sean Anderson  <seanga2@gmail.com>
782
783         * malloc/malloc.c: Fix typo in comment.
784
785 2014-08-09  Allan McRae  <allan@archlinux.org>
786
787         * Regenerate libc.po.
788
789 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
790
791         * intl/tst-gettext2.sh: Check every lang file for creation.
792
793 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
794
795         * sysdeps/aarch64/fpu/math_private.h
796         (libc_feholdsetround_noex_aarch64_ctx): New function.
797
798 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
799
800         * sysdeps/arm/armv6/strcpy.S (strcpy):
801         Fix performance issue in misaligned cases.
802
803 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
804
805         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
806         Move definition from termios.h.
807         (struct termio): Likewise.
808         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
809         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
810         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
811         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
812         Likewise.
813         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
814         Move definition to ioctl-types.h
815         (struct termio): Likewise.
816         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
817         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
818         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
819         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
820         Likewise.
821
822 2014-08-05  Richard Henderson  <rth@redhat.com>
823
824         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
825         exceptions.
826         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
827         Add fraiseexcpt.
828         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
829         Use __feraiseexcept.
830         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
831         Protect libm symbols with IS_IN_libm.
832
833         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
834
835 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
836
837         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
838
839 2014-08-04  Will Newton  <will.newton@linaro.org>
840
841         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
842         file.
843
844 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
845
846         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
847         variants for each function.
848
849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
850
851         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
852         appended ...
853         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
854         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
855         appended ...
856         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
857         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
858         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
859         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
860         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
861         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
862         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
863         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
864         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
865         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
866         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
867         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
868         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
869         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
870         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
871         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
872         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
873         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
874         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
875         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
876         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
877         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
878         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
879         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
880         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
881         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
882         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
883         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
884         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
885         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
886         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
887         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
888         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
889         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
890         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
891         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
892         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
893         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
895         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
896         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
897         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
898         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
899         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
900         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
902         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
904         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
906         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
907         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
908         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
909         Update #include.
910         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
911         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
912
913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
914
915         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
916         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
917         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
918         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
919         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
920         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
921
922 2014-08-04  Roland McGrath  <roland@hack.frob.com>
923
924         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
925         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
926         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
927         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
928
929 2014-08-04  Roland McGrath  <roland@hack.frob.com>
930
931         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
932         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
933         (__libc_vfork): Define function under this name.
934         (__vfork): Define as an alias.
935         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
936         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
937
938 2014-08-04  Roland McGrath  <roland@hack.frob.com>
939
940         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
941         that was previously under [RESET_PID].
942         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
943
944 2014-08-04  Andreas Schwab  <schwab@suse.de>
945
946         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
947
948 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
949
950         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
951         (main): Likewise.
952
953 2014-08-01  Roland McGrath  <roland@hack.frob.com>
954
955         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
956
957 2014-08-01  Richard Henderon  <rth@redhat.com>
958
959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
960         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
961         typo in exact zero test.
962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
963         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
965
966 2014-08-01  Roland McGrath  <roland@hack.frob.com>
967
968         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
969         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
970         * sysdeps/arm/sysdep.h: ... here.
971         [!__ASSEMBLER__]: Include <stdint.h>.
972
973 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
974
975         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
976         (HAVE_WCTYPE_H): Likewise.
977         (HAVE_ISWCTYPE): Likewise.
978         (ENABLE_NLS): Likewise.
979         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
980         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
981
982         * posix/regex_internal.c: Check if DEBUG is defined and is
983         set.
984
985         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
986         (HAVE_MBSRTOWCS): Likewise.
987         * posix/fnmatch.c: Include string.h unconditionally.
988
989 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
990
991         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
992         reversal.
993
994 2014-07-31  Roland McGrath  <roland@hack.frob.com>
995
996         * sysdeps/generic/safe-fatal.h: New file.
997         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
998         * nptl/forward.c: Include it.
999         (__pthread_unwind): Use __safe_fatal as default action, rather
1000         than a bogus use of INTERNAL_SYSCALL that could never work.
1001
1002         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1003         * configure.ac (libc_cv_builtin_trap): New test.
1004         * configure: Regenerated.
1005         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1006         (ABORT_INSTRUCTION): Define using __builtin_trap.
1007
1008         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1009         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1010         * sysdeps/nptl/nptl-signals.h: New file.
1011         * nptl/pthreadP.h: Include <nptl-signals.h>.
1012
1013 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1014
1015         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1016         (ONE_DIRECTION): Define.
1017         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1018         (ONE_DIRECTION): Define.
1019         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1020         (ONE_DIRECTION): Define.
1021
1022 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1023
1024         * sysdeps/s390/Makefile: Delete file.
1025         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1026         * sysdeps/s390/__longjmp.c: Delete file.
1027         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1028         Remove fields __flags and __reserved.
1029         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1030         and add versioning.
1031         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1032         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1033         * sysdeps/s390/rtld-setjmp.S: Likewise.
1034         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1035         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1036         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1037         * sysdeps/s390/s390-32/setjmp.S: ... here.
1038         Add versioning.
1039         (__sigsetjmp): Remove setting __flags field.
1040         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1041         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1042         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1043         * sysdeps/s390/s390-64/setjmp.S: ... here.
1044         Add versioning.
1045         (__sigsetjmp): Remove setting __flags field.
1046         * sysdeps/s390/setjmp.S: Delete file.
1047         * sysdeps/s390/sigjmp.c: Likewise.
1048         * sysdeps/s390/v1-longjmp.c: Likewise.
1049         * sysdeps/s390/v1-setjmp.h: Likewise.
1050         * sysdeps/s390/v1-sigjmp.c: Likewise.
1051         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1052         Remove v1-longjmp_chk.
1053         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1054         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1055         Include debug/longjmp_chk.c and add versioning.
1056         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1057         Include nptl/pt-longjmp.c and add versioning.
1058         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1059         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1060         Include __longjmp.c.
1061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1062         Move to ...
1063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1064         (__getcontext): Remove setting __flags field.
1065         Add versioning.
1066         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1067         Don't restore upper high grps.
1068         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1069         Likewise.
1070         (__swapcontext): Remove setting uc_flags field.
1071         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1072         Delete file.
1073         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1074         Include __longjmp.c.
1075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1076         Move to ...
1077         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1078         (__getcontext): Remove setting __flags field.
1079         Add versioning.
1080         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1081         (__swapcontext): Remove setting uc_flags field.
1082         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1083         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1084         Remove fields uc_high_gprs and __reserved.
1085         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1086         New file with reverted content.
1087         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1088         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1089         Regenerated.
1090         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1091         Regenerated.
1092
1093 2014-07-31  Andreas Schwab  <schwab@suse.de>
1094
1095         * config.h.in (HAVE_IFUNC): Define to 0.
1096         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1097         definedness.
1098
1099 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1100
1101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1102         memmove-avx-unaligned, memcpy-avx-unaligned and
1103         mempcpy-avx-unaligned.
1104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1105         Add tests for AVX memcpy functions.
1106         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1107         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1108         memcpy_chk.
1109         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1110         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1111         memmove_chk.
1112         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1113         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1114         mempcpy_chk.
1115         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1116         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1117         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1118
1119 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1120
1121         [BZ #17213]
1122         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1123         powerpc64le.
1124
1125 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1126
1127         [BZ #16839]
1128         * manual/llio.texi: Add section about open file description locks.
1129         * manual/examples/ofdlocks.c: Example of open file description
1130         lock usage.
1131         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1132         F_OFD_SETLK, and F_OFD_SETLKW.
1133
1134 2014-07-23  Allan McRae  <allan@archlinux.org>
1135
1136         * po/es.po: Update Spanish translation from translation project.
1137
1138 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1139
1140         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1141
1142 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1143
1144         [BZ #17078]
1145         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1146         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1147         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1148
1149 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1150
1151         [BZ #17088]
1152         * math/fesetenv.c (__fesetenv)
1153         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1154         * math/feupdateenv.c (__feupdateenv)
1155         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1156
1157         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1158         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1159         (__ASSUME_SOCKETCALL): Do not define.
1160
1161         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1162         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1163         (__ASSUME_SOCKETCALL): Do not define.
1164         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1165         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1167         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1169         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1171         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1172
1173         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1174         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1175         (__ASSUME_SOCKETCALL): Do not define.
1176         (__ASSUME_IPC64): Define unconditionally.
1177         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1178         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1179         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1181         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1183         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1184         Likewise.
1185
1186         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1187         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1188         (__ASSUME_SOCKETCALL): Do not define.
1189         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1190         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1191         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1192         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1193         (__ASSUME_REQUEUE_PI): Define unconditionally.
1194         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1195         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1196         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1197         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1199         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1200
1201         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1202         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1203         (__ASSUME_SOCKETCALL): Do not define.
1204         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1205         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1206         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1207         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1208         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1209         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1210
1211         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1212         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1213         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1214         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1215         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1216         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1218         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1219         (__ASSUME_GETCPU_SYSCALL): Likewise.
1220
1221         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1222         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1223         cases for individual architectures.
1224         * sysdeps/gnu/configure: Regenerated.
1225         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1226         LIBC_SLIBDIR_RTLDDIR.
1227         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1228         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1229         LIBC_SLIBDIR_RTLDDIR.
1230         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1232         LIBC_SLIBDIR_RTLDDIR.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1234         Regenerated.
1235         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1236         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1237         file.
1238         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1239         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1240         file.
1241         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1242         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1243         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1244         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1245
1246         * sysdeps/aarch64/shlib-versions: Move to ...
1247         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1248         * sysdeps/alpha/shlib-versions: Move to ...
1249         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1250         * sysdeps/arm/shlib-versions: Move to ...
1251         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1252         * sysdeps/hppa/shlib-versions: Move all contents except for
1253         libgcc_s entry to ...
1254         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1255         entry from ...
1256         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1257         * sysdeps/ia64/shlib-versions: Move to ...
1258         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1259         entry from ...
1260         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1261         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1262         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1263         * sysdeps/microblaze/shlib-versions: Move to ...
1264         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1265         * sysdeps/mips/shlib-versions: Move to ...
1266         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1267         entry from ...
1268         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1269         * sysdeps/tile/shlib-versions: Move to ...
1270         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1271         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1272         from ...
1273         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1274         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1275         entry from ...
1276         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1277
1278 2014-07-17  Will Newton  <will.newton@linaro.org>
1279
1280         * sysdeps/arm/bits/atomic.h
1281         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1282         (__arch_compare_and_exchange_bool_16_int): Likewise.
1283         (__arch_compare_and_exchange_bool_64_int): Likewise.
1284
1285         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1286         into an #else block.
1287
1288 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1289
1290         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1291         just Linux configurations.  Test empirically that the compiler sets
1292         __ARM_EABI__, rather than using the tuple to decide.
1293         * sysdeps/arm/preconfigure: Regenerated.
1294         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1295         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1296         contents appended ...
1297         * sysdeps/arm/configure.ac: ... here.
1298         * sysdeps/arm/configure: Regenerated.
1299
1300 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1301
1302         * nptl/pthread_kill.c: New file.
1303         * nptl/pthread_sigmask.c: New file.
1304         * nptl/pthread_sigqueue.c: New file.
1305
1306         * sysdeps/nptl/lowlevellock.h: New file.
1307         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1308         * sysdeps/nptl/lowlevellock-futex.h: New file.
1309
1310         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1311         Remove dead declarations.
1312
1313 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1314
1315         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1316         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1317         config-cflags-avx2.
1318         * sysdeps/x86_64/configure.ac: Likewise.
1319         * sysdeps/i386/configure: Regenerated.
1320         * sysdeps/x86_64/configure: Likewise.
1321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1322         memset-avx2 only if config-cflags-avx2 is yes.
1323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1324         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1325         defined.
1326         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1327         only if HAVE_AVX2_SUPPORT is defined.
1328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1329
1330 2014-07-14  Alan Modra  <amodra@gmail.com>
1331
1332         [BZ #17153]
1333         * elf/elf.h (DT_PPC64_NUM): Correct value.
1334         * NEWS: Add to fixed bug list.
1335
1336 2014-07-13  Jim Meyering  <meyering@fb.com>
1337
1338         [BZ 17150]
1339         regex: don't deref NULL upon heap allocation failure
1340         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1341         failure in one more place.
1342         To trigger the segfault, configure grep -with-included-regex,
1343         build it, and run these commands:
1344         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1345
1346 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1347
1348         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1349
1350 2014-07-11  Richard Henderson  <rth@redhat.com>
1351
1352         * sysdeps/aarch64/libm-test-ulps: Update.
1353
1354 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1355
1356         [BZ #17135]
1357         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1358         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1359         (__nptl_setxid): Initialize error member.  Call
1360         __nptl_setxid_error.
1361         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1362         * nptl/descr.h (struct xid_command): Add error member.
1363         * nptl/tst-setuid3.c: New file.
1364         * nptl/Makefile (tests): Add it.
1365
1366 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1367
1368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1369         New define.
1370         (__lll_trylock): Use __lll_base_trylock.
1371         (__lll_cond_trylock): Likewise.
1372
1373 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1374
1375         * nptl/pthread_create.c (start_thread): Use atomic_or and
1376         lll_futex_wake directly rather than lll_robust_dead.
1377         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1378         (lll_robust_dead): Macro removed.
1379         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1380         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1381         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1382         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1383         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1384         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1385         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1386         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1387         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1389         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1390         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1391         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1392         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1394
1395         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1396         Use atomic_compare_and_exchange_val_acq directly rather than
1397         lll_robust_trylock.
1398         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1399         (__lll_robust_trylock, lll_robust_trylock): Removed.
1400         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1401         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1402         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1403         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1404         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1405         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1406         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1407         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1409         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1411         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1412         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1413         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1414
1415 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1416
1417         * manual/locale.texi (Locale Names): New section documenting
1418         locale name syntax.  Adjust menu and node chaining accordingly.
1419         (Choosing Locale): Reference Locale Names, Locale Categories.
1420         Mention setting LC_ALL=C.  Reflect that name syntax is now
1421         documented.
1422         (Locale Categories): New section title.  Reference Locale Names.
1423         LC_ALL is an environment variable, but not a category.
1424         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1425         description, now in Locale Name.  Reference that section.  Locale
1426         name syntax is now documented.
1427
1428 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1429
1430         [BZ #17137]
1431         * locale/findlocale.c (name_present, valid_locale_name): New
1432         functions.
1433         (_nl_find_locale): Use the loc_name variable to store name
1434         candidates.  Call name_present and valid_locale_name to check and
1435         validate locale names.  Return an error if the locale is invalid.
1436
1437 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1438
1439         * locale/setlocale.c (setlocale): Use strdup for allocating
1440         composite name copy.
1441
1442 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1443
1444         Sync up with gnulib.
1445         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1446         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1447         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1448         and _GL_ARG_NONNULL.
1449         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1450         [!_LIBC]: Include code for Windows and Cygwin.
1451         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1452         Include prototype for int strerror_r.
1453         [!_LIBC] (is_open): New function.
1454         (flush_stdout): New function.
1455         (print_errno_message): Use it.
1456         (error): Likewise.
1457         (error_at_line): Likewise.
1458         (error_tail) Add function attribute macros.  Use
1459         __builtin_expect.
1460
1461         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1462
1463         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1464
1465         * io/ftw.c: Include sys/param.h unconditionally.
1466
1467         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1468
1469         [BZ #17125]
1470         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1471         libc_freeres_ptr.
1472         (freecache): New function to free CACHE on exit.
1473
1474         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1475         initialization.
1476
1477 2014-07-09  David S. Miller  <davem@davemloft.net>
1478
1479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1480
1481         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1482         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1483         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1484         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1485         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1486         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1487         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1488         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1489         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1490         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1491         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1492         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1493         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1494
1495 2014-07-09  Andreas Schwab  <schwab@suse.de>
1496
1497         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1498         output.
1499         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1500         (do_test): Likewise.
1501
1502         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1503
1504 2014-07-09  Will Newton  <will.newton@linaro.org>
1505
1506         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1507         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1508         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1509         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1510         * sysdeps/hppa/start.S (_start): Likewise.
1511
1512 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1513
1514         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1515
1516         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1517         defined.
1518
1519 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1520
1521         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1522         after checking that it is non-NULL.
1523
1524         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1525
1526 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1527
1528         * sysdeps/powerpc/memmove.c: Remove file.
1529         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1530         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1532         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1534         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1535         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1536         string memmove instead of removed powerpc one.
1537
1538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1539         [weak_alias]: Fix compiler warning due trailing data.
1540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1541         [weak_alias]: Likewise.
1542         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1543         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1544
1545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1546         (__libc_ifunc_impl_list): Add memmove functions.
1547
1548 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1549
1550         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1551         Remove code.
1552         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1553         Likewise
1554         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1555         Likewise
1556         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1557         Likewise
1558         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1559         Likewise
1560         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1561         Likewise
1562         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1563         Likewise
1564         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1565         Likewise
1566         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1567         Likewise
1568         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1569         Likewise
1570         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1571         Likewise
1572         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1573         Likewise
1574         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1575         Likewise
1576         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1577         Likewise
1578         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1579         Likewise
1580         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1581         Likewise
1582         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1583         Likewise
1584
1585 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1586
1587         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1588         to avoid alignment traps in non-cacheable memory.
1589         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1590
1591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1592         multiarch objects.
1593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1594         file: multiarch power7 memmove.
1595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1596         multiarch default memmove.
1597         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1598         multiarch memove for powerpc32/power4.
1599
1600         * string/bcopy.c: Use full path to include memmove.c.
1601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1602         multiarch objects.
1603         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1604         bcopy for powerpc64.
1605         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1606         bcopy for powerpc64.
1607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1608         and memmove implementations.
1609         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1610         optimized multiarch memmove for POWER7/powerpc64.
1611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1612         default multiarch memmove for powerpc64.
1613         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1614         multiarch for powerpc64.
1615         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1616         for POWER7/powerpc64.
1617         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1618         memmove for POWER7/powerpc64.
1619
1620         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1621         glibc default one.
1622
1623         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1624         __ELF_NATIVE_CLASS equal to 64.
1625
1626 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1627
1628         * sysdeps/nptl/lowlevellock.h: File removed.
1629
1630         * NEWS: NPTL is no longer an add-on!
1631         * nptl/internaltypes.h: Moved ...
1632         * sysdeps/nptl/internaltypes.h: ... here.
1633         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1634         * sysdeps/nptl/fork.c: Likewise.
1635         * sysdeps/nptl/gai_misc.h: Likewise.
1636         * sysdeps/nptl/librt-cancellation.c: Likewise.
1637         * sysdeps/nptl/jmp-unwind.c: Likewise.
1638         * sysdeps/nptl/setxid.h: Likewise.
1639         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1640         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1641         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1642         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1643         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1644         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1645         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1646         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1647         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1648         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1649         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1650         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1651         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1652         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1653         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1654         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1655         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1656         * nptl/Makeconfig: Moved ...
1657         * sysdeps/nptl/Makeconfig: ... here.
1658         * nptl/configure: File removed.
1659         * nptl/ANNOUNCE: File removed.
1660         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1661         * sysdeps/unix/sysv/linux/configure: Regenerated.
1662
1663         * nptl/Makefile (routines): Add libc_pthread_init,
1664         libc_multiple_threads, register-atfork and unregister-atfork.
1665         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1666         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1667         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1668         pthread-pi-defines.sym, structsem.sym.
1669         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1670         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1671         [$(subdir) = nptl] (tests): Add tst-setgetname.
1672         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1673         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1674         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1675         [!LIBC_SIGACTION]: Remove aliases.
1676         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1677         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1678         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1679         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1680         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1681         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1682         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1683         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1684         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1685         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1686         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1687         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1688         __libc_allocate_rtsig_private.
1689         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1690         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1691         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1692         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1693         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1694         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1695         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1696         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1697         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1698         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1699         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1700         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1701         * nptl/internaltypes.h: ... here.
1702         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1703         * sysdeps/nptl/jmp-unwind.c: ... here.
1704         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1705         * nptl/libc-lowlevellock.c: ... here.
1706         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1707         * nptl/libc_multiple_threads.c: ... here.
1708         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1709         * nptl/libc_pthread_init.c: ... here.
1710         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1711         * nptl/lowlevelbarrier.sym: ... here.
1712         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1713         * nptl/lowlevelcond.sym: ... here.
1714         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1715         * nptl/lowlevellock.c: ... here.
1716         * nptl/lowlevellock.h: Moved ...
1717         * sysdeps/nptl/lowlevellock.h: ... here.
1718         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1719         * nptl/lowlevelrobustlock.c: ... here.
1720         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1721         * nptl/lowlevelrobustlock.sym: ... here.
1722         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1723         * nptl/lowlevelrwlock.sym: ... here.
1724         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1725         * nptl/pt-fork.c: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1727         * nptl/pthread-pi-defines.sym: ... here.
1728         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1729         * nptl/pthread_attr_getaffinity.c: ... here.
1730         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1731         * nptl/pthread_attr_setaffinity.c: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1733         * nptl/pthread_mutex_cond_lock.c: ... here.
1734         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1735         Update #include.
1736         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1737         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1738         * nptl/pthread_once.c: ... here, replacing old file.
1739         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1740         * nptl/pthread_yield.c: ... here.
1741         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1742         * nptl/register-atfork.c: ... here.
1743         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1744         * nptl/sem_post.c: ... here.
1745         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1746         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1747         * nptl/sem_timedwait.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1749         * nptl/sem_trywait.c: ... here.
1750         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1751         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1752         * nptl/sem_wait.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1754         * nptl/structsem.sym: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1756         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1757         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1758         * nptl/unregister-atfork.c: ... here.
1759         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1760         * nptl/unwindbuf.sym: ... here.
1761         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1762         * sysdeps/nptl/fork.c: ... here.
1763         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1764         * sysdeps/nptl/fork.h: ... here.
1765         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1766         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1767         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1768         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1769         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1770         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1771         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1772         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1773         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1774         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1775         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1776         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1777         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1778         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1779         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1780         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1781         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1783         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1784         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1785         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1786         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1787         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1788         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1789         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1790         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1791         * sysdeps/unix/sysv/linux/raise.c: ... here.
1792         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1793         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1794         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1795         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1796         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1797         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1798         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1799         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1800         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1801         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1803         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1805         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1806         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1807
1808 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1809
1810         * sysdeps/generic/memcopy.h: Add comment for
1811         MEMCPY_OK_FOR_FWD_MEMMOVE.
1812
1813 2014-07-04  Will Newton  <will.newton@linaro.org>
1814
1815         * string/memchr.c: Merge from gnulib.
1816         [_LIBC]: Remove conditionals.
1817         (__ptr_t): Remove define.
1818         (LONG_MAX_32_BITS): Likewise.
1819         (LONG_MAX): Likewise.
1820         (MEMCHR): Use ANSI prototype and optimize algorithm.
1821
1822         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1823
1824 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1825
1826         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1827         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1828
1829         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1830         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1831         in a bare environment with no <stdlib.h> installed.
1832         * sysdeps/nptl/configure: Regenerated.
1833
1834         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1835
1836         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1837         AC_EGREP_CPP for kernel header checks, so they only succeed if
1838         including <linux/version.h> actually works right.
1839         * sysdeps/unix/sysv/linux/configure: Regenerated.
1840
1841         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1842         value so it's not diagnosed as unused.
1843
1844         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1845         thing) with "ifeq ($(subdir),rt)".
1846
1847 2014-07-03  Richard Henderson  <rth@redhat.com>
1848
1849         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1850         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1851         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1852
1853         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1854         (math_force_eval): New.
1855
1856         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1857         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1858
1859         * sysdeps/alpha/fpu/s_round.c: Remove file.
1860         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1861
1862         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1863         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1864         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1865         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1866         (_dl_start, print_statistics): Likewise.
1867         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1868         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1869
1870         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1871         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1872         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1873         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1875         (HP_SMALL_TIMING_AVAIL): Define.
1876         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1877         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1878         (HP_SMALL_TIMING_AVAIL): Define.
1879         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1880         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1881
1882         * sysdeps/aarch64/hp-timing.h: New file.
1883
1884         * sysdeps/generic/hp-timing.h: Remove dead comment.
1885         * sysdeps/generic/hp-timing-common.h: New file.
1886         * sysdeps/alpha/hp-timing.h: Include it.
1887         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1888         * sysdeps/i386/i686/hp-timing.h: Likewise.
1889         * sysdeps/ia64/hp-timing.h: Likewise.
1890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1892         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1893         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1894         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1895         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1896         (hp_timing_t): New.
1897
1898         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1899         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1900         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1901         * elf/rtld.c (_dl_start_final): Likewise.
1902         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1903         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1904         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1905         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1906         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1908         (HP_TIMING_DIFF_INIT): Remove.
1909         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1911         (HP_TIMING_DIFF_INIT): Remove.
1912         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1913         * sysdeps/i386/i686/hp-timing.c: Remove file.
1914         * sysdeps/x86_64/hp-timing.c: Remove file.
1915         * sysdeps/ia64/hp-timing.c: Remove file.
1916         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1917         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1919         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1920
1921         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1922         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1923         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1924         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1926         (HP_TIMING_ACCUM): Remove.
1927         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1928         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1929         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1930
1931         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1932         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1933         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1934         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1936         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1937         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1938         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1939
1940         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1941
1942 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1943
1944         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1945
1946 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1947
1948         Sync up with gettext.
1949         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1950         [_MSC_VER]: Include malloc.h
1951         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1952         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1953         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1954         TEMP_FAILURE_RETRY.  Cast return of alloca.
1955         [!_LIBC] Call gl_rwlock_init.
1956         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1957
1958 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1959
1960         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1961         before checking its value.
1962
1963 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1964
1965         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1966
1967         * debug/memcpy_chk.c: Don't include pagecopy.h.
1968         * debug/mempcpy_chk.c: Likewise.
1969         * string/memcpy.c: Likewise.
1970         * string/memmove.c: Likewise.
1971         * sysdeps/powerpc/memmove.c: Likewise.
1972         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1973         definition of PAGE_COPY_FWD_MAYBE here...
1974         * sysdeps/generic/pagecopy.h: ... from here.
1975         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1976
1977 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1978             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1979
1980         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1982         optimizations.
1983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1984         (__libc_ifunc_impl_list): Likewise.
1985         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1986         multiarch strcat for PPC64.
1987         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1988         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1989
1990 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1991
1992         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1993
1994 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1995
1996         * intl/loadmsgcat.c: Remove declaration of
1997         get_sysdep_segment_value.
1998         (get_sysdep_segment_value): Use ISO C style.
1999         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2000         semicolon.  Fix typo and formatting in comment.
2001         (_nl_unload_domain): Use ISO C style.
2002
2003         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2004
2005 2014-07-02  Will Newton  <will.newton@linaro.org>
2006
2007         * malloc/obstack.c: Merge from gnulib master.
2008         [HAVE_CONFIG_H]: Remove conditional code.
2009         [!_LIBC]: Include config.h.
2010         [!ELIDE_CODE]: Don't include inttypes.h, include
2011         stdint.h unconditionally.
2012         (print_and_abort): Mark as _Noreturn.
2013         (_obstack_allocated_p): Mark as __attribute_pure__.
2014         (obstack_free): Rename to __obstack_free.
2015         [!__attribute__]: Remove conditional code.
2016         * malloc/obstack.h: Merge from gnulib master.
2017         [__cplusplus]: Move conditional down.
2018         [!__attribute_pure__]: Define __attribute_pure__ here
2019         if it is not already defined.
2020         (_obstack_memory_used): Mark as __attribute_pure__.
2021         [!__obstack_free]: Define as obstack_free.
2022         [__GNUC__]: Remove check for ancient NeXT gcc.
2023
2024 2014-07-02  Will Newton  <will.newton@linaro.org>
2025             Paul Eggert  <eggert@cs.ucla.edu>
2026
2027         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2028
2029 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2030
2031         * resolv/gethnamaddr.c: Add comment warning that the file is
2032         not maintained.
2033
2034 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2035
2036         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2037         entries.
2038
2039         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2040         entry for aio_cancel and aio_cancel64.
2041         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2042         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2043         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2044         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2045         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2046         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2047         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2048         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2049         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2050         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2051         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2052         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2053         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2054
2055 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2056
2057         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2058         * nptl/pthread_mutex_lock.c: Likewise.
2059         * nptl/pthread_mutex_timedlock.c: Likewise.
2060         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2061
2062 2014-07-01  Richard henderson  <rth@redhat.com>
2063
2064         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2065         (__isnan, __isnanl): Remove.
2066         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2067
2068         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2069
2070 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2071
2072         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2073
2074 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2075
2076         * resolv/nss_dns/dns-host.c (getanswer_r)
2077         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2078
2079 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2080
2081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2082         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2083         undefine.
2084         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2085         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2086
2087 2014-07-01  Roland McGrath <roland@hack.frob.com>
2088
2089         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2090         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2091
2092         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2093         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2094
2095         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2096         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2097         ... here.
2098         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2099         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2100
2101         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2102         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2103         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2104         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2105
2106         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2107         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2108         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2109         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2110         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2111         Moved ...
2112         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2113         ... here.
2114         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2115         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2116         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2117         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2118         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2119         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2121         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2122         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2123         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2124         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2125         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2126         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2127         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2128         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2129         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2130         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2131         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2132         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2133         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2134         ... here.
2135         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2136         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2137         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2138         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2140         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2141         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2143
2144 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2145
2146         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2147         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2148         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2149         Add sysdep.
2150
2151 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2152
2153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2154
2155 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2156
2157         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2159
2160         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2161
2162         * sysdeps/arm/libm-test-ulps: Regenerated.
2163
2164 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2165             Roland McGrath <roland@hack.frob.com>
2166
2167         * test-skeleton.c (signal_handler): Kill the whole process group
2168         before killing the child individually.
2169         (main): Report any failure on `setpgid'.
2170
2171 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2172
2173         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2174         from _TLS_H to _ARM_NPTL_TLS_H.
2175         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2176         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2177
2178 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2179
2180         [BZ #16539]
2181         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2182         (__expm1l): Return argument unchanged when small but not
2183         subnormal.
2184
2185         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2186         include macro name.
2187         (_FP_UNPACK_RAW_1_P): Likewise.
2188         (_FP_PACK_RAW_1): Likewise.
2189         (_FP_PACK_RAW_1_P): Likewise.
2190         (_FP_MUL_MEAT_1_wide): Likewise.
2191         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2192         (_FP_MUL_MEAT_1_hard): Likewise.
2193         (_FP_DIV_MEAT_1_imm): Likewise.
2194         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2195         (_FP_DIV_MEAT_1_udiv): Likewise.
2196         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2197         (_FP_UNPACK_RAW_2): Likewise.
2198         (_FP_UNPACK_RAW_2_P): Likewise.
2199         (_FP_PACK_RAW_2): Likewise.
2200         (_FP_PACK_RAW_2_P): Likewise.
2201         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2202         (_FP_MUL_MEAT_2_wide): Likewise.
2203         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2204         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2205         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2206         (_FP_MUL_MEAT_2_gmp): Likewise.
2207         (_FP_DIV_MEAT_2_udiv): Likewise.
2208         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2209         (_FP_FRAC_SRL_4): Likewise.
2210         (_FP_FRAC_SRST_4): Likewise.
2211         (_FP_FRAC_SRS_4): Likewise.
2212         (_FP_UNPACK_RAW_4): Likewise.
2213         (_FP_UNPACK_RAW_4_P): Likewise.
2214         (_FP_PACK_RAW_4): Likewise.
2215         (_FP_PACK_RAW_4_P): Likewise.
2216         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2217         (_FP_MUL_MEAT_4_wide): Likewise.
2218         (_FP_MUL_MEAT_4_gmp): Likewise.
2219         (umul_ppppmnnn): Likewise.
2220         (_FP_DIV_MEAT_4_udiv): Likewise.
2221         (__FP_FRAC_ADD_4): Likewise.
2222         (__FP_FRAC_SUB_3): Likewise.
2223         (__FP_FRAC_SUB_4): Likewise.
2224         (__FP_FRAC_DEC_3): Likewise.
2225         (__FP_FRAC_DEC_4): Likewise.
2226         (__FP_FRAC_ADDI_4): Likewise.
2227         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2228         (_FP_FRAC_SRL_8): Likewise.
2229         (_FP_FRAC_SRS_8): Likewise.
2230
2231         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2232         include macro name.
2233         (FP_UNPACK_RAW_EP): Likewise.
2234         (FP_PACK_RAW_E): Likewise.
2235         (FP_PACK_RAW_EP): Likewise.
2236         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2237         (_FP_ISSIGNAN): Likewise.
2238         (_FP_ADD_INTERNAL): Likewise.
2239         (_FP_FMA): Likewise.
2240         (_FP_CMP): Likewise.
2241         (_FP_SQRT): Likewise.
2242         (_FP_TO_INT): Likewise.
2243         (_FP_FROM_INT): Likewise.
2244         (FP_EXTEND): Likewise.
2245         (_FP_DIV_MEAT_N_loop): Likewise.
2246
2247 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2248
2249         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2250         throughout.
2251
2252 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2253
2254         [BZ #17097]
2255         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2256         result with correct sign in case of exponents that produce
2257         overflow except for X very close to 1.
2258
2259 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2260
2261         mktime: merge #if/#ifdef usage from glibc
2262         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2263         as that works with both Glibc's and Gnulib's style.
2264         See thread starting at Siddhesh Poyarekar's bug report at:
2265         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2266
2267 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2268
2269         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2270         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2271         * sysdeps/tile/tilegx/memmove.c: Remove file.
2272
2273 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2274
2275         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2276         abi-name definition.
2277         * scripts/soversions.awk: Do not handle or generate ABI lines.
2278         * shlib-versions: Remove ABI entries.
2279         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2280         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2281
2282 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2283
2284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2285         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2289         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2291         Moved ...
2292         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2293         ... here.
2294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2295         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2299         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2301         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2314         Moved ...
2315         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2317         Moved ...
2318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2322         Moved ...
2323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2336         Moved ...
2337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2339         Moved ...
2340         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2346         ... here.
2347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2348         Identical file removed.
2349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2350         Moved ...
2351         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2353         Identical file removed.
2354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2357         Moved ...
2358         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2360         Identical file removed.
2361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2362         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2364         Identical file removed.
2365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2368         Identical file removed.
2369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2370         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2372         Identical file removed.
2373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2374         Moved ...
2375         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2377         Identical file removed.
2378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2379         Moved ...
2380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2384         Identical file removed.
2385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2386         Moved ...
2387         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2388         ... here.
2389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2390         Identical file removed.
2391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2392         Moved ...
2393         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2395         Identical file removed.
2396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2397         Moved ...
2398         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2400         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2402         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2404         Moved ...
2405         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2406         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2407         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2408
2409         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2410         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2411         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2412         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2413         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2414
2415 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2416
2417         [BZ #17092]
2418         * nscd/nscd.c (monitor_child): Return exit status of child
2419         instead of return value from wait syscall.
2420
2421 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2422
2423         * configure.ac (libc_commonpagesize): Remove variable.
2424         (libc_relro_required): Likewise.
2425         (libc_cv_z_relro): Remove configure test.
2426         * configure: Regenerated.
2427         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2428         variable.
2429         (libc_relro_required): Likewise.
2430         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2431         (libc_relro_required): Likewise.
2432         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2433         (libc_relro_required): Likewise.
2434         * sysdeps/arm/preconfigure: Regenerated.
2435         * sysdeps/ia64/preconfigure: Remove file.
2436         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2437         variable.
2438         (libc_relro_required): Likewise.
2439
2440         [BZ #16561]
2441         [BZ #16562]
2442         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2443         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2444         recompute overflowing results in original rounding mode.
2445         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2446         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2447         recompute overflowing results in original rounding mode.
2448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2449         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2450         recompute overflowing results in original rounding mode.
2451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2452         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2453         recompute overflowing results in original rounding mode.
2454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2456         recompute overflowing results in original rounding mode.
2457         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2458         (libc_feholdsetround_ctx): New macro.
2459         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2460         * sysdeps/i386/fpu/libm-test-ulps: Update.
2461         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2462
2463 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2464
2465         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2466         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2467         corresponding .cpsetup call.
2468
2469 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2470
2471         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2472         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2473         * sysdeps/arm/Makefile [$(subdir) = csu]
2474         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2475         (static-only-routines): Add aeabi_read_tp here.
2476         (shared-only-routines): Add libc-aeabi_read_tp here.
2477         (CFLAGS-libc-start.c): Add -fexceptions here.
2478         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2479         (sysdep_routines, static-only-routines, shared-only-routines):
2480         Don't add to these here.
2481         (CFLAGS-libc-start.c): Likewise.
2482
2483         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2484         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2485         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2486         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2487         * sysdeps/arm/Makefile [$(subdir) = rt]
2488         (librt-sysdep_routines, librt-shared-only-routines):
2489         Append rt-aeabi_unwind_cpp_pr1 here.
2490         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2491         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2492         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2493         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2494         Append nptl-aeabi_unwind_cpp_pr1 here.
2495         (tests): Filter out tst-cleanupx4 here.
2496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2497         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2498         Don't do those here.
2499
2500 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2501
2502         * scripts/list-sources.sh: Do not handle ports specially.
2503
2504 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2505
2506         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2507         * sysdeps/arm/feupdateenv.c: Likewise.
2508
2509         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2510
2511 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2512
2513         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2514         trailing whitespace removed.
2515         * scripts/config.guess: Update to version 2014-03-23.
2516         * scripts/config.sub: Update to version 2014-05-01
2517         * scripts/install-sh: Update to version 2013-12-25.23.
2518         * scripts/move-if-change: Update from gnulib.
2519
2520 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2521
2522         * debug/memmove_chk.c: Remove pagecopy.h include.
2523
2524 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2525
2526         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2527         identical to gnulib mktime.
2528
2529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2530
2531         * configure.ac: Do not test for machine being rs6000.  Do not test
2532         for powerpc*-*soft.
2533         * configure: Regenerated.
2534
2535         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2536         test.
2537         * configure: Regenerated.
2538         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2539         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2540         Remove configure test.
2541         * sysdeps/arm/configure: Regenerated.
2542         * sysdeps/nptl/configure.ac: Do not check
2543         libc_cv_asm_cfi_directives.
2544         * sysdeps/nptl/configure: Regenerated.
2545         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2546         * sysdeps/x86_64/nptl/configure: Remove generated file.
2547         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2548         unconditional.
2549         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2550
2551 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2552
2553         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2554         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2555         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2556         it is defined.
2557
2558         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2559         instead of whether it is defined.
2560         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2561         * sysdeps/hppa/dl-machine.h: Likewise.
2562         * sysdeps/ia64/dl-machine.h: Likewise.
2563         * sysdeps/m68k/dl-machine.h: Likewise.
2564         * sysdeps/microblaze/dl-machine.h: Likewise.
2565         * sysdeps/mips/dl-machine.: Likewise.
2566         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2567         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2568         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2569         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2570         * sysdeps/sh/dl-machine.h: Likewise.
2571         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2572         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2573         * sysdeps/tile/dl-machine.h: Likewise.
2574         * sysdeps/x86_64/dl-machine.h: Likewise.
2575
2576         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2577         code.
2578         (verify_persistent_db): Likewise.
2579
2580 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2581
2582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2583         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2585         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2587         Moved ...
2588         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2589         ... here.
2590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2591         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2593         Identical file removed.
2594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2595         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2597         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2599         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2601         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2603         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2605         Moved ...
2606         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2610         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2612         Moved ...
2613         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2615         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2617         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2619         Identical file removed.
2620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2621         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2623         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2625         Moved ...
2626         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2627         ... here.
2628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2631         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2633         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2635         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2637         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2639         Moved ...
2640         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2642         Moved ...
2643         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2645         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2647         Moved ...
2648         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2650         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2651
2652         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2653         folded into ...
2654         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2655         * sysdeps/unix/sysv/linux/s390/Versions
2656         (libpthread: GLIBC_2.19): New version set.
2657         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2658         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2659         (librt: GLIBC_2.3.3): New version set.
2660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2661         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2662         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2663         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2664         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2665         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2666         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2667         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2668         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2669         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2670         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2671         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2672         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2673         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2674         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2675         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2676         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2677         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2678         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2679         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2680         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2681         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2682         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2684         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2686         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2688         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2689         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2690         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2691         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2696         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2697         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2698         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2700         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2702         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2704         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2705
2706         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2707         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2708         (__libc_vfork): Define the function under this name.
2709         [!NOT_IN_libc] (__vfork): Make this an alias.
2710         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2712         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2713         (__libc_vfork): Define the function under this name.
2714         [!NOT_IN_libc] (__vfork): Make this an alias.
2715         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2716         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2717         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2719         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2720         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2721
2722         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2723         code that was previously under [RESET_PID].
2724         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2726         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2727
2728         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2729         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2730         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2731         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2732         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2733         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2734         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2735         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2736         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2737         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2738         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2741         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2742         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2743         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2744         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2745         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2746         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2748         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2750         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2752         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2754         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2756         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2757         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2758         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2759         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2760         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2761         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2762         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2763         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2764         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2765         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2766         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2768         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2769
2770 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2771
2772         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2773         that was previously under [RESET_PID].
2774         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2775
2776 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2777
2778         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2779         not undefine and redefine.
2780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2781         [O_CLOEXEC]: Make code unconditional.
2782         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2783         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2784         <kernel-features.h>.
2785         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2786         conditional variable definition.
2787         (shm_open) [O_CLOEXEC]: Make code unconditional.
2788         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2789         code.
2790
2791         * configure.ac (USE_REGPARMS): Don't define here.
2792         * configure: Regenerated.
2793         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2794         * sysdeps/i386/configure: Regenerated.
2795
2796         * nptl/createthread.c: Don't include kernel-features.h.
2797         * nptl/pthread_cancel.c: Likewise.
2798         * nptl/pthread_condattr_setclock.c: Likewise.
2799         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2800         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2801         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2802         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2803         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2805         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2808         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2809         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2810         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2811         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2812         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2813         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2814         * nscd/gai.c: Likewise.
2815         * nss/nss_db/db-open.c: Likewise.
2816         * sysdeps/generic/ldsodefs.h: Likewise.
2817         * sysdeps/sh/nptl/tls.h: Likewise.
2818         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2819         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2820         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2821         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2822         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2823         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2824         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2825         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2826         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2827         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2828         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2829         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2830         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2831         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2832         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2833         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2834         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2835         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2840         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2846         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2847         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2848         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2849         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2851         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2852         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2853         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2854         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2855         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2856         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2857         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2858         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2859         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2860         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2861         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2862         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2863         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2864         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2865         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2866         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2867         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2868         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2869         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2870         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2871         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2872         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2873         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2898         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2899         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2900         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2901         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2902         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2905         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2906         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2907         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2908         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2909         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2910         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2911         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2912         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2913         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2914         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2915         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2916         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2917         * sysdeps/unix/sysv/linux/system.c: Likewise.
2918         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2919         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2920         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2921         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2922         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2923         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2924         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2925
2926         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2927         * configure: Regenerated.
2928         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2929
2930         * configure.ac (base_machine): Do not set specially for particular
2931         machines here.
2932         * configure: Regenerated.
2933         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2934         settings from configure.ac.
2935         * sysdeps/i386/preconfigure: New file.
2936         * sysdeps/s390/preconfigure: Likewise.
2937         * sysdeps/sh/preconfigure: Likewise.
2938         * sysdeps/sparc/preconfigure: Likewise.
2939
2940 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2941
2942         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2943         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2944         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2945         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2946         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2947         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2948         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2949         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2950         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2951         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2952         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2953         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2954         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2958         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2959         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2960         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2961
2962         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2963         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2964         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2965         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2966         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2967         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2968         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2969         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2970         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2971         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2972         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2973         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2974         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2975         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2976         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2977         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2978         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2979         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2980         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2981         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2982         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2983         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2985         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2987         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2989         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2992         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2993         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2995         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2997         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2999         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3000
3001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3002         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3006         Moved ...
3007         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3008         ... here.
3009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3010         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3012         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3017         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3019         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3021         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3023         Moved ...
3024         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3026         Moved ...
3027         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3029         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3031         Moved ...
3032         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3034         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3036         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3038         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3040         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3042         Moved ...
3043         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3044         ... here.
3045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3046         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3048         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3050         Moved ...
3051         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3055         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3057         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3059         Moved ...
3060         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3065         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3067         Moved ...
3068         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3070         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3072         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3073
3074 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3075
3076         * timezone/checktab.awk: Update from tzcode 2014e.
3077         * timezone/private.h: Likewise.
3078         * timezone/tzfile.h: Likewise.
3079         * timezone/zdump.c: Likewise.
3080         * timezone/zic.c: Likewise.
3081
3082         * sysdeps/unix/sysv/linux/kernel-features.h
3083         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3085         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3086         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3087         Remove conditional code.
3088
3089 2014-06-25  Will Newton  <will.newton@linaro.org>
3090
3091         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3092         (_dl_arm_cap_flags): Add HWCAP2 values.
3093         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3094         (_DL_HWCAP_COUNT): Increase to 37.
3095         (_DL_HWCAP_LAST): New define.
3096         (_DL_HWCAP2_LAST): New define.
3097         (_dl_procinfo): Add support for printing
3098         AT_HWCAP2 entries.
3099         (_dl_string_hwcap): Use _dl_hwcap_string.
3100
3101 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3102
3103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3104
3105 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3106
3107         * README: Do not mention ports directory.
3108
3109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3110         Remove macro.
3111         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3112         <kernel-features.h>.
3113         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3114         conditional variable definition.
3115         (__futimes): Update comment.
3116         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3117         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3118
3119         [BZ #16560]
3120         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3121         arguments close to 0.
3122         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3123         Likewise.
3124         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3125         Likewise.
3126         * math/auto-libm-test-in: Add more tests of exp10.
3127         * math/auto-libm-test-out: Regenerated.
3128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3129
3130         * sysdeps/unix/sysv/linux/kernel-features.h
3131         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3132         * sysdeps/unix/sysv/linux/readv.c: Do not include
3133         <kernel-features.h>.
3134         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3135         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3136         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3137         unconditional.
3138         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3139         conditional code.
3140         * sysdeps/unix/sysv/linux/writev.c: Do not include
3141         <kernel-features.h>.
3142         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3143         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3144         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3145         unconditional.
3146         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3147         conditional code.
3148
3149 2014-06-25  Will Newton  <will.newton@linaro.org>
3150
3151         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3152         comment changes throughout the file.  Remove checks
3153         for HAVE_*_H definitions that are not required.
3154         (__gen_tempname): Call abort if an unknown kind value is
3155         passed.
3156
3157 2014-06-25  Andreas Schwab  <schwab@suse.de>
3158
3159         [BZ #17086]
3160         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3161         scalbln, scalblnf, scalblnl in libc.
3162
3163 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3164
3165         [BZ #17086]
3166         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3167         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3168         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3169
3170 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3171
3172         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3173         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3174         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3175         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3176         Update #include.
3177         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3178         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3179         Update #include.
3180         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3181         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3182         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3183         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3184         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3185         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3186         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3187         * sysdeps/x86/bits/semaphore.h: ... here.
3188         * sysdeps/x86/nptl/elide.h: Moved ...
3189         * sysdeps/x86/elide.h: ... here.
3190         * sysdeps/x86_64/nptl/Implies: File removed.
3191         * sysdeps/i386/nptl/Implies: File removed.
3192
3193 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3194
3195         [BZ #16539]
3196         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3197         return the argument for normal arguments with exponent below -64.
3198         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3199         Likewise.
3200         * math/auto-libm-test-in: Add another test of expm1.
3201         * math/auto-libm-test-out: Regenerated.
3202
3203         [BZ #16287]
3204         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3205         calling __erfcl for arguments at least 16.
3206         * math/auto-libm-test-in: Add more tests of erf.
3207         * math/auto-libm-test-out: Regenerated.
3208
3209         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3210         individual architectures.
3211         * sysdeps/unix/sysv/linux/configure: Regenerated.
3212         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3213         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3214         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3215         (ldd_rewrite_script): Define variable.
3216         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3218         file.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3220         generated file.
3221         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3222         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3223         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3224         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3225         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3226         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3227         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3228         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3229
3230 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3231
3232         [BZ #17084]
3233         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3234         Rename member __data.d to __data.__elision_data.
3235
3236 2014-06-24  Wilco  <wdijkstr@arm.com>
3237
3238         * NEWS: Add 16918 to fixed bug list.
3239
3240 2014-06-24  Wilco  <wdijkstr@arm.com>
3241
3242         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3243
3244 2014-06-24  Wilco  <wdijkstr@arm.com>
3245
3246         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3247         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3248         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3249         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3250         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3251         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3252         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3253         Use _FPU_MASK_RM.
3254
3255 2014-06-24  Wilco  <wdijkstr@arm.com>
3256
3257         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3258
3259 2014-06-24  Wilco  <wdijkstr@arm.com>
3260
3261         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3262         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3263         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3264         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3265
3266 2014-06-24  Wilco  <wdijkstr@arm.com>
3267
3268         [BZ #16918]
3269         * sysdeps/arm/feupdateenv.c (feupdateenv):
3270         Rewrite to reduce FPSCR accesses and fix return value.
3271
3272 2014-06-24  Wilco  <wdijkstr@arm.com>
3273
3274         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3275         Optimize to avoid unnecessary FPSCR writes.
3276         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3277         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3278         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3279         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3280
3281 2014-06-24  Wilco  <wdijkstr@arm.com>
3282
3283         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3284         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3285         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3286         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3287         Call libc_fetestexcept_vfp.
3288         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3289         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3290         __SOFTFP__ ifdef so that they can be built for softfp.
3291
3292 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3293
3294         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3295         argument type signed char.
3296
3297         * Makerules (check-abi): Dump diff of symlist if the test
3298         fails.
3299
3300 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3301
3302         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3303         using abort.
3304
3305         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3306         Remove unused variable ST.
3307
3308 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3309
3310         [BZ #16354]
3311         [BZ #17061]
3312         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3313         small arguments before calling __expm1.
3314         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3315         small arguments before calling __expm1f.
3316         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3317         small arguments before calling __expm1l.
3318         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3319         Likewise.
3320         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3321         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3322         spurious underflow for some cosh tests.
3323         * math/auto-libm-test-out: Regenerated.
3324         * sysdeps/i386/fpu/libm-test-ulps: Update.
3325
3326         [BZ #17050]
3327         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3328         (__ieee754_y1): Set errno if return value overflows.
3329         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3330         (__ieee754_y1f): Set errno if return value overflows.
3331         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3332         (__ieee754_y1l): Set errno if return value overflows.
3333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3334         (__ieee754_y1l): Set errno if return value overflows.
3335         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3336         * math/auto-libm-test-out: Regenerated.
3337
3338         * math/gen-auto-libm-tests.c: Document use of
3339         ignore-zero-inf-sign.
3340         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3341         (input_flags): Add ignore-zero-inf-sign.
3342         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3343         * math/gen-libm-test.pl (generate_testfile): Handle
3344         ignore-zero-inf-sign.
3345         * math/auto-libm-test-in: Mark some cpow tests with
3346         ignore-zero-inf-sign and some with xfail-rounding.
3347         * math/auto-libm-test-out: Regenerated.
3348         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3349         * sysdeps/i386/fpu/libm-test-ulps: Update.
3350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351
3352         [BZ #16315]
3353         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3354         overflowing or underflowing operations take place with sign of
3355         result.
3356         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3357         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3358         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3359         (__ieee754_pow): Recompute overflowing and underflowing results in
3360         original rounding mode.
3361         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3362         (__powl_helper): Allow negative argument X and scale negated value
3363         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3364         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3365         overflowing or underflowing operations take place with sign of
3366         result.
3367         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3368         Include <math.h>.
3369         * math/auto-libm-test-in: Add more tests of pow.
3370         * math/auto-libm-test-out: Regenerated.
3371         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3372         (pow_tonearest_test_data): Remove.
3373         (pow_test_tonearest): Likewise.
3374         (pow_towardzero_test_data): Likewise.
3375         (pow_test_towardzero): Likewise.
3376         (pow_downward_test_data): Likewise.
3377         (pow_test_downward): Likewise.
3378         (pow_upward_test_data): Likewise.
3379         (pow_test_upward): Likewise.
3380         (main): Don't call removed functions.
3381         * sysdeps/i386/fpu/libm-test-ulps: Update.
3382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3383
3384 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3385
3386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3387         Moved ...
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3390         Moved ...
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3393         Moved ...
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3396         Moved ...
3397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3399         File removed.
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3401         File removed.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3403         File removed.
3404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3405         File removed.
3406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3407         File removed.
3408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3409         File removed.
3410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3411         File removed.
3412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3413         File removed.
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3415         File removed.
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3417         File removed.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3419         File removed.
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3421         File removed.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3426         Moved ...
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3428         ... here.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3433         Moved ...
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3436         Moved ...
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3439         Moved ...
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3448         Moved ...
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3452         ... here.
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3454         Moved ...
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3457         Moved ...
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3459         ... here.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3461         Moved ...
3462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3463         ... here.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3465         Moved ...
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3467         ... here.
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3469         Moved ...
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3472         Moved ...
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3477         Moved ...
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3479         ... here.
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3481         Moved ...
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3483         ... here.
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3488         Moved ...
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3499         ... here.
3500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3501         Moved ...
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3504         Moved ...
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3507         Moved ...
3508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3510         Moved ...
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3518         Moved ...
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3521         Moved ...
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3523         ... here.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3525         Moved ...
3526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3527         ... here.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3529         Moved ...
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3531         ... here.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3533         Moved ...
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3536         Moved ...
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3539         Moved ...
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3542         Moved ...
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3544         ... here.
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3546         Moved ...
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3548         ... here.
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3550         Moved ...
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3552         ... here.
3553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3554         Moved ...
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3557         Moved ...
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3559
3560 2014-06-23  Will Newton  <will.newton@linaro.org>
3561             Wilco  <wdijkstr@arm.com>
3562
3563         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3564         implementation.  Include get-rounding-mode.h.
3565         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3566         [!libc_feholdsetround_noex_ctx]: Define
3567         libc_feholdsetround_noex_ctx.
3568         [!libc_feholdsetround_noexf_ctx]: Define
3569         libc_feholdsetround_noexf_ctx.
3570         [!libc_feholdsetround_noexl_ctx]: Define
3571         libc_feholdsetround_noexl_ctx.
3572         (libc_feholdsetround_ctx): New function.
3573         (libc_feresetround_ctx): New function.
3574         (libc_feholdsetround_noex_ctx): New function.
3575         (libc_feresetround_noex_ctx): New function.
3576
3577 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3578
3579         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3580         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3581         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3582         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3583         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3584         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3585
3586         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3587         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3588         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3589         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3590         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3591         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3593         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3597         Moved ...
3598         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3599         ... here.
3600         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3605         Moved ...
3606         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3608         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3610         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3612         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3614         Moved ...
3615         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3617         Moved ...
3618         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3620         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3627         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3628         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3629         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3633         Moved ...
3634         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3635         ... here.
3636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3637         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3639         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3641         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3643         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3645         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3647         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3649         Moved ...
3650         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3656         Moved ...
3657         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3659         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3660         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3661         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3662
3663         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3664         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3665         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3666         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3667         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3668         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3670         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3672         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3690         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3691
3692 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3693
3694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3695         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3696         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3697         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3698         (IPV6_PMTUDISC_INTERFACE): Likewise.
3699         (IPV6_PMTUDISC_OMIT): Likewise.
3700
3701 2014-06-23  Andreas Schwab  <schwab@suse.de>
3702
3703         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3704         Remove unused errout label.
3705
3706 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3707
3708         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3709         macro: hardware supports Vector Crypto instructions.
3710
3711 2014-06-23  Will Newton  <will.newton@linaro.org>
3712
3713         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3714         rather than __builtin_expect.
3715
3716         * elf/dl-lookup.c (undefined_msg): Remove variable.
3717         (_dl_lookup_symbol_x): Replace undefined_msg with string
3718         literal.
3719
3720         * elf/dl-lookup.c (do_lookup_unique): New function.
3721         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3722         to a separate function.
3723
3724 2014-06-23  Andreas Schwab  <schwab@suse.de>
3725
3726         [BZ #17079]
3727         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3728         before reading the next line.
3729
3730 2014-06-23  Will Newton  <will.newton@linaro.org>
3731
3732         * test-skeleton.c (signal_handler): Use printf and %m
3733         rather than perror.  Use printf rather than fprintf to
3734         stderr.  Use puts rather than fputs to stderr.
3735         (main): Likewise.
3736
3737 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3738
3739         * nscd/nscd.c (thread_info_t): Remove typedef.
3740         (thread_info): Remove variable.
3741
3742 2014-06-21  Allan McRae  <allan@archlinux.org>
3743
3744         * NEWS: Mention CVE-2014-4043.
3745
3746 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3747
3748         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3749         * nptl/smp.h: ... here.
3750
3751         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3752
3753         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3754         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3755         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3756         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3757
3758         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3759         * nptl/stack-aliasing.h: New file.
3760         * sysdeps/i386/i686/stack-aliasing.h: New file.
3761         * sysdeps/i386/i686/nptl/Makefile: File removed.
3762         * sysdeps/x86_64/stack-aliasing.h: New file.
3763         * sysdeps/x86_64/nptl/Makefile
3764         (CFLAGS-pthread_create.c): Variable removed.
3765
3766         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3767         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3768         old file.
3769         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3770         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3771         old file.
3772
3773 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3774
3775         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3776         (__ASSUME_SIGFRAME_V2): Remove macro.
3777         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3778         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3779         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3780         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3781         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3782         Declare as function.  Remove conditional macro definitions.
3783         (__default_rt_sa_restorer): Likewise.
3784         (__default_sa_restorer_v1): Remove declaration.
3785         (__default_sa_restorer_v2): Likewise.
3786         (__default_rt_sa_restorer_v1): Likewise.
3787         (__default_rt_sa_restorer_v2): Likewise.
3788         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3789         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3790         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3791
3792 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3793
3794         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3795         (libpthread-routines): Add sysdep.
3796         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3797         * sysdeps/unix/sysv/linux/sparc/Versions
3798         (libpthread: GLIBC_2.3.3): New version set.
3799         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3800         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3801         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3803         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3804         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3805         Moved ...
3806         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3808         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3810         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3811         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3812         * sysdeps/sparc/nptl/sem_init.c: ... here.
3813         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3814         * sysdeps/sparc/nptl/sem_post.c: ... here.
3815         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3816         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3817         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3818         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3819         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3821         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3822         (libpthread-routines): Add cpu_relax.
3823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3824         File removed.
3825         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3826         (librt: GLIBC_2.3.3): New version set.
3827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3828         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3829         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3830         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3833         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3835         Moved ...
3836         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3838         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3840         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3842         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3844         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3846         Moved ...
3847         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3848         Update #include.
3849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3850         Moved ...
3851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3852         Update #include.
3853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3854         Moved ...
3855         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3856         Update #include.
3857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3858         Moved ...
3859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3860         Update #include.
3861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3862         Moved ...
3863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3864         Update #include.
3865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3866         Moved ...
3867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3868         Update #include.
3869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3870         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3876         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3880         Moved ...
3881         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3886
3887 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3888
3889         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3890         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3891         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3892         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3893         * nscd/nscd.c: Likewise.
3894         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3895         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3896         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3897         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3898
3899         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3900         <kernel-features.h>.
3901         (init_mq_netlink): Remove conditional have_sock_cloexec
3902         definitions.  Remove code conditional on have_sock_cloexec < 0.
3903         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3904         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3905         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3906         <kernel-features.h>.
3907         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3908         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3909
3910 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3911
3912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3913         Add tests for memset_chk and memset.
3914
3915         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3916         with AVX2_Usable.
3917
3918 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3919
3920         [BZ #16046]
3921         * elf/tst-dl-iter-static.c: New file.
3922         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3923
3924         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3925         error.
3926
3927 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3928
3929         * sysdeps/unix/sysv/linux/kernel-features.h
3930         (__ASSUME_F_GETOWN_EX): Remove macro.
3931         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3932         <kernel-features.h>.
3933         (miss_F_GETOWN_EX): Remove variable or macro.
3934         (do_fcntl): Do not check miss_F_GETOWN_EX.
3935         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3936
3937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3938         Remove macro.
3939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3940         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3941         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3942
3943         * sysdeps/unix/sysv/linux/kernel-features.h
3944         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3945         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3946         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3947         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3948
3949 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3950
3951         [BZ #17075]
3952         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3953         Fix calculation of the symbol's value.
3954         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3955         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3956         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3957         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3958         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3959         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3960         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3961         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3962         (modules-names): Add `tst-armtlsdescmod',
3963         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3964         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3965         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3966         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3967         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3968         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3969         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3970         ($(objpfx)tst-armtlsdescloc): New dependency.
3971         ($(objpfx)tst-armtlsdescextnow): Likewise.
3972         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3973         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3974         TLS scheme support.
3975         * sysdeps/arm/configure: Regenerate.
3976
3977 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3978
3979         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3980         (__atfct_seterrno_2): Likewise.
3981         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3982         <kernel-features.h>.
3983         (__ASSUME_ATFCTS): Do not undefine and redefine.
3984         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3985         (__have_atfcts): Remove conditional definition.
3986         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3987         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3988         unreachable if [__ASSUME_ATFCTS].
3989         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3990         not undefine and redefine.
3991         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3992         <kernel-features.h>.
3993         (faccessat) [__NR_faccessat]: Make code unconditional.
3994         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3995         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3996         <kernel-features.h>.
3997         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3998         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3999         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4000         <kernel-features.h>.
4001         (fchownat) [__NR_fchownat]: Make code unconditional.
4002         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4003         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4004         <kernel-features.h>.
4005         (futimesat) [__NR_futimesat]: Make code unconditional.
4006         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4007         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4008         <kernel-features.h>.
4009         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4010         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4011         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4012         <kernel-features.h>.
4013         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4014         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4015         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4016         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4017         <kernel-features.h>.
4018         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4019         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4020         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4021         <kernel-features.h>.
4022         (linkat) [__NR_linkat]: Make code unconditional.
4023         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4024         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4025         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4026         <kernel-features.h>.
4027         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4028         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4029         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4030         <kernel-features.h>.
4031         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4032         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4033         * sysdeps/unix/sysv/linux/openat.c: Do not include
4034         <kernel-features.h>.
4035         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4036         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4037         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4038         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4039         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4040         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4041         <kernel-features.h>.
4042         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4043         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4044         result of INLINE_SYSCALL directly, not via int variable.
4045         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4046         <kernel-features.h>.
4047         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4048         (renameat) [__NR_renameat]: Make code unconditional.
4049         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4050         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4051         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4052         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4053         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4054         (__ASSUME_ATFCTS): Do not undefine and redefine.
4055         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4056         <kernel-features.h>.
4057         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4058         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4059         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4060         <kernel-features.h>.
4061         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4062         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4063         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4064         (__ASSUME_ATFCTS): Do not undefine and redefine.
4065         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4066         <kernel-features.h>.
4067         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4068         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4069         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4070         <kernel-features.h>.
4071         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4072         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4073
4074 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4075
4076         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4077
4078 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4079
4080         [BZ #17069]
4081         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4082         constructed tree before returning error.
4083         * posix/bug-regexp36.c: Expand test case.
4084
4085 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4086
4087         [BZ #6803]
4088         * math/libm-test.inc (scalbln_test_date):
4089         Add errno expectations.
4090         * math/w_scalblnf.c: New File.
4091         Add wrapper which checks for setting errno to ERANGE.
4092         Add weak_alias for corresponding scalbln function.
4093         * math/w_scalbln.c: Likewise.
4094         * math/w_scalblnl.c: Likewise.
4095         * math/Makefile (libm-calls): Add w_scalbln.
4096         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4097         Remove weak_alias for corresponding scalbln function.
4098         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4099         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4100         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4102         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4103         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4104         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4105         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4106         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4107         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4108         Remove long_double_symbol for scalblnl function in libm, libc.
4109         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4110         Add wrapper which checks for setting errno to ERANGE.
4111         Add long_double_symbol for scalblnl function in libm, libc.
4112         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4113         Remove long_double_symbol for scalblnl in libm.
4114         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4115         Add wrapper which checks for setting errno to ERANGE.
4116         Add long_double_symbol for scalblnl function in libm.
4117         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4118         Do not use wrapper because of own implementation.
4119
4120 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4121
4122         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4123         3 bytes for __pad1 for x32.
4124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4125
4126 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4127             H.J. Lu  <hongjiu.lu@intel.com>
4128
4129         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4130         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4131         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4132         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4133         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4134
4135 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4136
4137         [BZ #17069]
4138         * posix/regcomp.c (parse_expression): Deallocate partially
4139         constructed tree before returning error.
4140         * posix/Makefile.c (tests): Add bug-regex36.
4141         (generated): Add bug-regex36.mtrace.
4142         (tests-special): Add $(objpfx)bug-regex36-mem.out
4143         (bug-regex36-ENV): New variable.
4144         ($(objpfx)bug-regex36-mem.out): New rule.
4145         * posix/bug-regex36.c: New file.
4146
4147 2014-06-19  Will Newton  <will.newton@linaro.org>
4148
4149         * malloc/malloc.c (systrim): If extra is zero then return
4150         early.
4151
4152 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4153
4154         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4155
4156 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4157
4158         * sysdeps/aarch64/strchr.S: New file.
4159
4160 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4161
4162         [BZ #17022]
4163         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4164         from arguments -2 or below.
4165         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4166         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4167
4168 2014-06-18  Andreas Schwab  <schwab@suse.de>
4169
4170         [BZ #17062]
4171         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4172         of a bracket expr not to run off the end of the string.
4173         * posix/Makefile (tests): Add tst-fnmatch3.
4174         * posix/tst-fnmatch3.c: New file.
4175
4176 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4177
4178         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4179         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4180         [$(cross-compiling) = no]: Likewise.
4181         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4182         [$(cross-compiling) = no]: Likewise.
4183
4184 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4185
4186         [BZ #17031]
4187         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4188         double, adjusted for any remainder from the high double.
4189         * math/libm-test.inc (nearbyint): Add tests.
4190         (rint): Likewise.
4191
4192 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4193
4194         * nptl/sysdeps/powerpc/Makefile: Moved ...
4195         * sysdeps/powerpc/nptl/Makefile: ... here.
4196         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4197         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4198         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4199         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4200         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4201         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4202         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4203         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4204         * nptl/sysdeps/powerpc/tls.h: Moved ...
4205         * sysdeps/powerpc/nptl/tls.h: ... here.
4206
4207 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4208
4209         [BZ #16681]
4210         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4211         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4212         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4213         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4214         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4215         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4216         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4217         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4218         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4219
4220 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4221
4222         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4223
4224 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4225
4226         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4227         defined operator.
4228
4229         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4230         $TIMEOUTFACTOR.
4231
4232 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4233
4234         [BZ #17058]
4235         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4236         non-executed part of the test.
4237
4238 2014-06-16  Andreas Schwab  <schwab@suse.de>
4239
4240         * string/bits/string2.h (strdup, strndup): Update feature guard.
4241
4242 2014-06-14  David S. Miller  <davem@davemloft.net>
4243
4244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4245
4246 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4247
4248         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4249         that was previously under [RESET_PID].
4250         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4251
4252         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4253         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4254         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4255         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4256         (__libc_vfork): New strong alias.
4257         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4258
4259 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4260
4261         * sysdeps/generic/elide.h: New file.
4262
4263 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4264
4265         * Makefile (installed-headers): Adjust path of pthread.h header.
4266
4267 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4268
4269         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4270         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4272         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4273
4274         * nptl/sysdeps/s390/Makefile: Moved ...
4275         * sysdeps/s390/nptl/Makefile: ... here.
4276         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4277         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4278         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4279         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4280         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4281         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4282         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4283         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4284         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4285         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4286         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4287         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4288         * nptl/sysdeps/s390/tls.h: Moved ...
4289         * sysdeps/s390/nptl/tls.h: ... here.
4290
4291         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4292         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4293
4294 2014-06-13  David S. Miller  <davem@davemloft.net>
4295
4296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4299         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4303         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4304         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4305         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4306         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4307         Remove RESET_PID cpp guards.
4308         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4309         Remove RESET_PID cpp guards.
4310         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4311
4312 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4313
4314         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4315         __sp to uintptr_t.
4316
4317 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4318
4319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4339
4340         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4341         (pthread_rwlock_rdlock): Add elision.
4342         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4343         (pthread_rwlock_wrlock): Add elision.
4344         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4345         (pthread_rwlock_trywrlock): Add elision.
4346         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4347         (pthread_rwlock_tryrdlock): Add elision.
4348         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4349         (pthread_rwlock_tryrdlock): Add elision unlock.
4350         * nptl/sysdeps/pthread/pthread.h:
4351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4352         (PTHREAD_RWLOCK_INITIALIZER,
4353         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4354         Handle new elision field.
4355         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4356         * sysdeps/arm/nptl/bits/pthreadtypes.h
4357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4358         * sysdeps/sh/nptl/bits/pthreadtypes.h
4359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4360         * sysdeps/tile/nptl/bits/pthreadtypes.h
4361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4362         * sysdeps/a/nptl/bits/pthreadtypes.h
4363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4364         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4366         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4368         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4370         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4372         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4374         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4376         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4378         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4380         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4381         (elision_init): Set try_xbegin to zero when no RTM.
4382         * sysdeps/x86/nptl/bits/pthreadtypes.h
4383         (pthread_rwlock_t): Change __pad1 to __rwelision.
4384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4385
4386 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4387
4388         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4389         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4390         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4391         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4392
4393 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4394
4395         [BZ #16996]
4396         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4397         that the cached result has been set before returning it.
4398
4399 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4400
4401         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4402         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4404         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4406         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4407
4408         * nptl/sysdeps/sparc/Makefile: Moved ...
4409         * sysdeps/sparc/nptl/Makefile: ... here.
4410         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4411         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4412         * nptl/sysdeps/sparc/tls.h: Moved ...
4413         * sysdeps/sparc/nptl/tls.h: ... here.
4414         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4415         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4416         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4417         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4418         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4419         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4420         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4421         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4422         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4423         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4424         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4425         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4426         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4427         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4428         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4429         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4430         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4431         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4432         Update #include.
4433         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4435         Update #include.
4436         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4437         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4438         Update #include.
4439         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4440         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4441         Update #include.
4442
4443         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4444
4445         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4446         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4447
4448         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4449         (struct list_links): Type removed.
4450         (struct thread_node, struct timer_node): Replace struct list_links
4451         with struct list_head.
4452         (list_unlink_ip): Likewise.
4453         * sysdeps/pthread/timer_routines.c
4454         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4455         (list_append, list_insbefore): Likewise.
4456         (list_init): Function removed.
4457         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4458         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4459         * sysdeps/pthread/Makefile: ... here, new file.
4460
4461         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4462         * sysdeps/nptl/Implies: ... here.
4463         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4464         * nptl/sysdeps/pthread/list.h: Moved ...
4465         * include/list.h: ... here.
4466         * nptl/sysdeps/pthread/createthread.c: Moved ...
4467         * nptl/createthread.c: ... here.
4468         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4469         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4470         * nptl/pt-longjmp.c: ... here.
4471         * nptl/sysdeps/pthread/Makefile: Moved ...
4472         * sysdeps/nptl/Makefile: ... here.
4473         * nptl/sysdeps/pthread/Subdirs: Moved ...
4474         * sysdeps/nptl/Subdirs: ... here.
4475         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4476         * sysdeps/nptl/aio_misc.h: ... here.
4477         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4478         * sysdeps/nptl/bits/libc-lock.h: ... here.
4479         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4480         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4481         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4482         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4483         * nptl/sysdeps/pthread/configure: Moved ...
4484         * sysdeps/nptl/configure: ... here.
4485         * nptl/sysdeps/pthread/configure.ac: Moved ...
4486         * sysdeps/nptl/configure.ac: ... here.
4487         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4488         * sysdeps/nptl/gai_misc.h: ... here.
4489         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4490         * sysdeps/nptl/librt-cancellation.c: ... here.
4491         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4492         * sysdeps/nptl/malloc-machine.h: ... here.
4493         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4494         * sysdeps/nptl/pthread-functions.h: ... here.
4495         * nptl/sysdeps/pthread/pthread.h: Moved ...
4496         * sysdeps/nptl/pthread.h: ... here.
4497         * nptl/sysdeps/pthread/setxid.h: Moved ...
4498         * sysdeps/nptl/setxid.h: ... here.
4499         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4500         * sysdeps/nptl/sigfillset.c: ... here.
4501         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4502         * sysdeps/nptl/tcb-offsets.h: ... here.
4503         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4504         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4505         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4506         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4507         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4508         * sysdeps/pthread/allocalim.h: ... here.
4509         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4510         * sysdeps/pthread/bits/sigthread.h: ... here.
4511         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4512         * sysdeps/pthread/flockfile.c: ... here.
4513         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4514         * sysdeps/pthread/ftrylockfile.c: ... here.
4515         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4516         * sysdeps/pthread/funlockfile.c: ... here.
4517         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4518         * sysdeps/pthread/posix-timer.h: ... here.
4519         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4520         * sysdeps/pthread/timer_create.c: ... here.
4521         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4522         * sysdeps/pthread/timer_delete.c: ... here.
4523         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4524         * sysdeps/pthread/timer_getoverr.c: ... here.
4525         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4526         * sysdeps/pthread/timer_gettime.c: ... here.
4527         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4528         * sysdeps/pthread/timer_routines.c: ... here.
4529         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4530         * sysdeps/pthread/timer_settime.c: ... here.
4531         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4532         * sysdeps/pthread/tst-timer.c: ... here.
4533         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4534         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4535
4536         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4537         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4538
4539         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4540         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4541         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4542         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4543         Update #include target.
4544         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4545         * sysdeps/i386/i686/nptl/Makefile: ... here.
4546         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4547         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4548         Update #include target.
4549         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4550         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4551         * nptl/sysdeps/i386/Makefile: Moved ...
4552         * sysdeps/i386/nptl/Makefile: ... here.
4553         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4554         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4555         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4556         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4557         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4558         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4559         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4560         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4561         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4562         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4563         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4564         * nptl/sysdeps/i386/tls.h: Moved ...
4565         * sysdeps/i386/nptl/tls.h: ... here.
4566
4567         * sysdeps/sh/Makefile [$(subdir) = csu]
4568         (gen-as-const-headers): Add tcb-offsets.sym.
4569         * nptl/sysdeps/sh/Makefile: File removed.
4570         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4571         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4572         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4573         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4574         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4575         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4576         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4577         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4578         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4579         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4580         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4581         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4582         * nptl/sysdeps/sh/tls.h: Moved ...
4583         * sysdeps/sh/nptl/tls.h: ... here.
4584         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4585         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4586         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4587         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4589         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4590         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4591         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4592         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4593         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4595         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4597         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4599         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4600         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4601         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4603         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4605         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4607         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4609         Moved ...
4610         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4612         Moved ...
4613         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4614         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4618         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4619         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4620         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4621         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4622         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4623         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4624         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4625         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4626         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4627         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4628         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4629         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4630         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4631         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4632
4633 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4634
4635         * posix/spawn_faction_addopen.c: Include string.h.
4636
4637 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4638
4639         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4640         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4641         * nptl/sysdeps/x86_64/Makefile: Moved ...
4642         * sysdeps/x86_64/nptl/Makefile: ... here.
4643         * nptl/sysdeps/x86_64/configure: Moved ...
4644         * sysdeps/x86_64/nptl/configure: ... here.
4645         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4646         * sysdeps/x86_64/nptl/configure.ac: ... here.
4647         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4648         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4649         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4650         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4651         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4652         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4653         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4654         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4655         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4656         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4657         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4658         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4659         * nptl/sysdeps/x86_64/tls.h: Moved ...
4660         * sysdeps/x86_64/nptl/tls.h: ... here.
4661         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4662         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4663         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4664         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4665
4666         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4667
4668 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4669
4670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4671
4672 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4673
4674         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4675         type.
4676         [POSIX] (off_t): Likewise.
4677         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4678         [POSIX] (S_ISBLK): Require macro.
4679         [POSIX] (S_ISCHR): Likewise.
4680         [POSIX] (S_ISDIR): Likewise.
4681         [POSIX] (S_ISFIFO): Likewise.
4682         [POSIX] (S_ISREG): Likewise.
4683         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4684         optional-macro.
4685         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4686         type.
4687         [POSIX] (time_t): Likewise.
4688         [POSIX] (timer_t): Likewise.
4689
4690 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4691
4692         [BZ #17048]
4693         * posix/spawn_int.h (struct __spawn_action): Make the path string
4694         non-const to support deallocation.
4695         * posix/spawn_faction_addopen.c
4696         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4697         * posix/spawn_faction_destroy.c
4698         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4699         path in all spawn_do_open actions.
4700         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4701         posix_spawn_file_actions_addopen.
4702
4703 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4704
4705         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4706         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4707         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4708         conditional code always true.
4709         (__libc_vfork): New alias.
4710
4711 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4712
4713         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4714         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4715
4716         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4717
4718         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4719         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4720
4721         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4722         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4723
4724         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4725         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4726
4727 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4728
4729         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4730         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4731         multiarch strcmp for PPC64.
4732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4735         multiarch optimizations.
4736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4737         (__libc_ifunc_impl_list): Likewise.
4738
4739 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740
4741         * benchtests/scripts/validate_benchout.py: New script.
4742         * benchtests/Makefile (bench-func): Call it.
4743         * benchtests/scripts/benchout.schema.json: New file.
4744
4745 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4746
4747         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4748         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4749         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4750         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4751         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4752         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4753         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4754         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4755         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4756         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4757         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4759         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4760         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4761         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4762         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4764         Moved ...
4765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4766         ... here.
4767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4768         Moved ...
4769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4771         Moved ...
4772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4773         ... here.
4774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4775         Moved ...
4776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4777         ... here.
4778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4779         Moved ...
4780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4782         Moved ...
4783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4784         ... here.
4785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4786         Moved ...
4787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4788         ... here.
4789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4790         Moved ...
4791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4793         Moved ...
4794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4795         ... here.
4796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4797         Moved ...
4798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4799         ... here.
4800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4801         Moved ...
4802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4803         ... here.
4804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4805         Moved ...
4806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4808         Moved ...
4809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4810         ... here.
4811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4812         Moved ...
4813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4814         ... here.
4815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4816         Moved ...
4817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4818         ... here.
4819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4823         Moved ...
4824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4825         ... here.
4826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4827         Moved ...
4828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4829         ... here.
4830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4834         Moved ...
4835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4836         ... here.
4837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4838         Moved ...
4839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4841         Moved ...
4842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4844         Moved ...
4845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4846         ... here.
4847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4850         ... here.
4851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4852         Moved ...
4853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4854         ... here.
4855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4856         Moved ...
4857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4859         Moved ...
4860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4861         ... here.
4862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4863         Moved ...
4864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4865         ... here.
4866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4867         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4869         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4871         Moved ...
4872         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4873         ... here.
4874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4875         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4877         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4879         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4881         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4885         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4887         Moved ...
4888         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4893         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4895         Moved ...
4896         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4898         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4900         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4901         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4902         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4903
4904 2014-06-10  Wilco  <wdijkstr@arm.com>
4905
4906         * math/test-fenv-return.c: New file.
4907         * math/Makefile: Add new test test-fenv-return.
4908
4909 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4910
4911         [BZ #17042]
4912         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4913         when x - 1 is zero.
4914         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4915         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4916         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4917         0.0L for an argument of 1.0L.
4918         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4919         Likewise.
4920         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4921         value when x - 1 is zero.
4922         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4923         * sysdeps/i386/fpu/libm-test-ulps: Update.
4924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4925
4926 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4927
4928         [BZ #15119]
4929         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4930
4931 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4932
4933         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4934         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4935
4936 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4937
4938         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4939         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4940
4941         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4942         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4943
4944         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4945         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4946
4947         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4948         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4949
4950         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4951         if not already defined.
4952         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4953         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4954         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4955         (TLS_INIT_TP): Use it.
4956         (TLS_DEFINE_INIT_TP): New macro.
4957         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4958
4959 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4960
4961         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4962         constant.
4963         [POSIX] (IXANY): Likewise.
4964         [POSIX] (OLCUC): Likewise.
4965         [POSIX || POSIX2008] (CBAUD): Do not allow.
4966         [POSIX || POSIX2008] (DEFECHO): Likewise.
4967         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4968         [POSIX || POSIX2008] (ECHOKE): Likewise.
4969         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4970         [POSIX || POSIX2008] (EXTA): Likewise.
4971         [POSIX || POSIX2008] (EXTB): Likewise.
4972         [POSIX || POSIX2008] (FLUSHO): Likewise.
4973         [POSIX || POSIX2008] (LOBLK): Likewise.
4974         [POSIX || POSIX2008] (PENDIN): Likewise.
4975         [POSIX || POSIX2008] (SWTCH): Likewise.
4976         [POSIX || POSIX2008] (VDISCARD): Likewise.
4977         [POSIX || POSIX2008] (VDSUSP): Likewise.
4978         [POSIX || POSIX2008] (VLNEXT): Likewise.
4979         [POSIX || POSIX2008] (VREPRINT): Likewise.
4980         [POSIX || POSIX2008] (VSTATUS): Likewise.
4981         [POSIX || POSIX2008] (VWERASE): Likewise.
4982         (B*): Change to B[0123456789]*.
4983         * conform/data/time.h-data [POSIX || UNIX98]
4984         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4985         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4986         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4987         [POSIX] (tm_*): Do not allow.
4988
4989 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4990
4991         * Makefile (install): Don't set LANGUAGE.
4992         * Makefile.in (install): Likewise.
4993         * assert/Makefile (test-assert-ENV): Remove variable.
4994         (test-assert-perr-ENV): Likewise.
4995         * elf/Makefile (neededtest4-ENV): Likewise.
4996         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4997         [$(cross-compiling) = no]: Don't set LANGUAGE.
4998         * io/ftwtest-sh (LANG): Remove variable.
4999         * libio/Makefile (tst-widetext-ENV): Likewise.
5000         * manual/install.texi (Running make install): Don't refer to
5001         environment settings for make install.
5002         * INSTALL: Regenerated.
5003         * nptl/tst-tls6.sh: Don't set LANG.
5004         * posix/globtest.sh (LANG): Remove variable.
5005         * string/Makefile (tester-ENV): Likewise.
5006         (inl-tester-ENV): Likewise.
5007         (noinl-tester-ENV): Likewise.
5008         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5009         [$(cross-compiling) = no]: Don't set LANGUAGE.
5010         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5011         without explicit environment settings.
5012
5013 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5014
5015         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5016         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5017         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5018         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5019
5020 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5021
5022         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5023         other files in the crypt directory.
5024         * crypt/crypt.c: Remove duplicate includes.
5025         * crypt/crypt-entry.c: Likewise.
5026         * crypt/crypt_util.c: Likewise.
5027
5028 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5029
5030         * Makeconfig (run-program-env): New variable.
5031         (run-program-prefix-before-env): Likewise.
5032         (run-program-prefix-after-env): Likewise.
5033         (run-program-prefix): Define in terms of new variables.
5034         (built-program-cmd-before-env): New variable.
5035         (built-program-cmd-after-env): Likewise.
5036         (built-program-cmd): Define in terms of new variables.
5037         (test-program-prefix-before-env): New variable.
5038         (test-program-prefix-after-env): Likewise.
5039         (test-program-prefix): Define in terms of new variables.
5040         (test-program-cmd-before-env): New variable.
5041         (test-program-cmd-after-env): Likewise.
5042         (test-program-cmd): Define in terms of new variables.
5043         * Rules (make-test-out): Use $(run-program-env).
5044         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5045         (help): Do not mention environment variables.  Mention
5046         --timeoutfactor option.
5047         (timeoutfactor): New variable.
5048         (blacklist_exports): Remove function.
5049         (exports): Remove variable.
5050         (command): Do not include ${exports}.
5051         * manual/install.texi (Configuring and compiling): Do not mention
5052         test wrappers preserving environment variables.  Mention that last
5053         assignment to a variable must take precedence.
5054         * INSTALL: Regenerated.
5055         * benchtests/Makefile (run-bench): Use $(run-program-env).
5056         * catgets/Makefile ($(objpfx)test1.cat): Use
5057         $(built-program-cmd-before-env), $(run-program-env) and
5058         $(built-program-cmd-after-env).
5059         ($(objpfx)test2.cat): Do not specify environment variables
5060         explicitly.
5061         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5062         $(run-program-env) and $(built-program-cmd-after-env).
5063         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5064         $(run-program-env) and $(test-program-cmd-after-env).
5065         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5066         explicitly.
5067         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5068         run_program_env and test_program_cmd_after_env arguments.
5069         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5070         * elf/tst-pathopt.sh: Use run_program_env argument.
5071         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5072         $(test-wrapper-env) and $(run-program-env).
5073         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5074         run_program_env arguments.
5075         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5076         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5077         $(test-program-prefix-before-env), $(run-program-env) and
5078         $(test-program-prefix-after-env).
5079         ($(objpfx)tst-gettext2.out): Likewise.
5080         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5081         run_program_env and test_program_prefix_after_env arguments.
5082         * intl/tst-gettext2.sh: Likewise.
5083         * intl/tst-gettext4.sh: Do not set environment variables
5084         explicitly.
5085         * intl/tst-gettext6.sh: Likewise.
5086         * intl/tst-translit.sh: Likewise.
5087         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5088         $(test-program-prefix-before-env), $(run-program-env) and
5089         $(test-program-prefix-after-env).
5090         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5091         run_program_env and test_program_prefix_after_env arguments.
5092         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5093         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5094         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5095         explicitly with each use of ${test_wrapper_env}.
5096         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5097         $(test-program-prefix-before-env), $(run-program-env) and
5098         $(test-program-prefix-after-env).
5099         * posix/tst-getconf.sh: Do not set environment variables
5100         explicitly.
5101         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5102         run_program_env and test_program_prefix_after_env arguments.
5103         * stdio-common/tst-printf.sh: Do not set environment variables
5104         explicitly.
5105         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5106         $(test-program-prefix-before-env), $(run-program-env) and
5107         $(test-program-prefix-after-env).
5108         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5109         run_program_env and test_program_prefix_after_env arguments.
5110         Split $test calls into $test_pre and $test.
5111         * timezone/Makefile (build-testdata): Use
5112         $(built-program-cmd-before-env), $(run-program-env) and
5113         $(built-program-cmd-after-env).
5114
5115 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5116
5117         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5118         strlen for non SHARED builds.
5119
5120 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5121
5122         * nptl/allocatestack.c (check_list): Inlined function...
5123         (__reclaim_stacks): ... here.
5124
5125 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5126
5127         [BZ #15698]
5128         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5129         memory overrun.
5130
5131 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5132
5133         * Rules (make-test-out): Include
5134         LOCPATH=$(common-objpfx)localedata in default environment.
5135         * debug/Makefile (tst-chk1-ENV): Remove variable.
5136         (tst-chk2-ENV): Likewise.
5137         (tst-chk3-ENV): Likewise.
5138         (tst-chk4-ENV): Likewise.
5139         (tst-chk5-ENV): Likewise.
5140         (tst-chk6-ENV): Likewise.
5141         (tst-lfschk1-ENV): Likewise.
5142         (tst-lfschk2-ENV): Likewise.
5143         (tst-lfschk3-ENV): Likewise.
5144         (tst-lfschk4-ENV): Likewise.
5145         (tst-lfschk5-ENV): Likewise.
5146         (tst-lfschk6-ENV): Likewise.
5147         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5148         (tst-iconv7-ENV): Likewise.
5149         * intl/Makefile (LOCPATH-ENV): Likewise.
5150         (tst-codeset-ENV): Likewise.
5151         (tst-gettext3-ENV): Likewise.
5152         (tst-gettext5-ENV): Likewise.
5153         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5154         (tst-fopenloc-ENV): Likewise.
5155         (tst-fgetws-ENV): Remove variable.
5156         (tst-ungetwc1-ENV): Likewise.
5157         (tst-ungetwc2-ENV): Likewise.
5158         (bug-ungetwc2-ENV): Likewise.
5159         (tst-swscanf-ENV): Likewise.
5160         (bug-ftell-ENV): Likewise.
5161         (tst-fgetwc-ENV): Likewise.
5162         (tst-fseek-ENV): Likewise.
5163         (tst-ftell-partial-wide-ENV): Likewise.
5164         (tst-ftell-active-handler-ENV): Likewise.
5165         (tst-ftell-append-ENV): Likewise.
5166         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5167         (tst-regexloc-ENV): Likewise.
5168         (bug-regex1-ENV): Likewise.
5169         (tst-regex-ENV): Likewise.
5170         (tst-regex2-ENV): Likewise.
5171         (bug-regex5-ENV): Likewise.
5172         (bug-regex6-ENV): Likewise.
5173         (bug-regex17-ENV): Likewise.
5174         (bug-regex18-ENV): Likewise.
5175         (bug-regex19-ENV): Likewise.
5176         (bug-regex20-ENV): Likewise.
5177         (bug-regex22-ENV): Likewise.
5178         (bug-regex23-ENV): Likewise.
5179         (bug-regex25-ENV): Likewise.
5180         (bug-regex26-ENV): Likewise.
5181         (bug-regex30-ENV): Likewise.
5182         (bug-regex32-ENV): Likewise.
5183         (bug-regex33-ENV): Likewise.
5184         (bug-regex34-ENV): Likewise.
5185         (bug-regex35-ENV): Likewise.
5186         (tst-rxspencer-ENV): Likewise.
5187         (tst-rxspencer-no-utf8-ENV): Likewise.
5188         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5189         (tst-sscanf-ENV): Likewise.
5190         (tst-swprintf-ENV): Likewise.
5191         (tst-swscanf-ENV): Likewise.
5192         (test-vfprintf-ENV): Likewise.
5193         (scanf13-ENV): Likewise.
5194         (bug14-ENV): Likewise.
5195         (tst-grouping-ENV): Likewise.
5196         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5197         (tst-strtod3-ENV): Likewise.
5198         (tst-strtod4-ENV): Likewise.
5199         (tst-strtod5-ENV): Likewise.
5200         (testmb2-ENV): Likewise./
5201         * string/Makefile (tst-strxfrm-ENV): Likewise.
5202         (tst-strxfrm2-ENV): Likewise.
5203         (bug-strcoll1-ENV): Likewise.
5204         (test-strcasecmp-ENV): Likewise.
5205         (test-strncasecmp-ENV): Likewise.
5206         * time/Makefile (tst-strptime-ENV): Likewise.
5207         (tst-ftime_l-ENV): Likewise.
5208         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5209         (tst-mbrtowc-ENV): Likewise.
5210         (tst-wcrtomb-ENV): Likewise.
5211         (tst-mbrtowc2-ENV): Likewise.
5212         (tst-c16c32-1-ENV): Likewise.
5213         (tst-mbsnrtowcs-ENV): Likewise.
5214
5215 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5216
5217         * manual/resource.texi (How to get information about the memory
5218         subsystem?): Fix typo.
5219         Reported by Peon de la Parra Ivan <peon@keba.com>
5220
5221 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5222
5223         [BZ #16882]
5224         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5225         (pthread_spin_lock): Branch out of spin loop to proper location.
5226         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5227         (pthread_spin_lock): Likewise.
5228
5229         * nptl/tst-spin4.c: New test.
5230         * nptl/Makefile (tests): Add tst-spin4.
5231
5232 2014-06-03  Andreas Schwab  <schwab@suse.de>
5233
5234         [BZ #15946]
5235         * resolv/res_send.c (send_dg): Reload file descriptor after
5236         calling reopen.
5237
5238 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5239
5240         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5241
5242 2014-06-03  Richard Henderson  <rth@redhat.com>
5243
5244         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5245         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5246         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5247         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5248         in the SAVE_PID block.
5249         (__libc_vfork): New alias.
5250         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5251
5252         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5253         child in registers, not on the stack.  Remove RESET_PID conditionals.
5254         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5255
5256 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5257
5258         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5259
5260 2014-06-03  Wilco  <wdijkstr@arm.com>
5261
5262         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5263         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5264         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5265         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5266         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5267         Likewise.
5268
5269 2014-06-03  Wilco  <wdijkstr@arm.com>
5270
5271         * sysdeps/aarch64/fpu/math_private.h
5272         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5273         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5274         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5275         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5276         Fix declarations.
5277
5278 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5279
5280         * crypt/crypt-private.h: Include ufc-crypt.h.
5281         (__b64_from_24bit): Declare extern.
5282         * crypt/crypt_util.c(__b64_from_24bit): New function.
5283         (b64t): New static const variable.
5284         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5285         (b64t): Remove variable.
5286         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5287         * crypt/sha256-crypt.c: Include crypt-private.h.
5288         (b64t): Remove variable.
5289         (__sha256_crypt_r): Remove b64_from_24bit and replace
5290         with __b64_from_24bit.
5291         * crypt/sha512-crypt.c: Likewise.
5292
5293 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5294
5295         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5296         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5297         Label the code __libc_vfork rather than __vfork.
5298         [!NOT_IN_libc] (vfork): Define as weak alias.
5299         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5300         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5301         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5302
5303 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304
5305         * malloc/malloc.c (malloc_info): Fix format specifier for
5306         n_mmaps.
5307
5308 2014-06-02  Wilco  <wdijkstr@arm.com>
5309
5310         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5311         FPCR write.
5312
5313 2014-06-02  Wilco  <wdijkstr@arm.com>
5314
5315         [BZ #17009]
5316         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5317         Rewrite to reduce FPCR/FPSR accesses.
5318
5319 2014-06-01  David S. Miller  <davem@davemloft.net>
5320
5321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5322
5323 2014-05-31  David S. Miller  <davem@davemloft.net>
5324
5325         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5326         to occur in round to nearest mode when |x| >= 2.0
5327
5328 2014-05-30  Richard Henderson  <rth@twiddle.net>
5329
5330         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5331         (PSEUDO_RET_NOERRNO): Remove.
5332         (ret): Don't redefine.
5333         (ret_NOERRNO): Define in terms of ret.
5334         (ret_ERRVAL): Likewise.
5335
5336         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5337         use of PSEUDO_RET; perform the error check directly.
5338
5339 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5340
5341         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5342         with __int128_t.
5343
5344 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5345
5346         * malloc/malloc (malloc_info): Fix formatting.
5347
5348 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5349             Roland McGrath  <roland@hack.frob.com>
5350
5351         * malloc/malloc (malloc_info): Also print mmapped statistics.
5352
5353 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5354
5355         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5356         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5357
5358 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5359
5360         * malloc/malloc.c (malloc_info): Inline mi_arena.
5361
5362 2014-05-29  Richard Henderson  <rth@twiddle.net>
5363
5364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5365         Remove comma before expanding ASM_ARGS_##nr.
5366         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5367         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5368         of ASM_ARGS_##nr.
5369         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5370         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5371         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5372         (ASM_ARGS_1): Add leading comma.
5373
5374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5375         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5376         to __errno_location.
5377         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5378         Remove the expected plt for __errno_location.
5379
5380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5381         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5382         call to __read_tp.
5383
5384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5385         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5386         it and break it down.
5387         (DOCARGS_0, DOCARGS_1): Do nothing.
5388         (DOCARGS_2): Update to store into the new stack frame.
5389         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5390         (UNDOCARGS_1): Update to restore from the new stack frame.
5391         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5392         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5393
5394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5395         (SINGLE_THREAD_P): New parameter for result regno.
5396         (PSEUDO): Update to match; use cbz instead of beq.
5397
5398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5399         Use ENTRY to define the _nocancel entry point.  Share the syscall
5400         and syscall error check paths with the cancel path.
5401         (PSEUDO_END): New.
5402
5403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5404         whitespace; tabs before and after asm mnemonics.
5405
5406 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5407
5408         [BZ #15132]
5409         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5410         Call fstat64 or stat64 internally, depending on arguments passed.
5411         Replace stat buffer argument with file descriptor argument.
5412         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5413         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5414         Pass fd to __internal_statvfs instead of calling fstat64.
5415         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5416         Pass fd to __internal_statvfs64 instead of calling fstat64.
5417         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5418         Pass -1 to __internal_statvfs instead of calling stat64.
5419         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5420         Pass -1 to __internal_statvfs64 instead of calling stat64.
5421
5422 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5423
5424         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5425         that was previously under [RESET_PID].
5426         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5427
5428         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5429         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5430
5431 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5432
5433         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5434
5435         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5436         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5437
5438 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5439
5440         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5441
5442 2014-05-27  Andreas Schwab  <schwab@suse.de>
5443
5444         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5445         TLS_INIT_TP macro.
5446         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5447         * elf/rtld.c (init_tls, dl_main): Likewise.
5448         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5449         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5450         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5451         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5452         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5453         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5454         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5455         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5456         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5457         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5458         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5459         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5460         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5461         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5462         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5463         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5464         * sysdeps/generic/tls.h: Update description.
5465
5466 2014-05-27  Will Newton  <will.newton@linaro.org>
5467
5468         [BZ #16990]
5469         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5470         and restore r2 rather than just restoring.
5471
5472 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5473
5474         [BZ #16724]
5475         * libio/tst-ftell-append.c: New test case.
5476         * libio/Makefile (tests): Add test case.
5477         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5478         append mode.
5479         * libio/wfileops.c (do_ftell_wide): Likewise.
5480
5481 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5482
5483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5484
5485         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5486         ...
5487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5489         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5490         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5491         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5492         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5496         Moved ...
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5499         Moved ...
5500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5502         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5504         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5505         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5506         ...
5507         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5509         Moved ...
5510         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5511         here.
5512         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5513         ...
5514         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5515         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5516         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5517
5518         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5521         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5522
5523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5524         merge into ...
5525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5527         ...
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5530         ...
5531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5535         here.
5536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5537         Moved ...
5538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5540         Moved ...
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5542
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5544         conditional [RESET_PID].
5545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5547         removed.
5548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5549         removed.
5550
5551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5552         <tcb-offsets.h>.
5553         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5554         (__libc_vfork): New strong alias.
5555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5556         removed.
5557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5558         Removed.
5559
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5561         <tcb-offsets.h>.
5562         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5563         (__libc_vfork): New strong alias.
5564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5565         removed.
5566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5567         removed.
5568
5569 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5570
5571         * malloc/malloc.c (mi_arena): New function.
5572         (malloc_info): Remove nested function mi_arena. Call non-nosted
5573         function mi_arena.
5574
5575 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5576
5577         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5578         by insrwi.
5579         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5580         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5581         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5582         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5583         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5584         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5585         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5586
5587 2014-05-26  Andreas Schwab  <schwab@suse.de>
5588
5589         [BZ #16984]
5590         * locale/programs/repertoire.c (repertoire_read): Add slash
5591         between I18NPATH element and file name.
5592         * locale/programs/locfile.c (locfile_read): Likewise.
5593
5594 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5595
5596         * nptl/pthread_mutexattr_settype.c
5597         (__pthread_mutexattr_settype):
5598         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5599
5600 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5601
5602         * nptl/tst-mutex5 (do_test):
5603         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5604
5605 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5606
5607         * benchtests/README: Document 'init' directive.
5608         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5609         BENCH_INIT.
5610         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5611         (parse_file): Recognize 'init' directive.
5612
5613 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5614
5615         [BZ #16796]
5616         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5617         alignment of struct pthread.
5618
5619 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5620
5621         [BZ #16878]
5622         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5623         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5624         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5625         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5626
5627 2014-05-25  Richard Henderson  <rth@twiddle.net>
5628
5629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5630         (SINGLE_THREAD_P_PIC): Remove.
5631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5632         (SINGLE_THREAD_P_PIC): Remove.
5633
5634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5635         branch to syscall error ...
5636         (PSEUDO): ... here.
5637         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5638         from __local_syscall_error to .Lsyscall_error.
5639         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5640         (SYSCALL_ERROR): Update label name.
5641
5642         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5643         Do not use DOARGS/UNDOARGS.
5644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5645         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5646         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5647         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5648         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5649
5650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5651         block comment.
5652
5653         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5654         define if !NOT_IN_libc.
5655         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5656         define with non-default symbol versions.
5657
5658 2014-05-23  Richard Henderson  <rth@twiddle.net>
5659
5660         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5661         (vfork, __vfork): Define via compat_symbol.
5662
5663         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5664         [!HAVE_IFUNC] (vfork_compat): Remove.
5665         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5666
5667 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5668
5669         [BZ #16978]
5670         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5671         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5672         variable.
5673
5674 2014-05-23  Richard Henderson  <rth@twiddle.net>
5675
5676         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5677         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5678         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5679         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5680
5681         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5682         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5683         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5684         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5685         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5686         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5688         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5689         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5690         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5691         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5692         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5693         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5694         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5695         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5696         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5697         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5698         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5702         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5703         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5704         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5705         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5706         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5707         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5708         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5709         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5710         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5711         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5712         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5713         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5714         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5715         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5716         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5717         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5718         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5719         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5720         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5721         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5722         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5723         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5724         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5725         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5726         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5728         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5730         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5732         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5734         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5736         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5737
5738         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5739         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5740         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5741         before exiting on error.
5742         (__libc_vfork): New strong alias.
5743         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5744         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5745
5746         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5747         that was previously under [RESET_PID].
5748         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5749
5750         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5751
5752 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5753
5754         [BZ #16977]
5755         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5756         value when x - 1 is zero.
5757         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5758         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5759         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5760         0.0L for an argument of 1.0L.
5761         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5762         Likewise.
5763         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5764         value when x - 1 is zero.
5765         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5766         * sysdeps/i386/fpu/libm-test-ulps: Update.
5767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768
5769 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5770
5771         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5772         alphasort and versionsort.
5773
5774 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5775
5776         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5777         macro.
5778         [copysignf]: Likewise.
5779
5780 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5781
5782         * crypt/md5-crypt.c: Fix formatting.
5783
5784 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5785
5786         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5787         (b64_from_24bit): New function.
5788
5789 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5790
5791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5792         libc_hidden_builtin_def to ifunc.
5793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5794         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5795
5796 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5797
5798         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5799         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5800
5801 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5802
5803         * nscd/Depend (linuxthreads): Remove.
5804         (nptl): Add.
5805         * resolv/Depend (linuxthreads): Remove.
5806         * rt/Depend (linuxthreads): Remove.
5807
5808         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5809         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5810         $(common-objpfx)elf/.
5811         (link-libc-before-gnulib): Likewise.
5812         (elfobjdir): Remove variable.
5813         * Makefile (install): Use $(elf-objpfx) instead of
5814         $(common-objpfx)elf/.
5815         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5816         $(elfobjdir)/.
5817         (link-libc-deps): Likewise.
5818         ($(common-objpfx)libc.so): Likewise.
5819         ($(common-objpfx)linkobj/libc.so): Likewise.
5820         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5821         instead of $(common-objpfx)elf/.
5822         (symbolic-link-list): Likewise.
5823         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5824         [$(cross-compiling) = no]: Likewise.
5825         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5826         $(elfobjdir)/.
5827         (static-gnulib-arch): Likewise.
5828         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5829         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5830         $(common-objpfx)elf/.
5831
5832 2014-05-21  Richard Henderson  <rth@redhat.com>
5833
5834         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5835         (SINGLE_THREAD_P): Use the correct width load.  Fold
5836         into the ldr offset.
5837
5838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5839         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5840
5841 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5842
5843         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5844         (libgcc_s_resume): Use __attribute_used__.
5845         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5846         Likewise.
5847
5848 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5849
5850         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5851         optimization when used with float constants.
5852
5853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854
5855 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5856
5857         [BZ #16915]
5858         * locale/nl_langinfo_l.c: Make direct reference to every
5859         _nl_current_CATEGORY symbol.
5860         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5861         (tests-static): Add tst-langinfo-static.
5862         (tests-special): Add tst-langinfo-static.out.
5863         ($(objpfx)tst-langinfo.out): Redirect output.
5864         ($(objpfx)tst-langinfo-static.out): New.
5865         * localedata/tst-langinfo.sh: Send output to stdout.
5866         * localedata/tst-langinfo-static.c: New file.
5867
5868         [BZ #16965]
5869         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5870         when the shift amount is modulo the limb size.
5871
5872 2014-05-20  Richard Henderson  <rth@redhat.com>
5873
5874         [BZ #16967]
5875         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5876         Change type of sa_flags from unsigned int to int.
5877
5878         [BZ #16966]
5879         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5880
5881         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5882
5883 2014-05-20  Will Newton  <will.newton@linaro.org>
5884
5885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5886         Test the return value of the system call in the nocancel case.
5887
5888 2014-05-20  Will Newton  <will.newton@linaro.org>
5889             Yvan Roux  <yvan.roux@linaro.org>
5890
5891         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5892         #include of asm/ptrace.h.
5893         (PTRACE_GET_THREAD_AREA): Remove #undef.
5894         (PTRACE_GETHBPREGS): Likewise.
5895         (PTRACE_SETHBPREGS): Likewise.
5896         (struct user_regs_struct): New structure.
5897         (struct user_fpsimd_struct): New structure.
5898         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5899         #include of asm/ptrace.h and second #include of sys/user.h.
5900         (PTRACE_GET_THREAD_AREA): Remove #undef.
5901         (PTRACE_GETHBPREGS): Likewise.
5902         (PTRACE_SETHBPREGS): Likewise.
5903         (ELF_NGREG): Use new struct user_regs_struct.
5904         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5905
5906 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5907
5908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5910
5911 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5912
5913         [BZ #16958]
5914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5915         membar to avoid block loads/stores to overlap previous stores.
5916
5917 2014-05-17  Richard Henderson  <rth@redhat.com>
5918
5919         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5920         Create the __##syscall_name##_nocancel entry point.
5921         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5922         Remove; let the sysdep-cancel.h code create it.
5923
5924 2014-05-17  David S. Miller  <davem@davemloft.net>
5925
5926         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5927         Protect with __USE_GNU.
5928         (TIOCSET_TEMPT): Likewise.
5929         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5930         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5931         these are already provided in bits/ioctl-types.h
5932
5933 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5934
5935         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5936         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5937
5938         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5939         Use wait4 regardless of [__NR_waitpid].
5940
5941 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5942
5943         PR libgcc/60166
5944         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5945         (_FP_NANSIGN_Q): Set the quiet bit.
5946
5947 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5948
5949         * benchtests/Makefile
5950         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5951         not $(common-objpfx)math/libm.so.
5952         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5953         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5954         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5955         $(common-objpfx)dlfcn/libdl.so.
5956         ($(objpfx)tst-audit8): Depend on $(libm), not
5957         $(common-objpfx)math/libm.so.
5958         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5959         not $(common-objpfx)dlfcn/libdl.so.
5960         * math/Makefile
5961         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5962         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5963         [$(build-shared) = yes].
5964         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5965         $(common-objpfx)nptl/libpthread.so.
5966         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5967         $(common-objpfx)math/libm.so$(libm.so-version) or
5968         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5969         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5970         $(common-objpfx)dlfcn/libdl.so.
5971         * setjmp/Makefile (link-libm): Remove variable.
5972         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5973         * stdio-common/Makefile (link-libm): Remove variable.
5974         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5975         * stdlib/Makefile (link-libm): Remove variable.
5976         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5977         ($(objpfx)tst-strtod-round): Likewise.
5978         ($(objpfx)tst-tininess): Likewise.
5979         ($(objpfx)tst-strtod-underflow): Likewise.
5980         ($(objpfx)tst-strtod6): Likewise.
5981         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5982         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5983         $(common-objpfx)dlfcn/libdl.so.
5984
5985 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5986
5987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5988         BSD terminal modes definitions.
5989
5990 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5991
5992         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5993         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5994
5995         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5996         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5997         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5998         Don't do #include_next.
5999         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6000         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6001         Don't do #include_next.
6002         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6003         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6004         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6005         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6006
6007 2014-05-16  Allan McRae  <allan@archlinux.org>
6008
6009         * po/sv.po: Update Swedish translation from translation project.
6010
6011         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6012         in sed expression.
6013
6014 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6015
6016         [BZ #16917]
6017         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6018         errno if the TIOCGPTN ioctl fails with an error different than
6019         EINVAL.
6020         * login/tst-ptsname.c: New file.
6021         * login/Makefile (tests): Add tst-ptsname.
6022
6023         [BZ #16943]
6024         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6025         and prlimit64.
6026
6027 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6028
6029         [BZ #16849]
6030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6031         herrno to return EAI_AGAIN.
6032
6033 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6034
6035         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6036         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6037         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6038         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6039         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6040         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6041         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6042         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6043         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6044         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6045         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6046         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6047         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6048         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6049         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6050         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6051         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6052         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6053         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6054         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6055         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6056         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6057         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6058         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6059         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6060         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6061         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6062         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6063         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6064         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6066         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6068         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6070         Moved ...
6071         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6073         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6075         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6077         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6079         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6081         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6083         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6085         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6089         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6091         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6095         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6099         Moved ...
6100         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6102         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6104         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6106         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6108         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6112         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6114         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6116         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6118         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6120         Moved ...
6121         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6123         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6124
6125         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6126         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6127         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6128         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6129         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6130         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6131         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6132         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6133         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6134         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6135         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6136         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6137         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6138         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6139         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6141         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6142         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6143         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6144         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6145         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6146         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6147         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6148         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6149         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6150         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6151         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6152         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6153         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6154         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6156
6157         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6158         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6159
6160         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6161         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6162         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6163         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6164         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6165         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6166         Moved ...
6167         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6168         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6169         Moved ...
6170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6171         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6172         Moved ...
6173         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6175         Moved ...
6176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6177         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6178         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6180         Moved ...
6181         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6183         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6186         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6187         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6189         Moved ...
6190         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6194         ... here.
6195         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6196         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6197         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6198         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6199         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6200         Moved ...
6201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6202         ... here.
6203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6204         Moved ...
6205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6206         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6207         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6208         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6209         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6210         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6211         Moved ...
6212         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6213         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6214         Moved ...
6215         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6216         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6217         Moved ...
6218         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6220         Moved ...
6221         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6222         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6223         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6225         Moved ...
6226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6227         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6228         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6232         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6237         Moved ...
6238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6239         ... here.
6240         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6241         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6242         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6243         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6244         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6247         ... here.
6248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6251         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6252         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6253         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6254         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6255         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6257         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6258         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6259         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6260         Moved ...
6261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6263         Moved ...
6264         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6271         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6272         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6273         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6274         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6276         Moved ...
6277         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6282         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6283         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6288         Moved ...
6289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6290         ... here.
6291         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6292         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6294         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6295         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6296         Moved ...
6297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6298         ... here.
6299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6303         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6304         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6305         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6307         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6309         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6310         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6311         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6312
6313         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6314         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6315
6316         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6317         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6318
6319         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6320         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6321         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6323         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6326         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6328         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6330         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6332         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6333         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6335         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6337         Moved ...
6338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6342         Moved ...
6343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6347         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6349         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6351         Moved ...
6352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6354         Moved ...
6355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6361         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6362         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6363         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6364         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6365         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6366         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6367         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6368         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6369         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6370         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6371         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6372
6373         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6374         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6375         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6376         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6377         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6378
6379         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6380         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6381         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6382         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6383         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6384         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6385         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6386         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6387         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6388         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6389
6390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6392
6393         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6394         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6395         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6396         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6397         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6398         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6399         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6400         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6401         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6402         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6403         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6404         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6405         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6406         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6408         Update #include.
6409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6410         Likewise.
6411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6412         Likewise.
6413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6414         Likewise.
6415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6416         Likewise.
6417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6418         Likewise.
6419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6420         Likewise.
6421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6422         Likewise.
6423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6424         Likewise.
6425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6426         Likewise.
6427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6442
6443         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6444         that was previously under [RESET_PID].
6445         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6446         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6447         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6448
6449         * sysdeps/i386/nptl/Implies: New file.
6450         * sysdeps/x86_64/nptl/Implies: New file.
6451         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6452         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6454         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6455
6456         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6457         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6458         (__libc_vfork): New strong alias.
6459         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6460         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6461
6462         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6463         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6464         (__libc_vfork): New strong alias.
6465         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6466         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6467
6468         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6469         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6470         (__libc_vfork): New strong alias.
6471         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6472         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6473         * nptl/pt-vfork.c: New file.
6474         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6475         (libpthread: GLIBC_2.20): New version set (empty).
6476
6477 2014-05-14  Will Newton  <will.newton@linaro.org>
6478
6479         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6480         rather than #if.
6481
6482 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6483
6484         [BZ #16564]
6485         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6486         arguments with exponent 65 or above.
6487         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6488         arguments 0x1p113L or above.
6489         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6490         to arguments 0x1p107L or above.
6491         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6492         positive arguments with exponent 65 or above.
6493         * math/auto-libm-test-in: Add more tests of log1p.
6494         * math/auto-libm-test-out: Regenerated.
6495
6496         [BZ #16928]
6497         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6498         non-finite arguments is +0.
6499         * math/s_cacosf.c (__cacosf): Likewise.
6500         * math/s_cacosl.c (__cacosl): Likewise.
6501         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6502         * sysdeps/i386/fpu/libm-test-ulps: Update.
6503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6504
6505         [BZ #16927]
6506         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6507         value.
6508         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6509         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6510         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6511         for explicit high bit of mantissa when testing for argument equal
6512         to 1.
6513         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6514         * sysdeps/i386/fpu/libm-test-ulps: Update.
6515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6516
6517         [BZ #16516]
6518         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6519         (__erf): Scale by 16 instead of 8 in potentially underflowing
6520         case.  Ensure exception if result actually underflows.
6521         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6522         (__erff): Scale by 16 instead of 8 in potentially underflowing
6523         case.  Ensure exception if result actually underflows.
6524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6525         (efx8): Remove variable.
6526         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6527         case.  Ensure exception if result actually underflows.
6528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6529         (efx8): Remove variable.
6530         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6531         case.  Ensure exception if result actually underflows.
6532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6533         (efx8): Remove variable.
6534         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6535         case.  Ensure exception if result actually underflows.
6536         * math/auto-libm-test-in: Add more tests of erf.
6537         * math/auto-libm-test-out: Regenerated.
6538
6539 2014-05-14  Andreas Schwab  <schwab@suse.de>
6540
6541         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6542         Remove code conditionalized on USE___THREAD.
6543
6544         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6545         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6546         not definedness.
6547
6548 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6549
6550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6551         Define unconditionally.
6552         (__ASSUME_O_CLOEXEC): Likewise.
6553         (__ASSUME_SOCK_CLOEXEC): Likewise.
6554         (__ASSUME_IN_NONBLOCK): Likewise.
6555         (__ASSUME_PIPE2): Likewise.
6556         (__ASSUME_EVENTFD2): Likewise.
6557         (__ASSUME_SIGNALFD4): Likewise.
6558         (__ASSUME_DUP3): Likewise.
6559         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6560         (__ASSUME_DUP3): Do not define.
6561         (__ASSUME_EVENTFD2): Likewise.
6562         (__ASSUME_IN_NONBLOCK): Likewise.
6563         (__ASSUME_O_CLOEXEC): Likewise.
6564         (__ASSUME_PIPE2): Likewise.
6565         (__ASSUME_SIGNALFD4): Likewise.
6566         (__ASSUME_SOCK_CLOEXEC): Likewise.
6567         (__ASSUME_UTIMES): Undefine.
6568         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6569         (__ASSUME_UTIMES): Do not define.
6570         (__ASSUME_O_CLOEXEC): Likewise.
6571         (__ASSUME_SOCK_CLOEXEC): Likewise.
6572         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6573         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6574         0x020621].
6575         (__ASSUME_PIPE2): Likewise.
6576         (__ASSUME_EVENTFD2): Likewise.
6577         (__ASSUME_SIGNALFD4): Likewise.
6578         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6579         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6580         Do not define.
6581         (__ASSUME_EVENTFD2): Likewise.
6582         (__ASSUME_SIGNALFD4): Likewise.
6583         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6584         (__ASSUME_32BITUIDS): Likewise.
6585         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6586         (__ASSUME_IPC64): Likewise.
6587         (__ASSUME_ST_INO_64_BIT): Likewise.
6588         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6589         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6590         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6591         (__ASSUME_UTIMES): Do not define.
6592         (__ASSUME_PSELECT): Likewise.
6593         (__ASSUME_PPOLL): Likewise.
6594         (__ASSUME_O_CLOEXEC): Likewise.
6595         (__ASSUME_SOCK_CLOEXEC): Likewise.
6596         (__ASSUME_IN_NONBLOCK): Likewise.
6597         (__ASSUME_PIPE2): Likewise.
6598         (__ASSUME_EVENTFD2): Likewise.
6599         (__ASSUME_SIGNALFD4): Likewise.
6600         (__ASSUME_DUP3): Likewise.
6601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6602         (__ASSUME_UTIMES): Likewise.
6603         (__ASSUME_O_CLOEXEC): Likewise.
6604         (__ASSUME_SOCK_CLOEXEC): Likewise.
6605         (__ASSUME_IN_NONBLOCK): Likewise.
6606         (__ASSUME_PIPE2): Likewise.
6607         (__ASSUME_EVENTFD2): Likewise.
6608         (__ASSUME_SIGNALFD4): Likewise.
6609         (__ASSUME_DUP3): Likewise.
6610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6611         (__ASSUME_UTIMES): Likewise.
6612         (__ASSUME_O_CLOEXEC): Likewise.
6613         (__ASSUME_SOCK_CLOEXEC): Likewise.
6614         (__ASSUME_IN_NONBLOCK): Likewise.
6615         (__ASSUME_PIPE2): Likewise.
6616         (__ASSUME_EVENTFD2): Likewise.
6617         (__ASSUME_SIGNALFD4): Likewise.
6618         (__ASSUME_DUP3): Likewise.
6619         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6620         Likewise.
6621         (__ASSUME_UTIMES): Likewise.
6622         (__ASSUME_EVENTFD2): Likewise.
6623         (__ASSUME_SIGNALFD4): Likewise.
6624         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6625         (__ASSUME_O_CLOEXEC): Likewise.
6626         (__ASSUME_SOCK_CLOEXEC): Likewise.
6627         (__ASSUME_IN_NONBLOCK): Likewise.
6628         (__ASSUME_PIPE2): Likewise.
6629         (__ASSUME_EVENTFD2): Likewise.
6630         (__ASSUME_SIGNALFD4): Likewise.
6631         (__ASSUME_DUP3): Likewise.
6632         (__ASSUME_UTIMES): Undefine.
6633
6634         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6635         feclearexcept.  Remove symbol versioning code.
6636         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6637         symbol versioning code.
6638         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6639         symbol versioning code.
6640         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6641         feupdateenv.  Remove symbol versioning code.
6642         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6643         fegetexceptflag.  Remove symbol versioning code.
6644         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6645         fesetexceptflag.  Remove symbol versioning code.
6646         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6647         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6648         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6649         (__posix_fadvise64_l32): Remove prototype.
6650         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6651         code.
6652
6653 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6654
6655         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6656         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6657         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6658         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6659
6660 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6661
6662         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6663         current working directory
6664
6665 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6666
6667         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6668         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6669         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6670         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6671         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6672         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6673         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6674         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6675         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6676         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6677         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6678         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6679         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6680         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6681         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6682         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6683         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6684         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6685         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6686         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6687         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6688         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6689         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6690         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6691         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6692         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6693         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6694         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6695         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6696         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6697         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6698         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6699         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6700         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6701         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6702         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6703         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6704         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6705         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6706         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6707         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6708         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6709
6710         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6711         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6712
6713         * sysdeps/unix/sysv/linux/arm/Makefile
6714         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6715         Add rt-aeabi_unwind_cpp_pr1.
6716         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6717         Add nptl-aeabi_unwind_cpp_pr1.
6718         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6719         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6720         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6721         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6722         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6723         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6724
6725         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6726         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6727         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6728         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6729
6730         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6731         Deconditionalize the code that was previously under [RESET_PID].
6732         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6733
6734         * sysdeps/generic/exit-thread.h: New file.
6735         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6736         * include/unistd.h (__exit_thread): Remove declaration.
6737         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6738         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6739         * csu/libc-start.c: Include <exit-thread.h>.
6740         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6741         * nptl/pthread_create.c: Include <exit-thread.h>.
6742         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6743         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6744         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6745         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6746         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6747         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6748         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6749         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6750         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6751         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6752         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6753         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6754         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6755         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6756         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6757         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6758         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6759
6760 2014-05-13  Andreas Schwab  <schwab@suse.de>
6761
6762         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6763
6764 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6765
6766         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6767         (__ASSUME_UTIMES): Do not condition on kernel version.
6768         (__ASSUME_PSELECT): Define unconditionally.
6769         (__ASSUME_PPOLL): Likewise.
6770         (__ASSUME_ATFCTS): Likewise.
6771         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6772         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6773         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6774         (__ASSUME_UTIMENSAT): Define unconditionally.
6775         (__ASSUME_PRIVATE_FUTEX): Likewise.
6776         (__ASSUME_FALLOCATE): Likewise.
6777         (__ASSUME_O_CLOEXEC): Likewise.
6778         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6779         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6780         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6781         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6782         (__ASSUME_IN_NONBLOCK): Likewise.
6783         (__ASSUME_PIPE2): Likewise.
6784         (__ASSUME_EVENTFD2): Likewise.
6785         (__ASSUME_SIGNALFD4): Likewise.
6786         (__ASSUME_DUP3): Likewise.
6787         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6788         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6789         (__ASSUME_AT_RANDOM): Likewise.
6790         (__ASSUME_PREADV): Likewise.
6791         (__ASSUME_PWRITEV): Likewise.
6792         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6793         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6794         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6795         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6796         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6797         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6798         (__ASSUME_O_CLOEXEC): Define unconditionally.
6799         (__ASSUME_PSELECT): Do not undefine conditionally.
6800         (__ASSUME_PPOLL): Likewise.
6801         (__ASSUME_ATFCTS): Likewise.
6802         (__ASSUME_SET_ROBUST_LIST): Likewise.
6803         (__ASSUME_UTIMENSAT): Likewise.
6804         (__ASSUME_FDATASYNC): Define unconditionally.
6805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6806         (__ASSUME_SIGFRAME_V2): Likewise.
6807         )__ASSUME_EVENTFD2): Likewise.
6808         (__ASSUME_SIGNALFD4): Likewise.
6809         (__ASSUME_PSELECT): Do not undefine conditionally.
6810         (__ASSUME_PPOLL): Likewise.
6811         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6812         (__ASSUME_PSELECT): Define unconditionally.
6813         (__ASSUME_PPOLL): Likewise.
6814         (__ASSUME_O_CLOEXEC): Likewise.
6815         (__ASSUME_SOCK_CLOEXEC): Likewise.
6816         (__ASSUME_IN_NONBLOCK): Likewise.
6817         (__ASSUME_PIPE2): Likewise.
6818         (__ASSUME_EVENTFD2): Likewise.
6819         (__ASSUME_SIGNALFD4): Likewise.
6820         (__ASSUME_DUP3): Likewise.
6821         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6822         (__ASSUME_O_CLOEXEC): Likewise.
6823         (__ASSUME_SOCK_CLOEXEC): Likewise.
6824         (__ASSUME_IN_NONBLOCK): Likewise.
6825         (__ASSUME_PIPE2): Likewise.
6826         (__ASSUME_EVENTFD2): Likewise.
6827         (__ASSUME_SIGNALFD4): Likewise.
6828         (__ASSUME_DUP3): Likewise.
6829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6830         (__ASSUME_EVENTFD2): Likewise.
6831         (__ASSUME_SIGNALFD4): Likewise.
6832         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6833
6834 2014-05-12  Andreas Schwab  <schwab@suse.de>
6835
6836         [BZ #16932]
6837         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6838         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6839         than maximum RPC packet size.
6840         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6841         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6842         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6843         (_nss_nis_getservbyport_r): Likewise.
6844
6845 2014-05-12  Will Newton  <will.newton@linaro.org>
6846
6847         * malloc/Makefile (tests): Add tst-mallopt.
6848         * malloc/tst-mallopt.c: New file.
6849
6850 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6851
6852         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6853         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6854
6855 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6856
6857         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6858         (tst-tlsmod6.so): Likewise.
6859
6860 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6861
6862         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6863
6864 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6865
6866         [BZ #16064]
6867         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6868         and <dl-procinfo.h>.
6869         (__fegetenv): Save SSE state in envp->__eip if supported.
6870         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6871         envp->__eip if supported.
6872         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6873         and <dl-procinfo.h>.
6874         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6875         __data_offset and __data_selector in environment to 0.  Set SSE
6876         state if supported.
6877         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6878         test-fenv-sse.
6879         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6880         -mfpmath=sse.
6881         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6882
6883 2014-05-09  Will Newton  <will.newton@linaro.org>
6884
6885         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6886         and libc_relro_required for ARM.
6887         * sysdeps/arm/preconfigure: Regenerate.
6888
6889 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6890             Stefan Liebler  <stli@linux.vnet.ibm.com>
6891
6892         * config.make.in (enable-lock-elision): New Makefile variable.
6893         * configure.ac: Likewise.
6894         * configure: Regenerate.
6895         * sysdeps/s390/configure.ac:
6896         Add check for gcc transactions support.
6897         * sysdeps/s390/configure: Regenerate.
6898         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6899         Build elision files if enabled.
6900         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6901         Add lock elision support for s390.
6902         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6903         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6904         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6905         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6906         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6907         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6909         Likewise.
6910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6911         Likewise.
6912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6913         Likewise.
6914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6915         Likewise.
6916         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6917         (__lll_timedlock_elision, __lll_lock_elision)
6918         (__lll_unlock_elision, __lll_trylock_elision)
6919         (lll_timedlock_elision, lll_lock_elision)
6920         (lll_unlock_elision, lll_trylock_elision): Add.
6921         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6922         (pthread_mutex_t): Add lock elision support for s390.
6923
6924 2014-05-14  Wilco  <wdijkstr@arm.com>
6925
6926         * sysdeps/arm/fclrexcpt.c: Cleanup.
6927         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6928         * sysdeps/arm/feenablxcpt.c: Cleanup.
6929         * sysdeps/arm/fegetenv.c: Cleanup.
6930         * sysdeps/arm/fegetexcept.c: Cleanup.
6931         * sysdeps/arm/fegetround.c: Cleanup.
6932         * sysdeps/arm/feholdexcpt.c: Cleanup.
6933         * sysdeps/arm/fesetenv.c: Cleanup.
6934         * sysdeps/arm/fesetround.c: Cleanup.
6935         * sysdeps/arm/feupdateenv.c: Cleanup.
6936         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6937         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6938         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6939         * sysdeps/arm/ftestexcept.c: Cleanup.
6940         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6941         * sysdeps/arm/setfpucw.c: Cleanup.
6942
6943 2014-05-09  Will Newton  <will.newton@linaro.org>
6944
6945         * sysdeps/arm/armv7/strcmp.S: New file.
6946         * NEWS: Mention addition of ARMv7 optimized strcmp.
6947
6948 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6949
6950         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6951         look for %.ac rather than %.in.
6952
6953         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6954         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6955         * sysdeps/mach/hurd/configure: Regenerated.
6956         * sysdeps/unix/sysv/linux/configure: Regenerated.
6957
6958         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6959
6960 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6961
6962         [BZ# 16922]
6963         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6964         (LONG_SUB): Ditto.
6965         (PTR_SUB): Ditto.
6966
6967 2014-05-07  Andreas Schwab  <schwab@suse.de>
6968
6969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6970         when skipping over non-matching result from nscd.
6971
6972 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6973
6974         [BZ #16876]
6975         * nptl/sockperf.c (client): Check socket return value.
6976
6977         [BZ #16877]
6978         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6979         nscd security class.
6980
6981 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6982
6983         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6984         * sysdeps/arm/unwind.h: ... here.
6985
6986 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6987
6988         [BZ# 16916]
6989         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6990         Define.
6991
6992 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6993
6994         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6995         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6996         multiarch strncpy for PPC64.
6997         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6998         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7000         multiarch optimizations.
7001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7002         (__libc_ifunc_impl_list): Likewise.
7003         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7004         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7005         multiarch stpncpy for PPC64.
7006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7007         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7008
7009 2014-05-06  Andreas Schwab  <schwab@suse.de>
7010
7011         [BZ #16912]
7012         * gmon/mcount.c (_MCOUNT_DECL): Use
7013         atomic_compare_and_exchange_bool_acq instead of
7014         catomic_compare_and_exchange_bool_acq.
7015
7016 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7017
7018         * elf/Makefile (others, install-bin): Remove pldd.
7019         (pldd-modules): Variable removed.
7020         ($(objpfx)pldd): Target removed.
7021         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7022         (others, install-bin): Append pldd here.
7023         ($(objpfx)pldd): New target.
7024
7025         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7026         to 0, so the first #if test emitted later doesn't see it undefined.
7027         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7028         * sysdeps/gnu/errlist.c: Regenerated.
7029
7030 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7031
7032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7033         [libc_hidden_builtin_def]: Define to empty value.
7034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7035         [libc_hidden_builtin_def]: Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7037         [libc_hidden_builtin_def]: Likewise.
7038         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7039         [libc_hidden_builtin_def]: Likewise.
7040         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7041         __redirect_memcpy and define ifunc as default hidden symbol.
7042         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7043         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7044
7045 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7046
7047         * locale/iso-4217.def: Reintroduce XDR currency.
7048
7049 2014-05-04  Allan McRae  <allan@archlinux.org>
7050
7051         * po/eo.po: Update Esperanto translation from translation project.
7052
7053 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7054
7055         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7056         and FEATURE_INDEX_MAX to 1.
7057         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7058
7059 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7060
7061         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7062         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7063         * iconvdata/big5.c (ONE_DIRECTION): Define.
7064         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7065         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7066         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7067         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7068         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7069         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7070         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7071         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7072         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7073         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7074         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7075         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7076         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7077         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7078         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7079         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7080         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7081         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7082         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7083         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7084         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7085         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7086         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7087         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7088         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7089         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7090         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7091         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7092         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7093         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7094         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7095         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7096         * iconvdata/johab.c (ONE_DIRECTION): Define.
7097         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7098         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7099         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7100         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7101         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7102         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7103         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7104         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7105         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7106         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7107
7108 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7109
7110         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7111         (_IO_JUMPS_OFFSET): Define to 0.
7112
7113         * nptl/sysdeps/pthread/bits/libc-lock.h
7114         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7115         (__libc_lock_define_initialized_recursive): Always define using
7116         initializer.  Modern compilers treat uninitialized (implicit zero) and
7117         explicit zero initializers the same (i.e. put the datum in bss).
7118
7119 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7120
7121         * nscd/nscd-client.h: Include <string.h>.
7122
7123 2014-05-01  David S. Miller  <davem@davemloft.net>
7124
7125         [BZ #16885]
7126         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7127         multiple zero bytes exist at the end of a string.
7128         Reported by Aurelien Jarno <aurelien@aurel32.net>
7129
7130         * string/test-strcmp.c (check): Add explicit test for situations where
7131         there are multiple zero bytes after the first.
7132
7133 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7134
7135         [BZ #16890]
7136         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7137         when compiling wprintf.
7138         * stdio-common/tstdiomisc.c (t3): New function.
7139         (main): Call it.
7140
7141 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7142
7143         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7144         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7145         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7146         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7147
7148 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7149
7150         * stdlib/longlong.h: Updated from GCC.
7151
7152 2014-05-01  Will Newton  <will.newton@linaro.org>
7153             Bernard Ogden  <bernie.ogden@linaro.org>
7154
7155         * NEWS: Update fixed bug list.
7156
7157         [BZ #15119]
7158         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7159
7160 2014-04-30  David S. Miller  <davem@davemloft.net>
7161
7162         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7163         (libc_feholdexcept_setround_sparc_ctx): New function.
7164         (libc_fesetenv_sparc_ctx): Likewise.
7165         (libc_feupdateenv_sparc_ctx): Likewise.
7166         (libc_feholdsetround_sparc_ctx): Likewise.
7167         (libc_feholdexcept_setround_ctx): Define.
7168         (libc_feholdexcept_setroundf_ctx): Likewise.
7169         (libc_feholdexcept_setroundl_ctx): Likewise.
7170         (libc_fesetenv_ctx): Likewise.
7171         (libc_fesetenvf_ctx): Likewise.
7172         (libc_fesetenvl_ctx): Likewise.
7173         (libc_feupdateenv_ctx): Likewise.
7174         (libc_feupdateenvf_ctx): Likewise.
7175         (libc_feupdateenvl_ctx): Likewise.
7176         (libc_feresetround_ctx): Likewise.
7177         (libc_feresetroundf_ctx): Likewise.
7178         (libc_feresetroundl_ctx): Likewise.
7179         (libc_feholdsetround_ctx): Likewise.
7180         (libc_feholdsetroundf_ctx): Likewise.
7181         (libc_feholdsetroundl_ctx): Likewise.
7182
7183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7184         with __USE_GNU instead of XOPEN cpp guards.
7185
7186         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7187         0.
7188
7189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7190         with XOPEN cpp guards.
7191
7192 2014-04-30  Julian Brown  <julian@codesourcery.com>
7193
7194         [BZ #16888]
7195         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7196         handling.
7197
7198 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7199
7200         [BZ #9894]
7201         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7202         Change to 2.6.32.
7203         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7204         * sysdeps/unix/sysv/linux/configure: Regenerated.
7205         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7206         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7207         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7208         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7209         * README: Update reference to required Linux kernel version.
7210         * manual/install.texi (Linux): Update reference to required Linux
7211         kernel headers version.
7212         * INSTALL: Regenerated.
7213
7214         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7215         header inclusion.
7216         [POSIX] (limits.h): Likewise.
7217         [POSIX] (math.h): Likewise.
7218         [POSIX] (sys/wait.h): Likewise.
7219         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7220         function.
7221         [POSIX] (stddef.h): Do not allow header inclusion.
7222
7223 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7224
7225         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7226
7227 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7228
7229         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7230         Return immediately after lll_futex_wake.
7231
7232 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7233
7234         [BZ #16791]
7235         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7236         structure.
7237         (datahead_init_pos): Call datahead_init_common early.
7238         (datahead_init_neg): Likewise.
7239
7240         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7241         datahead_init_neg): New functions.
7242         * nscd/aicache.c (addhstaiX): Use them.
7243         * nscd/grpcache.c (cache_addgr): Likewise.
7244         * nscd/hstcache.c (cache_addhst): Likewise.
7245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7246         * nscd/netgroupcache.c (do_notfound): Likewise.
7247         (addgetnetgrentX): Likewise.
7248         (addinnetgrX): Likewise.
7249         * nscd/pwdcache.c (cache_addpw): Likewise.
7250         * nscd/servicescache.c (cache_addserv): Likewise.
7251
7252 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7253             Atsushi Onoe  <atsushi@onoe.org>
7254
7255         [BZ #14308]
7256         [BZ #12994]
7257         [BZ #13651]
7258         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7259         one response is valid.
7260         * resolv/res_send.c (send_dg): Check for validity of other
7261         response if the current response is a referral.
7262
7263 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7264
7265         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7266
7267 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7268
7269         [BZ #16823]
7270         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7271         Always divide by positive zero when computing -Inf result.
7272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7273         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7274
7275 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7276
7277         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7278         FPSCR if value do not change.
7279         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7280         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7281         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7282         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7283         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7284         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7285         function.
7286
7287 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7288
7289         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7290         * sysdeps/unix/sysv/linux/hppa: Move directory from
7291         ports/systeps/unix/sysv/linux/hppa.
7292         * README: Update listing for hppa-*-linux-gnu.
7293
7294 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7295
7296         [BZ #16754]
7297         * manual/stdio.texi (Hook functions): Fix types of stream hook
7298         functions.
7299         [BZ #16854]
7300         * socket/sys/socket.h: Fix typo in comment.
7301
7302 2014-04-28  Wilco  <wdijkstr@arm.com>
7303
7304         * sysdeps/arm/fenv_private.h: New file.
7305         * sysdeps/arm/math_private.h: New file.
7306         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7307
7308 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7309
7310         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7311         with __int128_t.
7312         (La_x86_64_retval): Likewise.
7313
7314 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7315
7316         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7317         fpsr if value didn't change.
7318         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7319         to fpcr if value didn't change.
7320         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7321         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7322         fpsr or fpcr if value didn't change.
7323         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7324         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7325         fpcr if value didn't change.
7326         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7327         to fpsr if value didn't change.
7328
7329 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7330
7331         * nptl/tst-sem3.c: Use test-skeleton.c
7332         (main): Rename to do_test.  Use return instead of
7333         exit.
7334         * nptl/tst-sem4.c: Use test-skeleton.c
7335         (main): Rename to do_test.
7336
7337 2014-04-22  David S. Miller  <davem@davemloft.net>
7338
7339         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7340         (struct sigaction): New struct member __glibc_reserved0, change
7341         type of sa_flags to int.
7342
7343 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7344
7345         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7346         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7347
7348 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7349
7350         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7351         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7352
7353 2014-04-22  Will Newton  <will.newton@linaro.org>
7354             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7355
7356         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7357         (__longjmp): Add longjmp and longjmp_target SystemTap
7358         probes.
7359         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7360         (__sigsetjmp): Add setjmp SystemTap probe.
7361
7362 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7363
7364         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7365         match manual order.
7366
7367 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7368
7369         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7370
7371         * sysdeps/powerpc/fpu/fenv_private.h
7372         (libc_feholdexcept_setroundl_ctx): Define to
7373         libc_feholdexcept_setround_ppc_ctx.
7374         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7375         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7376         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7377         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7378
7379 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7380
7381         * sysdeps/aarch64/math-tests.h: New file.
7382
7383 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7384
7385         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7386         New.
7387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7388         Check and set bit_AVX2_Usable.
7389         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7390         macro.
7391         (bit_AVX2): Likewise.
7392         (index_AVX2_Usable): Likewise.
7393         (CPUID_AVX2): Likewise.
7394         (HAS_AVX2): Likewise.
7395
7396 2014-04-17  Will Newton  <will.newton@linaro.org>
7397
7398         * manual/setjmp.texi (System V contexts): Add note that
7399         calling setcontext on a context created by a call to a
7400         signal handler is undefined.  Update text to note that
7401         setcontext from a signal handler is possible but not
7402         recommended.
7403
7404         [BZ #16629]
7405         * stdlib/tst-setcontext.c: Include signal.h.
7406         (main): Check that the signal stack before and
7407         after swapcontext is the same.
7408
7409         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7410         Re-implement to restore registers in user code and avoid
7411         rt_sigreturn system call.
7412
7413 2014-04-17  Wilco  <wdijkstr@arm.com>
7414
7415         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7416         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7417         * math/test-fenv.c: Skip exception trap tests on targets which only
7418         support non-stop mode.
7419
7420 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7421             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7422
7423         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7424         (libc_feholdsetround_aarch64_ctx)
7425         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7426         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7427         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7428         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7429         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7430         (libc_feresetround_noexl_ctx): Define.
7431
7432 2014-04-16  Richard Henderson  <rth@redhat.com>
7433
7434         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7435
7436         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7437         unwind tables.
7438
7439         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7440         const from the non-libc, non-ldso copy.
7441
7442         * sysdeps/alpha/libm-test-ulps: Regenerate.
7443
7444 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7445             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7446
7447         * sysdeps/aarch64/fpu/math_private.h: New file.
7448
7449 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7450
7451         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7452
7453 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7454
7455         [BZ #16275]
7456         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7457         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7459         Intel MPX bound registers before _dl_profile_fixup.
7460         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7461         registers after _dl_profile_fixup.  Save and restore bound
7462         registers bnd0/bnd1 when calling _dl_call_pltexit.
7463         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7464         (LR_BND_OFFSET): Likewise.
7465         (LRV_BND0_OFFSET): Likewise.
7466         (LRV_BND1_OFFSET): Likewise.
7467
7468 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7469
7470         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7471         to...
7472         * sysdeps/mach/hurd/i386/tls.h: ... here.
7473         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7474         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7475         fields.
7476
7477 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7478
7479         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7480
7481 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7482
7483         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7484
7485 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7486
7487         [BZ #14770]
7488         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7489         * sysdeps/s390/configure: Regenerate.
7490
7491         [BZ #16824]
7492         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7493         Set round-to-nearest internally to reduce error accumulation.
7494
7495 2014-04-16  Alan Modra  <amodra@gmail.com>
7496
7497         [BZ #16740]
7498         [BZ #16619]
7499         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7500         * math/libm-test.inc (frexp_test_data): Add tests.
7501         * NEWS: Update fixed bug list.
7502
7503 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7504
7505         * benchtests/Makefile: Depend on libraries in build directory.
7506         (bench-math): Separate out math tests.
7507         (bench-pthread): Separate out pthread tests.
7508         (bench): Include math and pthread tests.
7509
7510 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7511
7512         [BZ #16831]
7513         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7514         _dl_debug_initialize.
7515
7516         * configure.ac: Remove SELinux header check.
7517         * configure: Regenerate.
7518         * nscd/selinux.c (perms): Array of const char* to permission names.
7519         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7520         default policy. Call string_to_security_class and string_to_av_perm to
7521         translate strings. Enforce default policy and call avs_has_perm with
7522         results of translated strings.
7523
7524 2014-04-13  David S. Miller  <davem@davemloft.net>
7525
7526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7527
7528 2014-04-12  Allan McRae  <allan@archlinux.org>
7529
7530         [BZ #16838]
7531         * manual/string.texi (Collation Functions): Fix qsort argument
7532         order in example.
7533         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7534
7535 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7536
7537         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7538         Make the test a no-op if there are no exceptions defined.
7539
7540 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7541
7542         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7543         enable-hardcoded-path-in-tests
7544
7545 2014-04-11  Will Newton  <will.newton@linaro.org>
7546
7547         * benchtests/Makefile (extra-objs): Add json-lib.o.
7548         (bench-func): Tidy up JSON output.
7549         * benchtests/bench-skeleton.c: Include json-lib.h.
7550         (main): Use JSON library functions to do output of
7551         benchmark results.
7552         * benchtests/bench-timing-type.c (main): Output the
7553         timing type simply, leaving formatting to the user.
7554         * benchtests/json-lib.c: New file.
7555         * benchtests/json-lib.h: Likewise.
7556
7557 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7558
7559         [BZ #15215]
7560         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7561         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7562         memory barriers.  Add comments.
7563         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7564         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7565         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7566         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7567         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7568         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7569
7570 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7571
7572         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7573         * sysdeps/s390/s390-64/configure.ac: ... this ...
7574         * sysdeps/s390/configure.ac: ... to here.
7575         * sysdeps/s390/s390-32/configure: Delete file.
7576         * sysdeps/s390/s390-64/configure: Delete file.
7577         * sysdeps/s390/configure: Regenerate.
7578
7579 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7580
7581         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7582
7583 2014-04-11  Will Newton  <will.newton@linaro.org>
7584
7585         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7586         to zero if it is not defined elsewhere.  (mtrim): Test
7587         the value of MALLOC_DEBUG with #if rather than #ifdef.
7588
7589 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7590
7591         * benchtests/pthread_once-inputs: New file.
7592         * benchtests/pthread_once-source.c: New file.
7593         * benchtests/README: Update documentation.
7594
7595 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7596             H.J. Lu  <hongjiu.lu@intel.com>
7597
7598         [BZ #16275]
7599         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7600         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7601         * sysdeps/x86_64/configure: Regenerated.
7602         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7603         macro.
7604         (REGISTER_SAVE_RAX): Likewise.
7605         (REGISTER_SAVE_RCX): Likewise.
7606         (REGISTER_SAVE_RDX): Likewise.
7607         (REGISTER_SAVE_RSI): Likewise.
7608         (REGISTER_SAVE_RDI): Likewise.
7609         (REGISTER_SAVE_R8): Likewise.
7610         (REGISTER_SAVE_R9): Likewise.
7611         (REGISTER_SAVE_BND0): Likewise.
7612         (REGISTER_SAVE_BND1): Likewise.
7613         (REGISTER_SAVE_BND2): Likewise.
7614         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7615         bound registers when calling _dl_fixup.
7616
7617 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7618
7619         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7620         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7621         of its definition.
7622         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7623         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7624         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7625         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7626         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7627         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7628         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7629
7630 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7631
7632         [BZ #15514]
7633         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7634         pathconf(_PC_NAME_MAX).
7635
7636 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7637
7638         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7639         Remove macro usage.
7640         (__PTHREAD_SPINS): Move definition to ...
7641         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7642         (__PTHREAD_SPINS): ... here.
7643         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7644         (__PTHREAD_SPIN): Likewise.
7645         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7646         (__PTHREAD_SPIN): Likewise.
7647         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7648         (__PTHREAD_SPIN): Likewise.
7649         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7650         (__PTHREAD_SPIN): Likewise.
7651         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7652         (__PTHREAD_SPIN): Likewise.
7653         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7654         (__PTHREAD_SPIN): Likewise.
7655         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7656         (__PTHREAD_SPIN): Likewise.
7657         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7658         (__PTHREAD_SPIN): Likewise.
7659         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7660         (__PTHREAD_SPIN): Likewise.
7661         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7662         (__PTHREAD_SPIN): Likewise.
7663         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7664         (__PTHREAD_SPIN): Likewise.
7665         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7666         (__PTHREAD_SPIN): Likewise.
7667
7668         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7669         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7670         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7671         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7672         imply folder.
7673         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7674         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7675         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7676         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7677         correct imply path.
7678         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7679         strlen symbol for non multi-arch builds.
7680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7681         missing hidden_def and weak_alias.
7682
7683 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7684
7685         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7686
7687 2014-04-07  Will Newton  <will.newton@linaro.org>
7688
7689         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7690         and contents.  [!_LIBC] Remove #ifndef and contents.
7691         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7692         * string/memccpy.c (__memccpy): Use ANSI prototype.
7693         * string/memfrob.c (memfrob): Likewise.
7694         * string/strcoll.c (STRCOLL): Likewise.
7695         * string/strlen.c (strlen): Likewise.
7696         * string/strtok.c (STRTOK): Likewise.
7697         * string/strcat.c: Remove unused #include of memcopy.h.
7698         (strcat): Use ANSI prototype.
7699         * string/strchr.c: Remove unused #include of memcopy.h.
7700         (strchr): Use ANSI prototype.
7701         * string/strcmp.c: Remove unused #include of memcopy.h.
7702         (strcmp): Use ANSI prototype.
7703         * string/strcpy.c: Remove unused #include of memcopy.h.
7704         (strcpy): Use ANSI prototype.
7705
7706 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7707
7708         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7709         * config.make.in (config-extra-cppflags): Set it from
7710         libc_extra_cppflags.
7711         * configure.ac (libc_extra_cflags): Make it accumulate over
7712         configure fragments.
7713         (libc_extra_cppflags): New flag.
7714         * configure. Regenerate.
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7716         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7717         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7719
7720         [BZ #16815]
7721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7722         result for FE_DOWNWARD rounding mode.
7723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7724         Likewise.
7725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7726
7727 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7728
7729         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7730         in function argument name.
7731
7732 2014-04-03  David Svoboda  <svoboda@cert.org>
7733
7734         [BZ #5666]
7735         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7736         explicitly.
7737
7738 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7739
7740         * elf/dl-unmap-segments.h: New file.
7741         * sysdeps/generic/ldsodefs.h
7742         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7743         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7744         * elf/dl-fptr.c: Likewise.
7745         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7746         * sysdeps/aarch64/tlsdesc.c: Likewise.
7747         * sysdeps/arm/tlsdesc.c: Likewise.
7748         * sysdeps/i386/tlsdesc.c: Likewise.
7749         * sysdeps/tile/dl-runtime.c: Likewise.
7750         * sysdeps/x86_64/tlsdesc.c: Likewise.
7751         * elf/dl-load.h: New file.
7752         * elf/dl-load.c: Include it.
7753         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7754         Macros moved to dl-load.h.
7755         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7756         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7757         Use _dl_unmap_segments in place of __munmap.
7758         Break out segment-mapping loop into ...
7759         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7760
7761 2014-04-03  Will Newton  <will.newton@linaro.org>
7762
7763         * elf/dl-lookup.c (do_lookup_x): Remove comment
7764         referring to nested function and move variable
7765         declarations down to before first use.
7766
7767 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7768
7769         [BZ #16799]
7770         [BZ #16800]
7771         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7772         with 0 numerator.
7773         * math/s_catanf.c (__catanf): Likewise.
7774         * math/s_catanh.c (__catanh): Likewise.
7775         * math/s_catanhf.c (__catanhf): Likewise.
7776         * math/s_catanhl.c (__catanhl): Likewise.
7777         * math/s_catanl.c (__catanl): Likewise.
7778         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7779         by positive zero when computing -Inf result.
7780         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7781         (catanh_test): Likewise.
7782         * sysdeps/i386/fpu/libm-test-ulps: Update.
7783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7784
7785         [BZ #16789]
7786         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7787         instead of using underflowing value in computing result.
7788         * math/s_clog10.c (__clog10): Likewise.
7789         * math/s_clog10f.c (__clog10f): Likewise.
7790         * math/s_clog10l.c (__clog10l): Likewise.
7791         * math/s_clogf.c (__clogf): Likewise.
7792         * math/s_clogl.c (__clogl): Likewise.
7793         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7794         (clog10_test): Likewise.
7795         * sysdeps/i386/fpu/libm-test-ulps: Update.
7796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797
7798 2014-04-02  Alan Modra  <amodra@gmail.com>
7799
7800         [BZ #16739]
7801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7802         output when value is near a power of two.  Use int64_t for lx and
7803         remove casts.  Use decimal rather than hex exponent constants.
7804         Don't use long double multiplication when double will suffice.
7805         * math/libm-test.inc (nextafter_test_data): Add tests.
7806         * NEWS: Add 16739 and 16786 to bug list.
7807
7808         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7809
7810         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7811
7812 2014-04-01  Will Newton  <will.newton@linaro.org>
7813
7814         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7815         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7816
7817 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7818
7819         [BZ #13347]
7820         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7821         * nptl/tst-setuid2.c: New file.
7822         * nptl/Makefile (xtests): Add tst-setuid2.
7823
7824 2014-04-01  Alan Modra  <amodra@gmail.com>
7825
7826         [BZ #16786]
7827         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7828
7829 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7830
7831         [BZ #6803]
7832         [BZ #6804]
7833         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7834         set errno as appropriate.
7835         * math/w_scalbf.c (__scalbf): Likewise.
7836         * math/w_scalbl.c (__scalbl): Likewise.
7837         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7838         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7839         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7840         Add more NaN tests.
7841
7842         [BZ #16349]
7843         * math/w_atan2.c: Include <errno.h>.
7844         (__atan2): Set errno for result underflowing to zero.
7845         * math/w_atan2f.c: Include <errno.h>.
7846         (__atan2f): Set errno for result underflowing to zero.
7847         * math/w_atan2l.c: Include <errno.h>.
7848         (__atan2l): Set errno for result underflowing to zero.
7849         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7850         tests.
7851         * math/auto-libm-test-out: Regenerated.
7852
7853 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7854
7855         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7856         Encode instruction correctly in little endian.
7857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7858         Likewise.
7859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7860         Likewise.
7861         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7862         Likewise.
7863         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7864         Likewise.
7865
7866 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7867
7868         [BZ #9894]
7869         * sysdeps/unix/sysv/linux/kernel-features.h
7870         [__sparc__ && !__arch64__ && !__sparc_v9__]
7871         (__ASSUME_SET_ROBUST_LIST): Do not define.
7872         [__sparc__ && !__arch64__ && !__sparc_v9__]
7873         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7874         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7877         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7878         (__ASSUME_REQUEUE_PI): Likewise.
7879         (__ASSUME_SET_ROBUST_LIST): Likewise.
7880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7881         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7882         Undefine.
7883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7884         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7885         Likewise.
7886         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7887         Likewise.
7888         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7889         Likewise.
7890         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7891         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7892         Undefine.
7893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7894         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7895         Likewise.
7896
7897         [BZ #16648]
7898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7899         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7900         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7901
7902 2014-03-31  Will Newton  <will.newton@linaro.org>
7903
7904         * benchtests/Makefile (bench): Add ffs and ffsll to list
7905         of tests.
7906         * benchtests/ffs-inputs: New file.
7907         * benchtests/ffsll-inputs: Likewise.
7908
7909 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7910
7911         [BZ #16770]
7912         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7913         too large before casting to int.
7914         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7915         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7916         * math/libm-test.inc (scalb_test_data): Add more tests.
7917
7918 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7919
7920         * benchtests/Makefile (DETAILED_OPT): New make option.
7921         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7922         set.
7923         * benchtests/bench-skeleton.c: Include stdbool.h.
7924         (main): Store and print timings per input.
7925         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7926         member to each argument value.
7927         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7928         (_print_arg_data): Initialize per-input timing to 0.
7929
7930         * benchtests/Makefile (timing-type): New binary.
7931         (bench-clean): Also remove bench-timing-type.
7932         (bench): New target for timing-type.
7933         (bench-func): Print output in JSON format.
7934         * benchtests/bench-skeleton.c (main): Print output in JSON
7935         format.
7936         * benchtests/bench-timing-type.c: New file.
7937         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7938         (TIMING_PRINT_STATS): Remove.
7939         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7940         name separately.
7941
7942         * benchtests/bench-modf.c: Remove.
7943         * benchtests/modf-inputs: New inputs file.
7944
7945 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7946
7947         [BZ #16362]
7948         * math/s_clog10.c (M_PI_LOG10E): New macro.
7949         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7950         imaginary parts are 0.
7951         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7952         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7953         imaginary parts are 0.
7954         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7955         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7956         imaginary parts are 0.
7957         * math/libm-test.inc (clog10_test_data): Update expected results
7958         for when real and imaginary parts are 0.
7959
7960 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7961
7962         * elf/dl-load.c: Finish conversion of __builtin_expect into
7963         __glibc_{un}likely.
7964
7965 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7966
7967         [BZ #16348]
7968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7969         1+x for argument with exponent below -67.
7970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7971         Likewise.
7972         * math/auto-libm-test-in: Add more tests of exp.
7973         * math/auto-libm-test-out: Regenerated.
7974
7975 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7976
7977         [BZ #16759]
7978         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7979         (nscd_getnetgrent): Use it.
7980
7981         [BZ #16760]
7982         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7983         of stpcpy.
7984
7985 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7986
7987         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7988         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7989         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7990         (lll_robust_unlock): Remove out of line section. Use cfi
7991         intrinsics.
7992         (LLL_STUB_UNWIND_INFO*): Remove.
7993         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7994         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7995         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7996         (lll_robust_unlock): Remove out of line section. Use cfi
7997         intrinsics.
7998         (LLL_STUB_UNWIND_INFO*): Remove.
7999
8000 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8001
8002         [BZ #16758]
8003         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8004         blank values.
8005
8006 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8007
8008         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8009
8010 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8011
8012         [BZ #16198]
8013         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8014         fnstenv.
8015         * math/test-fenv-preserve.c: New file.
8016         * math/Makefile (tests): Add test-fenv-preserve.
8017
8018 2014-03-26  Will Newton <will.newton@linaro.org>
8019
8020         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8021
8022 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8023
8024         * scripts/versionlist.awk: Partition the version sets and emit all
8025         GLIBC_* (sorted) before all others (sorted).
8026
8027 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8028
8029         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8030         GLIBC_2.2.5 version.
8031
8032 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8033
8034         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8035         calls.
8036
8037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8038         previous change.
8039
8040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8041
8042 2014-03-25  Andreas Schwab  <schwab@suse.de>
8043
8044         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8045         label to be used after in6ailist is initialized.
8046
8047 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8048
8049         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8050         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8051
8052 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8053
8054         [BZ #16357]
8055         [BZ #16599]
8056         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8057         min_plus_half.
8058         (fp_formats): Update initializers.
8059         (init_fp_formats): Initialize new field.
8060         (output_for_one_input_case): Allow underflow for results up to
8061         min_plus_half.
8062         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8063         * math/auto-libm-test-in: Don't mark some underflows from asin and
8064         atanh as spurious.
8065         * math/auto-libm-test-out: Regenerated.
8066         * sysdeps/i386/fpu/libm-test-ulps: Update.
8067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8068
8069 2014-03-25  Andreas Schwab  <schwab@suse.de>
8070
8071         * libio/Makefile (tst-ftell-partial-wide-ENV)
8072         (tst-ftell-active-handler-ENV): Define.
8073
8074 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8075
8076         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8077
8078 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8079
8080         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8081
8082 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8083
8084         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8085         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8086         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8087
8088 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8089
8090         [BZ #16634]
8091         * elf/dl-load.c (open_verify): Add mode parameter.
8092         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8093         (open_path): Change from boolean 'secure' to complete flag 'mode'
8094         (_dl_map_object): Adjust.
8095         * elf/Makefile (tests): Add tst-dlopen-aout.
8096         * elf/tst-dlopen-aout.c: New test.
8097
8098 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8099
8100         [BZ #16714]
8101         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8102         (struct stat): Rename member pad0 to __glibc_reserved0.
8103
8104         [BZ #16712]
8105         * sysdeps/s390/s390-32/bits/wordsize.h
8106         (__WORDSIZE32_SIZE_ULONG): New define.
8107         * sysdeps/s390/s390-64/bits/wordsize.h
8108         (__WORDSIZE32_SIZE_ULONG): Likewise.
8109         * sysdeps/generic/stdint.h (SIZE_MAX):
8110         Define as UL if __WORDSIZE32_SIZE_ULONG.
8111
8112         [BZ #16713]
8113         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8114         (__glibc_reserved0): New variable.
8115         (sa_flags): Change type to int.
8116
8117         * posix/Makefile (before-compile): Use += before-compile instead
8118         of a :=.
8119
8120         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8121         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8122
8123 2014-03-20  Andreas Schwab  <schwab@suse.de>
8124
8125         [BZ #16743]
8126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8127         non-matching result from nscd.
8128
8129 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8130
8131         * scripts/bench.py: Moved to ...
8132         * benchtests/scripts/bench.py: ... here.
8133         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8134
8135 2014-03-24  Andreas Schwab  <schwab@suse.de>
8136
8137         [BZ #16002]
8138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8139         alloca_account and account alloca use for struct in6ailist.
8140
8141 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8142
8143         [BZ #16284]
8144         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8145         rounding mode to recompute results that overflow to infinity or
8146         underflow to zero.
8147         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8148         bug 16284.
8149         * math/auto-libm-test-out: Regenerated.
8150         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8151         (ccosh_test): Likewise.
8152         (csin_test_data): Use plus_oflow.
8153         (csin_test): Use ALL_RM_TEST.
8154         (csinh_test_data): Use plus_oflow.
8155         (csinh_test): Use ALL_RM_TEST.
8156         * sysdeps/i386/fpu/libm-test-ulps: Update.
8157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8158
8159 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8160
8161         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8162         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8163         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8164
8165         [BZ #16731]
8166         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8167         when x - 1 is zero.
8168         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8169         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8170         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8172         argument is 1.
8173         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8174         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8175         zero.
8176         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8177         * sysdeps/i386/fpu/libm-test-ulps: Update.
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8179
8180 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8181
8182         * scripts/bench.pl: Remove file.
8183         * scripts/bench.py: New benchmark script.
8184         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8185         * benchtests/README: Mention python dependency.
8186         * scripts/pylintrc: New file.
8187         * scripts/pylint: New file.
8188
8189         * bits/mathdef.h: Use #ifdef instead of #if.
8190         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8191         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8192         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8193         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8194         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8195         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8196
8197 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8198             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8199
8200         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8202         and strpbrk-ppc64 objects.
8203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8204         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8205         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8206         multiarch strpbrk for POWER7.
8207         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8208         multiarch strpbrk for PPC64.
8209         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8210         ifunc selector.
8211         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8212         strpbrk for POWER7.
8213
8214 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8215
8216         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8217         (atan_test): Likewise.
8218         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8219         (atanh_test): Use ALL_RM_TEST.
8220         (atan2_test_data): Likewise.
8221         (cabs_test): Likewise.
8222         (cacosh_test): Likewise.
8223         (carg_test): Likewise.
8224         (casin_test): Likewise.
8225         (casinh_test): Likewise.
8226         (cbrt_test): Likewise.
8227         (csqrt_test): Likewise.
8228         (erf_test): Likewise.
8229         (erfc_test): Likewise.
8230         (pow10_test): Likewise.
8231         (exp2_test): Likewise.
8232         (hypot_test): Likewise.
8233         (j0_test): Likewise.
8234         (j1_test): Likewise.
8235         (lgamma_test): Likewise.
8236         (gamma_test): Likewise.
8237         (sincos_test): Likewise.
8238         (tanh_test): Likewise.
8239         (y0_test): Likewise.
8240         (y1_test): Likewise.
8241         * sysdeps/i386/fpu/libm-test-ulps: Update.
8242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8243
8244 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245
8246         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8248         and strcspn-ppc64 objects.
8249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8250         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8251         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8252         multiarch strcspn for POWER7.
8253         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8254         multiarch strcspn for PPC64.
8255         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8256         ifunc selector.
8257         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8258         strcspn for POWER7.
8259
8260 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8261
8262         * math/gen-libm-test.pl (generate_testfile): Expect only function
8263         name as argument to AUTO_TESTS_* and pass results for all rounding
8264         modes to parse_args.
8265         (parse_auto_input): Separate inputs of automatic tests from
8266         outputs before storing in %auto_tests.
8267         * math/libm-test.inc (acos_test_data): Update call to
8268         AUTO_TESTS_f_f.
8269         (acos_test): Use ALL_RM_TEST.
8270         (acos_tonearest_test_data): Remove.
8271         (acos_test_tonearest): Likewise.
8272         (acos_towardzero_test_data): Likewise.
8273         (acos_test_towardzero): Likewise.
8274         (acos_downward_test_data): Likewise.
8275         (acos_test_downward): Likewise.
8276         (acos_upward_test_data): Likewise.
8277         (acos_test_upward): Likewise.
8278         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8279         (asin_test_data): Likewise.
8280         (asin_test): Use ALL_RM_TEST.
8281         (asin_tonearest_test_data): Remove.
8282         (asin_test_tonearest): Likewise.
8283         (asin_towardzero_test_data): Likewise.
8284         (asin_test_towardzero): Likewise.
8285         (asin_downward_test_data): Likewise.
8286         (asin_test_downward): Likewise.
8287         (asin_upward_test_data): Likewise.
8288         (asin_test_upward): Likewise.
8289         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8290         (atan_test_data): Likewise.
8291         (atanh_test_data): Likewise.
8292         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8293         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8294         (carg_test_data): Likewise.
8295         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8296         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8297         (ccosh_test_data): Likewise.
8298         (cexp_test_data): Likewise.
8299         (clog_test_data): Likewise.
8300         (clog10_test_data): Likewise.
8301         (cos_test_data): Update call to AUTO_TESTS_f_f.
8302         (cos_test): Use ALL_RM_TEST.
8303         (cos_tonearest_test_data): Remove.
8304         (cos_test_tonearest): Likewise.
8305         (cos_towardzero_test_data): Likewise.
8306         (cos_test_towardzero): Likewise.
8307         (cos_downward_test_data): Likewise.
8308         (cos_test_downward): Likewise.
8309         (cos_upward_test_data): Likewise.
8310         (cos_test_upward): Likewise.
8311         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8312         (cosh_test): Use ALL_RM_TEST.
8313         (cosh_tonearest_test_data): Remove.
8314         (cosh_test_tonearest): Likewise.
8315         (cosh_towardzero_test_data): Likewise.
8316         (cosh_test_towardzero): Likewise.
8317         (cosh_downward_test_data): Likewise.
8318         (cosh_test_downward): Likewise.
8319         (cosh_upward_test_data): Likewise.
8320         (cosh_test_upward): Likewise.
8321         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8322         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8323         (ctan_test_data): Likewise.
8324         (ctan_test): Use ALL_RM_TEST.
8325         (ctan_tonearest_test_data): Remove.
8326         (ctan_test_tonearest): Likewise.
8327         (ctan_towardzero_test_data): Likewise.
8328         (ctan_test_towardzero): Likewise.
8329         (ctan_downward_test_data): Likewise.
8330         (ctan_test_downward): Likewise.
8331         (ctan_upward_test_data): Likewise.
8332         (ctan_test_upward): Likewise.
8333         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8334         (ctanh_test): Use ALL_RM_TEST.
8335         (ctanh_tonearest_test_data): Remove.
8336         (ctanh_test_tonearest): Likewise.
8337         (ctanh_towardzero_test_data): Likewise.
8338         (ctanh_test_towardzero): Likewise.
8339         (ctanh_downward_test_data): Likewise.
8340         (ctanh_test_downward): Likewise.
8341         (ctanh_upward_test_data): Likewise.
8342         (ctanh_test_upward): Likewise.
8343         (erf_test_data): Update call to AUTO_TESTS_f_f.
8344         (erfc_test_data): Likewise.
8345         (exp_test_data): Likewise.
8346         (exp_test): Use ALL_RM_TEST.
8347         (exp_tonearest_test_data): Remove.
8348         (exp_test_tonearest): Likewise.
8349         (exp_towardzero_test_data): Likewise.
8350         (exp_test_towardzero): Likewise.
8351         (exp_downward_test_data): Likewise.
8352         (exp_test_downward): Likewise.
8353         (exp_upward_test_data): Likewise.
8354         (exp_test_upward): Likewise.
8355         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8356         (exp10_test): Use ALL_RM_TEST.
8357         (exp10_tonearest_test_data): Remove.
8358         (exp10_test_tonearest): Likewise.
8359         (exp10_towardzero_test_data): Likewise.
8360         (exp10_test_towardzero): Likewise.
8361         (exp10_downward_test_data): Likewise.
8362         (exp10_test_downward): Likewise.
8363         (exp10_upward_test_data): Likewise.
8364         (exp10_test_upward): Likewise.
8365         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8366         (expm1_test_data): Likewise.
8367         (expm1_test): Use ALL_RM_TEST.
8368         (expm1_tonearest_test_data): Remove.
8369         (expm1_test_tonearest): Likewise.
8370         (expm1_towardzero_test_data): Likewise.
8371         (expm1_test_towardzero): Likewise.
8372         (expm1_downward_test_data): Likewise.
8373         (expm1_test_downward): Likewise.
8374         (expm1_upward_test_data): Likewise.
8375         (expm1_test_upward): Likewise.
8376         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8377         (fma_test): Use ALL_RM_TEST.
8378         (fma_towardzero_test_data): Remove.
8379         (fma_test_towardzero): Likewise.
8380         (fma_downward_test_data): Likewise.
8381         (fma_test_downward): Likewise.
8382         (fma_upward_test_data): Likewise.
8383         (fma_test_upward): Likewise.
8384         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8385         (j0_test_data): Update call to AUTO_TESTS_f_f.
8386         (j1_test_data): Likewise.
8387         (jn_test_data): Update call to AUTO_TESTS_if_f.
8388         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8389         (log_test_data): Update call to AUTO_TESTS_f_f.
8390         (log10_test_data): Likewise.
8391         (log1p_test_data): Likewise.
8392         (log2_test_data): Likewise.
8393         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8394         (pow_tonearest_test_data): Likewise.
8395         (sin_test_data): Update call to AUTO_TESTS_f_f.
8396         (sin_test): Use ALL_RM_TEST.
8397         (sin_tonearest_test_data): Remove.
8398         (sin_test_tonearest): Likewise.
8399         (sin_towardzero_test_data): Likewise.
8400         (sin_test_towardzero): Likewise.
8401         (sin_downward_test_data): Likewise.
8402         (sin_test_downward): Likewise.
8403         (sin_upward_test_data): Likewise.
8404         (sin_test_upward): Likewise.
8405         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8406         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8407         (sinh_test): Use ALL_RM_TEST.
8408         (sinh_tonearest_test_data): Remove.
8409         (sinh_test_tonearest): Likewise.
8410         (sinh_towardzero_test_data): Likewise.
8411         (sinh_test_towardzero): Likewise.
8412         (sinh_downward_test_data): Likewise.
8413         (sinh_test_downward): Likewise.
8414         (sinh_upward_test_data): Likewise.
8415         (sinh_test_upward): Likewise.
8416         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8417         (sqrt_test): Use ALL_RM_TEST.
8418         (sqrt_tonearest_test_data): Remove.
8419         (sqrt_test_tonearest): Likewise.
8420         (sqrt_towardzero_test_data): Likewise.
8421         (sqrt_test_towardzero): Likewise.
8422         (sqrt_downward_test_data): Likewise.
8423         (sqrt_test_downward): Likewise.
8424         (sqrt_upward_test_data): Likewise.
8425         (sqrt_test_upward): Likewise.
8426         (tan_test_data): Update call to AUTO_TESTS_f_f.
8427         (tan_test): Use ALL_RM_TEST.
8428         (tan_tonearest_test_data): Remove.
8429         (tan_test_tonearest): Likewise.
8430         (tan_towardzero_test_data): Likewise.
8431         (tan_test_towardzero): Likewise.
8432         (tan_downward_test_data): Likewise.
8433         (tan_test_downward): Likewise.
8434         (tan_upward_test_data): Likewise.
8435         (tan_test_upward): Likewise.
8436         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8437         (tgamma_test_data): Likewise.
8438         (y0_test_data): Likewise.
8439         (y1_test_data): Likewise.
8440         (yn_test_data): Update call to AUTO_TESTS_if_f.
8441         (main): Do not call removed functions.
8442
8443 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8444
8445         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8446         (ldexp_test_data): Remove.
8447         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8448         scalbn_test_data.
8449         (scalb_test): Use ALL_RM_TEST.
8450
8451 2014-03-19  Andreas Schwab  <schwab@suse.de>
8452
8453         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8454
8455 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8456
8457         [BZ #16649]
8458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8462         (__ASSUME_PREADV): Undefine.
8463         (__ASSUME_PWRITEV): Likewise.
8464
8465 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8466
8467         * bits/mman-linux.h: Add comment about non-Linux use.
8468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8469         bits/mman-linux.h resting place.
8470
8471         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8472         * bits/mman-linux.h: ... here.
8473
8474 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8475
8476         * conform/conformtest.pl: Add standard definition when calling C
8477         preprocessor on data files.
8478         (checknamespace): Remove unused variable.
8479
8480 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8481
8482         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8483         minus_oflow, plus_uflow and minus_uflow in expected results.
8484         * math/libm-test.inc (scalbn_test_data): Add more tests of
8485         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8486         minus_uflow.
8487         (scalbn_test): Use ALL_RM_TEST.
8488         (scalbln_test_data): Add more tests of negative arguments.  Use
8489         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8490         (scalbln_test): Use ALL_RM_TEST.
8491
8492 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8493
8494         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8495
8496 2014-03-18  Will Newton  <will.newton@linaro.org>
8497
8498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8499         inaccurate comment.
8500
8501 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8502
8503         * Makerules [!subdir] (check-abi): Exit with error status if a
8504         test failed.
8505
8506 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8507
8508         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8509         for rint.  Include results for all rounding modes.
8510         (nearbyint_test): Use ALL_RM_TEST.
8511         (rint_test_data): Include all tests used for nearbyint.
8512
8513 2014-03-17  Will Newton  <will.newton@linaro.org>
8514
8515         * nptl/sysdeps/pthread/pthread.h: Revert previous
8516         change.
8517
8518         * sysdeps/generic/ldsodefs.h: Revert previous
8519         change.
8520
8521         * libio/genops.c: Revert previous change.
8522         * libio/libioP.h: Likewise.
8523         * stdio-common/vfprintf.c: Likewise.
8524
8525         * sysdeps/generic/math_private.h: Revert previous
8526         change.
8527
8528         * sysdeps/generic/math_private.h: Check whether
8529         HAVE_RM_CTX is defined with #ifdef rather
8530         than #if.
8531
8532         * argp/argp-fmtstream.h: Check whether
8533         __STRICT_ANSI__ is defined with #ifdef rather
8534         than #if.
8535         * argp/argp.h: Likewise.
8536
8537         * libio/genops.c: Check whether
8538         _IO_JUMPS_OFFSET is defined with #ifdef rather
8539         than #if.
8540         * libio/libioP.h: Likewise.
8541         * stdio-common/vfprintf.c: Likewise.
8542
8543         * sysdeps/generic/ldsodefs.h: Check whether
8544         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8545         than #if.
8546
8547         * nptl/sysdeps/pthread/pthread.h: Check
8548         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8549         its value.
8550
8551 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8552
8553         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8554         setting O_APPEND.
8555         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8556         test case.
8557
8558         [BZ #16680]
8559         * libio/fileops.c (_IO_file_open): Seek to end of file but
8560         don't cache the offset.
8561         (get_file_offset): Remove function.
8562         (do_ftell): Use cached offset when available.
8563         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8564         don't cache the offset.
8565         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8566         case.
8567         (do_one_test): Call it.
8568         (do_ftell_test): Fix up expected old offset for a+ mode.
8569         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8570         available.
8571
8572         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8573         up test status with function return status.
8574         (do_write_test): Likewise.
8575         (do_append_test): Likewise.
8576
8577         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8578         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8579         Remove.
8580
8581 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8582
8583         * math/gen-libm-test.pl (parse_args): Handle results specified for
8584         each rounding mode separately.
8585         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8586         tests and results from lrint_tonearest_test_data,
8587         lrint_towardzero_test_data, lrint_downward_test_data and
8588         lrint_upward_test_data.
8589         (lrint_test): Use ALL_RM_TEST.
8590         (lrint_tonearest_test_data): Remove.
8591         (lrint_test_tonearest): Likewise.
8592         (lrint_towardzero_test_data): Likewise.
8593         (lrint_test_towardzero): Likewise.
8594         (lrint_downward_test_data): Likewise.
8595         (lrint_test_downward): Likewise.
8596         (lrint_upward_test_data): Likewise.
8597         (lrint_test_upward): Likewise.
8598         (llrint_test_data): Merge in per-rounding-mode tests and results
8599         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8600         llrint_downward_test_data and llrint_upward_test_data.
8601         (llrint_test): Use ALL_RM_TEST.
8602         (llrint_tonearest_test_data): Remove.
8603         (llrint_test_tonearest): Likewise.
8604         (llrint_towardzero_test_data): Likewise.
8605         (llrint_test_towardzero): Likewise.
8606         (llrint_downward_test_data): Likewise.
8607         (llrint_test_downward): Likewise.
8608         (llrint_upward_test_data): Likewise.
8609         (llrint_test_upward): Likewise.
8610         (rint_test_data): Merge in per-rounding-mode tests and results
8611         from rint_tonearest_test_data, rint_towardzero_test_data,
8612         rint_downward_test_data and rint_upward_test_data.  Add
8613         per-rounding-mode results for tests not in those arrays.
8614         (rint_test): Use ALL_RM_TEST.
8615         (rint_tonearest_test_data): Remove.
8616         (rint_test_tonearest): Likewise.
8617         (rint_towardzero_test_data): Likewise.
8618         (rint_test_towardzero): Likewise.
8619         (rint_downward_test_data): Likewise.
8620         (rint_test_downward): Likewise.
8621         (rint_upward_test_data): Likewise.
8622         (rint_test_upward): Likewise.
8623         (main): Don't call removed functions.
8624
8625 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8626
8627         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8628         "Compiled on ..." crapola.  It is anti-useful.
8629
8630 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8631
8632         * scripts/evaluate-test.sh: Handle fourth argument to determine
8633         whether test run should stop on failure.
8634         * Makeconfig (stop-on-test-failure): New variable.
8635         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8636         $(stop-on-test-failure).
8637         * Makefile (tests): Give a summary of results from testing and
8638         exit with failure status if they include an ERROR or FAIL.
8639         (xtests): Likewise.
8640         * manual/install.texi (Configuring and compiling): Mention
8641         stop-on-test-failure=y.
8642         * INSTALL: Regenerated.
8643
8644 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8645
8646         * scripts/versionlist.awk: New file.
8647         * Makerules [$(build-shared) = yes]
8648         (postclean-generated): Add Versions.def, not Versions.def.v and
8649         Versions.def.v.i.
8650         ($(common-objpfx)Versions.def.v.i): Target removed.
8651         ($(common-objpfx)Versions.def): New target.
8652         ($(common-objpfx)Versions.all): Depend on that rather that
8653         $(common-objpfx)Versions.def.v.
8654         * Versions.def: File removed.
8655
8656         * Makeconfig (+gccwarn): Add -Wundef.
8657         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8658         a dl-sysdep.h breaking its contract.
8659         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8660         * include/stackinfo.h: New file.
8661         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8662         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8663         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8664         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8665         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8666         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8667         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8668         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8669         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8670         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8671         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8672         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8673         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8674         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8675         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8676
8677 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8678
8679         [BZ #16707]
8680         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8681         implementation.
8682         * math/libm-test.inc (round_test_data): Add more tests.
8683
8684         [BZ #16706]
8685         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8686         implementation.
8687         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8688
8689         [BZ #16701]
8690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8691         implementation.
8692         * math/libm-test.inc (ceil_test_data): Add more tests.
8693
8694         * math/libm-test.inc (trunc_test_data): Add more tests related to
8695         BZ#16414.
8696
8697 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8698
8699         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8700         with #if rather than #ifdef.
8701         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8702
8703 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8704
8705         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8706         first.  Disable AVX-512 GCC support if assembler doesn't support
8707         it.
8708         * sysdeps/x86_64/configure: Regenerated.
8709
8710 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8711
8712         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8713         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8714         (__old_pthread_attr_setstack): Likewise.
8715         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8716         [!_STACK_GROWS_DOWN]: Likewise.
8717
8718 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8719
8720         * config.make.in (have-bash2): Delete.
8721         * configure.ac (libc_cv_have_bash2): Delete.
8722         * configure: Regenerate.
8723         * elf/Makefile (common-ldd-rewrite): Rename to ...
8724         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8725         (sh-ldd-rewrite): Delete.
8726         (bash-ldd-rewrite): Delete.
8727         (have-bash2): Delete checks.
8728         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8729         ldd-rewrite.
8730
8731         * config.make.in (have-ksh): Delete.
8732         (KSH): Delete.
8733         * configure.ac (libc_cv_have_ksh): Delete.
8734         * configure: Regenerate.
8735
8736         * elf/Makefile: Delete $(have-ksh) check.
8737         ($(objpfx)sotruss): Change KSH to BASH.
8738         * elf/sotruss.ksh: Rename to ...
8739         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8740         function style to match POSIX.  Drop ksh vim mode setting.
8741
8742         * manual/time.texi (Specifying the Time Zone with TZ): Change
8743         Tuesday to Thursday.
8744
8745         * debug/tst-longjmp_chk2.c: Update header comment.
8746         (stackoverflow_handler): Add comment.  Call assert on pass value.
8747
8748 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8749
8750         [BZ #16194]
8751         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8752         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8753         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8754         (La_x86_64_vector): Add zmm.
8755         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8756         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8757         ($(objpfx)tst-audit10): New target.
8758         ($(objpfx)tst-audit10.out): Likewise.
8759         (tst-audit10-ENV): New.
8760         (AVX512-CFLAGS): Likewise.
8761         (CFLAGS-tst-audit10.c): Likewise.
8762         (CFLAGS-tst-auditmod10a.c): Likewise.
8763         (CFLAGS-tst-auditmod10b.c): Likewise.
8764         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8765         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8766         * sysdeps/x86_64/configure: Regenerated.
8767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8768         AVX-512 zmm register support.
8769         (_dl_x86_64_save_sse): Likewise.
8770         (_dl_x86_64_restore_sse): Likewise.
8771         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8772         size vector registers.
8773         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8774         (ZMM_SIZE): Likewise.
8775         * sysdeps/x86_64/tst-audit10.c: New file.
8776         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8777         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8778
8779 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8780
8781         * configure.ac (HAVE_EHDR_START): New check.
8782         * configure: Regenerated.
8783         * config.h.in (HAVE_EHDR_START): New #undef.
8784         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8785         assuming the lowest-addressed segment maps the start of the file.
8786
8787 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8788
8789         * INSTALL: Regenerated.
8790
8791 2014-03-13  Will Newton  <will.newton@linaro.org>
8792
8793         * manual/setjmp.texi (System V contexts): Improve
8794         clarity and grammar of documentation.
8795
8796 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8797
8798         [BZ #16381]
8799         * elf/Makefile (tests): Add tst-pie2.
8800         (tests-pie): Add tst-pie2.
8801         * elf/tst-pie2.c: New file.
8802         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8803         for ET_EXEC.
8804         * elf/rtld.c (map_doit): Load executable as lt_executable.
8805         (dl_main): Likewise.
8806
8807 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8808
8809         [BZ #16642]
8810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8811         (__ASSUME_PSELECT): Undefine.
8812
8813 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8814
8815         [BZ #16689]
8816         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8817         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8818         static build.
8819         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8820         selector for static builds.
8821
8822 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823
8824         [BZ #16695]
8825         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8826         key in the buffer.
8827
8828 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8829
8830         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8831         IFUNC selector for static builds.
8832
8833 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8834
8835         * sysdeps/mips/math_private.h [__mips_hard_float]
8836         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8837         libc_feresetround_mips_ctx.
8838         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8839         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8840         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8841
8842         [BZ #16677]
8843         * math/s_nextafter.c (__nextafter): Do not return value from
8844         overflowing computation.
8845         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8846         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8847         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8848         Likewise.
8849         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8850         Likewise.
8851         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8852         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8853
8854 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8855
8856         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8857         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8858         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8859         the new mov targetting sp.
8860
8861 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8862
8863         [BZ #16683]
8864         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8865         Define it for static builds as well.
8866         (NO_BZERO_IMPL): Likewise.
8867
8868 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8869
8870         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8871         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8872         multiarch strspn for PPC64.
8873         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8874         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8876         (__libc_ifunc_impl_list): Likewise.
8877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8878         multiarch optimizations
8879         * string/strspn.c (strspn): Using macro to redefine symbol name.
8880
8881 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8882             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8883
8884         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8885         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8886         multiarch strncat for PPC64.
8887         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8888         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8890         (__libc_ifunc_impl_list): Likewise.
8891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8892         multiarch optimizations
8893
8894 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8895
8896         [BZ #16639]
8897         * nscd/nscd.service: Make service type forking.
8898
8899 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8900
8901         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8902         sign in non default rounding modes.
8903         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8904
8905 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8906
8907         * math/libm-test.inc (ALL_RM_TEST): New macro.
8908         (ceil_test): Use ALL_RM_TEST.
8909         (cimag_test): Likewise.
8910         (conj_test): Likewise.
8911         (copysign_test): Likewise.
8912         (cproj_test): Likewise.
8913         (creal_test): Likewise.
8914         (fabs_test): Likewise.
8915         (floor_test): Likewise.
8916         (fmax_test): Likewise.
8917         (fmin_test): Likewise.
8918         (fmod_test): Likewise.
8919         (fpclassify_test): Likewise.
8920         (frexp_test): Likewise.
8921         (ilogb_test): Likewise.
8922         (isfinite_test): Likewise.
8923         (finite_test): Likewise.
8924         (isgreater_test): Likewise.
8925         (isgreaterequal_test): Likewise.
8926         (isinf_test): Likewise.
8927         (isless_test): Likewise.
8928         (islessequal_test): Likewise.
8929         (islessgreater_test): Likewise.
8930         (isnan_test): Likewise.
8931         (isnormal_test): Likewise.
8932         (issignaling_test): Likewise.
8933         (isunordered_test): Likewise.
8934         (logb_test): Likewise.
8935         (logb_downward_test_data): Remove.
8936         (logb_test_downward): Likewise.
8937         (lround_test): Use ALL_RM_TEST.
8938         (llround_test): Likewise.
8939         (modf_test): Likewise.
8940         (nexttoward_test): Likewise.
8941         (remainder_test): Likewise.
8942         (drem_test): Likewise.
8943         (remainder_tonearest_test_data): Likewise.
8944         (remainder_test_tonearest): Likewise.
8945         (drem_test_tonearest): Likewise.
8946         (remainder_towardzero_test_data): Likewise.
8947         (remainder_test_towardzero): Likewise.
8948         (drem_test_towardzero): Likewise.
8949         (remainder_downward_test_data): Likewise.
8950         (remainder_test_downward): Likewise.
8951         (drem_test_downward): Likewise.
8952         (remainder_upward_test_data): Likewise.
8953         (remainder_test_upward): Likewise.
8954         (drem_test_upward): Likewise.
8955         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8956         (round_test): Use ALL_RM_TEST.
8957         (signbit_test): Likewise.
8958         (trunc_test): Likewise.
8959         (significand_test): Likewise.
8960         (main): Don't call removed functions.
8961
8962 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8963
8964         [BZ #16674]
8965         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8966         || __USE_XOPEN2K8].
8967         (ILL_ILLOPN): Likewise.
8968         (ILL_ILLADR): Likewise.
8969         (ILL_ILLTRP): Likewise.
8970         (ILL_PRVOPC): Likewise.
8971         (ILL_PRVREG): Likewise.
8972         (ILL_COPROC): Likewise.
8973         (ILL_BADSTK): Likewise.
8974         (FPE_INTDIV): Likewise.
8975         (FPE_INTOVF): Likewise.
8976         (FPE_FLTDIV): Likewise.
8977         (FPE_FLTOVF): Likewise.
8978         (FPE_FLTUND): Likewise.
8979         (FPE_FLTRES): Likewise.
8980         (FPE_FLTINV): Likewise.
8981         (FPE_FLTSUB): Likewise.
8982         (SEGV_MAPERR): Likewise.
8983         (SEGV_ACCERR): Likewise.
8984         (BUS_ADRALN): Likewise.
8985         (BUS_ADRERR): Likewise.
8986         (BUS_OBJERR): Likewise.
8987         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8988         (TRAP_TRACE): Likewise.
8989         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8990         __USE_XOPEN2K8].
8991         (CLD_KILLED): Likewise.
8992         (CLD_DUMPED): Likewise.
8993         (CLD_TRAPPED): Likewise.
8994         (CLD_STOPPED): Likewise.
8995         (CLD_CONTINUED): Likewise.
8996         (POLL_IN): Likewise.
8997         (POLL_OUT): Likewise.
8998         (POLL_MSG): Likewise.
8999         (POLL_ERR): Likewise.
9000         (POLL_PRI): Likewise.
9001         (POLL_HUP): Likewise.
9002         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9003         Likewise.
9004         (ILL_ILLOPN): Likewise.
9005         (ILL_ILLADR): Likewise.
9006         (ILL_ILLTRP): Likewise.
9007         (ILL_PRVOPC): Likewise.
9008         (ILL_PRVREG): Likewise.
9009         (ILL_COPROC): Likewise.
9010         (ILL_BADSTK): Likewise.
9011         (FPE_INTDIV): Likewise.
9012         (FPE_INTOVF): Likewise.
9013         (FPE_FLTDIV): Likewise.
9014         (FPE_FLTOVF): Likewise.
9015         (FPE_FLTUND): Likewise.
9016         (FPE_FLTRES): Likewise.
9017         (FPE_FLTINV): Likewise.
9018         (FPE_FLTSUB): Likewise.
9019         (SEGV_MAPERR): Likewise.
9020         (SEGV_ACCERR): Likewise.
9021         (BUS_ADRALN): Likewise.
9022         (BUS_ADRERR): Likewise.
9023         (BUS_OBJERR): Likewise.
9024         (BUS_MCEERR_AR): Likewise.
9025         (BUS_MCEERR_AO): Likewise.
9026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9027         (TRAP_TRACE): Likewise.
9028         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9029         __USE_XOPEN2K8].
9030         (CLD_KILLED): Likewise.
9031         (CLD_DUMPED): Likewise.
9032         (CLD_TRAPPED): Likewise.
9033         (CLD_STOPPED): Likewise.
9034         (CLD_CONTINUED): Likewise.
9035         (POLL_IN): Likewise.
9036         (POLL_OUT): Likewise.
9037         (POLL_MSG): Likewise.
9038         (POLL_ERR): Likewise.
9039         (POLL_PRI): Likewise.
9040         (POLL_HUP): Likewise.
9041         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9042         (ILL_ILLOPN): Likewise.
9043         (ILL_ILLADR): Likewise.
9044         (ILL_ILLTRP): Likewise.
9045         (ILL_PRVOPC): Likewise.
9046         (ILL_PRVREG): Likewise.
9047         (ILL_COPROC): Likewise.
9048         (ILL_BADSTK): Likewise.
9049         (FPE_INTDIV): Likewise.
9050         (FPE_INTOVF): Likewise.
9051         (FPE_FLTDIV): Likewise.
9052         (FPE_FLTOVF): Likewise.
9053         (FPE_FLTUND): Likewise.
9054         (FPE_FLTRES): Likewise.
9055         (FPE_FLTINV): Likewise.
9056         (FPE_FLTSUB): Likewise.
9057         (SEGV_MAPERR): Likewise.
9058         (SEGV_ACCERR): Likewise.
9059         (BUS_ADRALN): Likewise.
9060         (BUS_ADRERR): Likewise.
9061         (BUS_OBJERR): Likewise.
9062         (BUS_MCEERR_AR): Likewise.
9063         (BUS_MCEERR_AO): Likewise.
9064         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9065         (TRAP_TRACE): Likewise.
9066         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9067         __USE_XOPEN2K8].
9068         (CLD_KILLED): Likewise.
9069         (CLD_DUMPED): Likewise.
9070         (CLD_TRAPPED): Likewise.
9071         (CLD_STOPPED): Likewise.
9072         (CLD_CONTINUED): Likewise.
9073         (POLL_IN): Likewise.
9074         (POLL_OUT): Likewise.
9075         (POLL_MSG): Likewise.
9076         (POLL_ERR): Likewise.
9077         (POLL_PRI): Likewise.
9078         (POLL_HUP): Likewise.
9079         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9080         Likewise.
9081         (ILL_ILLOPN): Likewise.
9082         (ILL_ILLADR): Likewise.
9083         (ILL_ILLTRP): Likewise.
9084         (ILL_PRVOPC): Likewise.
9085         (ILL_PRVREG): Likewise.
9086         (ILL_COPROC): Likewise.
9087         (ILL_BADSTK): Likewise.
9088         (ILL_BADIADDR): Likewise.
9089         (ILL_BREAK): Likewise.
9090         (FPE_INTDIV): Likewise.
9091         (FPE_INTOVF): Likewise.
9092         (FPE_FLTDIV): Likewise.
9093         (FPE_FLTOVF): Likewise.
9094         (FPE_FLTUND): Likewise.
9095         (FPE_FLTRES): Likewise.
9096         (FPE_FLTINV): Likewise.
9097         (FPE_FLTSUB): Likewise.
9098         (FPE_DECOVF): Likewise.
9099         (FPE_DECDIV): Likewise.
9100         (FPE_DECERR): Likewise.
9101         (FPE_INVASC): Likewise.
9102         (FPE_INVDEC): Likewise.
9103         (SEGV_MAPERR): Likewise.
9104         (SEGV_ACCERR): Likewise.
9105         (SEGV_PSTKOVF): Likewise.
9106         (BUS_ADRALN): Likewise.
9107         (BUS_ADRERR): Likewise.
9108         (BUS_OBJERR): Likewise.
9109         (BUS_MCEERR_AR): Likewise.
9110         (BUS_MCEERR_AO): Likewise.
9111         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9112         (TRAP_TRACE): Likewise.
9113         (TRAP_BRANCH): Likewise.
9114         (TRAP_HWBKPT): Likewise.
9115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9116         __USE_XOPEN2K8].
9117         (CLD_KILLED): Likewise.
9118         (CLD_DUMPED): Likewise.
9119         (CLD_TRAPPED): Likewise.
9120         (CLD_STOPPED): Likewise.
9121         (CLD_CONTINUED): Likewise.
9122         (POLL_IN): Likewise.
9123         (POLL_OUT): Likewise.
9124         (POLL_MSG): Likewise.
9125         (POLL_ERR): Likewise.
9126         (POLL_PRI): Likewise.
9127         (POLL_HUP): Likewise.
9128         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9129         (ILL_ILLOPN): Likewise.
9130         (ILL_ILLADR): Likewise.
9131         (ILL_ILLTRP): Likewise.
9132         (ILL_PRVOPC): Likewise.
9133         (ILL_PRVREG): Likewise.
9134         (ILL_COPROC): Likewise.
9135         (ILL_BADSTK): Likewise.
9136         (FPE_INTDIV): Likewise.
9137         (FPE_INTOVF): Likewise.
9138         (FPE_FLTDIV): Likewise.
9139         (FPE_FLTOVF): Likewise.
9140         (FPE_FLTUND): Likewise.
9141         (FPE_FLTRES): Likewise.
9142         (FPE_FLTINV): Likewise.
9143         (FPE_FLTSUB): Likewise.
9144         (SEGV_MAPERR): Likewise.
9145         (SEGV_ACCERR): Likewise.
9146         (BUS_ADRALN): Likewise.
9147         (BUS_ADRERR): Likewise.
9148         (BUS_OBJERR): Likewise.
9149         (BUS_MCEERR_AR): Likewise.
9150         (BUS_MCEERR_AO): Likewise.
9151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9152         (TRAP_TRACE): Likewise.
9153         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9154         __USE_XOPEN2K8].
9155         (CLD_KILLED): Likewise.
9156         (CLD_DUMPED): Likewise.
9157         (CLD_TRAPPED): Likewise.
9158         (CLD_STOPPED): Likewise.
9159         (CLD_CONTINUED): Likewise.
9160         (POLL_IN): Likewise.
9161         (POLL_OUT): Likewise.
9162         (POLL_MSG): Likewise.
9163         (POLL_ERR): Likewise.
9164         (POLL_PRI): Likewise.
9165         (POLL_HUP): Likewise.
9166         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9167         (ILL_ILLOPN): Likewise.
9168         (ILL_ILLADR): Likewise.
9169         (ILL_ILLTRP): Likewise.
9170         (ILL_PRVOPC): Likewise.
9171         (ILL_PRVREG): Likewise.
9172         (ILL_COPROC): Likewise.
9173         (ILL_BADSTK): Likewise.
9174         (FPE_INTDIV): Likewise.
9175         (FPE_INTOVF): Likewise.
9176         (FPE_FLTDIV): Likewise.
9177         (FPE_FLTOVF): Likewise.
9178         (FPE_FLTUND): Likewise.
9179         (FPE_FLTRES): Likewise.
9180         (FPE_FLTINV): Likewise.
9181         (FPE_FLTSUB): Likewise.
9182         (SEGV_MAPERR): Likewise.
9183         (SEGV_ACCERR): Likewise.
9184         (BUS_ADRALN): Likewise.
9185         (BUS_ADRERR): Likewise.
9186         (BUS_OBJERR): Likewise.
9187         (BUS_MCEERR_AR): Likewise.
9188         (BUS_MCEERR_AO): Likewise.
9189         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9190         (TRAP_TRACE): Likewise.
9191         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9192         __USE_XOPEN2K8].
9193         (CLD_KILLED): Likewise.
9194         (CLD_DUMPED): Likewise.
9195         (CLD_TRAPPED): Likewise.
9196         (CLD_STOPPED): Likewise.
9197         (CLD_CONTINUED): Likewise.
9198         (POLL_IN): Likewise.
9199         (POLL_OUT): Likewise.
9200         (POLL_MSG): Likewise.
9201         (POLL_ERR): Likewise.
9202         (POLL_PRI): Likewise.
9203         (POLL_HUP): Likewise.
9204         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9205         (ILL_ILLOPN): Likewise.
9206         (ILL_ILLADR): Likewise.
9207         (ILL_ILLTRP): Likewise.
9208         (ILL_PRVOPC): Likewise.
9209         (ILL_PRVREG): Likewise.
9210         (ILL_COPROC): Likewise.
9211         (ILL_BADSTK): Likewise.
9212         (FPE_INTDIV): Likewise.
9213         (FPE_INTOVF): Likewise.
9214         (FPE_FLTDIV): Likewise.
9215         (FPE_FLTOVF): Likewise.
9216         (FPE_FLTUND): Likewise.
9217         (FPE_FLTRES): Likewise.
9218         (FPE_FLTINV): Likewise.
9219         (FPE_FLTSUB): Likewise.
9220         (SEGV_MAPERR): Likewise.
9221         (SEGV_ACCERR): Likewise.
9222         (BUS_ADRALN): Likewise.
9223         (BUS_ADRERR): Likewise.
9224         (BUS_OBJERR): Likewise.
9225         (BUS_MCEERR_AR): Likewise.
9226         (BUS_MCEERR_AO): Likewise.
9227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9228         (TRAP_TRACE): Likewise.
9229         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9230         __USE_XOPEN2K8].
9231         (CLD_KILLED): Likewise.
9232         (CLD_DUMPED): Likewise.
9233         (CLD_TRAPPED): Likewise.
9234         (CLD_STOPPED): Likewise.
9235         (CLD_CONTINUED): Likewise.
9236         (POLL_IN): Likewise.
9237         (POLL_OUT): Likewise.
9238         (POLL_MSG): Likewise.
9239         (POLL_ERR): Likewise.
9240         (POLL_PRI): Likewise.
9241         (POLL_HUP): Likewise.
9242         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9243         (ILL_ILLOPN): Likewise.
9244         (ILL_ILLADR): Likewise.
9245         (ILL_ILLTRP): Likewise.
9246         (ILL_PRVOPC): Likewise.
9247         (ILL_PRVREG): Likewise.
9248         (ILL_COPROC): Likewise.
9249         (ILL_BADSTK): Likewise.
9250         (ILL_DBLFLT): Likewise.
9251         (ILL_HARDWALL): Likewise.
9252         (FPE_INTDIV): Likewise.
9253         (FPE_INTOVF): Likewise.
9254         (FPE_FLTDIV): Likewise.
9255         (FPE_FLTOVF): Likewise.
9256         (FPE_FLTUND): Likewise.
9257         (FPE_FLTRES): Likewise.
9258         (FPE_FLTINV): Likewise.
9259         (FPE_FLTSUB): Likewise.
9260         (SEGV_MAPERR): Likewise.
9261         (SEGV_ACCERR): Likewise.
9262         (BUS_ADRALN): Likewise.
9263         (BUS_ADRERR): Likewise.
9264         (BUS_OBJERR): Likewise.
9265         (BUS_MCEERR_AR): Likewise.
9266         (BUS_MCEERR_AO): Likewise.
9267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9268         (TRAP_TRACE): Likewise.
9269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9270         __USE_XOPEN2K8].
9271         (CLD_KILLED): Likewise.
9272         (CLD_DUMPED): Likewise.
9273         (CLD_TRAPPED): Likewise.
9274         (CLD_STOPPED): Likewise.
9275         (CLD_CONTINUED): Likewise.
9276         (POLL_IN): Likewise.
9277         (POLL_OUT): Likewise.
9278         (POLL_MSG): Likewise.
9279         (POLL_ERR): Likewise.
9280         (POLL_PRI): Likewise.
9281         (POLL_HUP): Likewise.
9282         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9283         (ILL_ILLOPN): Likewise.
9284         (ILL_ILLADR): Likewise.
9285         (ILL_ILLTRP): Likewise.
9286         (ILL_PRVOPC): Likewise.
9287         (ILL_PRVREG): Likewise.
9288         (ILL_COPROC): Likewise.
9289         (ILL_BADSTK): Likewise.
9290         (FPE_INTDIV): Likewise.
9291         (FPE_INTOVF): Likewise.
9292         (FPE_FLTDIV): Likewise.
9293         (FPE_FLTOVF): Likewise.
9294         (FPE_FLTUND): Likewise.
9295         (FPE_FLTRES): Likewise.
9296         (FPE_FLTINV): Likewise.
9297         (FPE_FLTSUB): Likewise.
9298         (SEGV_MAPERR): Likewise.
9299         (SEGV_ACCERR): Likewise.
9300         (BUS_ADRALN): Likewise.
9301         (BUS_ADRERR): Likewise.
9302         (BUS_OBJERR): Likewise.
9303         (BUS_MCEERR_AR): Likewise.
9304         (BUS_MCEERR_AO): Likewise.
9305         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9306         (TRAP_TRACE): Likewise.
9307         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9308         __USE_XOPEN2K8].
9309         (CLD_KILLED): Likewise.
9310         (CLD_DUMPED): Likewise.
9311         (CLD_TRAPPED): Likewise.
9312         (CLD_STOPPED): Likewise.
9313         (CLD_CONTINUED): Likewise.
9314         (POLL_IN): Likewise.
9315         (POLL_OUT): Likewise.
9316         (POLL_MSG): Likewise.
9317         (POLL_ERR): Likewise.
9318         (POLL_PRI): Likewise.
9319         (POLL_HUP): Likewise.
9320         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9321         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9322
9323         [BZ #16670]
9324         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9325         before #include of <time.h>.
9326         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9327         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9328         (test-xfail-UNIX98/sched.h/conform): Likewise.
9329
9330 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9331
9332         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9333         error absence of trapping exception support.
9334         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9335
9336 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9337
9338         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9339         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9340         * timezone/Makefile (testdata): Move definition above include of
9341         Rules.
9342         (test-zones): New variable.
9343         (tests-special): Add zone files.
9344         (build-testdata): Use $(evaluate-test).
9345
9346         * elf/Makefile (tests-special): Rename tests to end with .out.
9347         ($(objpfx)noload-mem): Likewise.
9348         ($(objpfx)tst-leaks1-mem): Likewise.
9349         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9350         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9351         $(objpfx)test-iconvconfig.out.
9352         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9353         set -e inside subshell and redirect output to file.
9354         * iconvdata/Makefile (generated): Rename tests to end with .out.
9355         Correct type.
9356         (tests-special): Rename tests to end with .out.
9357         ($(objpfx)mtrace-tst-loading): Likewise.
9358         * intl/Makefile (generated): Likewise.
9359         (tests-special): Likewise.
9360         ($(objpfx)mtrace-tst-gettext): Likewise.
9361         * misc/Makefile (generated): Likewise.
9362         (tests-special): Likewise.
9363         ($(objpfx)tst-error1-mem): Likewise.
9364         * nptl/Makefile (tests-special): Likewise.
9365         ($(objpfx)tst-stack3-mem): Likewise.
9366         (generated): Likewise.
9367         * posix/Makefile (generated): Likewise.
9368         (tests-special): Likewise.
9369         (xtests-special): Likewise.
9370         ($(objpfx)tst-fnmatch-mem): Likewise.
9371         ($(objpfx)bug-regex2-mem): Likewise.
9372         ($(objpfx)bug-regex14-mem): Likewise.
9373         ($(objpfx)bug-regex21-mem): Likewise.
9374         ($(objpfx)bug-regex31-mem): Likewise.
9375         ($(objpfx)tst-vfork3-mem): Likewise.
9376         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9377         ($(objpfx)tst-pcre-mem): Likewise.
9378         ($(objpfx)tst-boost-mem): Likewise.
9379         ($(objpfx)bug-ga2-mem): Likewise.
9380         ($(objpfx)bug-glob2-mem): Likewise.
9381         * resolv/Makefile (generate): Likewise.
9382         (tests-special): Likewise.
9383         (xtests-special): Likewise.
9384         (generated): Likewise.
9385         ($(objpfx)mtrace-tst-leaks): Likewise.
9386         ($(objpfx)mtrace-tst-leaks2): Likewise.
9387
9388         * scripts/merge-test-results.sh: New file.
9389         * Makefile (tests-special-notdir): New variable.
9390         (tests): Run merge-test-results.sh.
9391         (xtests): Likewise.
9392         * Rules (tests-special-notdir): New variable.
9393         (xtests-special-notdir): Likewise.
9394         (tests): Run merge-test-results.sh
9395         (xtests): Likewise.
9396
9397         * Makeconfig (test-xfail-name): New variable.
9398         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9399         compute variable name for expected failures.
9400         * conform/Makefile (conformtest-headers-data): New variable.
9401         (conformtest-standards): Likewise.
9402         (conformtest-headers-ISO): Likewise.
9403         (conformtest-headers-ISO99): Likewise.
9404         (conformtest-headers-ISO11): Likewise.
9405         (conformtest-headers-POSIX): Likewise.
9406         (conformtest-headers-XPG3): Likewise.
9407         (conformtest-headers-XPG4): Likewise.
9408         (conformtest-headers-UNIX98): Likewise.
9409         (conformtest-headers-XOPEN2K): Likewise.
9410         (conformtest-headers-POSIX2008): Likewise.
9411         (conformtest-headers-XOPEN2K8): Likewise.
9412         (conformtest-header-list-base): Likewise.
9413         (conformtest-header-list-tests): Likewise.
9414         (conformtest-header-base): Likewise.
9415         (conformtest-header-tests): Likewise.
9416         (tests-special): Add $(conformtest-header-list-tests).  If
9417         [$(fast-check) && !$(cross-compiling)], add
9418         $(conformtest-header-tests) instead of
9419         $(objpfx)run-conformtest.out.
9420         (generated): Add $(conformtest-header-list-base).  If
9421         [$(fast-check) && !$(cross-compiling)], add
9422         $(conformtest-header-base).  Remove previous setting.
9423         ($(conformtest-header-list-tests)): New target.
9424         (test-xfail-run-conformtest): Remove variable.
9425         ($(objpfx)run-conformtest.out): Remove target.
9426         (test-xfail-ISO11/complex.h/conform): New variable.
9427         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9428         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9429         (test-xfail-XPG3/varargs.h/conform): Likewise.
9430         (test-xfail-XPG4/varargs.h/conform): Likewise.
9431         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9432         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9433         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9434         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9435         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9436         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9437         (test-xfail-XPG3/ftw.h/conform): Likewise.
9438         (test-xfail-XPG3/grp.h/conform): Likewise.
9439         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9440         (test-xfail-XPG3/limits.h/conform): Likewise.
9441         (test-xfail-XPG3/pwd.h/conform): Likewise.
9442         (test-xfail-XPG3/search.h/conform): Likewise.
9443         (test-xfail-XPG3/signal.h/conform): Likewise.
9444         (test-xfail-XPG3/stdio.h/conform): Likewise.
9445         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9446         (test-xfail-XPG3/string.h/conform): Likewise.
9447         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9448         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9449         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9450         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9451         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9452         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9453         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9454         (test-xfail-XPG3/termios.h/conform): Likewise.
9455         (test-xfail-XPG3/time.h/conform): Likewise.
9456         (test-xfail-XPG3/unistd.h/conform): Likewise.
9457         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9458         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9459         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9460         (test-xfail-XPG4/netdb.h/conform): Likewise.
9461         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9462         (test-xfail-XPG4/signal.h/conform): Likewise.
9463         (test-xfail-XPG4/stdio.h/conform): Likewise.
9464         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9465         (test-xfail-XPG4/stropts.h/conform): Likewise.
9466         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9467         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9468         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9469         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9470         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9471         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9472         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9473         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9474         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9475         (test-xfail-XPG4/termios.h/conform): Likewise.
9476         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9477         (test-xfail-XPG4/unistd.h/conform): Likewise.
9478         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9479         (test-xfail-POSIX/sched.h/conform): Likewise.
9480         (test-xfail-POSIX/signal.h/conform): Likewise.
9481         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9482         (test-xfail-POSIX/tar.h/conform): Likewise.
9483         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9484         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9485         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9486         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9487         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9488         (test-xfail-UNIX98/sched.h/conform): Likewise.
9489         (test-xfail-UNIX98/signal.h/conform): Likewise.
9490         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9491         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9492         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9493         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9494         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9495         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9496         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9497         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9498         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9499         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9500         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9501         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9502         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9503         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9504         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9505         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9506         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9507         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9508         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9509         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9510         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9511         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9512         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9513         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9514         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9515         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9516         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9517         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9518         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9519         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9520         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9521         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9522         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9523         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9524         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9525         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9526         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9527         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9528         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9529         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9530         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9531         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9532         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9533         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9534         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9535         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9536         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9537         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9538         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9539         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9540         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9541         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9542         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9543         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9544         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9545         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9546         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9547         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9548         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9549         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9550         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9551         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9552         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9553         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9554         (conformtest-cc-flags): Likewise.
9555         ($(conformtest-header-tests): New target.
9556         * conform/check-header-lists.sh: New file.
9557         * conform/run-conformtest.sh: Remove.
9558
9559         * conform/conformtest.pl: Allow ' and \ in values given for
9560         constants.
9561         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9562         inclusion.
9563         [POSIX] (sys/types.h): Likewise.
9564         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9565         inclusion.
9566         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9567         inclusion.
9568         * conform/data/signal.h-data (SIGIO): Remove expectation.
9569         [XPG3] (SIGBUS): Do not expect.
9570         [POSIX || XPG3] (SIGPOLL): Likewise.
9571         [POSIX || XPG3] (SIGPROF): Likewise.
9572         [POSIX || XPG3] (SIGSYS): Likewise.
9573         [XPG3] (SIGTRAP): Likewise.
9574         [POSIX || XPG3] (SIGURG): Likewise.
9575         [POSIX || XPG3] (SIGVTALRM): Likewise.
9576         [POSIX || XPG3] (SIGXCPU): Likewise.
9577         [POSIX || XPG3] (SIGXFSZ): Likewise.
9578         [POSIX] (SA_SIGINFO): Expect.
9579         [XPG3] (siginfo_t): Do not expect type or contents.
9580         [POSIX] (si_pid): Do not expect element.
9581         [POSIX] (si_uid): Likewise.
9582         [POSIX] (si_addr): Likewise.
9583         [POSIX] (si_status): Likewise.
9584         [POSIX] (si_band): Likewise.
9585         [XPG4] (si_value): Likewise.
9586         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9587         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9588         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9589         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9590         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9591         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9592         [POSIX || XPG3] (ILL_COPROC): Likewise.
9593         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9594         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9595         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9596         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9597         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9598         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9599         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9600         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9601         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9602         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9603         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9604         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9605         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9606         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9607         [POSIX || XPG3] (CLD_EXITED): Likewise.
9608         [POSIX || XPG3] (CLD_KILLED): Likewise.
9609         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9610         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9611         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9612         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9613         [POSIX || XPG3] (POLL_IN): Likewise.
9614         [POSIX || XPG3] (POLL_OUT): Likewise.
9615         [POSIX || XPG3] (POLL_MSG): Likewise.
9616         [POSIX || XPG3] (POLL_ERR): Likewise.
9617         [POSIX || XPG3] (POLL_PRI): Likewise.
9618         [POSIX || XPG3] (POLL_HUP): Likewise.
9619         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9620         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9621         (SIG*): Do not allow.
9622         [XPG3] (si_*): Likewise.
9623         [XPG3] (SI_*): Likewise.
9624         [XPG3 || XPG4] (sigev_*): Likewise.
9625         [XPG3 || XPG4] (SIGEV_*): Likewise.
9626         [XPG3 || XPG4] (sival_*): Likewise.
9627         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9628         [POSIX || XPG3] (BUS_*): Likewise.
9629         [POSIX || XPG3] (CLD_*): Likewise.
9630         [POSIX || XPG3] (FPE_*): Likewise.
9631         [POSIX || XPG3] (ILL_*): Likewise.
9632         [POSIX || XPG3] (POLL_*): Likewise.
9633         [POSIX || XPG3] (SEGV_*): Likewise.
9634         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9635         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9636         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9637         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9638         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9639         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9640         Specify type and value.
9641         (TVERSLEN): Likewise.
9642         (REGTYPE): Likewise.
9643         (AREGTYPE): Likewise.
9644         (LNKTYPE): Likewise.
9645         (SYMTYPE): Likewise.
9646         (CHRTYPE): Likewise.
9647         (BLKTYPE): Likewise.
9648         (DIRTYPE): Likewise.
9649         (FIFOTYPE): Likewise.
9650         (CONTTYPE): Likewise.
9651         (TSUID): Likewise.
9652         (TSGID): Likewise.
9653         (TSVTX): Likewise.
9654         (TUREAD): Likewise.
9655         (TUWRITE): Likewise.
9656         (TUEXEC): Likewise.
9657         (TGREAD): Likewise.
9658         (TGWRITE): Likewise.
9659         (TGEXEC): Likewise.
9660         (TOREAD): Likewise.
9661         (TOWRITE): Likewise.
9662         (TOEXEC): Likewise.
9663         [POSIX] (TSVTX): Expect constant.
9664
9665 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9666
9667         * Makefile (tests): Change dependencies to ....
9668         (tests-special): ... additions to this variable.
9669         (tests): Depend on $(tests-special).
9670         * Makerules (check-abi-list): New variable.
9671         (check-abi): Depend on $(check-abi-list).
9672         [$(subdir) = elf] (tests-special): Add
9673         $(objpfx)check-abi-libc.out.
9674         [$(build-shared) = yes && subdir] (tests-special): Add
9675         $(check-abi-list).
9676         [$(build-shared) = yes && subdir] (tests): Do not depend on
9677         check-abi.
9678         * Rules (tests): Depend on $(tests-special).
9679         (xtests): Depend on $(xtests-special).
9680         * catgets/Makefile (tests): Change dependencies to ....
9681         (tests-special): ... additions to this variable.
9682         * conform/Makefile (tests): Change dependencies to ....
9683         (tests-special): ... additions to this variable.
9684         * elf/Makefile (tests): Change dependencies to ....
9685         (tests-special): ... additions to this variable.
9686         * grp/Makefile (tests): Change dependencies to ....
9687         (tests-special): ... additions to this variable.
9688         * iconv/Makefile (xtests): Change dependencies to ....
9689         (xtests-special): ... additions to this variable.
9690         * iconvdata/Makefile (tests): Change dependencies to ....
9691         (tests-special): ... additions to this variable.
9692         * intl/Makefile (tests): Change dependencies to ....
9693         (tests-special): ... additions to this variable.  Also add
9694         $(objpfx)tst-gettext.out.
9695         * io/Makefile (tests): Change dependencies to ....
9696         (tests-special): ... additions to this variable.
9697         * libio/Makefile (tests): Change dependencies to ....
9698         (tests-special): ... additions to this variable.
9699         * malloc/Makefile (tests): Change dependencies to ....
9700         (tests-special): ... additions to this variable.
9701         * misc/Makefile (tests): Change dependencies to ....
9702         (tests-special): ... additions to this variable.
9703         * nptl/Makefile (tests): Change dependencies to ....
9704         (tests-special): ... additions to this variable.
9705         * nptl_db/Makefile (tests): Change dependencies to ....
9706         (tests-special): ... additions to this variable.
9707         * posix/Makefile (tests): Change dependencies to ....
9708         (tests-special): ... additions to this variable.
9709         (xtests): Change dependencies to ....
9710         (xtests-special): ... additions to this variable.
9711         * resolv/Makefile (tests): Change dependencies to ....
9712         (tests-special): ... additions to this variable.
9713         (xtests): Change dependencies to ....
9714         (xtests-special): ... additions to this variable.
9715         * stdio-common/Makefile (tests): Change dependencies to ....
9716         (tests-special): ... additions to this variable.
9717         (do-tst-unbputc): Remove target.
9718         (do-tst-printf): Likewise.
9719         * stdlib/Makefile (tests): Change dependencies to ....
9720         (tests-special): ... additions to this variable.
9721         * string/Makefile (tests): Change dependencies to ....
9722         (tests-special): ... additions to this variable.
9723         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9724         (tests-special): ... additions to this variable.
9725
9726         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9727         whole file.
9728         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9729         whole file.
9730         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9731         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9732
9733         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9734         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9735         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9736         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9737         * conform/data/libgen.h-data [XPG3]: Likewise.
9738         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9739         * conform/data/ndbm.h-data [XPG3]: Likewise.
9740         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9741         * conform/data/netdb.h-data [XPG3]: Likewise.
9742         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9743         * conform/data/poll.h-data [XPG3]: Likewise.
9744         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9745         * conform/data/strings.h-data [XPG3]: Likewise.
9746         * conform/data/stropts.h-data [XPG3]: Likewise.
9747         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9748         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9749         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9750         Likewise.
9751         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9752         * conform/data/sys/time.h-data [XPG3]: Likewise.
9753         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9754         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9755         * conform/data/sys/un.h-data [XPG3]: Likewise.
9756         * conform/data/syslog.h-data [XPG3]: Likewise.
9757         * conform/data/ucontext.h-data [XPG3]: Likewise.
9758         * conform/data/utmpx.h-data [XPG3]: Likewise.
9759         * conform/data/varargs.h-data [UNIX98]: Enable file.
9760
9761         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9762
9763         * math/libm-test.inc (struct test_f_f_data): Move expected results
9764         into structure for each rounding mode.
9765         (struct test_ff_f_data): Likewise.
9766         (struct test_ff_f_data_nexttoward): Likewise.
9767         (struct test_fi_f_data): Likewise.
9768         (struct test_fl_f_data): Likewise.
9769         (struct test_if_f_data): Likewise.
9770         (struct test_fff_f_data): Likewise.
9771         (struct test_c_f_data): Likewise.
9772         (struct test_f_f1_data): Likewise.
9773         (struct test_fF_f1_data): Likewise.
9774         (struct test_ffI_f1_data): Likewise.
9775         (struct test_c_c_data): Likewise.
9776         (struct test_cc_c_data): Likewise.
9777         (struct test_f_i_data): Likewise.
9778         (struct test_ff_i_data): Likewise.
9779         (struct test_f_l_data): Likewise.
9780         (struct test_f_L_data): Likewise.
9781         (struct test_fFF_11_data): Likewise.
9782         (RM_): New macro.
9783         (RM_FE_DOWNWARD): Likewise.
9784         (RM_FE_TONEAREST): Likewise.
9785         (RM_FE_TOWARDZERO): Likewise.
9786         (RM_FE_UPWARD): Likewise.
9787         (RUN_TEST_LOOP_f_f): Update references to expected results.
9788         (RUN_TEST_LOOP_2_f): Likewise.
9789         (RUN_TEST_LOOP_fff_f): Likewise.
9790         (RUN_TEST_LOOP_c_f): Likewise.
9791         (RUN_TEST_LOOP_f_f1): Likewise.
9792         (RUN_TEST_LOOP_fF_f1): Likewise.
9793         (RUN_TEST_LOOP_fI_f1): Likewise.
9794         (RUN_TEST_LOOP_ffI_f1): Likewise.
9795         (RUN_TEST_LOOP_c_c): Likewise.
9796         (RUN_TEST_LOOP_cc_c): Likewise.
9797         (RUN_TEST_LOOP_f_i): Likewise.
9798         (RUN_TEST_LOOP_f_i_tg): Likewise.
9799         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9800         (RUN_TEST_LOOP_f_b): Likewise.
9801         (RUN_TEST_LOOP_f_b_tg): Likewise.
9802         (RUN_TEST_LOOP_f_l): Likewise.
9803         (RUN_TEST_LOOP_f_L): Likewise.
9804         (RUN_TEST_LOOP_fFF_11): Likewise.
9805         * math/gen-libm-test.pl (parse_args): Output four copies of
9806         expected results for each test.
9807
9808         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9809         (__ASSUME_UTIMES): Remove.
9810         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9811         (__ASSUME_UTIMES): Likewise.
9812
9813         * math/gen-auto-libm-tests.c: Update comment on output format.
9814         (output_for_one_input_case): Generate before-rounding and
9815         after-rounding information as conditions on output flags not
9816         floating-point format.
9817         * math/auto-libm-test-out: Regenerated.
9818         * math/gen-libm-test.pl (cond_value): New function.
9819         (or_cond_value): Use cond_value.
9820         (generate_testfile): Handle conditional exceptions.
9821
9822 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9823
9824         * math/libm-test.inc (max_valid_error): New variable.
9825         (init_max_error): Take new argument specifying whether function
9826         results are exactly determined.  Set max_valid_error and bound
9827         other variables for errors based on this argument.
9828         (set_max_error): Do not record results above max_valid_error.
9829         (check_float_internal): Only accept errors of up to 0.5ulps if
9830         also at most max_valid_error.
9831         (START): Take new argument EXACT and pass it to init_max_error.
9832         (acos_test): Update call to START.
9833         (acos_test_tonearest): Likewise.
9834         (acos_test_towardzero): Likewise.
9835         (acos_test_downward): Likewise.
9836         (acos_test_upward): Likewise.
9837         (acosh_test): Likewise.
9838         (asin_test): Likewise.
9839         (asin_test_tonearest): Likewise.
9840         (asin_test_towardzero): Likewise.
9841         (asin_test_downward): Likewise.
9842         (asin_test_upward): Likewise.
9843         (asinh_test): Likewise.
9844         (atan_test): Likewise.
9845         (atanh_test): Likewise.
9846         (atan2_test): Likewise.
9847         (cabs_test): Likewise.
9848         (cacos_test): Likewise.
9849         (cacosh_test): Likewise.
9850         (carg_test): Likewise.
9851         (casin_test): Likewise.
9852         (casinh_test): Likewise.
9853         (catan_test): Likewise.
9854         (catanh_test): Likewise.
9855         (cbrt_test): Likewise.
9856         (ccos_test): Likewise.
9857         (ccosh_test): Likewise.
9858         (ceil_test): Likewise.
9859         (cexp_test): Likewise.
9860         (cimag_test): Likewise.
9861         (clog_test): Likewise.
9862         (clog10_test): Likewise.
9863         (conj_test): Likewise.
9864         (copysign_test): Likewise.
9865         (cos_test): Likewise.
9866         (cos_test_tonearest): Likewise.
9867         (cos_test_towardzero): Likewise.
9868         (cos_test_downward): Likewise.
9869         (cos_test_upward): Likewise.
9870         (cosh_test): Likewise.
9871         (cosh_test_tonearest): Likewise.
9872         (cosh_test_towardzero): Likewise.
9873         (cosh_test_downward): Likewise.
9874         (cosh_test_upward): Likewise.
9875         (cpow_test): Likewise.
9876         (cproj_test): Likewise.
9877         (creal_test): Likewise.
9878         (csin_test): Likewise.
9879         (csinh_test): Likewise.
9880         (csqrt_test): Likewise.
9881         (ctan_test): Likewise.
9882         (ctan_test_tonearest): Likewise.
9883         (ctan_test_towardzero): Likewise.
9884         (ctan_test_downward): Likewise.
9885         (ctan_test_upward): Likewise.
9886         (ctanh_test): Likewise.
9887         (ctanh_test_tonearest): Likewise.
9888         (ctanh_test_towardzero): Likewise.
9889         (ctanh_test_downward): Likewise.
9890         (ctanh_test_upward): Likewise.
9891         (erf_test): Likewise.
9892         (erfc_test): Likewise.
9893         (exp_test): Likewise.
9894         (exp_test_tonearest): Likewise.
9895         (exp_test_towardzero): Likewise.
9896         (exp_test_downward): Likewise.
9897         (exp_test_upward): Likewise.
9898         (exp10_test): Likewise.
9899         (exp10_test_tonearest): Likewise.
9900         (exp10_test_towardzero): Likewise.
9901         (exp10_test_downward): Likewise.
9902         (exp10_test_upward): Likewise.
9903         (pow10_test): Likewise.
9904         (exp2_test): Likewise.
9905         (expm1_test): Likewise.
9906         (expm1_test_tonearest): Likewise.
9907         (expm1_test_towardzero): Likewise.
9908         (expm1_test_downward): Likewise.
9909         (expm1_test_upward): Likewise.
9910         (fabs_test): Likewise.
9911         (fdim_test): Likewise.
9912         (floor_test): Likewise.
9913         (fma_test): Likewise.
9914         (fma_test_towardzero): Likewise.
9915         (fma_test_downward): Likewise.
9916         (fma_test_upward): Likewise.
9917         (fmax_test): Likewise.
9918         (fmin_test): Likewise.
9919         (fmod_test): Likewise.
9920         (fpclassify_test): Likewise.
9921         (frexp_test): Likewise.
9922         (hypot_test): Likewise.
9923         (ilogb_test): Likewise.
9924         (isfinite_test): Likewise.
9925         (finite_test): Likewise.
9926         (isgreater_test): Likewise.
9927         (isgreaterequal_test): Likewise.
9928         (isinf_test): Likewise.
9929         (isless_test): Likewise.
9930         (islessequal_test): Likewise.
9931         (islessgreater_test): Likewise.
9932         (isnan_test): Likewise.
9933         (isnormal_test): Likewise.
9934         (issignaling_test): Likewise.
9935         (isunordered_test): Likewise.
9936         (j0_test): Likewise.
9937         (j1_test): Likewise.
9938         (jn_test): Likewise.
9939         (ldexp_test): Likewise.
9940         (lgamma_test): Likewise.
9941         (gamma_test): Likewise.
9942         (lrint_test): Likewise.
9943         (lrint_test_tonearest): Likewise.
9944         (lrint_test_towardzero): Likewise.
9945         (lrint_test_downward): Likewise.
9946         (lrint_test_upward): Likewise.
9947         (llrint_test): Likewise.
9948         (llrint_test_tonearest): Likewise.
9949         (llrint_test_towardzero): Likewise.
9950         (llrint_test_downward): Likewise.
9951         (llrint_test_upward): Likewise.
9952         (log_test): Likewise.
9953         (log10_test): Likewise.
9954         (log1p_test): Likewise.
9955         (log2_test): Likewise.
9956         (logb_test): Likewise.
9957         (logb_test_downward): Likewise.
9958         (lround_test): Likewise.
9959         (llround_test): Likewise.
9960         (modf_test): Likewise.
9961         (nearbyint_test): Likewise.
9962         (nextafter_test): Likewise.
9963         (nexttoward_test): Likewise.
9964         (pow_test): Likewise.
9965         (pow_test_tonearest): Likewise.
9966         (pow_test_towardzero): Likewise.
9967         (pow_test_downward): Likewise.
9968         (pow_test_upward): Likewise.
9969         (remainder_test): Likewise.
9970         (drem_test): Likewise.
9971         (remainder_test_tonearest): Likewise.
9972         (drem_test_tonearest): Likewise.
9973         (remainder_test_towardzero): Likewise.
9974         (drem_test_towardzero): Likewise.
9975         (remainder_test_downward): Likewise.
9976         (drem_test_downward): Likewise.
9977         (remainder_test_upward): Likewise.
9978         (drem_test_upward): Likewise.
9979         (remquo_test): Likewise.
9980         (rint_test): Likewise.
9981         (rint_test_tonearest): Likewise.
9982         (rint_test_towardzero): Likewise.
9983         (rint_test_downward): Likewise.
9984         (rint_test_upward): Likewise.
9985         (round_test): Likewise.
9986         (scalb_test): Likewise.
9987         (scalbn_test): Likewise.
9988         (scalbln_test): Likewise.
9989         (signbit_test): Likewise.
9990         (sin_test): Likewise.
9991         (sin_test_tonearest): Likewise.
9992         (sin_test_towardzero): Likewise.
9993         (sin_test_downward): Likewise.
9994         (sin_test_upward): Likewise.
9995         (sincos_test): Likewise.
9996         (sinh_test): Likewise.
9997         (sinh_test_tonearest): Likewise.
9998         (sinh_test_towardzero): Likewise.
9999         (sinh_test_downward): Likewise.
10000         (sinh_test_upward): Likewise.
10001         (sqrt_test): Likewise.
10002         (sqrt_test_tonearest): Likewise.
10003         (sqrt_test_towardzero): Likewise.
10004         (sqrt_test_downward): Likewise.
10005         (sqrt_test_upward): Likewise.
10006         (tan_test): Likewise.
10007         (tan_test_tonearest): Likewise.
10008         (tan_test_towardzero): Likewise.
10009         (tan_test_downward): Likewise.
10010         (tan_test_upward): Likewise.
10011         (tanh_test): Likewise.
10012         (tgamma_test): Likewise.
10013         (trunc_test): Likewise.
10014         (y0_test): Likewise.
10015         (y1_test): Likewise.
10016         (yn_test): Likewise.
10017         (significand_test): Likewise.
10018
10019         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10020         individual tests in comment.
10021         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10022         (prev_max_error): New variable.
10023         (prev_real_max_error): Likewise.
10024         (prev_imag_max_error): Likewise.
10025         (compare_ulp_data): Don't refer to test names in comment.
10026         (find_test_ulps): Remove function.
10027         (find_function_ulps): Likewise.
10028         (find_complex_function_ulps): Likewise.
10029         (init_max_error): Take function name as argument.  Look up ulps
10030         for that function.
10031         (print_ulps): Remove function.
10032         (print_max_error): Use prev_max_error instead of calling
10033         find_function_ulps.
10034         (print_complex_max_error): Use prev_real_max_error and
10035         prev_imag_max_error instead of calling find_complex_function_ulps.
10036         (check_float_internal): Take max_ulp parameter instead of calling
10037         find_test_ulps.  Don't call print_ulps.
10038         (check_float): Update call to check_float_internal.
10039         (check_complex): Update calls to check_float_internal.
10040         (START): Pass argument to init_max_error.
10041         * math/gen-libm-test.pl (%results): Don't include "kind"
10042         information.
10043         (parse_ulps): Don't handle ulps of individual tests.
10044         (print_ulps_file): Likewise.
10045         (output_ulps): Likewise.
10046         * math/README.libm-test: Update.
10047         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10048         individual tests.
10049         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10050         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10051         * sysdeps/arm/libm-test-ulps: Likewise.
10052         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10053         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10054         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10055         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10056         * sysdeps/microblaze/libm-test-ulps: Likewise.
10057         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10058         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10059         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10060         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10061         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10062         * sysdeps/sh/libm-test-ulps: Likewise.
10063         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10064         * sysdeps/tile/libm-test-ulps: Likewise.
10065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10066
10067 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10068
10069         * math/libm-test.inc (print_complex_max_error): Check separately
10070         whether real and imaginary errors are within allowed range and
10071         pass 0 to print_complex_function_ulps instead of value within
10072         allowed range.
10073
10074 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10075
10076         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10077         formatting.
10078         (get_handles_fopen): Likewise.
10079         (do_write_test): Likewise.
10080
10081         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10082
10083         * libio/fileops.c (do_ftell): Use cached offset when
10084         available.
10085         * libio/iofwide.c (do_ftell_wide): Likewise.
10086         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10087         _IO_file_attach.
10088         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10089
10090         [BZ #16532]
10091         * libio/libioP.h (get_file_offset): New function.
10092         * libio/fileops.c (get_file_offset): Likewise.
10093         (do_ftell): Likewise.
10094         (_IO_new_file_seekoff): Split out ftell logic.
10095         * libio/wfileops.c (do_ftell_wide): Likewise.
10096         (_IO_wfile_seekoff): Split out ftell logic.
10097         * libio/tst-ftell-active-handler.c: New test case.
10098         * libio/Makefile (tests): Add it.
10099
10100 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10101
10102         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10103         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10104
10105 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10106
10107         [BZ #16639]
10108         * nscd/connections.c (nscd_init): Call do_exit.
10109         (start_threads): Call do_exit and notify_parent.
10110         (begin_drop_privileges): Call do_exit.
10111         (finish_drop_privileges): Likewise.
10112         * nscd/selinux.c (preserve_capabilities): Likewise.
10113         (install_real_capabilities): Likewise.
10114         (nscd_selinux_enabled): Likewise.
10115         (avc_create_thread): Likewise.
10116         (avc_alloc_lock): Likewise.
10117         (nscd_avc_init): Likewise.
10118         * nscd/nscd.c (parent_fd): New static variable.
10119         (main): Create a pipe between parent and child processes.
10120         Skip closing parent_fd.
10121         (monitor_child): New function.
10122         (do_exit): Likewise.
10123         (notify_parent): Likewise.
10124         * nscd/nscd.h (notify_parent): Likewise.
10125         (do_exit): Likewise.
10126
10127 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10128
10129         * malloc/malloc.c (__libc_calloc): Revert last change.
10130
10131 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10132
10133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10134
10135 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10136
10137         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10139         implementation.
10140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10141         (__libc_ifunc_impl_list): Likewise.
10142         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10143         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10144         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10145         * string/strrchr.c: Define STRRCHR.
10146
10147 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10148
10149         * benchtest/bench-strtok.c (simple_strtok): Delete.
10150         (strtok_string): Use as benchmark.
10151         * string/strtok (STRTOK): New macro.
10152
10153 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10154
10155         * manual/threads.texi: Add header and standard comments to all
10156         functions.
10157
10158         * elf/dl-lookup.c (check_match): New function.
10159         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10160         (do_lookup_x): Remove nested function check_match. Use non-nested
10161         function check_match.
10162
10163 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10164
10165         * csu/Makefile (generated, before-compile): Use += rather than =.
10166         * catgets/Makefile (generated, generated-dirs): Likewise.
10167         * debug/Makefile (generated): Likewise.
10168         * dlfcn/Makefile (generated): Likewise.
10169         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10170         * iconvdata/Makefile (before-compile, generated): Likewise.
10171         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10172         * libio/Makefile (generated): Likewise.
10173         * malloc/Makefile (generated): Likewise.
10174         * manual/Makefile (generated, generated-dirs): Likewise.
10175         * misc/Makefile (generated): Likewise.
10176         * posix/Makefile (generated): Likewise.
10177         * resolv/Makefile (generated): Likewise.
10178         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10179         * timezone/Makefile (generated, generated-dirs): Likewise.
10180
10181         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10182
10183 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10184
10185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10186         power8 implementation.
10187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10188         file: POWER8 llround ifunc implementation.
10189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10190         (__lllround): Add POWER8 implementation.
10191         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10192         POWER8 llround implementation.
10193
10194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10195         power8 implementation.
10196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10197         file: POWER8 llrint ifunc implementation.
10198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10199         Add POWER8 implementation.
10200         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10201         POWER8 llrint implementation.
10202
10203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10204         power8 implementation.
10205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10206         file: POWER8 finite ifunc implementation.
10207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10208         Add POWER8 implementation.
10209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10210         Likewise.
10211         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10212         POWER8 finite implementation.
10213         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10214
10215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10216         power8 implementation.
10217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10218         file: POWER8 isinf ifunc implementation.
10219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10220         POWER8 implementation.
10221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10222         Likewise.
10223         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10224         isinf implementation.
10225         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10226
10227         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10228         (INIT_ARCH): Add hwcap2 initialization.
10229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10230         power8 implementation.
10231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10232         file: POWER8 isnan ifunc implementation.
10233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10234         POWER8 implementation.
10235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10236         Likewise.
10237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10238         isnan implementation.
10239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10240
10241 2014-02-27  Joey Ye  <joey.ye@arm.com>
10242
10243         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10244         (_FP_NANFRAC_Q): Set to zero.
10245
10246 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10247
10248         [BZ #16623]
10249         * math/auto-libm-test-in: New test inputs.
10250         * math/auto-libm-test-out: Regenerate.
10251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10252         and DA.
10253         (__cos): Likewise.
10254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10255
10256 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10257
10258         * scripts/evaluate-test.sh: Take new argument indicating whether
10259         failure is expected.
10260         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10261         indicating whether failure is expected.
10262         * conform/Makefile (test-xfail-run-conformtest): New variable.
10263         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10264         level.
10265         * posix/Makefile (test-xfail-annexc): New variable.
10266         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10267
10268 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10269
10270         * argp/Makefile: Include Makeconfig immediately after defining
10271         subdir.
10272         * assert/Makefile: Likewise.
10273         * benchtests/Makefile: Likewise.
10274         * catgets/Makefile: Likewise.
10275         * conform/Makefile: Likewise.
10276         * crypt/Makefile: Likewise.
10277         * csu/Makefile: Likewise.
10278         (all): Remove target.
10279         * ctype/Makefile: Include Makeconfig immediately after defining
10280         subdir.
10281         * debug/Makefile: Likewise.
10282         * dirent/Makefile: Likewise.
10283         * dlfcn/Makefile: Likewise.
10284         * gmon/Makefile: Likewise.
10285         * gnulib/Makefile: Likewise.
10286         * grp/Makefile: Likewise.
10287         * gshadow/Makefile: Likewise.
10288         * hesiod/Makefile: Likewise.
10289         * hurd/Makefile: Likewise.
10290         (all): Remove target.
10291         * iconvdata/Makefile: Include Makeconfig immediately after
10292         defining subdir.
10293         * inet/Makefile: Likewise.
10294         * intl/Makefile: Likewise.
10295         * io/Makefile: Likewise.
10296         * libio/Makefile: Likewise.
10297         (all): Remove target.
10298         * locale/Makefile: Include Makeconfig immediately after defining
10299         subdir.
10300         * login/Makefile: Likewise.
10301         * mach/Makefile: Likewise.
10302         (all): Remove target.
10303         * malloc/Makefile: Include Makeconfig immediately after defining
10304         subdir.
10305         (all): Remove target.
10306         * manual/Makefile: Include Makeconfig immediately after defining
10307         subdir.
10308         * math/Makefile: Likewise.
10309         * misc/Makefile: Likewise.
10310         * nis/Makefile: Likewise.
10311         * nss/Makefile: Likewise.
10312         * po/Makefile: Likewise.
10313         (all): Remove target.
10314         * posix/Makefile: Include Makeconfig immediately after defining
10315         subdir.
10316         * pwd/Makefile: Likewise.
10317         * resolv/Makefile: Likewise.
10318         * resource/Makefile: Likewise.
10319         * rt/Makefile: Likewise.
10320         * setjmp/Makefile: Likewise.
10321         * shadow/Makefile: Likewise.
10322         * signal/Makefile: Likewise.
10323         * socket/Makefile: Likewise.
10324         * soft-fp/Makefile: Likewise.
10325         * stdio-common/Makefile: Likewise.
10326         * stdlib/Makefile: Likewise.
10327         * streams/Makefile: Likewise.
10328         * string/Makefile: Likewise.
10329         * sunrpc/Makefile: Likewise.
10330         (all): Remove target.
10331         * sysvipc/Makefile: Include Makeconfig immediately after defining
10332         subdir.
10333         * termios/Makefile: Likewise.
10334         * time/Makefile: Likewise.
10335         * timezone/Makefile: Likewise.
10336         (all): Remove target.
10337         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10338         subdir.
10339         * wctype/Makefile: Likewise.
10340
10341 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10342
10343         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10344         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10345         (libc_feholdexcept_setround_mips): Ditto.
10346         (libc_feholdsetround): New.
10347         (libc_feholdsetroundf): New.
10348         (libc_feholdsetroundl): New.
10349         (libc_feupdateenv_test_mips): New.
10350         (libc_feupdateenv_test): New.
10351         (libc_feupdateenv_testf): New.
10352         (libc_feupdateenv_testl): New.
10353         (libc_feresetround): New.
10354         (libc_feresetroundf): New.
10355         (libc_feresetroundl): New.
10356         (libc_fetestexcept_mips): New.
10357         (libc_fetestexcept): New.
10358         (libc_fetestexceptf): New.
10359         (libc_fetestexceptl): New.
10360         (HAVE_RM_CTX): New.
10361         (libc_feholdexcept_setround_mips_ctx): New.
10362         (libc_feholdexcept_setround_ctx): New.
10363         (libc_feholdexcept_setroundf_ctx): New.
10364         (libc_feholdexcept_setroundl_ctx): New.
10365         (libc_fesetenv_mips_ctx): New.
10366         (libc_fesetenv_ctx): New.
10367         (libc_fesetenv_ctxf): New.
10368         (libc_fesetenv_ctxl): New.
10369         (libc_feupdateenv_mips_ctx): New.
10370         (libc_feupdateenv_ctx): New.
10371         (libc_feupdateenvf_ctx): New.
10372         (libc_feupdateenvl_ctx): New.
10373         (libc_feholdsetround_mips_ctx): New.
10374         (libc_feholdsetround_ctx): New.
10375         (libc_feholdsetroundf_ctx): New.
10376         (libc_feholdsetroundl_ctx): New.
10377         (libc_feresetround_mips_ctx): New.
10378         (libc_feresetround_ctx): New.
10379         (libc_feresetroundf_ctx): New.
10380         (libc_feresetroundl_ctx): New.
10381
10382 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10383
10384         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10385
10386         * manual/ipc.texi: New file.
10387         * manual/Makefile (chapters): Add ipc.
10388         * manual/job.texi: Add "Inter-Process Communication" to next.
10389         * manual/process.texi: Add "Inter-Process Communication" to prev.
10390
10391 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10392
10393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10394
10395 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10396
10397         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10398
10399         * manual/arith.texi: Fix spaces after sentences.
10400         * manual/charset.texi: Likewise.
10401         * manual/errno.texi: Likewise.
10402         * manual/install.texi: Likewise.
10403         * manual/llio.texi: Likewise.
10404         * manual/locale.texi: Likewise.
10405         * manual/maint.texi: Likewise.
10406         * manual/math.texi: Likewise.
10407         * manual/memory.texi: Likewise.
10408         * manual/message.texi: Likewise.
10409         * manual/probes.texi: Likewise.
10410         * manual/resource.texi: Likewise.
10411         * manual/signal.texi: Likewise.
10412         * manual/socket.texi: Likewise.
10413         * manual/stdio.texi: Likewise.
10414         * manual/string.texi: Likewise.
10415         * manual/time.texi: Likewise.
10416         * manual/users.texi: Likewise.
10417
10418 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10419
10420         [BZ #16632]
10421         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10422         _DEFAULT_SOURCE is defined.
10423
10424 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10425             Carlos O'Donell  <carlos@redhat.com>
10426
10427         [BZ #16613]
10428         * elf/dl-tls.c (_dl_count_modids): New function.
10429         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10430         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10431         audit library and increment generation counter.
10432         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10433         * elf/tst-audit9.c: New file.
10434         * elf/tst-auditmod9a.c: New file.
10435         * elf/tst-auditmod9b.c: New file.
10436         * elf/Makefile: Add rules to build and run tst-audit9.
10437
10438 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10439
10440         [BZ #15347]
10441         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10442
10443 2014-02-25  Will Newton  <will.newton@linaro.org>
10444
10445         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10446         (__longjmp): Restore sp and lr before restoring callee
10447         saved registers.  Add longjmp and longjmp_target
10448         SystemTap probe point.
10449         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10450         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10451         Define to zero to match jmpbuf layout.
10452         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10453         (__sigsetjmp): Save sp and lr before saving callee
10454         saved registers.  Add setjmp SystemTap probe point.
10455
10456 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10457
10458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10459
10460 2014-02-24  Andreas Schwab  <schwab@suse.de>
10461
10462         [BZ #15804]
10463         * elf/pldd.c (wait_for_ptrace_stop): New function.
10464         (main): Call it after attaching.
10465
10466 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10467
10468         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10469         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10470         Versions files is now verboten.
10471         * hurd/Versions (libc: GLIBC_2.0):
10472         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10473         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10474         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10475         * mach/Versions: Likewise.
10476
10477         * csu/Versions: Remove unused %include.
10478         * resolv/Versions: Likewise.
10479
10480 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10481
10482         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10483         ($(objpfx)check-local-headers.out): Likewise.
10484         ($(objpfx)begin-end-check.out): Likewise.
10485         * Makerules (check-abi-%.out): Likewise.
10486         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10487         ($(objpfx)test2.cat): Likewise.
10488         ($(objpfx)de/libc.cat): Likewise.
10489         ($(objpfx)test-gencat.out): Likewise.
10490         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10491         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10492         ($(objpfx)noload-mem): Likewise.
10493         ($(objpfx)tst-pathopt.out): Likewise.
10494         ($(objpfx)tst-rtld-load-self.out): Likewise.
10495         ($(objpfx)tst-array1-cmp.out): Likewise.
10496         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10497         ($(objpfx)tst-array2-cmp.out): Likewise.
10498         ($(objpfx)tst-array3-cmp.out): Likewise.
10499         ($(objpfx)tst-array4-cmp.out): Likewise.
10500         ($(objpfx)tst-array5-cmp.out): Likewise.
10501         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10502         ($(objpfx)check-textrel.out): Likewise.
10503         ($(objpfx)check-execstack.out): Likewise.
10504         ($(objpfx)check-localplt.out): Likewise.
10505         ($(objpfx)order2-cmp.out): Likewise.
10506         ($(objpfx)tst-leaks1-mem): Likewise.
10507         ($(objpfx)tst-leaks1-static-mem): Likewise.
10508         ($(objpfx)tst-initorder-cmp.out): Likewise.
10509         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10510         ($(objpfx)tst-unused-dep.out): Likewise.
10511         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10512         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10513         * iconv/Makefile (test-iconvconfig): Likewise.
10514         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10515         ($(objpfx)iconv-test.out): Likewise.
10516         ($(objpfx)tst-tables.out): Likewise.
10517         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10518         ($(objpfx)tst-gettext.out): Likewise.
10519         ($(objpfx)tst-translit.out): Likewise.
10520         ($(objpfx)tst-gettext2.out): Likewise.
10521         ($(objpfx)tst-gettext4.out): Likewise.
10522         ($(objpfx)tst-gettext6.out): Likewise.
10523         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10524         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10525         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10526         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10527         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10528         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10529         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10530         ($(objpfx)wordexp-tst.out): Likewise.
10531         ($(objpfx)annexc.out): Likewise.
10532         ($(objpfx)tst-fnmatch-mem): Likewise.
10533         ($(objpfx)bug-regex2-mem): Likewise.
10534         ($(objpfx)bug-regex14-mem): Likewise.
10535         ($(objpfx)bug-regex21-mem): Likewise.
10536         ($(objpfx)bug-regex31-mem): Likewise.
10537         ($(objpfx)tst-vfork3-mem): Likewise.
10538         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10539         ($(objpfx)tst-pcre-mem): Likewise.
10540         ($(objpfx)tst-boost-mem): Likewise.
10541         ($(objpfx)tst-getconf.out): Likewise.
10542         ($(objpfx)bug-ga2-mem): Likewise.
10543         ($(objpfx)bug-glob2-mem): Likewise.
10544         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10545         ($(objpfx)mtrace-tst-leaks2): Likewise.
10546         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10547         ($(objpfx)tst-printf.out): Likewise.
10548         ($(objpfx)tst-setvbuf1.out): Likewise.
10549         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10550         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10551         ($(objpfx)tst-fmtmsg.out): Likewise.
10552         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10553         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10554
10555         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10556         * bits/sigaction.h [__USE_MISC]: Likewise.
10557         * bits/waitstatus.h: Update #endif comments.
10558         * ctype/ctype.h: Likewise.
10559         * dirent/dirent.h: Likewise.
10560         [__USE_MISC]: Remove redundant conditionals.
10561         * grp/grp.h: Update #endif comments.
10562         [__USE_GNU]: Remove redundant conditionals.
10563         [__USE_MISC]: Likewise.
10564         * inet/netinet/in.h [__USE_GNU]: Likewise.
10565         * io/sys/stat.h [__USE_MISC]: Likewise.
10566         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10567         * libio/bits/stdio.h: Update #endif comments.
10568         [__USE_MISC]: Remove redundant conditionals.
10569         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10570         * libio/stdio.h: Update #endif comments.
10571         [__USE_MISC]: Remove redundant conditionals.
10572         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10573         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10574         * math/math.h: Update #else and #endif comments.
10575         [__USE_MISC]: Remove redundant conditionals.
10576         * misc/sys/uio.h: Update #endif comments.
10577         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10578         * posix/glob.h [__USE_MISC]: Likewise.
10579         * posix/sys/types.h: Update #endif comments.
10580         [__USE_MISC]: Remove redundant conditionals.
10581         * posix/sys/wait.h: Update #endif comments.
10582         [__USE_MISC]: Remove redundant conditionals.
10583         * posix/unistd.h: Update #endif comments.
10584         [__USE_MISC]: Remove redundant conditionals.
10585         * pwd/pwd.h [__USE_GNU]: Likewise.
10586         [__USE_MISC]: Likewise.
10587         * resolv/netdb.h [__USE_GNU]: Likewise.
10588         * signal/signal.h: Update #endif comments.
10589         [__USE_MISC]: Remove redundant conditionals.
10590         * stdlib/stdlib.h: Update #else and #endif comments.
10591         [__USE_MISC]: Remove redundant conditionals.
10592         [__USE_GNU]: Likewise.
10593         * string/bits/string2.h [__USE_MISC]: Likewise.
10594         * string/string.h: Update #endif comments.
10595         [__USE_MISC]: Remove redundant conditionals.
10596         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10597         Likewise.
10598         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10599         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10600         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10601         Likewise.
10602         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10603         Likewise.
10604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10605         comments.
10606         [__USE_MISC]: Remove redundant conditionals.
10607         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10608         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10609         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10610         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10611         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10612         Likewise.
10613         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10614         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10615         Likewise.
10616         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10617         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10618         Likewise.
10619         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10622         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10625         Likewise.
10626         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10627         * sysdeps/x86/bits/string.h: Update #endif comments.
10628         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10629         conditionals.
10630         * time/sys/time.h: Update #endif comments.
10631         * time/time.h: Likewise.
10632         [__USE_MISC]: Remove redundant conditionals.
10633
10634 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10635
10636         [BZ #16600]
10637         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10638
10639 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10640
10641         * Versions.def (librt): Add GLIBC_2.17.
10642
10643 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10644
10645         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10646         synonym for _SYS_AUXV_H to allow direct inclusion.
10647         * sysdeps/sparc/bits/hwcap.h: Likewise.
10648         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10649         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10650         * sysdeps/sparc/sysdep.h: Likewise.
10651
10652 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10653
10654         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10655
10656 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10657
10658         * benchtests/bench-strrchr.c: Print length instead of position.
10659
10660 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10661
10662         [BZ #16611]
10663         * sysdeps/unix/sysv/linux/kernel-features.h
10664         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10665         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10666         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10667         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10668         Likewise.
10669         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10670         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10671         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10672         (__ASSUME_SENDMMSG): Define instead of using previous
10673         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10674         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10675         (__ASSUME_SENDMMSG_SYSCALL): Define.
10676         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10677         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10680         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10681         Likewise.
10682         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10683         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10686         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10687         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10688         [__ASSUME_SENDMMSG]: Change conditionals to
10689         [__ASSUME_SENDMMSG_SOCKETCALL].
10690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10691         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10692         Define.
10693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10694         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10697         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10698         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10699         [!__ASSUME_SENDMMSG]: Change conditional to
10700         [!__ASSUME_SENDMMSG_SOCKETCALL].
10701         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10702         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10703         Define.
10704
10705         [BZ #16610]
10706         * sysdeps/unix/sysv/linux/kernel-features.h
10707         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10708         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10709         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10710         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10711         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10712         [__i386__ || __sparc__]
10713         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10714         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10715         (__ASSUME_RECVMMSG): Define instead of using previous
10716         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10718         (__ASSUME_RECVMMSG_SYSCALL): Define.
10719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10723         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10724         Likewise.
10725         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10726         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10727         Likewise.
10728         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10729         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10730         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10731         [__ASSUME_RECVMMSG]: Change condition to
10732         [__ASSUME_RECVMMSG_SOCKETCALL].
10733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10735         Define.
10736         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10737         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10738         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10739         Likewise.
10740         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10741         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10742         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10743         [!__ASSUME_RECVMMSG]: Change condition to
10744         [!__ASSUME_RECVMMSG_SOCKETCALL].
10745         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10746         (__ASSUME_RECVMMSG_SYSCALL): Define.
10747
10748         [BZ #16609]
10749         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10750         __powerpc__ || __s390__ || __sh__ || __sparc__]
10751         (__ASSUME_SOCKETCALL): Define.
10752         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10753         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10754         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10755         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10756         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10757         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10758         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10759         (__ASSUME_ACCEPT4): Define instead of using previous
10760         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10761         __powerpc__ || __sparc__ || __s390__)] condition.
10762         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10763         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10764         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10765         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10766         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10767         [!__ASSUME_ACCEPT4]: Change condition to
10768         [!__ASSUME_ACCEPT4_SOCKETCALL].
10769         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10770         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10771         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10772         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10773         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10774         __ASSUME_ACCEPT4_SYSCALL.
10775         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10776         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10777         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10778         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10779         __ASSUME_ACCEPT4_SYSCALL.
10780         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10781         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10782         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10783         [__ASSUME_ACCEPT4]: Change condition to
10784         [__ASSUME_ACCEPT4_SOCKETCALL].
10785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10786         (__ASSUME_SOCKETCALL): Define.
10787         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10789         (__ASSUME_SOCKETCALL): Define.
10790         (__ASSUME_ACCEPT4): Remove.
10791         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10792         Define.
10793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10794         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10795         Likewise.
10796         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10797         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10798
10799         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10800         macro.
10801         (HWCAP_ARM_LPAE): Likewise.
10802         (HWCAP_ARM_EVTSTRM): Likewise.
10803         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10804         Add vpfd32, lpae and evtstrm.
10805         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10806         Increase to 22.
10807
10808 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10809
10810         * math/auto-libm-test-in: Add tests of clog10.
10811         * math/auto-libm-test-out: Regenerated.
10812         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10813         * sysdeps/i386/fpu/libm-test-ulps: Update.
10814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10815
10816 2014-02-18  Andreas Schwab  <schwab@suse.de>
10817
10818         [BZ #16574]
10819         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10820         Store non-zero if the second buffer was newly allocated.
10821         (send_dg): Likewise.
10822         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10823         to send_vc and send_dg.
10824         (res_nsend): Pass NULL for ansp2_malloced.
10825         * resolv/res_query.c (__libc_res_nquery): Add parameter
10826         answerp2_malloced and pass it down to __libc_res_nsend.
10827         (res_nquery): Pass additional NULL to __libc_res_nquery.
10828         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10829         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10830         second answer buffer if answerp2_malloced was set.
10831         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10832         (__libc_res_nquerydomain): Add parameter
10833         answerp2_malloced and pass it down to __libc_res_nquery.
10834         (res_nquerydomain): Pass additional NULL to
10835         __libc_res_nquerydomain.
10836         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10837         additional NULL to __libc_res_nsend and __libc_res_nquery.
10838         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10839         additional NULL to __libc_res_nsearch.
10840         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10841         parameter of __libc_res_nsearch to check for separately allocated
10842         second buffer.
10843         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10844         __libc_res_nquery.
10845         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10846         additional NULL to __libc_res_nquery.
10847         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10848         __libc_res_nsearch.
10849         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10850         * include/resolv.h: Update prototypes of __libc_res_nquery,
10851         __libc_res_nsearch, __libc_res_nsend.
10852
10853 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10854
10855         * math/auto-libm-test-in: Add tests of fma.
10856         * math/auto-libm-test-out: Regenerated.
10857         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10858         (fma_towardzero_test_data): Likewise.
10859         (fma_downward_test_data): Likewise.
10860         (fma_upward_test_data): Likewise.
10861         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10862         mpc_mode.
10863         (rounding_modes): Add values for new field.
10864         (func_calc_method): Add value mpfr_fff_f.
10865         (func_calc_desc): Add mpfr_fff_f union field.
10866         (test_function): Add field exact_args.
10867         (FUNC): Add macro argument EXACT_ARGS.
10868         (FUNC_mpfr_f_f): Update call to FUNC.
10869         (FUNC_mpfr_f_f): Likewise.
10870         (FUNC_mpfr_ff_f): Likewise.
10871         (FUNC_mpfr_if_f): Likewise.
10872         (FUNC_mpc_c_f): Likewise.
10873         (FUNC_mpc_c_c): Likewise.
10874         (test_functions): Add fma.  Update calls to FUNC.
10875         (handle_input_arg): Add argument exact_args.
10876         (add_test): Update call to handle_input_arg.
10877         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10878         (output_for_one_input_case): Update call to calc_generic_results.
10879         Recalculate exact zero results in each rounding mode.
10880
10881         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10882         non-negative before setting low bit.
10883         * math/auto-libm-test-in: Mark one asin test possibly having
10884         spurious underflow.
10885         * math/auto-libm-test-out: Regenerated.
10886         * sysdeps/i386/fpu/libm-test-ulps: Update.
10887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10888
10889 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10890
10891         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10892         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10893         ports/sysdeps/unix/sysv/linux/microblaze.
10894         * README: Add missing listing for microblaze*-*-linux-gnu.
10895
10896 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10897
10898         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10899         duplicate code
10900
10901 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10902
10903         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10904         * sysdeps/unix/sysv/linux/ia64: Move directory from
10905         ports/sysdeps/unix/sysv/linux/ia64.
10906         * README: Update listing for ia64-*-linux-gnu.
10907
10908 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10909             Joseph Myers  <joseph@codesourcery.com>
10910
10911         * Makeconfig (test-name): New variable.
10912         (evaluate-test): Likewise.
10913         * Makerules (do-test-clean): Remove .test-result files.
10914         (common-mostlyclean): Likewise.
10915         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10916         * scripts/evaluate-test.sh: New file.
10917
10918 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10919
10920         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10921         separate $(objpfx)tst-fopenloc-cmp.out and
10922         $(objpfx)tst-fopenloc-mem.out targets.
10923         (tests): Update dependencies.
10924         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10925         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10926         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10927         (tst-rxspencer-no-utf8-ARGS): New variable.
10928         (tst-rxspencer-no-utf8-ENV): Likewise.
10929         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10930         instead of $(objpfx)tst-rxspencer-mem.
10931         ($(objpfx)tst-rxspencer-mem): Change target to
10932         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10933         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10934         * posix/tst-rxspencer-no-utf8.c: New file.
10935
10936         * elf/Makefile ($(objpfx)order.out): Remove rule.
10937         [$(run-built-tests) = yes] (tests): Depend on
10938         $(objpfx)order-cmp.out.
10939         ($(objpfx)order-cmp.out): New rule.
10940         [$(run-built-tests) = yes] (tests): Depend on
10941         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10942         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10943         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10944         $(objpfx)tst-array5-static-cmp.out.
10945         ($(objpfx)tst-array1.out): Remove rule.
10946         ($(objpfx)tst-array1-cmp.out): New rule.
10947         ($(objpfx)tst-array1-static.out): Remove rule.
10948         ($(objpfx)tst-array1-static-cmp.out): New rule.
10949         ($(objpfx)tst-array2.out): Remove rule.
10950         ($(objpfx)tst-array2-cmp.out): New rule.
10951         ($(objpfx)tst-array3.out): Remove rule.
10952         ($(objpfx)tst-array3-cmp.out): New rule.
10953         ($(objpfx)tst-array4.out): Remove rule.
10954         ($(objpfx)tst-array4-cmp.out): New rule.
10955         ($(objpfx)tst-array5.out): Remove rule.
10956         ($(objpfx)tst-array5-cmp.out): New rule.
10957         ($(objpfx)tst-array5-static.out): Remove rule.
10958         ($(objpfx)tst-array5-static-cmp.out): New rule.
10959         [$(run-built-tests) = yes] (tests): Depend on
10960         $(objpfx)order2-cmp.out.
10961         ($(objpfx)order2.out): Remove rule.
10962         ($(objpfx)order2-cmp.out): New rule.
10963         ($(objpfx)tst-initorder.out): Remove rule.
10964         [$(run-built-tests) = yes] (tests): Depend on
10965         $(objpfx)tst-initorder-cmp.out.
10966         ($(objpfx)tst-initorder-cmp.out): New rule.
10967         ($(objpfx)tst-initorder2.out): Remove rule.
10968         [$(run-built-tests) = yes] (tests): Depend on
10969         $(objpfx)tst-initorder2-cmp.out.
10970         ($(objpfx)tst-initorder2-cmp.out): New rule.
10971         [$(run-built-tests) = yes] (tests): Depend on
10972         $(objpfx)tst-unused-dep-cmp.out.
10973         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10974         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10975         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10976         on $(objpfx)tst-setvbuf1-cmp.out.
10977         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10978         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10979         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10980         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10981         ($(objpfx)tst-svc.out): Remove rule.
10982         ($(objpfx)tst-svc-cmp.out): New rule.
10983
10984 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10985
10986         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10987         * ctype/ctype.h [__USE_MISC]: Likewise.
10988         * dirent/dirent.h [__USE_MISC]: Likewise.
10989         * grp/grp.h [__USE_MISC]: Likewise.
10990         * io/fcntl.h [__USE_MISC]: Likewise.
10991         * io/sys/stat.h [__USE_MISC]: Likewise.
10992         * libio/stdio.h [__USE_MISC]: Likewise.
10993         * posix/unistd.h [__USE_MISC]: Likewise.
10994         * pwd/pwd.h [__USE_MISC]: Likewise.
10995         * stdlib.h [__USE_MISC]: Likewise.
10996         * string/bits/string2.h [__USE_MISC]: Likewise.
10997         * string/string.h [__USE_MISC]: Likewise.
10998         * time/time.h [__USE_MISC]: Likewise.
10999
11000 2014-02-13  Andreas Schwab  <schwab@suse.de>
11001
11002         [BZ #16574]
11003         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11004         second answer buffer if it was separately allocated.
11005
11006 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11007
11008         * sysdeps/mips/math-tests.h: Include <features.h>.
11009         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11010         (ROUNDING_TESTS_long_double): Do not define.
11011         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11012         (EXCEPTION_TESTS_long_double): Likewise.
11013         * sysdeps/mips/mips64/libm-test-ulps: Update.
11014
11015         * include/features.h (__USE_BSD): Remove macro definitions.
11016         (__USE_SVID): Likewise.
11017         (_BSD_SOURCE): Likewise.
11018         (_SVID_SOURCE): Likewise.
11019         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11020         from definition of _DEFAULT_SOURCE.
11021         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11022         [_DEFAULT_SOURCE].
11023         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11024         * bits/mman.h [__USE_BSD]: Likewise.
11025         * bits/termios.h [__USE_BSD]: Likewise.
11026         * bits/waitstatus.h [__USE_BSD]: Likewise.
11027         * ctype/ctype.h [__USE_SVID]: Likewise.
11028         * dirent/dirent.h [__USE_BSD]: Likewise.
11029         * grp/grp.h [__USE_SVID]: Likewise.
11030         [__USE_BSD]: Likewise.
11031         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11032         * io/fcntl.h [__USE_BSD]: Likewise.
11033         * io/ftw.h [__USE_BSD]: Likewise.
11034         * io/sys/stat.h [__USE_BSD]: Likewise.
11035         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11036         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11037         * libio/stdio.h [__USE_SVID]: Likewise.
11038         [__USE_BSD]: Likewise.
11039         * math/math.h [__USE_SVID]: Likewise.
11040         [__USE_BSD]: Likewise.
11041         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11042         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11043         * misc/search.h [__USE_SVID]: Likewise.
11044         * misc/sys/mman.h [__USE_BSD]: Likewise.
11045         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11046         * misc/sys/uio.h [__USE_BSD]: Likewise.
11047         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11048         * posix/glob.h [__USE_BSD]: Likewise.
11049         * posix/regex.h [__USE_BSD]: Likewise.
11050         * posix/sys/types.h [__USE_BSD]: Likewise.
11051         [__USE_SVID]: Likewise.
11052         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11053         * posix/sys/wait.h [__USE_BSD]: Likewise.
11054         [__USE_SVID]: Likewise.
11055         * posix/unistd.h [__USE_BSD]: Likewise.
11056         [__USE_SVID]: Likewise.
11057         * pwd/pwd.h [__USE_SVID]: Likewise.
11058         * resolv/netdb.h [__USE_BSD]: Likewise.
11059         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11060         * signal/signal.h [__USE_BSD]: Likewise.
11061         [__USE_SVID]: Likewise.
11062         * socket/sys/socket.h [__USE_BSD]: Likewise.
11063         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11064         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11065         [__USE_SVID]: Likewise.
11066         * string/bits/string2.h [__USE_BSD]: Likewise.
11067         [__USE_SVID]: Likewise.
11068         * string/bits/string3.h [__USE_BSD]: Likewise.
11069         * string/endian.h [__USE_BSD]: Likewise.
11070         * string/string.h [__USE_SVID]: Likewise.
11071         [__USE_BSD]: Likewise.
11072         * string/strings.h [__USE_BSD]: Likewise.
11073         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11074         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11075         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11076         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11077         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11078         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11081         Likewise.
11082         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11083         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11084         Likewise.
11085         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11086         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11087         Likewise.
11088         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11089         Likewise.
11090         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11091         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11092         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11093         Likewise.
11094         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11095         Likewise.
11096         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11097         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11098         * termios/termios.h [__USE_BSD]: Likewise.
11099         * time/sys/time.h [__USE_BSD]: Likewise.
11100         * time/time.h [__USE_BSD]: Likewise.
11101         [__USE_SVID]: Likewise.
11102
11103         * Makefile (subdir_targets): Remove subdir_lint.out.
11104
11105         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11106         (do-tst-printf): Likewise.
11107         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11108         $(objpfx)tst-printf.out.
11109
11110         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11111
11112         * Makerules (check-abi-%): Change target to
11113         $(objpfx)check-abi-%.out.
11114         (check-abi target): Update dependencies.
11115         (check-abi-pattern variable): Redirect output of diff to $@.
11116         (check-abi variable): Likewise.
11117         * elf/Makefile (check-abi): Update dependencies.
11118
11119         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11120         unused.
11121         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11122         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11123         subnormal range.
11124         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11125         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11126         value has largest subnormal exponent.
11127         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11128         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11129         * sysdeps/aarch64/soft-fp/sfp-machine.h
11130         (_FP_TININESS_AFTER_ROUNDING): New macro.
11131         * sysdeps/alpha/soft-fp/sfp-machine.h
11132         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11133         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11134         Likewise.
11135         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11137         * sysdeps/mips/soft-fp/sfp-machine.h
11138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11139         * sysdeps/powerpc/soft-fp/sfp-machine.h
11140         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11141         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11142         Likewise.
11143         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11144         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11145         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11146         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11147         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11148         Likewise.
11149
11150 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11151
11152         [BZ #16545]
11153         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11154         model 1.
11155
11156 2014-02-12  Richard Henderson  <rth@redhat.com>
11157
11158         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11159         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11160         * sysdeps/unix/sysv/linux/alpha: Move directory from
11161         ports/sysdeps/unix/sysv/linux/alpha.
11162         * README: Update listing for alpha-*-linux-gnu.
11163
11164 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11165
11166         * include/features.h: Update comment documenting feature test
11167         macros.
11168         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11169         _DEFAULT_SOURCE.
11170         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11171         (_SVID_SOURCE): Likewise.
11172         (_DEFAULT_SOURCE): Update description of default features.
11173         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11174         with _GNU_SOURCE.
11175         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11176         (S_ISVTX): Likewise.
11177         * manual/math.texi (Mathematical Constants): Likewise.
11178         * manual/signal.texi (Interrupted Primitives): Likewise.
11179         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11180         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11181         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11182         Don't refer to _SVID_SOURCE in warning text.
11183
11184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11185
11186         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11187         already defined.
11188         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11189         * sysdeps/mips/dl-lookup.c: Remove.
11190         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11191
11192 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11193
11194         [BZ #16447]
11195         * math/auto-libm-test-in: Add testcase for expl.
11196         * math/auto-libm-test-out: Regenerate.
11197         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11198         calculation of unsafe.
11199         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11200
11201 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11202
11203         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11204         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11205         ports/sysdeps/unix/sysv/linux/aarch64.
11206         * README: Update listing for aarch64*-*-linux-gnu.
11207
11208 2014-02-11  Will Newton  <will.newton@linaro.org>
11209
11210         * manual/probes.texi (Mathematical Function Probes): Use
11211         "triggered" instead of "hit".
11212
11213         * manual/probes.texi (Internal Probes): Add documentation
11214         of setjmp, longjmp and longjmp_target probes.
11215
11216         * include/stap-probe.h: Add comment about probe argument
11217         format.
11218
11219         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11220         definition.  (tr_where, tr_freehook, tr_mallochook,
11221         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11222
11223 2014-02-11  David S. Miller  <davem@davemloft.net>
11224
11225         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11226         processing int_tests.
11227
11228 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11229
11230         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11231         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11232         * sysdeps/unix/sysv/linux/mips: Move directory from
11233         ports/sysdeps/unix/sysv/linux/mips.
11234         * README: Update listing for mips-*-linux-gnu and
11235         mips64-*-linux-gnu.
11236
11237 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11238
11239         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11240         * sysdeps/unix/sysv/linux/m68k: Move directory from
11241         ports/sysdeps/unix/sysv/linux/m68k.
11242         * README: Update listing for m68k-*-linux-gnu.
11243
11244 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11245
11246         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11247         * sysdeps/unix/sysv/linux/generic: Move directory from
11248         ports/sysdeps/unix/sysv/linux/generic.
11249         * sysdeps/unix/sysv/linux/tile: Move directory from
11250         ports/sysdeps/unix/sysv/linux/tile.
11251         * README: Update listing for tile*-*-linux-gnu.
11252
11253 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11254
11255         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11256         __builtin_expect.
11257         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11258         * catgets/open_catalog.c (__open_catalog): Likewise.
11259         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11260         * debug/confstr_chk.c: Likewise.
11261         * debug/fread_chk.c (__fread_chk): Likewise.
11262         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11263         * debug/getgroups_chk.c: Likewise.
11264         * debug/mbsnrtowcs_chk.c: Likewise.
11265         * debug/mbsrtowcs_chk.c: Likewise.
11266         * debug/mbstowcs_chk.c: Likewise.
11267         * debug/memcpy_chk.c: Likewise.
11268         * debug/memmove_chk.c: Likewise.
11269         * debug/mempcpy_chk.c: Likewise.
11270         * debug/memset_chk.c: Likewise.
11271         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11272         * debug/strcat_chk.c (__strcat_chk): Likewise.
11273         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11274         * debug/strncat_chk.c (__strncat_chk): Likewise.
11275         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11276         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11277         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11278         * debug/wcpncpy_chk.c: Likewise.
11279         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11280         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11281         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11282         * debug/wcsncpy_chk.c: Likewise.
11283         * debug/wcsnrtombs_chk.c: Likewise.
11284         * debug/wcsrtombs_chk.c: Likewise.
11285         * debug/wcstombs_chk.c: Likewise.
11286         * debug/wmemcpy_chk.c: Likewise.
11287         * debug/wmemmove_chk.c: Likewise.
11288         * debug/wmempcpy_chk.c: Likewise.
11289         * debug/wmemset_chk.c: Likewise.
11290         * dirent/scandirat.c (SCANDIRAT): Likewise.
11291         * dlfcn/dladdr1.c (dladdr1): Likewise.
11292         * dlfcn/dladdr.c (dladdr): Likewise.
11293         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11294         * dlfcn/dlerror.c (__dlerror): Likewise.
11295         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11296         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11297         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11298         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11299         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11300         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11301         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11302         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11303         Likewise.
11304         * elf/dl-conflict.c: Likewise.
11305         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11306         * elf/dl-dst.h: Likewise.
11307         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11308         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11309         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11310         * elf/dl-init.c (call_init, _dl_init): Likewise.
11311         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11312         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11313         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11314         Likewise.
11315         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11316         Likewise.
11317         * elf/dl-minimal.c (__libc_memalign): Likewise.
11318         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11319         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11320         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11321         * elf/dl-sym.c (do_sym): Likewise.
11322         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11323         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11324         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11325         * elf/dl-writev.h (_dl_writev): Likewise.
11326         * elf/ldconfig.c (search_dir): Likewise.
11327         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11328         (dl_main): Likewise.
11329         * elf/setup-vdso.h (setup_vdso): Likewise.
11330         * grp/compat-initgroups.c (compat_call): Likewise.
11331         * grp/fgetgrent.c (fgetgrent): Likewise.
11332         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11333         * grp/putgrent.c (putgrent): Likewise.
11334         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11335         Likewise.
11336         * hurd/hurdinit.c: Likewise.
11337         * iconvdata/8bit-gap.c (struct): Likewise.
11338         * iconvdata/ansi_x3.110.c : Likewise.
11339         * iconvdata/big5.c : Likewise.
11340         * iconvdata/big5hkscs.c : Likewise.
11341         * iconvdata/cp1255.c: Likewise.
11342         * iconvdata/cp1258.c : Likewise.
11343         * iconvdata/cp932.c : Likewise.
11344         * iconvdata/euc-cn.c: Likewise.
11345         * iconvdata/euc-jisx0213.c : Likewise.
11346         * iconvdata/euc-jp.c: Likewise.
11347         * iconvdata/euc-jp-ms.c : Likewise.
11348         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11349         * iconvdata/gb18030.c : Likewise.
11350         * iconvdata/gbbig5.c (const): Likewise.
11351         * iconvdata/gbgbk.c: Likewise.
11352         * iconvdata/gbk.c : Likewise.
11353         * iconvdata/ibm1364.c : Likewise.
11354         * iconvdata/ibm930.c : Likewise.
11355         * iconvdata/ibm932.c: Likewise.
11356         * iconvdata/ibm933.c : Likewise.
11357         * iconvdata/ibm935.c : Likewise.
11358         * iconvdata/ibm937.c : Likewise.
11359         * iconvdata/ibm939.c : Likewise.
11360         * iconvdata/ibm943.c: Likewise.
11361         * iconvdata/iso_11548-1.c: Likewise.
11362         * iconvdata/iso-2022-cn.c : Likewise.
11363         * iconvdata/iso-2022-cn-ext.c : Likewise.
11364         * iconvdata/iso-2022-jp-3.c: Likewise.
11365         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11366         * iconvdata/iso-2022-kr.c : Likewise.
11367         * iconvdata/iso646.c (gconv_end): Likewise.
11368         * iconvdata/iso_6937-2.c : Likewise.
11369         * iconvdata/iso_6937.c : Likewise.
11370         * iconvdata/iso8859-1.c: Likewise.
11371         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11372         * iconvdata/shift_jisx0213.c : Likewise.
11373         * iconvdata/sjis.c : Likewise.
11374         * iconvdata/t.61.c : Likewise.
11375         * iconvdata/tcvn5712-1.c : Likewise.
11376         * iconvdata/tscii.c: Likewise.
11377         * iconvdata/uhc.c : Likewise.
11378         * iconvdata/unicode.c (gconv_end): Likewise.
11379         * iconvdata/utf-16.c (gconv_end): Likewise.
11380         * iconvdata/utf-32.c (gconv_end): Likewise.
11381         * iconvdata/utf-7.c (base64): Likewise.
11382         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11383         * iconv/gconv_close.c (__gconv_close): Likewise.
11384         * iconv/gconv_open.c (__gconv_open): Likewise.
11385         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11386         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11387         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11388         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11389         (ucs4le_internal_loop_single): Likewise.
11390         * iconv/iconv.c (iconv): Likewise.
11391         * iconv/iconv_close.c: Likewise.
11392         * iconv/loop.c (SINGLE): Likewise.
11393         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11394         * include/atomic.h: Likewise.
11395         * inet/inet6_option.c (option_alloc): Likewise.
11396         * intl/bindtextdom.c (set_binding_values): Likewise.
11397         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11398         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11399         * intl/localealias.c (read_alias_file): Likewise.
11400         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11401         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11402         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11403         * libio/fmemopen.c (fmemopen): Likewise.
11404         * libio/iofgets.c (_IO_fgets): Likewise.
11405         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11406         * libio/iofgetws.c (fgetws): Likewise.
11407         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11408         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11409         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11410         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11411         * locale/findlocale.c (_nl_find_locale): Likewise.
11412         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11413         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11414         Likewise.
11415         * locale/setlocale.c (setlocale): Likewise.
11416         * login/programs/pt_chown.c (main): Likewise.
11417         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11418         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11419         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11420         (mmap, mmap64, mremap, munmap): Likewise.
11421         * math/e_exp2l.c: Likewise.
11422         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11423         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11424         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11425         * math/s_catan.c (__catan): Likewise.
11426         * math/s_catanf.c (__catanf): Likewise.
11427         * math/s_catanh.c (__catanh): Likewise.
11428         * math/s_catanhf.c (__catanhf): Likewise.
11429         * math/s_catanhl.c (__catanhl): Likewise.
11430         * math/s_catanl.c (__catanl): Likewise.
11431         * math/s_ccosh.c (__ccosh): Likewise.
11432         * math/s_ccoshf.c (__ccoshf): Likewise.
11433         * math/s_ccoshl.c (__ccoshl): Likewise.
11434         * math/s_cexp.c (__cexp): Likewise.
11435         * math/s_cexpf.c (__cexpf): Likewise.
11436         * math/s_cexpl.c (__cexpl): Likewise.
11437         * math/s_clog10.c (__clog10): Likewise.
11438         * math/s_clog10f.c (__clog10f): Likewise.
11439         * math/s_clog10l.c (__clog10l): Likewise.
11440         * math/s_clog.c (__clog): Likewise.
11441         * math/s_clogf.c (__clogf): Likewise.
11442         * math/s_clogl.c (__clogl): Likewise.
11443         * math/s_csin.c (__csin): Likewise.
11444         * math/s_csinf.c (__csinf): Likewise.
11445         * math/s_csinh.c (__csinh): Likewise.
11446         * math/s_csinhf.c (__csinhf): Likewise.
11447         * math/s_csinhl.c (__csinhl): Likewise.
11448         * math/s_csinl.c (__csinl): Likewise.
11449         * math/s_csqrt.c (__csqrt): Likewise.
11450         * math/s_csqrtf.c (__csqrtf): Likewise.
11451         * math/s_csqrtl.c (__csqrtl): Likewise.
11452         * math/s_ctan.c (__ctan): Likewise.
11453         * math/s_ctanf.c (__ctanf): Likewise.
11454         * math/s_ctanh.c (__ctanh): Likewise.
11455         * math/s_ctanhf.c (__ctanhf): Likewise.
11456         * math/s_ctanhl.c (__ctanhl): Likewise.
11457         * math/s_ctanl.c (__ctanl): Likewise.
11458         * math/w_pow.c: Likewise.
11459         * math/w_powf.c: Likewise.
11460         * math/w_powl.c: Likewise.
11461         * math/w_scalb.c (sysv_scalb): Likewise.
11462         * math/w_scalbf.c (sysv_scalbf): Likewise.
11463         * math/w_scalbl.c (sysv_scalbl): Likewise.
11464         * misc/error.c (error_tail): Likewise.
11465         * misc/pselect.c (__pselect): Likewise.
11466         * nis/nis_callback.c (__nis_create_callback): Likewise.
11467         * nis/nis_call.c (__nisfind_server): Likewise.
11468         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11469         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11470         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11471         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11472         * nis/nis_lookup.c (nis_lookup): Likewise.
11473         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11474         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11475         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11476         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11477         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11478         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11479         * nis/nss_compat/compat-initgroups.c (add_group)
11480         (internal_getgrent_r): Likewise.
11481         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11482         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11483         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11484         (internal_getspnam_r): Likewise.
11485         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11486         (_nss_nis_getaliasbyname_r): Likewise.
11487         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11488         (_nss_nis_getntohost_r): Likewise.
11489         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11490         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11491         (_nss_nis_getgrgid_r): Likewise.
11492         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11493         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11494         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11495         (_nss_nis_gethostbyname4_r): Likewise.
11496         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11497         (initgroups_netid): Likewise.
11498         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11499         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11500         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11501         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11502         (_nss_nis_getprotobynumber_r): Likewise.
11503         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11504         (_nss_nis_getsecretkey): Likewise.
11505         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11506         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11507         (_nss_nis_getpwuid_r): Likewise.
11508         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11509         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11510         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11511         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11512         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11513         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11514         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11515         Likewise.
11516         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11517         (_nss_nisplus_getntohost_r): Likewise.
11518         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11519         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11520         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11521         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11522         Likewise.
11523         * nis/nss_nisplus/nisplus-initgroups.c
11524         (_nss_nisplus_initgroups_dyn): Likewise.
11525         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11526         (_nss_nisplus_getnetbyaddr_r): Likewise.
11527         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11528         (_nss_nisplus_getprotobynumber_r): Likewise.
11529         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11530         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11531         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11532         Likewise.
11533         * nis/nss_nisplus/nisplus-service.c
11534         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11535         (_nss_nisplus_getservbyport_r): Likewise.
11536         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11537         (_nss_nisplus_getspnam_r): Likewise.
11538         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11539         Likewise.
11540         * nscd/aicache.c (addhstaiX): Likewise.
11541         * nscd/cache.c (cache_search, prune_cache): Likewise.
11542         * nscd/connections.c (register_traced_file, send_ro_fd)
11543         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11544         (main_loop_epoll): Likewise.
11545         * nscd/grpcache.c (addgrbyX): Likewise.
11546         * nscd/hstcache.c (addhstbyX): Likewise.
11547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11548         * nscd/mem.c (gc, mempool_alloc): Likewise.
11549         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11550         (addinnetgrX): Likewise.
11551         * nscd/nscd-client.h (__nscd_acquire_maplock)
11552         (__nscd_drop_map_ref): Likewise.
11553         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11554         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11555         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11556         Likewise.
11557         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11558         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11559         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11560         (__nscd_get_map_ref): Likewise.
11561         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11562         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11563         Likewise.
11564         * nscd/pwdcache.c (addpwbyX): Likewise.
11565         * nscd/selinux.c (preserve_capabilities): Likewise.
11566         * nscd/servicescache.c (addservbyX): Likewise.
11567         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11568         * posix/fnmatch.c (fnmatch): Likewise.
11569         * posix/getopt.c (_getopt_internal_r): Likewise.
11570         * posix/glob.c (glob, glob_in_dir): Likewise.
11571         * posix/wordexp.c (exec_comm_child): Likewise.
11572         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11573         (getanswer_r, gaih_getanswer_slice): Likewise.
11574         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11575         * resolv/res_init.c: Likewise.
11576         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11577         * resolv/res_query.c (__libc_res_nquery): Likewise.
11578         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11579         Likewise.
11580         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11581         * stdio-common/perror.c (perror): Likewise.
11582         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11583         * stdio-common/tmpnam.c (tmpnam): Likewise.
11584         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11585         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11586         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11587         Likewise.
11588         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11589         * stdlib/putenv.c (putenv): Likewise.
11590         * stdlib/setenv.c (__add_to_environ): Likewise.
11591         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11592         * stdlib/strtol_l.c (INTERNAL): Likewise.
11593         * string/memmem.c (memmem): Likewise.
11594         * string/strerror.c (strerror): Likewise.
11595         * string/strnlen.c (__strnlen): Likewise.
11596         * string/test-memmem.c (simple_memmem): Likewise.
11597         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11598         * sunrpc/pm_getport.c (__get_socket): Likewise.
11599         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11600         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11601         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11602         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11603         Likewise.
11604         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11605         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11606         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11607         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11608         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11609         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11610         Likewise.
11611         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11612         Likewise.
11613         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11614         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11615         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11616         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11617         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11619         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11620         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11621         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11622         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11623         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11624         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11625         Likewise.
11626         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11627         Likewise.
11628         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11629         Likewise.
11630         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11631         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11632         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11633         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11634         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11635         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11636         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11637         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11639         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11640         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11642         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11643         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11645         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11646         Likewise.
11647         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11648         Likewise.
11649         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11650         Likewise.
11651         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11652         Likewise.
11653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11655         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11656         Likewise.
11657         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11658         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11659         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11660         * sysdeps/posix/sleep.c: Likewise.
11661         * sysdeps/posix/tempname.c: Likewise.
11662         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11663         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11664         Likewise.
11665         * sysdeps/powerpc/powerpc32/dl-machine.h
11666         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11667         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11669         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11670         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11671         Likewise.
11672         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11673         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11674         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11675         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11676         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11677         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11678         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11679         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11680         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11681         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11683         (elf_machine_lazy_rel): Likewise.
11684         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11686         (elf_machine_lazy_rel): Likewise.
11687         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11688         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11689         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11690         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11691         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11692         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11693         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11695         Likewise.
11696         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11697         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11698         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11699         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11700         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11701         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11702         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11703         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11704         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11705         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11706         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11707         Likewise.
11708         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11709         (__posix_fallocate64_l64): Likewise.
11710         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11711         (posix_fallocate): Likewise.
11712         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11713         Likewise.
11714         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11715         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11716         (getifaddrs_internal): Likewise.
11717         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11718         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11719         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11720         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11721         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11722         (__posix_fallocate64_l64): Likewise.
11723         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11724         Likewise.
11725         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11726         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11727         (__get_clockfreq): Likewise.
11728         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11729         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11730         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11733         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11734         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11735         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11736         Likewise.
11737         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11738         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11739         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11741         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11742         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11743         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11744         Likewise.
11745         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11746         (posix_fallocate): Likewise.
11747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11748         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11749         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11750         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11751         (elf_machine_rela, elf_machine_rela_relative)
11752         (elf_machine_lazy_rel): Likewise.
11753         * time/asctime.c (asctime_internal): Likewise.
11754         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11755         * time/tzset.c (__tzset_parse_tz): Likewise.
11756         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11757         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11758         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11759         * wcsmbs/wcsmbsload.h: Likewise.
11760
11761         [BZ #15894]
11762         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11763
11764         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11765         (arena_get2): Remove THREAD_STATS conditionals.
11766         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11767         (__malloc_stats, int): Likewise.
11768
11769 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11770
11771         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11772         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11773
11774         * manual/setjmp.texi: Fix typos/grammar errors.
11775
11776         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11777         Only return early when n is <= 0.  Delete unused return statement.
11778
11779         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11780         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11781         * debug/tst-longjmp_chk3.c: New file.
11782
11783         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11784         (test_main): Replace code with set_fortify_handler call.
11785         * debug/test-strcpy_chk.c: Likewise.
11786         * debug/tst-chk1.c: Likewise.
11787         * debug/tst-longjmp_chk.c: Likewise.
11788         * test-skeleton.c: Include fcntl.h & paths.h
11789         (set_fortify_handler): Define.
11790
11791         * debug/tst-longjmp_chk.c: Add header comment and include
11792         ../test-skeleton.c.
11793         (do_test): Mark static.
11794         (TEST_FUNCTION): Define.
11795
11796         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11797         (IP_PMTUDISC_INTERFACE): Likewise.
11798         (IP_MULTICAST_IF): Likewise.
11799         (IP_MULTICAST_TTL): Likewise.
11800         (IP_MULTICAST_LOOP): Likewise.
11801         (IP_ADD_MEMBERSHIP): Likewise.
11802         (IP_DROP_MEMBERSHIP): Likewise.
11803         (IP_UNBLOCK_SOURCE): Likewise.
11804         (IP_BLOCK_SOURCE): Likewise.
11805         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11806         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11807         (IP_MSFILTER): Likewise.
11808         (MCAST_JOIN_GROUP): Likewise.
11809         (MCAST_BLOCK_SOURCE): Likewise.
11810         (MCAST_UNBLOCK_SOURCE): Likewise.
11811         (MCAST_LEAVE_GROUP): Likewise.
11812         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11813         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11814         (MCAST_MSFILTER): Likewise.
11815         (IP_MULTICAST_ALL): Likewise.
11816         (IP_UNICAST_IF): Likewise.
11817
11818         * timezone/Makefile: Delete $(have-ksh) check.
11819         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11820         * timezone/tzselect.ksh: Add +x mode bits.
11821
11822         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11823         (ANON_INODE_FS_MAGIC): Likewise.
11824         (BDEVFS_MAGIC): Likewise.
11825         (BINFMTFS_MAGIC): Likewise.
11826         (BTRFS_TEST_MAGIC): Likewise.
11827         (CRAMFS_MAGIC_WEND): Likewise.
11828         (DEBUGFS_MAGIC): Likewise.
11829         (ECRYPTFS_SUPER_MAGIC): Likewise.
11830         (EXT3_SUPER_MAGIC): Likewise.
11831         (EXT4_SUPER_MAGIC): Likewise.
11832         (FUTEXFS_SUPER_MAGIC): Likewise.
11833         (HOSTFS_SUPER_MAGIC): Likewise.
11834         (HUGETLBFS_MAGIC): Likewise.
11835         (MINIX3_SUPER_MAGIC): Likewise.
11836         (MTD_INODE_FS_MAGIC): Likewise.
11837         (NILFS_SUPER_MAGIC): Likewise.
11838         (OPENPROM_SUPER_MAGIC): Likewise.
11839         (PIPEFS_MAGIC): Likewise.
11840         (PSTOREFS_MAGIC): Likewise.
11841         (QNX6_SUPER_MAGIC): Likewise.
11842         (RAMFS_MAGIC): Likewise.
11843         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11844         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11845         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11846         (SECURITYFS_MAGIC): Likewise.
11847         (SELINUX_MAGIC): Likewise.
11848         (SMACK_MAGIC): Likewise.
11849         (SOCKFS_MAGIC): Likewise.
11850         (SQUASHFS_MAGIC): Likewise.
11851         (STACK_END_MAGIC): Likewise.
11852         (TMPFS_MAGIC): Likewise.
11853         (USBDEVICE_SUPER_MAGIC): Likewise.
11854         (V9FS_MAGIC): Likewise.
11855         (XENFS_SUPER_MAGIC): Likewise.
11856         (CRAMFS_MAGIC): Fix typo in comment.
11857         (EXT2_SUPER_MAGIC): Update comment.
11858         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11859
11860 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11861
11862         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11863         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11864         * sysdeps/unix/sysv/linux/arm: Move directory from
11865         ports/sysdeps/unix/sysv/linux/arm.
11866         * README: Update listing for arm-*-linux-gnueabi.
11867
11868         * README: Remove mention of am33.
11869
11870 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11871
11872         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11873         than the comma operator, to avoid "rhs of comma has no effect"
11874         compiler warnings.
11875         (__sigfillset, __sigandset, __sigorset): Likewise.
11876         * include/signal.h (__sigemptyset): Likewise.
11877         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11878
11879 2014-02-07  Allan McRae  <allan@archlinux.org>
11880
11881         * version.h (RELEASE): Set to "development".
11882         (VERSION): Set to "2.19.90"
11883         * NEWS: Add 2.20 section.
11884
11885 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11886
11887         [BZ #16529]
11888         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11889
11890 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11891
11892         * manual/contrib.texi: Update entry for Carlos O'Donell,
11893         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11894
11895 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11896
11897         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11898
11899         * sysdeps/unix/sysv/linux/kernel-features.h
11900         [__LINUX_KERNEL_VERSION >= 0x020621]
11901         (__ASSUME_PROC_PID_TASK_COMM): Define.
11902
11903 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11904
11905         [BZ #16398]
11906         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11907         conversion when destination buffer does not have enough space.
11908         * libio/tst-ftell-partial-wide.c: New test case.
11909         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11910
11911         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11912         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11913         Leonard and Allan McRae.
11914
11915 2014-02-04  David S. Miller  <davem@davemloft.net>
11916
11917         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11918         32-bit.
11919
11920 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11921
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11923         New file
11924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11925         New file
11926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11927         New file.
11928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11929         New file.
11930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11931         New file.
11932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11933         New file.
11934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11935         New file.
11936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11937         New file.
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11939         New file.
11940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11941         New file.
11942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11943         New file.
11944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11945         New file.
11946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11947         New file.
11948
11949 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11950
11951         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11952         * shlib-versions: Likewise.
11953
11954 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11955             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11956
11957         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11958         (abilist-pattern): New variable, set to %-le.abilist.
11959
11960         * Makerules (abilist-pattern): New variable.
11961         (vpath): Use $(abilist-pattern) in place of %.abilist.
11962         (check-abi-% pattern rule): Likewise.
11963         (check-abi, update-abi): Likewise.
11964
11965 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11966
11967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11968
11969 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11970
11971         * manual/startup.texi: Add next, previous, and top entries for
11972         the `Program Arguments' and `Environment Variables' nodes.
11973
11974 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11975
11976         * manual/macros.texi: Add comments before MTASC-safety macros.
11977
11978         * manual/users.texi: Document MTASC-safety properties.
11979
11980         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11981         (pthread_getspecific, pthread_setspecific): Format with
11982         @deftypefun, and add @safety note.
11983         * manual/signal.texi: Move comments that analyze the above
11984         functions to their home place.
11985
11986 2014-02-03  Allan McRae  <allan@archlinux.org>
11987
11988         * po/sl.po: Update Slovenian translation from translation project.
11989
11990 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11991
11992         * manual/time.texi (timegm): Add missing blank after @c.
11993         Reported by Joseph Myers <joseph@codesourcery.com>.
11994
11995 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11996
11997         * manual/check-safety.sh: New.
11998         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11999
12000         * manual/terminal.texi: Document MTASC-safety properties.
12001
12002         * manual/filesys.texi: Document MTASC-safety properties.
12003
12004         * manual/errno.texi: Document MTASC-safety properties.
12005
12006         * manual/intro.texi: Document safety identifiers and
12007         conditionals.
12008
12009         * manual/string.texi (wcstok): Fix prototype.
12010         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12011
12012         * manual/time.texi: Document MTASC-safety properties.
12013
12014         * manual/string.texi: Document MTASC-safety properties.
12015
12016         * manual/threads.texi: Document MTASC-safety properties.
12017
12018         * manual/stdio.texi: Document MTASC-safety properties.
12019
12020         * manual/syslog.texi: Document MTASC-safety properties.
12021
12022         * manual/sysinfo.texi: Document MTASC-safety properties.
12023
12024         * manual/startup.texi: Document MTASC-safety properties.
12025
12026         * manual/socket.texi: Document MTASC-safety properties.
12027
12028         * manual/signal.texi: Document MTASC-safety properties.
12029
12030 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12031
12032         * manual/setjmp.texi: Document MTASC-safety properties.
12033
12034         * manual/search.texi: Document MTASC-safety properties.
12035
12036         * manual/resource.texi: Document MTASC-safety properties.
12037
12038         * manual/process.texi: Document MTASC-safety properties.
12039
12040         * manual/platform.texi: Document MTASC-safety properties.
12041
12042         * manual/pipe.texi: Document MTASC-safety properties.
12043
12044         * manual/pattern.texi: Document MTASC-safety properties.
12045
12046         * manual/message.texi: Document MTASC-safety properties.
12047
12048         [BZ #12751]
12049         * manual/memory.texi: Document MTASC-safety properties.
12050
12051         * manual/math.texi: Document MTASC-safety properties.
12052
12053         * manual/locale.texi: Document MTASC-safety properties.
12054
12055         * manual/llio.texi: Document MTASC-safety properties.
12056
12057         * manual/libdl.texi: New.
12058
12059         * manual/lang.texi: Document MTASC-safety properties.
12060
12061         * manual/job.texi: Document MTASC-safety properties.
12062
12063         * manual/getopt.texi: Document MTASC-safety properties.
12064
12065         * manual/ctype.texi: Document MTASC-safety properties.
12066
12067 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12068
12069         [BZ #16046]
12070         * csu/libc-tls.c (static_map): Remove variable.
12071         (__libc_setup_tls): Use main executable's link map for TLS data.
12072         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12073         casing for LM_ID_BASE and GL(dl_nns).
12074         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12075         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12076         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12077         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12078         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12079         member.
12080         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12081         l_phnum members.
12082
12083 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12084
12085         * manual/debug.texi: Document MTASC-safety properties.
12086
12087 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12088
12089         [BZ #16510]
12090         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12091         of __x86_64__ when disabling x87 inline functions.
12092
12093 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12094
12095         * manual/charset.texi: Document MTASC-safety properties.
12096
12097         * manual/crypt.texi: Document MTASC-safety properties.
12098
12099         * manual/conf.texi: Document MTASC-safety properties.
12100
12101         * manual/arith.texi: Document MTASC-safety properties.
12102
12103         * manual/argp.texi: Document MTASC-safety properties.
12104
12105         * manual/macros.texi: Introduce macros to document multi
12106         thread, asynchronous signal and asynchronous cancellation
12107         safety properties.
12108         * manual/intro.texi: Introduce the properties themselves.
12109
12110 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12111
12112         * sysdeps/sh/sh4/Makefile: New file.
12113
12114 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12115
12116         * math/gen-libm-test.pl ($srcdir): New variable.
12117         ($auto_input): Use it.
12118
12119 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12120
12121         [BZ #16506]
12122         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12123         access beyond array bounds when parsing netgroups file.
12124
12125         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12126         the old buffer before realloc.
12127
12128 2014-01-27  Allan McRae  <allan@archlinux.org>
12129
12130         * po/fr.po: Update French translation from translation project.
12131
12132 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12133
12134         * sysdeps/sh/libm-test-ulps: Regenerate.
12135
12136 2014-01-24  David S. Miller  <davem@davemloft.net>
12137
12138         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12139
12140 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12141
12142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12143         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12144
12145 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12146
12147         [BZ #16474]
12148         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12149         string pointers after reallocation.
12150
12151 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12152
12153         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12154         __SH4A__ instead of __SH_FPU_ANY__.
12155
12156 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12157
12158         * sysdeps/sh/fpu_control.h: New file.
12159         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12160         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12161         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12162         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12163         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12164         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12165         * sysdeps/sh/sys/ucontext.h: Remove.
12166         * sysdeps/sh/sys: Remove directory.
12167
12168 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12169
12170         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12171         s390/sys/ucontext.h.
12172         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12173         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12174
12175 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12176
12177         [BZ #15605]
12178         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12179
12180 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12181
12182         [BZ#16431]
12183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12184         Adjust the vDSO correctly for internal calls.
12185         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12186
12187 2014-01-20  Allan McRae  <allan@archlinux.org>
12188
12189         * po/ca.po: Update Catalan translation from translation project.
12190
12191 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12192
12193         * sysdeps/s390/sotruss-lib.c: New file.
12194
12195 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12196
12197         [BZ#16430]
12198         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12199         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12200         local calls issues by not having a PLT stub required for IFUNC calls.
12201         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12202
12203 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12204
12205         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12206         * math/test-fpucw-static.c: Likewise.
12207
12208 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209
12210         [BZ #16453]
12211         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12212
12213 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12214
12215         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12216         implementation for powerpc.
12217
12218 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12219
12220         [BZ #14782]
12221         * sysdeps/posix/system.c (__libc_system): Do not enable
12222         asynchronous cancellation.
12223
12224 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12225
12226         [BZ #16427]
12227         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12228         handling only for numbers special also in the IEEE case.
12229
12230 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12231
12232         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12233
12234 2014-01-11  Allan McRae  <allan@archlinux.org>
12235
12236         * po/bg.po: Update Bulgarian translation from translation project.
12237
12238         * po/de.po: Update German translation from translation project.
12239
12240 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12241
12242         * sysdeps/generic/gcc-compat.h: New file.
12243
12244 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12245
12246         * benchtests/asin-inputs: Correct slow inputs.
12247         * benchtests/acos-inputs: Likewise.
12248
12249 2014-01-10  Allan McRae  <allan@archlinux.org>
12250
12251         * po:sv.po: Update Swedish translation from translation project.
12252
12253         * po/vi.po: Update Vietnamese translation from translation project.
12254
12255         * po/eo.po: Update Esperanto translation from translation project.
12256
12257         * po/cs.po: Update Czech translation from translation project.
12258
12259         * po/nl.po: Update Dutch translation from translation project.
12260
12261         * po/pl.po: Update Polish translation from translation project.
12262
12263         * po/ru.po: Update Russian translation from translation project.
12264
12265         * po/uk.po: Update Ukrainian translation from translation project.
12266
12267 2014-01-08  Brooks Moses  <bmoses@google.com>
12268
12269         * elf/dl-load.c: Fix comment typo.
12270
12271 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12272
12273         * po/header.pot: Rename to...
12274         * po/pot.header: ... this.
12275         * po/Makefile: Use pot.header.
12276
12277 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12278             Maxim Kuvyrkov  <maxim@kugelworks.com>
12279
12280         [BZ #16394]
12281         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12282         SRC and DEST against LEN.
12283
12284 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12285
12286         [BZ #16414]
12287         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12288         implementation.
12289         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12290
12291 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12292
12293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12294
12295 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12296
12297         [BZ #16408]
12298         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12299         for large positive arguments.
12300
12301 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12302
12303         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12304
12305         * math/auto-libm-test-in: Mark various tests with
12306         xfail-rounding:ldbl-128ibm.
12307         * math/auto-libm-test-out: Regenerated.
12308
12309         [BZ #16407]
12310         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12311         Increase overflow threshold.
12312
12313 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12314
12315         [BZ #14286]
12316         * stdio-common/vfprintf.c: Check for integer overflow.
12317
12318 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12319
12320         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12321         the first argument and return value of __tls_get_addr_internal.
12322
12323 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12324
12325         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12326         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12327
12328 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12329
12330         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12331         * sysdeps/s390/rtld-global-offsets.sym: New file.
12332         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12333         GLIBC_2.19 symbol.
12334         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12337         ... this.
12338         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12339         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12340         ... this.
12341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12342         Regenerate.
12343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12344         Regenerate.
12345         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12346         halfs of GPRs for high_gprs contexts.
12347         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12348         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12349         field.
12350         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12351         uc_flags field.
12352         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12353         64 bit versions:
12354         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12355         for high GPRs (uc_high_gprs) and for future extensions
12356         (__reserved).
12357         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12358         for future extensions (__reserved).
12359         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12360         64 bit versions:
12361         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12362         SC_HIGHGPRS offset definition.
12363         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12364         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12365
12366         * Versions.def: Add GLIBC_2.19 for libpthread.
12367         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12368         siglongjmp for libpthread with GLIBC_2.19 symver.
12369         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12370         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12371         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12372         * sysdeps/s390/__longjmp.c: New file.
12373         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12374         * sysdeps/s390/longjmp.c: New file.
12375         * sysdeps/s390/setjmp.S: New file.
12376         * sysdeps/s390/sigjmp.S: New file.
12377         * sysdeps/s390/v1-longjmp.c: New file.
12378         * sysdeps/s390/v1-setjmp.h: New file.
12379         * sysdeps/s390/v1-sigjmp.c: New file.
12380         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12381         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12382         GLIBC_2.19 version.
12383         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12384         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12385         versioned symbols for ____longjmp_chk.
12386         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12387         Likewise.
12388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12389         Regenerate.
12390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12391         Regenerate.
12392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12393         Regenerate.
12394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12395         Regenerate.
12396         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12397         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12398         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12399         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12400         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12401         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12402         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12403         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12404         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12405         * sysdeps/s390/rtld-__longjmp.c: New file.
12406         * sysdeps/s390/rtld-setjmp.S: New file.
12407
12408 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12409
12410         [BZ #16400]
12411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12412         Return -__logl (x) for small positive arguments without evaluating
12413         a polynomial.
12414
12415 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12416
12417         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12418         Rename to ...
12419         (__ptrace_peeksiginfo_args): ... this.
12420         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12421         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12422         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12423
12424 2014-01-06  Allan McRae  <allan@archlinux.org>
12425
12426         * inet/netinet/in.h: Fix typo in comment.
12427
12428 2014-01-05  Andreas Jaeger  <aj@suse.de>
12429
12430         * sysdeps/i386/fpu/libm-test-ulps: Update.
12431
12432 2014-01-05  Allan McRae  <allan@archlinux.org>
12433
12434         * po/libc.pot: Regenerated.
12435
12436         * malloc/memusagestat.c: Fix gettext call formatting.
12437
12438 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12439
12440         * nscd/nscd.c: Improve usage() output.
12441
12442 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12443
12444         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12445         * sysdeps/unix/sysv/linux/configure: Regenerated.
12446         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12447         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12448
12449 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12450
12451         [BZ #16390]
12452         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12453         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12454
12455 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12456
12457         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12458         extra tokens at end of #undef directive.
12459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12460         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12461         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12462
12463 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12464
12465         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12466
12467         * math/auto-libm-test-in: Mark various tests with
12468         xfail-rounding:ldbl-128ibm.
12469         * math/auto-libm-test-out: Regenerated.
12470
12471 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12472
12473         [BZ #16386]
12474         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12475         numbers with subnormal high part when calculating exponent.
12476
12477         [BZ #16385]
12478         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12479         fabs.
12480
12481         [BZ #16384]
12482         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12483         M_LN2l.
12484         (__ieee754_acoshl): Use __log1pl not __log1p.
12485
12486 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12487
12488         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12489         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12490         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12491         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12492         (reused_arena, arena_get2): Convert to GNU style.
12493         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12494         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12495         (memalign_check, __malloc_set_state): Likewise.
12496         * malloc/mallocbug.c (main): Likewise.
12497         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12498         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12499         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12500         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12501         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12502         (__posix_memalign, malloc_info): Likewise.
12503         * malloc/malloc.h: Likewise.
12504         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12505         (mallochook, memalignhook, reallochook, mabort): Likewise.
12506         * malloc/mcheck.h: Likewise.
12507         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12508         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12509         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12510         * malloc/morecore.c (__default_morecore): Likewise.
12511         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12512         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12513         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12514         (print_and_abort): Likewise.
12515         * malloc/obstack.h: Likewise.
12516         * malloc/set-freeres.c (__libc_freeres): Likewise.
12517         * malloc/tst-mallocstate.c (main): Likewise.
12518         * malloc/tst-mtrace.c (main): Likewise.
12519         * malloc/tst-realloc.c (do_test): Likewise.
12520
12521 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12522
12523         [BZ #16366]
12524         * nscd/netgroupcache.c (do_notfound): New function.
12525         (addgetnetgrentX): Use it.
12526
12527         [BZ # 16365]
12528         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12529         NSS_STATUS_NOTFOUND.
12530
12531 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12532
12533         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535
12536 2014-01-01  Allan McRae  <allan@archlinux.org>
12537
12538         * scripts/update-copyrights: Update configure input file suffix.
12539
12540         * NEWS: Update copyright year.
12541         * catgets/gencat.c: Likewise.
12542         * csu/version.c: Likewise.
12543         * debug/catchsegv.sh: Likewise.
12544         * debug/pcprofiledump.c: Likewise.
12545         * debug/xtrace.sh: Likewise.
12546         * elf/ldconfig.c: Likewise.
12547         * elf/ldd.bash.in: Likewise.
12548         * elf/pldd.c: Likewise.
12549         * elf/sotruss.ksh: Likewise.
12550         * elf/sprof.c: Likewise.
12551         * iconv/iconv_prog.c: Likewise.
12552         * iconv/iconvconfig.c: Likewise.
12553         * locale/programs/locale.c: Likewise.
12554         * locale/programs/localedef.c: Likewise.
12555         * login/programs/pt_chown.c: Likewise.
12556         * malloc/memusage.sh: Likewise.
12557         * malloc/memusagestat.c: Likewise.
12558         * malloc/mtrace.pl: Likewise.
12559         * manual/libc.texinfo: Likewise.
12560         * nscd/nscd.c: Likewise.
12561         * nss/getent.c: Likewise.
12562         * nss/makedb.c: Likewise.
12563         * posix/getconf.c: Likewise.
12564         * scripts/test-installation.pl: Likewise.
12565
12566         * All files with FSF copyright notices: Update copyright dates
12567         using scripts/update-copyrights.
12568         * intl/plural.c: Regenerated.
12569         * locale/programs/charmap-kw.h: Likewise.
12570         * locale/programs/locfile-kw.h: Likewise.
12571
12572 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12573
12574         * sysdeps/unix/sysv/linux/configure: Regenerated.
12575         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12576         the linux/fanotify.h header.
12577         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12578         HAVE_LINUX_FANOTIFY_H is defined.
12579
12580 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12581
12582         * benchtests/cos-inputs: New inputs.
12583         * benchtests/sin-inputs: Likewise.
12584
12585         * benchtests/atan-inputs: New inputs. Fix name of multiple
12586         precision fallback inputs.
12587
12588         * benchtests/atanh-inputs: New inputs.
12589         * benchtests/tanh-inputs: Likewise.
12590
12591         * benchtests/acosh-inputs: New inputs.
12592         * benchtests/asinh-inputs: Likewise.
12593
12594         * benchtests/cosh-inputs: New inputs.
12595         * benchtests/sinh-inputs: Likewise.
12596
12597         * benchtests/acos-inputs: Add more inputs.
12598         * benchtests/asin-inputs: Likewise.
12599
12600 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12601
12602         [BZ #16375]
12603         * manual/arith.texi: Fix spelling.
12604         * manual/charset.texi: Likewise.
12605         * manual/errno.texi: Likewise.
12606         * manual/filesys.texi: Likewise.
12607         * manual/lang.texi: Likewise.
12608         * manual/llio.texi: Likewise.
12609         * manual/locale.texi: Likewise.
12610         * manual/message.texi: Likewise.
12611         * manual/resource.texi: Likewise.
12612         * manual/search.texi: Likewise.
12613         * manual/setjmp.texi: Likewise.
12614         * manual/stdio.texi: Likewise.
12615         * manual/string.texi: Likewise.
12616         * manual/sysinfo.texi: Likewise.
12617         * manual/time.texi: Likewise.
12618
12619 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12620
12621         * po/sl.po: New file.
12622
12623 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12624
12625         * .gitignore: Add core/.gdbinit/.gdb_history.
12626
12627 2013-12-27  Allan McRae  <allan@archlinux.org>
12628
12629         [BZ #16369]
12630         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12631         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12632
12633 2013-12-24  Brooks Moses  <bmoses@google.com>
12634
12635         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12636         all compilers that claim C++98 compliance, not just GCC.
12637         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12638         Likewise.
12639
12640 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12641
12642         * NEWS: Restore accidentally deleted bug-fix entries.
12643
12644 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12645             Ondřej Bílka  <neleai@seznam.cz>
12646
12647         [BZ #15073]
12648         * malloc/malloc.c (_int_free): Perform sanity check only if we
12649         have_lock.
12650
12651 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12652
12653         [BZ #12986]
12654         * manual/stdio.texi (String Input Conversions): Clarify that character
12655         classes are not supported.
12656
12657 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12658
12659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12660
12661 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12662
12663         [BZ #16337]
12664         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12665         Calculate results for small negative arguments directly rather
12666         than using reflection formula with special underflow handling.
12667
12668         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12669         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12670         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12671         (fchflags): Likewise.
12672         (revoke): Likewise.
12673         (setlogin): Likewise.
12674         (sigaltstack): Likewise.
12675         (wait4): Likewise.
12676         (sigblock): Remove.
12677         (sigsetmask): Likewise.
12678         (wait3): Likewise.
12679         (waitpid): Likewise.
12680         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12681         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12682         file.
12683         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12684         * sysdeps/unix/bsd/Makefile: ... here.
12685         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12686         * sysdeps/unix/bsd/Versions: ... here.
12687         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12688         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12689         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12690         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12691         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12692         * sysdeps/unix/bsd/sigblock.c: ... here.
12693         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12694         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12695         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12696         * sysdeps/unix/bsd/sigvec.c: ... here.
12697         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12698         * sysdeps/unix/bsd/tcdrain.c: ... here.
12699         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12700         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12701         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12702         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12703         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12704         * sysdeps/unix/bsd/wait.c: ... here.
12705         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12706         * sysdeps/unix/bsd/wait3.c: ... here.
12707         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12708         * sysdeps/unix/bsd/waitpid.c: ... here.
12709
12710 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12711
12712         [BZ #16356]
12713         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12714         round-to-nearest for [!USE_AS_EXPM1L].
12715         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12716         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12717         more tests of exp and exp10.  Expect some exp10 tests to miss
12718         exceptions or fail in directed rounding modes.
12719         * math/auto-libm-test-out: Regenerated.
12720         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12721         (exp10_test_tonearest): New function.
12722         (exp10_towardzero_test_data): New array.
12723         (exp10_test_towardzero): New function.
12724         (exp10_downward_test_data): New array.
12725         (exp10_test_downward): New function.
12726         (exp10_upward_test_data): New array.
12727         (exp10_test_upward): New function.
12728         (main): Call the new functions.
12729         * sysdeps/i386/fpu/libm-test-ulps: Update.
12730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12731
12732 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12733
12734         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12735         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12736         * math/auto-libm-test-out: Regenerated.
12737         * math/libm-test.inc (acosh_test_data): Add more tests.
12738         (atanh_test_data): Likewise.
12739         (ceil_test_data): Likewise.
12740         (copysign_test_data): Likewise.
12741         * sysdeps/i386/fpu/libm-test-ulps: Update.
12742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12743
12744         * timezone/checktab.awk: Update from tzcode 2013i.
12745         * timezone/private.h: Likewise.
12746         * timezone/scheck.c: Likewise.
12747         * timezone/tzfile.h: Likewise.
12748         * timezone/tzselect.ksh: Likewise.
12749         * timezone/zdump.c: Likewise.
12750         * timezone/zic.c: Likewise.
12751
12752         * math/auto-libm-test-in: Add tests of cpow.
12753         * math/auto-libm-test-out: Regenerated.
12754         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12755         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12756         mpc_cc_c.
12757         (func_calc_desc): Add mpc_cc_c union field.
12758         (test_functions): Add cpow.
12759         (special_fill_2pi): New function.
12760         (special_real_inputs): Add 2pi.
12761         (calc_generic_results): Handle mpc_cc_c.
12762         * sysdeps/i386/fpu/libm-test-ulps: Update.
12763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12764
12765         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12766         csqrt, ctan and ctanh.
12767         * math/auto-libm-test-out: Regenerated.
12768         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12769         (TEST_COND_x86): Likewise.
12770         (ccos_test_data): Use AUTO_TESTS_c_c.
12771         (ccosh_test_data): Likewise.
12772         (cexp_test_data): Likewise.
12773         (clog_test_data): Likewise.
12774         (csqrt_test_data): Likewise.
12775         (ctan_test_data): Likewise.
12776         (ctan_tonearest_test_data): Likewise.
12777         (ctan_towardzero_test_data): Likewise.
12778         (ctan_downward_test_data): Likewise.
12779         (ctan_upward_test_data): Likewise.
12780         (ctanh_test_data): Likewise.
12781         (ctanh_tonearest_test_data): Likewise.
12782         (ctanh_towardzero_test_data): Likewise.
12783         (ctanh_downward_test_data): Likewise.
12784         (ctanh_upward_test_data): Likewise.
12785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12786         mpc_c_c.
12787         (func_calc_desc): Add mpc_c_c union field.
12788         (FUNC_mpc_c_c): New macro.
12789         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12790         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12791         ctanh.
12792         (special_fill_min_subnorm_p120): New function.
12793         (special_real_inputs): Add min_subnorm_p120.
12794         (calc_generic_results): Handle mpc_c_c.
12795         * sysdeps/i386/fpu/libm-test-ulps: Update.
12796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797
12798 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12799
12800         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12801         (do_sin_slow): New functions.
12802         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12803         (cslow2, csloww1, csloww2): Use the new functions.
12804
12805         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12806         Use M to change sign of result instead of X.  Assume X is
12807         positive.
12808         (csloww1): Likewise.
12809         (__sin): Adjust.
12810         (__cos): Adjust.
12811
12812         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12813         arguments A and DA.
12814         (__sin): Adjust.
12815         (__cos): Likewise.
12816
12817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12818         (__cos): Likewise.
12819         (sloww1): Don't adjust sign of DX.
12820         (csloww1): Likewise.
12821         (sloww2): Use X directly and don't adjust sign of DX.
12822         (csloww2): Likewise.
12823
12824 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12825
12826         * math/auto-libm-test-in: Add tests of cabs and carg.
12827         * math/auto-libm-test-out: Regenerated.
12828         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12829         (carg_test_data): Likewise.
12830         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12831         mpc_c_f.
12832         (func_calc_desc): Add mpc_c_f union field.
12833         (test_functions): Add cabs and carg.
12834         (calc_generic_results): Handle mpc_c_f.
12835
12836         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12837         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12838         as a macro and a compat symbol.
12839         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12840         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12841         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12842         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12843         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12845         not use .hidden.
12846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12847         Likewise.
12848         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12849         Likewise.
12850         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12851         Likewise.
12852         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12853         Likewise.
12854         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12855         Likewise.
12856         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12857         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12858         from GLIBC_2.3.2.
12859
12860 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12861
12862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12863
12864 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12865
12866         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12867         trailing whitespace removed.
12868         * scripts/config.guess: Update to version 2013-11-29.
12869         * scripts/config.sub: Update to version 2013-10-01.
12870
12871         * math/auto-libm-test-in: Add tests of sincos.
12872         * math/auto-libm-test-out: Regenerated.
12873         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12875         mpfr_f_11.
12876         (func_calc_desc): Add mpfr_f_11 union field.
12877         (test_functions): Add sincos.
12878         (calc_generic_results): Handle mpfr_f_11.
12879         * sysdeps/i386/fpu/libm-test-ulps: Update.
12880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12881
12882 2013-12-19  Andreas Schwab  <schwab@suse.de>
12883
12884         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12885         CALL_MCOUNT.
12886         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12887         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12888         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12889
12890 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12891
12892         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12893         * sysdeps/i386/fpu/libm-test-ulps: Update.
12894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12895
12896         [BZ #16293]
12897         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12898         round-to-nearest mode when using frndint.
12899         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12900         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12901         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12902         Likewise.
12903         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12904         sinh test to fail.
12905         * math/auto-libm-test-out: Regenerated.
12906         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12907         (TEST_COND_x86): Likewise.
12908         (expm1_tonearest_test_data): New array.
12909         (expm1_test_tonearest): New function.
12910         (expm1_towardzero_test_data): New array.
12911         (expm1_test_towardzero): New function.
12912         (expm1_downward_test_data): New array.
12913         (expm1_test_downward): New function.
12914         (expm1_upward_test_data): New array.
12915         (expm1_test_upward): New function.
12916         (main): Run the new test functions.
12917         * sysdeps/i386/fpu/libm-test-ulps: Update.
12918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12919
12920         * include/features.h: Update comment documenting feature test
12921         macros.  Mention _DEFAULT_SOURCE in comment.
12922         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12923         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12924         _BSD_SOURCE and _SVID_SOURCE.
12925         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12926         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12927         !_SVID_SOURCE]: Likewise.
12928         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12929         (__USE_POSIX_IMPLICITLY): Define.
12930         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12931         (_POSIX_SOURCE): Undefine and redefine.
12932         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12933         (_POSIX_C_SOURCE): Likewise.
12934         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12935         (Feature Test Macros): Update documentation of default features.
12936
12937 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12938
12939         * benchtests/Makefile: Add bench-strtok.
12940         * benchtests/bench-strtok.c: New file: strtok benchtest.
12941
12942 2013-12-19  Allan McRae  <allan@archlinux.org>
12943
12944         * manual/install.texi: Suppress menu for plain text output.
12945         * INSTALL: Regenerated.
12946
12947 2013-12-18  Brooks Moses  <bmoses@google.com>
12948
12949         [BZ #15846]
12950         * misc/getauxval.c: Include errno.h.
12951         (__getauxval): Set errno to ENOENT if the requested type is not
12952         found.
12953         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12954         don't declare with __attribute_const__.
12955         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12956         * manual/startup.texi: Document that getauxval sets errno.
12957
12958 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12959
12960         * math/auto-libm-test-in: Add tests of jn and yn.
12961         * math/auto-libm-test-out: Regenerated.
12962         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12963         (yn_test_data): Likewise.
12964         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12965         mpfr_if_f.
12966         (func_calc_desc): Add mpfr_if_f union field.
12967         (FUNC_mpfr_if_f): New macro.
12968         (test_functions): Add jn and yn.
12969         (calc_generic_results): Assert type of second input for
12970         mpfr_ff_f.  Handle mpfr_if_f.
12971         (output_for_one_input_case): Disable all checking for arguments
12972         fitting floating-point types in case of an integer argument.
12973         * sysdeps/i386/fpu/libm-test-ulps: Update.
12974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975
12976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12977         Don't expect fegetround reference in libm.so.
12978
12979 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12980
12981         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12982         $(config-cflags-nofma).
12983
12984 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12985
12986         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12987         * math/auto-libm-test-out: Regenerated.
12988
12989         [BZ #16338]
12990         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12991         to determine exponent and adjust argument to have exponent of -1.
12992         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12993         log2.
12994         * math/auto-libm-test-out: Regenerated.
12995         * sysdeps/i386/fpu/libm-test-ulps: Update.
12996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997
12998 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12999
13000         * manual/probes.texi: Remove cases when per-thread arenas are
13001         disabled.
13002
13003 2013-12-18  Andreas Schwab  <schwab@suse.de>
13004
13005         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13006         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13007         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13008         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13009         * sysdeps/i386/i686/multiarch/Makefile: Update.
13010         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13011
13012 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13013
13014         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13015         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13016
13017 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13018
13019         [BZ #15968]
13020         Support TZ transition times < 00:00:00.
13021         This is needed for version-3 tz-format files; it supports time
13022         stamps past 2037 for America/Godthab (the only entry in the tz
13023         database for which this change is relevant).
13024         * manual/time.texi (TZ Variable): Document transition times
13025         from -167:59:59 through -00:00:01.
13026         * time/tzset.c (tz_rule): Time of day is now signed.
13027         (__tzset_parse_tz): Parse negative time of day.
13028
13029         Document TZ transition times >= 25:00:00.
13030         * manual/time.texi (TZ Variable): Document transition times from
13031         25:00:00 through 167:59:59.  These are already supported, and this
13032         support will help with version-3 tz-format files.
13033
13034         * manual/time.texi (TZ Variable): Modernize North America example
13035         to reflect current (i.e., 2007-and-later) daylight saving rules.
13036
13037         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13038
13039 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13040
13041         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13042         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13044         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13045         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13046         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13047         * sysdeps/unix/bsd/clock.c: Likewise.
13048         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13049         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13050         * sysdeps/unix/bsd/init-posix.c: Likewise.
13051         * sysdeps/unix/bsd/poll.c: Likewise.
13052         * sysdeps/unix/bsd/ptsname.c: Likewise.
13053         * sysdeps/unix/bsd/seekdir.c: Likewise.
13054         * sysdeps/unix/bsd/setegid.c: Likewise.
13055         * sysdeps/unix/bsd/seteuid.c: Likewise.
13056         * sysdeps/unix/bsd/setgid.c: Likewise.
13057         * sysdeps/unix/bsd/setrgid.c: Likewise.
13058         * sysdeps/unix/bsd/setruid.c: Likewise.
13059         * sysdeps/unix/bsd/setsid.c: Likewise.
13060         * sysdeps/unix/bsd/setuid.c: Likewise.
13061         * sysdeps/unix/bsd/sigaction.c: Likewise.
13062         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13063         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13064         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13065         * sysdeps/unix/bsd/telldir.c: Likewise.
13066         * sysdeps/unix/bsd/times.c: Likewise.
13067         * sysdeps/unix/bsd/usleep.c: Likewise.
13068
13069         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13070         ($(objpfx)libbsd-compat.a): Remove rule.
13071
13072         * include/features.h (__FAVOR_BSD): Do not define.
13073         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13074         features conflicting with POSIX.
13075         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13076         (_BSD_SOURCE): Remove description of not being a subset of other
13077         feature test macros.
13078         * manual/job.texi (getpgrp): Do not document BSD version.
13079         (getpgid): Do not document by reference to BSD getpgrp.
13080         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13081         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13082         * signal/signal.h [__FAVOR_BSD]: Likewise.
13083         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13084         instead of making contents conditional on [__FAVOR_BSD].
13085         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13086
13087 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13088
13089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13090
13091 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13092
13093         [BZ #16314]
13094         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13095         values below 2**-450, not 2**-500.
13096         * math/auto-libm-test-in: Don't allow spurious underflow from
13097         hypot.
13098         * math/auto-libm-test-out: Regenerated.
13099
13100         [BZ #16316]
13101         [BZ #16330]
13102         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13103         values of ha and hb and sort them after adjusting subnormal
13104         arguments.
13105         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13106         Likewise.
13107         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13108         values of ea and eb and sort them after adjusting subnormal
13109         arguments.
13110         * math/auto-libm-test-in: Do not expect some hypot tests of
13111         subnormals to fail.  Add more hypot tests.
13112         * math/auto-libm-test-out: Regenerated.
13113
13114 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13115
13116         [BZ #13304]
13117         * sysdeps/sh/s_fma.c: New file.
13118         * sysdeps/sh/s_fmaf.c: New file.
13119         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13120         version.
13121         * sysdeps/sh/Implies: Add sh/soft-fp.
13122
13123 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13124
13125         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13126         level of indirection to members `objname', `errstring', `malloced'.
13127         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13128         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13129         it as the __longjmp argument (just pass 1 instead).
13130         (_dl_catch_error): Initialize C with argument pointers and address of
13131         volatile local ERRCODE rather than copying values out of C at return.
13132
13133 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13134
13135         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13136         * math/auto-libm-test-out: Regenerated.
13137         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13138         (hypot_test_data): Likewise.
13139         (pow_test_data): Likewise.
13140         (pow_tonearest_test_data): Likewise.
13141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13142         mpfr_ff_f.
13143         (func_calc_desc): Add mpfr_ff_f union field.
13144         (FUNC_mpfr_ff_f): New macro.
13145         (test_functions): Add atan2, hypot and pow.
13146         (special_fill_min): New function.
13147         (special_fill_minus_min): Likewise.
13148         (special_fill_min_subnorm): Likewise.
13149         (special_fill_minus_min_subnorm): Likewise.
13150         (special_real_inputs): Add min, -min, min_subnorm and
13151         -min_subnorm.
13152         (calc_generic_results): Handle mpfr_ff_f.
13153         * sysdeps/i386/fpu/libm-test-ulps: Update.
13154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13155
13156 2013-12-16  Will Newton  <will.newton@linaro.org>
13157
13158         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13159         (Aligned Memory Blocks): Add documentation for aligned_alloc
13160         and suggest it as an alternative to posix_memalign.
13161         (Hooks for Malloc): Document __memalign_hook is also called
13162         for aligned_alloc.  (Summary of Malloc): Add summary for
13163         aligned alloc.  Document __memalign_hook is also called
13164         for aligned_alloc.
13165
13166 2013-12-16  Will Newton  <will.newton@linaro.org>
13167
13168         * manual/memory.texi (Malloc Examples): Clarify default
13169         alignment documentation.  Suggest posix_memalign rather
13170         than memalign or valloc.
13171         (Aligned Memory Blocks): Remove suggestion to use memalign
13172         or valloc.  Remove obsolete comment about BSD.
13173         Document memalign errno values and mark the function obsolete.
13174         Document posix_memalign returned error codes.  Mark valloc
13175         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13176         called for posix_memalign and valloc.
13177         (Summary of Malloc): Add posix_memalign to function summary.
13178         __memalign_hook is also called for posix_memalign and valloc.
13179
13180 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13181
13182         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13183         TAYLOR_SIN.
13184         (__sin): Adjust.
13185         (__cos): Likewise.
13186         (sloww): Use mynumber union.  Expand ternary operator into
13187         if-else statements.
13188         (cslow): use mynumber union.
13189
13190 2013-12-16  Allan McRae  <allan@archlinux.org>
13191
13192         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13193         * configure: Regenerated.
13194
13195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13196
13197         [BZ #14120]
13198         * configure.ac: Added --enable-maintainer-mode. Check for
13199         autoconf when enabled.
13200         * configure: Regenerated.
13201
13202         * nscd/nscd.service: New file.
13203         * nscd/nscd.tmpfiles: New file.
13204
13205 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13206
13207         [BZ #12100]
13208         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13209         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13210         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13211         (strstr): Add __strstr_sse2_unaligned ifunc.
13212         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13213         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13214         (strcasestr): Remove __strcasestr_sse42 ifunc.
13215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13218
13219 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13220
13221         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13222         * sysdeps/sh/bits/fenv.h: ... here.
13223         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13224
13225 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13226
13227         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13228
13229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13230         hypotf multiarch implementations.
13231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13234         multiarch hypot for PPC64.
13235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13238         multiarch hypotf for PPC64.
13239
13240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13241         modff multiarch implementations.
13242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13245         multiarch modf for PPC64.
13246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13249         multiarch modff for PPC64.
13250
13251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13252         and logl multiarch implementations.
13253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13256         multiarch logb for PPC64.
13257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13260         multiarch logb for PPC64.
13261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13264         multiarch logb for PPC64.
13265
13266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13267         isinff multiarch implementation.
13268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13269         file.
13270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13272         multiarch isinf for PPC64.
13273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13274         file.
13275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13276         multiarch isinff for PPC64.
13277
13278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13279         finitef multiarch implementation.
13280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13281         file.
13282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13284         multiarch finite for PPC64.
13285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13286         file.
13287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13288         multiarch finitef for PPC64.
13289
13290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13291         lrint multiarch implementation.
13292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13293         file.
13294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13296         multiarch llrint for PPC64.
13297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13298         multiarch lrint for PPC64.
13299
13300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13301         copysignf multiarch implementation.
13302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13303         file.
13304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13305         file.
13306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13307         multiarch copysign for PPC64.
13308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13309         multiarch copysignf for PPC64.
13310
13311         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13312         multiarch implementation.
13313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13314         file.
13315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13316         file.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13318         file.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13320         file.
13321         multiarch llround for PPC64.
13322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13323         multiarch trunc for PPC64.
13324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13325         multiarch truncf for PPC64.
13326
13327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13328         multiarch implementation.
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13330         file.
13331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13332         file.
13333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13334         file.
13335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13336         file.
13337         multiarch llround for PPC64.
13338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13339         multiarch round for PPC64.
13340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13341         multiarch roundf for PPC64.
13342
13343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13344         multiarch implementation.
13345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13346         file.
13347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13348         file.
13349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13350         file.
13351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13352         file.
13353         multiarch llround for PPC64.
13354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13355         multiarch floor for PPC64.
13356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13357         multiarch floorf for PPC64.
13358
13359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13360         multiarch implementation.
13361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13362         file.
13363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13364         file.
13365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13366         file.
13367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13368         file.
13369         multiarch llround for PPC64.
13370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13371         multiarch ceil for PPC64.
13372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13373         multiarch ceilf for PPC64.
13374
13375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13376         multiarch implementation.
13377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13378         file.
13379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13380         file.
13381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13382         file.
13383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13384         multiarch llround for PPC64.
13385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13386         multiarch lround for PPC64.
13387
13388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13389         multiarch implementation.
13390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13393         file.
13394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13397         multiarch isnan for PPC64.
13398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13399         multiarch isnanf for PPC64.
13400
13401         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13402         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13403         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13404         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13405         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13407
13408         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13409         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13411         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13412
13413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13414         multiarch implementations.
13415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13416         (__libc_ifunc_impl_list): Likewise.
13417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13420         multiarch stpcpy for PPC64.
13421
13422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13423         multiarch implementations.
13424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13425         (__libc_ifunc_impl_list): Likewise.
13426         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13427         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13428         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13429         multiarch strcpy for PPC64.
13430
13431         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13432         redefine function name.
13433         (_wordcopy_fwd_dest_aligned): Likewise.
13434         (_wordcopy_bwd_aligned): Likewise.
13435         (_wordcopy_bwd_dest_aligned): Likewise.
13436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13437         multiarch implementations.
13438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13439         (__libc_ifunc_impl_list): Likewise.
13440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13443         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13444         multiarch wcscpy for PPC64.
13445
13446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13447         multiarch implementations.
13448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13449         (__libc_ifunc_impl_list): Likewise.
13450         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13454         multiarch wcscpy for PPC64.
13455
13456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13457         multiarch implementations.
13458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13459         (__libc_ifunc_impl_list): Likewise.
13460         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13463         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13464         multiarch wcsrchr for PPC64.
13465
13466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13467         multiarch implementations.
13468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13469         (__libc_ifunc_impl_list): Likewise.
13470         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13471         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13472         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13473         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13474         multiarch wcschr for PPC64.
13475
13476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13477         multiarch implementations.
13478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13479         (__libc_ifunc_impl_list): Likewise.
13480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13482         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13483         multiarch strchrnul for PPC64.
13484
13485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13486         implementations.
13487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13488         (__libc_ifunc_impl_list): Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13490         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13491         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13492         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13493         strchr for PPC64.
13494
13495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13496         implementations.
13497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13498         (__libc_ifunc_impl_list): Likewise.
13499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13501         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13502         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13503         strncmp for PPC64.
13504
13505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13506         multiarch implementations.
13507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13508         (__libc_ifunc_impl_list): Likewise.
13509         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13510         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13511         strncasecmp for PPC64.
13512         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13513         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13514         multiarch strncasecmp_l for PPC64.
13515
13516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13517         multiarch implementations.
13518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13519         (__libc_ifunc_impl_list): Likewise.
13520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13522         multiarch strcasecmp for PPC64.
13523         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13524         file.
13525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13526         multiarch strcasecmp_l for PPC64.
13527
13528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13529         implementations.
13530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13531         (__libc_ifunc_impl_list): Likewise.
13532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13533         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13534         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13535         strnlen for PPC64.
13536
13537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13538         implementations.
13539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13540         (__libc_ifunc_impl_list): Likewise.
13541         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13542         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13543         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13544         strlen for PPC64.
13545
13546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13547         implementations.
13548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13549         (__libc_ifunc_impl_list): Likewise.
13550         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13551         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13552         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13553         rawmemrchr for PPC64.
13554
13555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13556         implementation.
13557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13558         (__libc_ifunc_impl_list): Likewise.
13559         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13560         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13561         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13562         memrchr for PPC64.
13563
13564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13565         implementation.
13566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13567         (__libc_ifunc_impl_list): Likewise.
13568         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13569         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13570         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13571         memchr for PPC64.
13572
13573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13574         implementation.
13575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13576         (__libc_ifunc_impl_list): Likewise.
13577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13579         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13580         mempcpy for PPC64.
13581
13582         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13583         avoid cretion of __bzero symbol.
13584         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13585         Likewise.
13586         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13587         Likewise.
13588         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13589         Likewise.
13590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13591         multiarch implementations.
13592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13593         (__libc_ifunc_impl_list): Likewise.
13594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13597         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13598         bzero for PPC32.
13599         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13600         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13601         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13602         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13603         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13604         memset for PPC64.
13605         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13606
13607         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13609         implementations.
13610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13611         (__libc_ifunc_impl_list): Likewise.
13612         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13614         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13615         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13616         memcmp for PPC64.
13617
13618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13619         multiarch for POWER/PPC64.
13620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13621         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13628         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13629         memcpy for PPC64.
13630
13631         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13632         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13633         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13634         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13635         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13636         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13637         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13638         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13639         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13640         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13641         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13642         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13643         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13644         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13645         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13653
13654 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13655
13656         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13657
13658 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13659
13660         * benchtests/Makefile (bench): Add exp2 and log2.
13661         (LDLIBS-bench-exp2): Add -lm.
13662         (LDLIBS-bench-log2): Likewise.
13663         * benchtests/exp2-inputs: New inputs file.
13664         * benchtests/log2-inputs: New inputs file.
13665         * benchtests/log-inputs: Add new inputs.
13666         * benchtests/tan-inputs: Likewise.
13667
13668 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13669
13670         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13671         definition...
13672         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13673         (csloww2): ... from here.
13674
13675         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13676         instead of structures.
13677         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13678         (POLYNOMIAL): Likewise.
13679         (TAYLOR_SLOW): Likewise.
13680         (__sin): Likewise.
13681         (__cos): Likewise.
13682         (slow1): Likewise.
13683         (slow2): Likewise.
13684         (sloww): Likewise.
13685         (sloww1); Likewise.
13686         (sloww2): Likewise.
13687         (bsloww1): Likewise.
13688         (bsloww2): Likewise.
13689         (cslow2): Likewise.
13690         (csloww): Likewise.
13691         (csloww1): Likewise.
13692         (csloww2): Likewise.
13693
13694 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13695
13696         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13697         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13698         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13699         * malloc/hooks.c (realloc_check): Likewise.
13700
13701         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13702         * malloc/arena.c: Remove PER_THREAD conditional.
13703         [!PER_THREAD]: Remove code.
13704         (ptmalloc_unlock_all2): Likewise.
13705         (ptmalloc_init): Likewise.
13706         (_int_new_arena): Likewise.
13707         (arena_get2): Likewise.
13708         * malloc/hooks.c (__malloc_get_state): Likewise.
13709         (__malloc_set_state): Likewise.
13710         * malloc/malloc.c: Likewise.
13711         (struct malloc_state): Likewise.
13712         (struct malloc_par): Likewise.
13713         (__libc_realloc): Likewise.
13714         (__libc_mallopt): Likewise.
13715
13716 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13717
13718         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13719
13720 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13721
13722         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13723         macro to a function.  Check for zero perturb_byte.
13724         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13725
13726         * malloc/malloc.c: (force_reg): Remove.
13727         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13728         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13729         force_reg by atomic_forced_read.
13730         * malloc/arena.c (ptmalloc_init): Likewise.
13731         * malloc/hooks.c (top_check): Likewise.
13732
13733 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13734
13735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13736
13737 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13738
13739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13740
13741 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13742
13743         * math/auto-libm-test-in: Add tests of lgamma.
13744         * math/auto-libm-test-out: Regenerated.
13745         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13746         (M_LOG_2_SQRT_PIl): Likewise.
13747         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13749         mpfr_f_f1.
13750         (func_calc_desc): Add mpfr_f_f1 union field.
13751         (ARGS1): New macro.
13752         (ARGS2): Likewise.
13753         (ARGS3): Likewise.
13754         (ARGS4): Likewise.
13755         (RET1): Likewise.
13756         (RET2): Likewise.
13757         (CALC): Likewise.
13758         (FUNC): Likewise.
13759         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13760         (test_functions): Add lgamma.
13761         (calc_generic_results): Handle mpfr_f_f1.
13762         * sysdeps/i386/fpu/libm-test-ulps: Update.
13763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13764
13765 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13766
13767         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13768         __mpn_add_n for PowerPC64/POWER7.
13769         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13770         __mpn_sub_n for PowerPC64/POWER7.
13771
13772         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13773         __mpn_addmul_1 for PowerPC64.
13774         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13775         __mpn_submul_1 for PowerPC64.
13776         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13777         for PowerPC64.
13778         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13779         for PowerPC64.
13780
13781 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13782
13783         [BZ #15089]
13784         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13785
13786 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13787
13788         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13789
13790         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13791         add multiarch folders.
13792         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13793         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13794         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13795         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13796         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13797         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13798         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13799         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13800         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13801         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13802         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13809
13810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13811         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13813         New file.
13814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13815         New file.
13816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13817         multiarch __ieee754_hypot for PowerPC32.
13818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13819         New file.
13820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13821         New file.
13822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13823         multiarch __ieee754_hypotf for PowerPC32.
13824
13825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13826         long_double_symbol only if __logbl is defined.
13827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13828         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13830         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13831         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13832         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13833         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13834         path for implementation.
13835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13836         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13838         logb, and logbl multiarch implementations for PowerPC32.
13839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13840         file.
13841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13842         file.
13843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13844         multiarch logb for PowerPC32.
13845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13848         file.
13849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13850         multiarch logbf for PowerPC32.
13851         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13853         file.
13854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13855         multiarch logbl implementation for PowerPC32.
13856
13857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13858         and modff multiarch implementations.
13859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13860         New file.
13861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13862         New file.
13863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13864         multiarch modf for PowerPC32.
13865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13866         New file.
13867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13868         New file.
13869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13870         multiarch modff for PowerPC32.
13871
13872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13873         and lrintf multiarch implementations.
13874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13875         New file.
13876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13877         New file.
13878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13879         multiarch lrint for PowerPC32.
13880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13881         file: multiarch lrintf for PowerPC32.
13882
13883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13884         and lroundf multiarch implementations.
13885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13886         New file.
13887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13888         New file.
13889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13890         New file.
13891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13892         multiarch lround for PowerPC32.
13893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13894         file: multiarch lroundf for PowerPC32.
13895
13896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13897         copysign and copysignf multiarch implementations.
13898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13899         New file.
13900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13901         New file.
13902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13903         file: multiarch copysign for PowerPC32.
13904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13905         file: multiarch copysignf for PowerPC32.
13906
13907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13908         and truncf multiarch implementations.
13909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13910         New file.
13911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13912         file.
13913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13914         multiarch trunc for PowerPC32.
13915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13916         New file.
13917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13918         New file.
13919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13920         multiarch truncf for PowerPC32.
13921
13922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13923         and roundf multiarch implementations.
13924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13925         New file.
13926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13927         file.
13928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13929         multiarch round for PowerPC32.
13930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13931         New file.
13932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13933         New file.
13934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13935         multiarch roundf for PowerPC32.
13936
13937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13938         and floorf multiarch implementations.
13939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13940         New file.
13941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13942         file.
13943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13944         multiarch floor for PowerPC32.
13945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13946         New file.
13947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13948         New file.
13949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13950         multiarch floorf for PowerPC32.
13951
13952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13953         and ceilf multiarch implementations.
13954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13955         New file.
13956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13957         file.
13958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13959         multiarch ceil for PowerPC32.
13960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13961         New file.
13962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13963         file.
13964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13965         multiarch ceilf for PowerPC32.
13966
13967         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13968         is defined.
13969         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13970         FINITEF is defined.
13971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13972         and finitef multiarch implementations.
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13974         New file.
13975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13976         file.
13977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13978         multiarch finite for PowerPC32.
13979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13980         New file.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13982         file: multiarch finitef for PowerPC32.
13983
13984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13985         and isinff multiarch implementations.
13986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13987         file.
13988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13989         file.
13990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13991         multiarch isinf for PowerPC32.
13992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13993         New file.
13994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13995         multiarch isinff for PowerPC32.
13996
13997         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13998         alias when __isnan is defined.
13999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14000         and isnanf multiarch implementations.
14001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14002         file.
14003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14004         file.
14005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14006         file.
14007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14008         file.
14009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14010         multiarch isnan for PowerPC32.
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14012         New file.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14014         New file.
14015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14016         multiarch isnanf for PowerPC32.
14017
14018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14019         and sqrtf multiarch implementations.
14020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14021         file.
14022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14023         file.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14025         multiarch sqrt for PowerPC32.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14027         file.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14029         file.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14031         multiarch sqrtf for PowerPC32.
14032
14033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14034         and llroundf multiarch implementations.
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14036         New file.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14038         New file.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14040         New file.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14042         file: multiarch llround for PowerPC32.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14044         file: multiarch llroundf for PowerPC32.
14045
14046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14047         multiarch PowerPC32 fpu implementations.
14048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14049         New file.
14050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14051         New file.
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14053         multiarch llrint for PowerPC32.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14055         New file.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14057         New file.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14059         file.
14060
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14062
14063         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14064         file.
14065         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14066         file.
14067         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14068         file.
14069         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14070         multiarch wordcopy for PPC32.
14071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14072         wordcopy objects.
14073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14074         (__libc_ifunc_impl_list): Likewise.
14075         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14076         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14077         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14078         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14079         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14080         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14081
14082         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14084         file.
14085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14086         file.
14087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14088         file.
14089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14090         multiarch wcscpy for PPC32.
14091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14092         multiarch objects.
14093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14094         (__libc_ifunc_impl_list): Likewise.
14095         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14096         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14097         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14098         sysdeps/powerpc/power6/wcscpy.c.
14099
14100         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14102         file.
14103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14104         file.
14105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14106         file.
14107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14108         multiarch wcsrchr for PPC32.
14109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14110         multiarch objects.
14111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14112         (__libc_ifunc_impl_list): Likewise.
14113         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14114         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14115         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14116         sysdeps/powerpc/power6/wcsrchr.c.
14117
14118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14119         file.
14120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14121         file.
14122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14124         multiarch wcschr for PPc32.
14125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14126         multiarch objects.
14127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14128         (__libc_ifunc_impl_list): Likewise.
14129         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14130         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14131         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14132         sysdeps/powerpc/power6/wcschr.c.
14133
14134         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14136         file.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14138         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14139         file: multiarch strchr for PPC32.
14140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14141         multiarch objects.
14142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14143         (__libc_ifunc_impl_list): Likewise.
14144
14145         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14146         name.
14147         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14148         file.
14149         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14150         file.
14151         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14152         multiarch strchrnul for PPC32.
14153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14154         multiarch objects.
14155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14156         (__libc_ifunc_impl_list): Likewise.
14157
14158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14159         file.
14160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14161         multiarch strncasecmp for PPC32.
14162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14163         file.
14164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14165         multiarch strncasecmp_l for PPC32.
14166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14167         strncasecmp multiarch objects.
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14169         (__libc_ifunc_impl_list): Likewise.
14170
14171         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14172         file.
14173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14174         multiarch strncasecmp for PPC32.
14175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14176         New file.
14177         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14178         multiarch strcasecmp_l for PPC32.
14179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14180         multiarch objects.
14181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14182         (__libc_ifunc_impl_list): Likewise.
14183
14184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14185         file.
14186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14187         file.
14188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14189         multiarch strncmp for PPC32.
14190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14191         multiarch objects.
14192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14193         (__libc_ifunc_impl_list): Likewise.
14194
14195         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14196         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14197         file.
14198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14199         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14201         multiarch objects.
14202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14203         (__libc_ifunc_impl_list): Likewise.
14204
14205         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14206         file.
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14208         file.
14209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14211         multiarch objects.
14212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14213         (__libc_ifunc_impl_list): Likewise.
14214
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14216         file.
14217         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14218         file.
14219         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14220         multiarch rawmemchr for PPC32.
14221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14222         multiarch objects.
14223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14224         (__libc_ifunc_impl_list): Likewise.
14225
14226         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14227         file.
14228         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14229         file.
14230         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14231         file: memrchr multiarch for PPC32.
14232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14233         multiarch objects.
14234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14235         (__libc_ifunc_impl_list): Likewise.
14236
14237         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14238         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14239         file.
14240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14242         multiarch memchr for PPC32.
14243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14244         multiarch objects.
14245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14246         (__libc_ifunc_impl_list): Likewise.
14247
14248         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14254         file: multiarch mempcpy for PPC32.
14255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14256         multiarch objects.
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14258         (__libc_ifunc_impl_list): Likewise.
14259
14260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14264         multiarch bzero for PPC32.
14265         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14266         file.
14267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14268         file.
14269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14270         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14271         file: multiarch memset for PPC32.
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14274         memset multiarch objects.
14275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14276         (__libc_ifunc_impl_list): Likewise.
14277
14278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14279         file.
14280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14282         memcmp for PPC32.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14285         multiarch objects.
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14287         (__libc_ifunc_impl_list): Likewise.
14288
14289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14292         file.
14293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14294         file.
14295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14296         file.
14297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14298         multiarch memcpy for PPC32.
14299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14300         multiarch objects.
14301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14302         (__libc_ifunc_impl_list): Likewise.
14303
14304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14305         support multiarch for POWER/PPC32.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14307         Likewise.
14308         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14310         Implies file to make multiarch folder appers before the fpu and
14311         default folder for power4 configuration.
14312
14313 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14314
14315         * scripts/bench.pl: Append volatile keyword to type.
14316
14317 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14318
14319         * sysdeps/sh/sotruss-lib.c: New file.
14320         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14321
14322 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14323
14324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14325
14326 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14327
14328         [BZ #6810]
14329         * math/w_tgamma.c: Include <errno.h>.
14330         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14331         * math/w_tgammaf.c: Include <errno.h>.
14332         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14333         * math/w_tgammal.c: Include <errno.h>.
14334         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14335         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14336         underflow.  Add more tgamma tests.
14337         * math/auto-libm-test-out: Regenerated.
14338         * sysdeps/i386/fpu/libm-test-ulps: Update.
14339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14340
14341         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14342         sin, sinh, tan, tanh, tgamma, y0 and y1.
14343         * math/auto-libm-test-out: Regenerated.
14344         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14345         (TEST_COND_x86): Likewise.
14346         (M_E2l): Remove macro.
14347         (M_E3l): Likewise.
14348         (M_2_SQRT_PIl): Likewise.
14349         (M_SQRT_PIl): Likewise.
14350         (M_1_DIV_El): Likewise.
14351         (log_test_data): Use AUTO_TESTS_f_f.
14352         (log10_test_data): Likewise.
14353         (log1p_test_data): Likewise.
14354         (log2_test_data): Likewise.
14355         (sin_test_data): Likewise.
14356         (sin_tonearest_test_data): Likewise.
14357         (sin_towardzero_test_data): Likewise.
14358         (sin_downward_test_data): Likewise.
14359         (sin_upward_test_data): Likewise.
14360         (sinh_test_data): Likewise.
14361         (sinh_tonearest_test_data): Likewise.
14362         (sinh_towardzero_test_data): Likewise.
14363         (sinh_downward_test_data): Likewise.
14364         (sinh_upward_test_data): Likewise.
14365         (tan_test_data): Likewise.
14366         (tan_tonearest_test_data): Likewise.
14367         (tan_towardzero_test_data): Likewise.
14368         (tan_downward_test_data): Likewise.
14369         (tan_upward_test_data): Likewise.
14370         (tanh_test_data): Likewise.
14371         (tgamma_test_data): Likewise.
14372         (y0_test_data): Likewise.
14373         (y1_test_data): Likewise.
14374         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14375         (special_real_inputs): Add pi/4.
14376         * sysdeps/i386/fpu/libm-test-ulps: Update.
14377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14378
14379 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14380
14381         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14382         "longjmp_target" static probes.
14383         (__longjmp): Rename to __longjmp_symbol.
14384         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14385         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14386         on which longjmp to generate.
14387         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14388         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14389         probe.
14390         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14391         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14392         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14393         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14394         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14395         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14397         __longjmp_symbol based on which __longjmp to generate.
14398         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14399         probe.
14400         (setjmp): Rename to setjmp_symbol.
14401         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14402         (_setjmp): Rename to _setjmp_symbol.
14403         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14404         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14405         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14406         which setjmp to generate.
14407         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14408         "longjmp_target" static probes.
14409
14410 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14411
14412         * benchtests/README: Add note about output arguments.
14413         * benchtests/bench-sincos.c: Remove file.
14414         * benchtests/sincos-inputs: New file.
14415         * scripts/bench.pl: Identify output arguments and define
14416         static variables for them.
14417
14418         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14419
14420         [BZ #15941]
14421         * Makefile (INSTALL): Add install-plain.texi as the primary
14422         dependency.
14423         * manual/install-plain.texi: New file.
14424         * manual/install.texi: Include node directive only for
14425         non-plaintext output.
14426
14427 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14428
14429         * stdlib/longlong.h: Update from GCC.
14430
14431         [BZ #6807]
14432         [BZ #15901]
14433         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14434         * math/w_j0f.c (y0f): Likewise.
14435         * math/w_j0l.c (__y0l): Likewise.
14436         * math/w_j1.c (y1): Likewise.
14437         * math/w_j1f.c (y1f): Likewise.
14438         * math/w_j1l.c (__y1l): Likewise
14439         * math/w_jn.c (yn): Likewise.
14440         * math/w_jnf.c (ynf): Likewise.
14441         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14442         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14443         value for Bessel function domain errors outside _SVID_ mode.
14444         Adjust sign of return value for yn (negative integer, 0).
14445         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14446         by zero in return for negative x and set sign appropriately for
14447         negative n.
14448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14449         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14450         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14451         expectations in error cases.
14452         (y1_test_data): Likewise.
14453         (yn_test_data): Likewise.
14454         * sysdeps/i386/fpu/libm-test-ulps: Update.
14455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14456
14457 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14458
14459         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14460         "64" to "64-v1".  Add "64-v2".
14461         (abi-64-options): Rename to ...
14462         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14463         (abi-64-condition): Rename to ...
14464         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14465         (abi-64-ld-soname): Rename to ...
14466         (abi-64-v1-ld-soname): ... this.
14467         (abi-64-v2-options): Define.
14468         (abi-64-v2-condition): Likewise.
14469         (abi-64-v2-ld-soname): Likewise.
14470         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14471         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14475
14476 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14477             Alan Modra  <amodra@gmail.com>
14478
14479         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14480         New versions for use with the ELFv2 ABI.
14481         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14482         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14483         declaration.
14484         (struct La_ppc64v2_retval): Likewise.
14485         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14486         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14487         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14488         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14489         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14490         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14491         Do not save or restore CR.
14492         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14493         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14494         return values for ELFv2 ABI.  Fix location of FPR return registers.
14495         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14496         updated values for _CALL_ELF == 2.
14497         (La_regs, La_retval, int_retval): Likewise.
14498
14499 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14500
14501         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14502         (FRAME_MIN_SIZE_PARM): Likewise.
14503         (FRAME_BACKCHAIN): Likewise.
14504         (FRAME_CR_SAVE): Likewise.
14505         (FRAME_LR_SAVE): Likewise.
14506         (FRAME_TOC_SAVE): Likewise.
14507         (FRAME_PARM_SAVE): Likewise.
14508         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14509         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14510         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14511         (call_mcount_parm_offset): New macro.
14512         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14513         (PROF): Use symbolic stack frame offsets.
14514         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14515         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14516         Redefine in terms of FRAME_MIN_SIZE.
14517         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14518         (_dl_profile_resolve): Likewise.  Update comment.
14519         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14520         symbols stack frame offsets.
14521         (__sigsetjmp): Likewise.
14522         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14523         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14524         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14525         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14526
14527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14528         (FRAME_BACKCHAIN): Remove.
14529         (FRAME_CR_SAVE): Likewise.
14530         (FRAME_LR_SAVE): Likewise.
14531         (FRAME_COMPILER_DW): Likewise.
14532         (FRAME_LINKER_DW): Likewise.
14533         (FRAME_TOC_SAVE): Likewise.
14534         (FRAME_PARM_SAVE): Likewise.
14535         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14536         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14537         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14539         (CHECK_SP): Use symbolic stack frame offsets.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14541         zone" instead of caller's parameter save area for temp storage.
14542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14543         Likewise.  Also, use symbolic stack frame offsets.
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14545         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14546         our own stack frame instead of the caller's.
14547         (__socket): Use symbolic stack frame offsets.
14548
14549 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14550             Alan Modra  <amodra@gmail.com>
14551
14552         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14553         Define.
14554         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14555         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14556         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14557         New function.
14558         (elf_machine_fixup_plt): Call it.
14559         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14560         reloc arguments.
14561         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14563         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14564         r2 before calling target.
14565
14566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14567             Alan Modra  <amodra@gmail.com>
14568
14569         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14570         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14571         versions of macros to support ELFv2 ABI.
14572         (LOCALENTRY): New macro.
14573         (ENTRY, EALIGN): Use it.
14574         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14575         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14576         fall through into ENTRY entry point.
14577         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14578         Only define if _CALL_ELF != 2.
14579
14580         (elf_machine_matches_host): Verify ABI version matches.
14581         (RTLD_START): Use LOCALENTRY.
14582         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14583         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14584         (PLT_ENTRY_WORDS): New macro.
14585         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14586         (elf_machine_runtime_setup): Support ELFv2 ABI.
14587         (elf_machine_fixup_plt): Likewise.
14588         (elf_machine_plt_conflict): Likewise.
14589         (resolve_ifunc): Likewise.
14590         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14592         Likewise.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14594         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14596         (makecontext): Support ELFv2 ABI.
14597         * elf/elf.h (EF_PPC64_ABI): Define.
14598
14599 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14600
14601         * sysdeps/powerpc/powerpc64/sysdep.h
14602         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14603         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14604         (ENTRY) [ASSEMBLER]: ... but instead here ...
14605         (EALIGN) [ASSEMBLER]: ... and here.
14606         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14607         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14608         (ENTRY_2) [!ASSEMBLER]: Use it.
14609         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14610         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14611         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14612         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14613         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14615         Use PPC64_LOAD_FUNCPTR.
14616
14617         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14618
14619 2013-12-04  Alan Modra  <amodra@gmail.com>
14620
14621         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14622         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14623         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14624         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14625
14626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14627         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14628         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14629         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14630         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14631         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14632
14633 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14634
14635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14636         (__makecontext): Fix incorrect CFI when backtracing out of
14637         context created via makecontext.
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14639         (__setcontext): Fix incorrect CFI during switch to new context.
14640         (__novec_setcontext): Likewise.
14641
14642 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14643
14644         [BZ #4772]
14645         * time/strptime_l.c (__strptime_internal): Allow modifiers
14646         in strptime.
14647         * time/tst-strptime.c (day_tests): Add testcase.
14648
14649 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14650
14651         * scripts/bench.pl: Skip over blank lines.
14652
14653 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14654
14655         [BZ #926]
14656         * manual/time.texi (Calendar Time): Clarify what timezone functions
14657         use.
14658
14659 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14660
14661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14662
14663 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14664
14665         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14666         implementation.
14667         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14668         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14669         * debug/memset_chk.c (__memset_chk): Likewise.
14670         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14671         * debug/strncpy_chk.c: Likewise.
14672
14673 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14674
14675         [BZ #15268]
14676         [BZ #15425]
14677         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14678         (__ieee754_exp): For possibly underflowing results, check size of
14679         result and force underflow exception if required.
14680         * math/auto-libm-test-in: Add more tests of exp.
14681         * math/auto-libm-test-out: Regenerated.
14682         * sysdeps/i386/fpu/libm-test-ulps: Update.
14683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14684
14685         [BZ #16283]
14686         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14687         * math/w_exp2f.c (__exp2f): Likewise.
14688         * math/w_exp2l.c (__exp2l): Likewise.
14689         * math/auto-libm-test-in: Do not allow missing errno on exp2
14690         underflow.
14691         * math/auto-libm-test-out: Regenerated.
14692
14693 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14694
14695         [BZ #16274]
14696         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14697         handle filename validation.
14698         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14699         (do_open): Delete.
14700
14701 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14702
14703         [BZ #6786]
14704         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14705         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14706         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14707         <float.h>.
14708         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14709         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14710         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14712         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14714         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14715         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14716         Add more erfc tests.
14717         * math/auto-libm-test-out: Regenerated.
14718         * sysdeps/i386/fpu/libm-test-ulps: Update.
14719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720
14721         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14722         exp2, expm1, j0 and j1.
14723         * math/auto-libm-test-out: Regenerated.
14724         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14725         (erfc_test_data): Likewise.
14726         (exp_test_data): Likewise.
14727         (exp_tonearest_test_data): Likewise.
14728         (exp_towardzero_test_data): Likewise.
14729         (exp_downward_test_data): Likewise.
14730         (exp_upward_test_data): Likewise.
14731         (exp10_test_data): Likewise.
14732         (exp2_test_data): Likewise.
14733         (expm1_test_data): Likewise.
14734         (j0_test_data): Likewise.
14735         (j1_test_data): Likewise.
14736         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14737         (input_flag_type): Add flag_xfail_rounding.
14738         (input_flags): Add xfail-rounding.
14739         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14740         (output_for_one_input_case): Handle flag_xfail_rounding.
14741         * sysdeps/i386/fpu/libm-test-ulps: Update.
14742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14743
14744 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14745
14746         [BZ #16289]
14747         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14748         division by 0.
14749
14750 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14751
14752         [BZ #16195]
14753         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14754         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14755         (STAP_PROBE0): New macro.
14756         (STAP_PROBE1): Likewise.
14757         (STAP_PROBE2): Likewise.
14758         (STAP_PROBE3): Likewise.
14759         (STAP_PROBE4): Likewise.
14760
14761 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14762
14763         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14764
14765 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14766
14767         * benchtests/Makefile (bench): Add sqrt.
14768         (LDLIBS-bench-sqrt): New.
14769         * benchtests/sqrt-input: New.
14770
14771 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14772
14773         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14774         (GAIH_EAI): Likewise.
14775         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14776         (gaih_inet): Likewise.
14777         (getaddrinfo): Don't use GAIH_EAI.
14778
14779         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14780         (struct gaih): Remove definition.
14781
14782 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14783
14784         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14785         Use HERRNOP directly.
14786
14787 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14788
14789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790
14791 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14792
14793         * math/gen-auto-libm-tests.c (test_functions): Add more
14794         single-argument functions.
14795         (special_fill_pi_2): New function.
14796         (special_fill_minus_pi_2): Likewise.
14797         (special_fill_pi_6): Likewise.
14798         (special_fill_minus_pi_6): Likewise.
14799         (special_fill_pi_3): Likewise.
14800         (special_fill_2pi_3): Likewise.
14801         (special_fill_e): Likewise.
14802         (special_fill_1_e): Likewise.
14803         (special_fill_e_minus_1): Likewise.
14804         (special_real_inputs): Add more special inputs.
14805         (output_for_one_input_case): Do not require ERANGE on underflow to
14806         zero if round-to-nearest result does not underflow to zero, unless
14807         exact results required.
14808         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14809         atan, atanh, cbrt, cos and cosh.
14810         * math/auto-libm-test-out: Regenerated.
14811         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14812         (acos_tonearest_test_data): Likewise.
14813         (acos_towardzero_test_data): Likewise.
14814         (acos_downward_test_data): Likewise.
14815         (acos_upward_test_data): Likewise.
14816         (acosh_test_data): Likewise.
14817         (asin_test_data): Likewise.
14818         (asin_tonearest_test_data): Likewise.
14819         (asin_towardzero_test_data): Likewise.
14820         (asin_upward_test_data): Likewise.
14821         (asinh_test_data): Likewise.
14822         (atan_test_data): Likewise.
14823         (atanh_test_data): Likewise.
14824         (cbrt_test_data): Likewise.
14825         (cos_test_data): Likewise.
14826         (cos_tonearest_test_data): Likewise.
14827         (cos_towardzero_test_data): Likewise.
14828         (cos_downward_test_data): Likewise.
14829         (cos_upward_test_data): Likewise.
14830         (cosh_test_data): Likewise.
14831         (cosh_tonearest_test_data): Likewise.
14832         (cosh_towardzero_test_data): Likewise.
14833         (cosh_downward_test_data): Likewise.
14834         (cosh_upward_test_data): Likewise.
14835         * sysdeps/i386/fpu/libm-test-ulps: Update.
14836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837
14838 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14839
14840         [BZ #6787]
14841         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14842         * math/w_exp10f.c (__exp10f): Likewise.
14843         * math/w_exp10l.c (__exp10l): Likewise.
14844         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14845         errno settings in existing tests.
14846
14847         [BZ #14032]
14848         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14849         precision control set to double precision.
14850         * sysdeps/i386/fpu/w_sqrt.c: New file.
14851         * math/auto-libm-test-in: Add more tests.
14852         * math/auto-libm-test-out: Update.
14853
14854         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14855         (sqrt_test_tonearest): New function.
14856         (sqrt_towardzero_test_data): New variable.
14857         (sqrt_test_towardzero): New function.
14858         (sqrt_downward_test_data): New variable.
14859         (sqrt_test_downward): New function.
14860         (sqrt_upward_test_data): New variable.
14861         (sqrt_test_upward): New function.
14862         (main): Call the new functions.
14863
14864         * math/gen-auto-libm-tests.c: New file.
14865         * math/auto-libm-test-in: Likewise.
14866         * math/auto-libm-test-out: New generated file.
14867         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14868         variables.
14869         (%beautify): Add generated representations of zero.
14870         (top level): Set $auto_input and call parse_auto_input.
14871         (beautify): Remove trailing "f" from hex float constants.
14872         (parse_args): Handle XFAIL_TEST.
14873         (convert_condition): New function.
14874         (or_value): Likewise.
14875         (or_cond_value): Likewise.
14876         (generate_testfile): Handle AUTO_TESTS_* lines.
14877         (parse_auto_input): New function.
14878         * math/libm-test.inc (XFAIL_TEST): New macro.
14879         (ERRNO_UNCHANGED): Update value.
14880         (ERRNO_EDOM): Likewise.
14881         (ERRNO_ERANGE): Likewise.
14882         (IGNORE_RESULT): Likewise.
14883         (TEST_COND_flt_32): New macro.
14884         (TEST_COND_dbl_64): Likewise.
14885         (TEST_COND_ldbl_96_intel): Likewise.
14886         (TEST_COND_ldbl_96_m68k): Likewise.
14887         (TEST_COND_ldbl_128): Likewise.
14888         (TEST_COND_ldbl_128ibm): Likewise.
14889         (TEST_COND_long32): Likewise.
14890         (TEST_COND_long64): Likewise.
14891         (TEST_COND_before_rounding): Likewise.
14892         (TEST_COND_after_rounding): Likewise.
14893         (enable_test): Handle XFAIL_TEST flag.
14894         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14895         with finite results.
14896         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14897         auto-libm-test-out.
14898
14899 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14901
14902         [BZ #16214]
14903         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14904         __tls_get_addr_internal instead of __tls_get_offset in order to
14905         avoid GOT pointer dependency.  Make rtld export
14906         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14907         __tls_get_addr since we are a __tls_get_offset platform.
14908         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14909         GOT pointer being set up before.
14910         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14911
14912 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14913
14914         * manual/math.texi (Errors in Math Functions): Document accuracy
14915         goals.
14916
14917         [BZ #15004]
14918         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14919         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14922         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14924         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14926         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14927         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14934
14935         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14936         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14937         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14938         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14939         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14940         Likewise.
14941         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14942         Likewise.
14943         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14944         Likewise.
14945         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14946         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14947         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14948         atomic-feupdateenv and flt-rounds.
14949         * sysdeps/powerpc/nofpu/Versions (libc): Add
14950         __atomic_feholdexcept, __atomic_feclearexcept,
14951         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14952         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14953         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14954         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14955         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14956         here.
14957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14958         Update.
14959
14960         * manual/arith.texi (FP Exceptions): Document that exceptions may
14961         not be raised when matherr is used.
14962         (Math Error Reporting): Document overflow in directed rounding
14963         modes.  Document that errno may not be set when finite values are
14964         returned on overflow.  Document intent to set errno on underflow
14965         only for underflow to zero.
14966
14967         [BZ #16271]
14968         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14969         round-to-nearest then adjust result for other rounding modes.
14970         * include/fenv.h (fegetround): Use libm_hidden_proto.
14971         * math/fegetround.c (fegetround): Use libm_hidden_def.
14972         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14973         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14974         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14975         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14976         Likewise.
14977         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14978         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14979         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14980         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14981
14982 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14983
14984         [BZ #16077]
14985         * nss/Versions (libnss_files): Add
14986         _nss_files_gethostbyname3_r.
14987         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14988         New function.
14989         (HOST_DB_LOOKUP): Remove macro.
14990         (_nss_files_gethostbyname_r): Implement function without the
14991         HOST_DB_LOOKUP macro.
14992         (_nss_files_gethostbyname2_r): Likewise.
14993
14994 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14995
14996         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14997
14998 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14999
15000         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15001         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15002         warning.
15003
15004 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15005
15006         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15007         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15008         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15009         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15010         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15011         __fe_nomask_env_priv and attribute_hidden.
15012         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15013         (libc_feupdateenv_test_ppc): Likewise.
15014         (libc_feresetround_ppc): Likewise.
15015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15016         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15017         compat_symbol macro.
15018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15019         (__fe_nomask_env): Likewise.
15020         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15021
15022 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15023
15024         * string/Makefile: Remove ifunc tests.
15025         * string/test-string.h: Define TEST_IFUNC.
15026         * string/test-bcopy-ifunc.c: Remove.
15027         * string/test-bzero-ifunc.c: Likewise.
15028         * string/test-memccpy-ifunc.c: Likewise.
15029         * string/test-memchr-ifunc.c: Likewise.
15030         * string/test-memcmp-ifunc.c: Likewise.
15031         * string/test-memcpy-ifunc.c: Likewise.
15032         * string/test-memmem-ifunc.c: Likewise.
15033         * string/test-memmove-ifunc.c: Likewise.
15034         * string/test-mempcpy-ifunc.c: Likewise.
15035         * string/test-memrchr-ifunc.c: Likewise.
15036         * string/test-memset-ifunc.c: Likewise.
15037         * string/test-rawmemchr-ifunc.c: Likewise.
15038         * string/test-stpcpy-ifunc.c: Likewise.
15039         * string/test-stpncpy-ifunc.c: Likewise.
15040         * string/test-strcasecmp-ifunc.c: Likewise.
15041         * string/test-strcasestr-ifunc.c: Likewise.
15042         * string/test-strcat-ifunc.c: Likewise.
15043         * string/test-strchr-ifunc.c: Likewise.
15044         * string/test-strchrnul-ifunc.c: Likewise.
15045         * string/test-strcmp-ifunc.c: Likewise.
15046         * string/test-strcpy-ifunc.c: Likewise.
15047         * string/test-strcspn-ifunc.c: Likewise.
15048         * string/test-strlen-ifunc.c: Likewise.
15049         * string/test-strncasecmp-ifunc.c: Likewise.
15050         * string/test-strncat-ifunc.c: Likewise.
15051         * string/test-strncmp-ifunc.c: Likewise.
15052         * string/test-strncpy-ifunc.c: Likewise.
15053         * string/test-strnlen-ifunc.c: Likewise.
15054         * string/test-strpbrk-ifunc.c: Likewise.
15055         * string/test-strrchr-ifunc.c: Likewise.
15056         * string/test-strspn-ifunc.c: Likewise.
15057         * string/test-strstr-ifunc.c: Likewise.
15058
15059 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15060
15061         * benchtests/Makefile: Remove ifunc tests.
15062         * benchtests/bench-string.h: Define TEST_IFUNC.
15063         * benchtests/bench-bcopy-ifunc.c: Remove.
15064         * benchtests/bench-bzero-ifunc.c: Likewise.
15065         * benchtests/bench-memccpy-ifunc.c: Likewise.
15066         * benchtests/bench-memchr-ifunc.c: Likewise.
15067         * benchtests/bench-memcmp-ifunc.c: Likewise.
15068         * benchtests/bench-memcpy-ifunc.c: Likewise.
15069         * benchtests/bench-memmem-ifunc.c: Likewise.
15070         * benchtests/bench-memmove-ifunc.c: Likewise.
15071         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15072         * benchtests/bench-memrchr-ifunc.c: Likewise.
15073         * benchtests/bench-memset-ifunc.c: Likewise.
15074         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15075         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15076         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15077         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15078         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15079         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15080         * benchtests/bench-strcat-ifunc.c: Likewise.
15081         * benchtests/bench-strchr-ifunc.c: Likewise.
15082         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15083         * benchtests/bench-strcmp-ifunc.c: Likewise.
15084         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15085         * benchtests/bench-strcpy-ifunc.c: Likewise.
15086         * benchtests/bench-strcspn-ifunc.c: Likewise.
15087         * benchtests/bench-strlen-ifunc.c: Likewise.
15088         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15089         * benchtests/bench-strncat-ifunc.c: Likewise.
15090         * benchtests/bench-strncmp-ifunc.c: Likewise.
15091         * benchtests/bench-strncpy-ifunc.c: Likewise.
15092         * benchtests/bench-strnlen-ifunc.c: Likewise.
15093         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15094         * benchtests/bench-strrchr-ifunc.c: Likewise.
15095         * benchtests/bench-strsep-ifunc.c: Likewise.
15096         * benchtests/bench-strspn-ifunc.c: Likewise.
15097         * benchtests/bench-strstr-ifunc.c: Likewise.
15098
15099 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15100
15101         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15102
15103 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15104
15105         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15106         * rt/aio.h: Likewise.
15107         * sysdeps/gnu/bits/utmp.h: Likewise.
15108         * sysdeps/gnu/bits/utmpx.h: Likewise.
15109         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15110         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15111         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15112         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15113         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15114         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15115         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15116         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15117         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15118         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15119         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15120         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15121         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15123         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15124         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15125         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15126         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15127         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15128         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15129         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15130         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15131         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15132         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15133         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15135         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15136         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15137         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15138         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15139         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15140         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15141         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15142         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15143         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15144         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15145         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15146         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15147         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15148         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15149         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15150         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15151
15152 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15153
15154         [BZ #16245]
15155         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15156         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15157
15158 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15159
15160         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15161         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15162         Likewise.
15163
15164 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15165
15166         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15167         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15168         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15169         (__fesetround): Remove define.
15170         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15171         rounding and exceptions handling.
15172         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15173         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15174         (__fe_nomask_env): Likewise.
15175         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15176         __fegetround instead of fegetround.
15177         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15178         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15179
15180 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15181
15182         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15183         it's there.
15184
15185         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15186
15187 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15188
15189         [BZ #11157]
15190         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15191         (encrypt_r): Likewise.
15192         * malloc/obstack.h (obstack_free): Likewise.
15193         * posix/unistd.h (encrypt): Likewise.
15194
15195 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15196
15197         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15198         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15199         DL_CALL_DT_FINI() that call the functions directly.
15200         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15201         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15202         * elf/dl-fini.c: Likewise.
15203
15204 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15205
15206         * malloc/hooks.c (memalign_check): Add alignment rounding.
15207         * malloc/malloc.c (_mid_memalign): New function.
15208         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15209         Implement by calling _mid_memalign.
15210         * manual/probes.texi (Memory Allocation Probes): Remove
15211         memory_valloc_retry and memory_pvalloc_retry.
15212
15213 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15214
15215         * locale/programs/locarchive.c (open_archive): Add const
15216         qualifier to ARCHIVEFNAME and copy default fname to
15217         DEFAULT_FNAME.
15218
15219         [BZ #15601]
15220         * libio/tst-widetext.input: Rename Oriya to Odia.
15221         * locale/iso-639.def: Likewise.
15222
15223         * manual/probes.texi (Mathematical Function Probes): Add
15224         documentation for sin, cos, asin and acos probes.
15225         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15226         (__sin32): Add slowasin probe.
15227         (__cos32): Add slowacos probe.
15228         (__mpsin): Add slowsin probe.
15229         (__mpcos): Add slowcos probe.
15230
15231 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15232
15233         [BZ #15483]
15234         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15235         thread-local __sim_exceptions_thread and global
15236         __sim_exceptions_global.
15237         (__sim_disabled_exceptions): Change to thread-local
15238         __sim_disabled_exceptions_thread and global
15239         __sim_disabled_exceptions_global.
15240         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15241         and global __sim_round_mode_global.
15242         (__simulate_exceptions): Use thread-local floating-point state and
15243         set global state from it as needed.
15244         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15245         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15246         __sim_round_mode_thread.
15247         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15248         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15249         and global __sim_exceptions_global.
15250         (__sim_disabled_exceptions): Change to thread-local
15251         __sim_disabled_exceptions_thread and global
15252         __sim_disabled_exceptions_global.
15253         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15254         and global __sim_round_mode_global.
15255         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15256         (SIM_SET_GLOBAL): Likewise.
15257         * sysdeps/powerpc/soft-fp/sfp-machine.h
15258         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15259         __sim_round_mode_thread.
15260         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15261         __sim_disabled_exceptions_thread.
15262         (__sim_exceptions): Change to __sim_exceptions_thread.
15263         (__sim_disabled_exceptions): Change to
15264         __sim_disabled_exceptions_thread.
15265         (__sim_round_mode): Change to __sim_round_mode_thread.
15266         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15267         thread-local floating-point state and set global state from it as
15268         needed.
15269         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15270         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15271         (__sim_disabled_exceptions): Remove extern declaration.
15272         (feenableexcept): Use thread-local floating-point state and set
15273         global state from it as needed.
15274         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15275         extern declaration.
15276         (__sim_disabled_exceptions): Likewise.
15277         (__sim_round_mode): Likewise.
15278         (__fegetenv): Use thread-local floating-point state.
15279         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15280         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15281         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15282         floating-point state and set global state from it as needed.
15283         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15284         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15285         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15286         Likewise.
15287         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15288         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15289         Likewise.
15290         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15291         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15292         Use __sim_round_mode_thread.
15293         * math/test-fenv-tls.c: New file.
15294         * math/Makefile (tests): Add test-fenv-tls.
15295         ($(objpfx)test-fenv-tls): Depend on
15296         $(common-objpfx)nptl/libpthread.so.
15297
15298 2013-11-19  Andreas Schwab  <schwab@suse.de>
15299
15300         * locale/programs/locale.c (show_info): Decode wordarray elements.
15301         * locale/categories.def (LC_MONETARY): Add element for
15302         _NL_MONETARY_CRNCYSTR.
15303         * locale/C-monetary.c (conversion_rate): New variable.
15304         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15305         element.
15306
15307 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15308
15309         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15310         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15311
15312 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15313
15314         * elf/Makefile (tst-auxv): New test.
15315         * elf/tst-auxv.c: New
15316         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15317
15318 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15319
15320         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15321         (hidden_proto): Caller changed.
15322         (hidden_tls_proto): New macro.
15323         (libc_hidden_tls_proto): Likewise.
15324         (rtld_hidden_tls_proto): Likewise.
15325         (libm_hidden_tls_proto): Likewise.
15326         (libresolv_hidden_tls_proto): Likewise.
15327         (librt_hidden_tls_proto): Likewise.
15328         (libdl_hidden_tls_proto): Likewise.
15329         (libnss_files_hidden_tls_proto): Likewise.
15330         (libnsl_hidden_tls_proto): Likewise.
15331         (libnss_nisplus_hidden_tls_proto): Likewise.
15332         (libutil_hidden_tls_proto): Likewise.
15333
15334 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15335
15336         [BZ #10253]
15337         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15338         (decompose_rpath): Defer expansion to fillin_rpath.
15339         (_dl_init_paths): Pass linkmap to fillin_rpath.
15340
15341 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15342
15343         * benchtests/Makefile: Add strsep.
15344         * benchtests/bench-strsep.c: New file: strsep benchtest.
15345         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15346
15347 2013-11-18  Andreas Schwab  <schwab@suse.de>
15348
15349         * locale/programs/locale.c (show_info) [case byte]: Check for
15350         '\377' instead of '\177'.
15351         * locale/C-monetary.c (not_available): Always use "\377".
15352         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15353         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15354         detect unavailable sign_posn locale elements.
15355         * locale/localeconv.c (__localeconv): For grouping and
15356         mon_grouping handle "\177" and "\377" like no grouping.
15357         (INT_ELEM): New macro.  Use it to set all numeric members.
15358         * locale/programs/ld-monetary.c (monetary_read)
15359         <tok_mon_grouping>: Normalize single -1 to the empty string.
15360         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15361         Likewise.
15362
15363 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15364
15365         [BZ #16055]
15366         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15367         when we match (nil).
15368         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15369
15370 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15371
15372         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15373         (NO_TEST_INLINE): Update value.
15374         (ERRNO_UNCHANGED): Likewise.
15375         (ERRNO_EDOM): Likewise.
15376         (ERRNO_ERANGE): Likewise.
15377         (IGNORE_RESULT): Likewise.
15378         (check_float_internal): Check signs of NaN results if
15379         TEST_NAN_SIGN used.
15380         (check_complex): Pass TEST_NAN_SIGN flag through to second
15381         check_float_internal call.
15382         (copysign_test_data): Add tests with quiet NaNs as second
15383         argument.  Use TEST_NAN_SIGN.
15384         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15385         TEST_NAN_SIGN.
15386         (signbit_test_data): Add tests of quiet NaN argument.
15387         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15388
15389         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15390         $ignore_result.
15391         (parse_args): Handle function results specified as IGNORE.
15392         * math/libm-test.inc (IGNORE_RESULT): New macro.
15393         (check_float_internal): Do not check numerical result if flag
15394         IGNORE_RESULT set.
15395         (check_complex): Pass through IGNORE_RESULT to second
15396         check_float_internal call.
15397         (check_int): Do not check numerical result if flag IGNORE_RESULT
15398         set.
15399         (check_long): Likewise.
15400         (check_bool): Likewise.
15401         (check_longlong): Likewise.
15402         (lrint_test_data): Add tests of infinite and NaN arguments.
15403         (lrint_tonearest_test_data): Likewise.
15404         (lrint_towardzero_test_data): Likewise.
15405         (lrint_downward_test_data): Likewise.
15406         (lrint_upward_test_data): Likewise.
15407         (llrint_test_data): Likewise.
15408         (llrint_tonearest_test_data): Likewise.
15409         (llrint_towardzero_test_data): Likewise.
15410         (llrint_downward_test_data): Likewise.
15411         (llrint_upward_test_data): Likewise.
15412         (lround_test_data): Likewise.
15413         (llround_test_data): Likewise.
15414
15415         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15416         (ERRNO_UNCHANGED): Update value.
15417         (ERRNO_EDOM): Likewise.
15418         (ERRNO_ERANGE): Likewise.
15419         (NO_TEST_INLINE_FLOAT): New macro.
15420         (NO_TEST_INLINE_DOUBLE): Likewise.
15421         (enable_test): New function.
15422         (RUN_TEST_f_f): Check enable_test before running test.
15423         (RUN_TEST_2_f): Likewise.
15424         (RUN_TEST_fff_f): Likewise.
15425         (RUN_TEST_c_f): Likewise.
15426         (RUN_TEST_f_f1): Likewise.
15427         (RUN_TEST_fF_f1): Likewise.
15428         (RUN_TEST_fI_f1): Likewise.
15429         (RUN_TEST_ffI_f1): Likewise.
15430         (RUN_TEST_c_c): Likewise.
15431         (RUN_TEST_cc_c): Likewise.
15432         (RUN_TEST_f_i): Likewise.
15433         (RUN_TEST_f_i_tg): Likewise.
15434         (RUN_TEST_ff_i_tg): Likewise.
15435         (RUN_TEST_f_b): Likewise.
15436         (RUN_TEST_f_b_tg): Likewise.
15437         (RUN_TEST_f_l): Likewise.
15438         (RUN_TEST_f_L): Likewise.
15439         (RUN_TEST_fFF_11): Likewise.
15440         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15441         conditionals.
15442         (cosh_test_data): Likewise.
15443         (exp_test_data): Likewise.
15444         (expm1_test_data): Likewise.
15445         (hypot_test_data): Likewise.
15446         (pow_test_data): Likewise.
15447         (sinh_test_data): Likewise.
15448         (tanh_test_data): Likewise.
15449         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15450         flags argument.
15451
15452         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15453         tests with quiet NaN input and output.
15454         (acosh_test_data): Likewise.
15455         (asin_test_data): Likewise.
15456         (asinh_test_data): Likewise.
15457         (atan_test_data): Likewise.
15458         (atanh_test_data): Likewise.
15459         (atan2_test_data): Likewise.
15460         (cbrt_test_data): Likewise.
15461         (cos_test_data): Likewise.
15462         (cosh_test_data): Likewise.
15463         (erf_test_data): Likewise.
15464         (erfc_test_data): Likewise.
15465         (exp_test_data): Likewise.
15466         (exp10_test_data): Likewise.
15467         (exp2_test_data): Likewise.
15468         (expm1_test_data): Likewise.
15469         (hypot_test_data): Likewise.
15470         (j0_test_data): Likewise.
15471         (j1_test_data): Likewise.
15472         (jn_test_data): Likewise.
15473         (lgamma_test_data): Likewise.
15474         (log_test_data): Likewise.
15475         (log10_test_data): Likewise.
15476         (log1p_test_data): Likewise.
15477         (log2_test_data): Likewise.
15478         (pow_test_data): Likewise.
15479         (scalb_test_data): Likewise.
15480         (sin_test_data): Likewise.
15481         (sincos_test_data): Likewise.
15482         (sinh_test_data): Likewise.
15483         (tan_test_data): Likewise.
15484         (tanh_test_data): Likewise.
15485         (tgamma_test_data): Likewise.
15486         (y0_test_data): Likewise.
15487         (y1_test_data): Likewise.
15488         (yn_test_data): Likewise.
15489
15490         [BZ #16167]
15491         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15492         argument being NaN and avoid computations with second argument in
15493         that case.
15494         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15495         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15496         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15497
15498 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15499
15500         * locale/iso-639.def: Add Chitwani Tharu (the).
15501
15502 2013-11-14  Andreas Schwab  <schwab@suse.de>
15503
15504         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15505         word instead of empty string.
15506
15507 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15508
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15510         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15512         (__fe_nomask_env): Likewise.
15513
15514 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15515
15516         * benchtests/bench-timing.h: Include time.h.
15517
15518 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15519
15520         [BZ #15997]
15521         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15522         to 3.4.0 for x32.
15523         * sysdeps/unix/sysv/linux/configure: Regenerated.
15524
15525 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15526
15527         [BZ #16151]
15528         * stdlib/strtod_l.c (round_and_return): Do not consider
15529         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15530         exponent one less than half the least subnormal exponent.
15531         * stdlib/test-strtod-round-data: Add more tests.
15532         * stdlib/tst-strtod-round.c (tests): Regenerated.
15533
15534 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15535
15536         [BZ #14143]
15537         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15538         (__fe_mask_env): Likewise.
15539         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15540         libm_hidden_proto and add function prototype.
15541         (__fe_mask_env): Add function prototype.
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15543         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15545         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15547         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15548
15549 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15550
15551         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15552         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15553
15554 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15555
15556         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15557         of htab_find_slot().
15558
15559 2013-11-11  David S. Miller  <davem@davemloft.net>
15560
15561         [BZ #16150]
15562         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15563         symbol in the non-vis3 case in static builds.
15564         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15565         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15566         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15567         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15568
15569 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15570
15571         [BZ #387]
15572         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15573         it is empty.
15574
15575 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15576
15577         * benchtests/Makefile: Add bench-strtod.
15578         * benchtests/bench-strtod.c: New file: strtod benchtest
15579
15580 2013-11-11  Andreas Schwab  <schwab@suse.de>
15581
15582         [BZ #16153]
15583         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15584         terminating NUL in key length.
15585
15586 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15587
15588         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15589         Add artificial ODP entry for vDSO symbol for PPC64.
15590         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15591         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15592
15593 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15594
15595         [BZ #15374]
15596         * nss/getent.c (services_keys): Recognize services starting with digit.
15597
15598 2013-11-06  David S. Miller  <davem@davemloft.net>
15599
15600         [BZ #15985]
15601         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15602         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15603
15604 2013-11-06  Will Newton  <will.newton@linaro.org>
15605
15606         * manual/memory.texi (Malloc Examples): Remove register
15607         keyword from examples.
15608
15609 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15610
15611         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15612
15613 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15614
15615         [BZ #6981]
15616         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15617         depending on [__GCC_IEC_559 > 0].
15618         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15619         depending on [__GCC_IEC_559_COMPLEX > 0].
15620
15621 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15622
15623         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15624         to iso-639.def.
15625
15626 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15627
15628         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15629
15630 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15631
15632         [BZ #16112]
15633         * malloc/malloc (malloc_info): Do not handle first bin as
15634         special case.
15635
15636 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15637
15638         * locale/iso-639.def: Add Central Nahuatl (nhn).
15639
15640 2013-11-01  Bruno Haible  <bruno@clisp.org>
15641
15642         [BZ #7003]
15643         * manual/math.texi (BSD Random): Specify range upper bound as
15644         in POSIX.
15645
15646 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15647
15648         * locale/iso-639.def: Add Meadow Mari (mhr).
15649
15650 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15651
15652         [BZ #14752], [BZ #15763]
15653         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15654         Validate name.
15655         * rt/tst_shm.c: Add test for escaping directory.
15656
15657 2013-10-31  Andreas Schwab  <schwab@suse.de>
15658
15659         [BZ #15917]
15660         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15661         followed by 'x' as part of digit sequence.
15662         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15663
15664 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15665
15666         [BZ #16037]
15667         * configure.ac: allow GNU Make 4.0 and greater.
15668         * configure: Regenerated.
15669
15670 2013-10-30  Will Newton  <will.newton@linaro.org>
15671
15672         [BZ #16038]
15673         * malloc/hooks.c (memalign_check): Limit alignment to the
15674         maximum representable power of two.
15675         * malloc/malloc.c (__libc_memalign): Likewise.
15676         * malloc/tst-memalign.c (do_test): Add test for very
15677         large alignment values.
15678         * malloc/tst-posix_memalign.c (do_test): Likewise.
15679
15680 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15681
15682         [BZ #11087]
15683         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15684         (munmap_chunk): Likewise.
15685         (mremap_chunk): Likewise.
15686
15687 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15688
15689         [BZ #15799]
15690         * stdlib/div.c (div): Remove obsolete code.
15691         * stdlib/ldiv.c (ldiv): Likewise.
15692         * stdlib/lldiv.c (lldiv): Likewise.
15693
15694 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15695
15696         [BZ #16071]
15697         * nss/nss_files/files-XXX.c (get_contents_ret): New
15698         enumerator.
15699         (get_contents): New function.
15700         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15701
15702 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15703
15704         * configure.in: Moved to ...
15705         * configure.ac: ... here. Change reference to configure.in
15706         to configure.ac.
15707         * sysdeps/arm/preconfigure.ac: ... here.
15708         configure.in to configure.ac.
15709         * sysdeps/gnu/configure.in: Moved to ...
15710         * sysdeps/gnu/configure.ac: ... here.
15711         * sysdeps/i386/configure.in: Moved to ...
15712         * sysdeps/i386/configure.ac: ... here.
15713         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15714         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15715         * sysdeps/mach/configure.in: Moved to ...
15716         * sysdeps/mach/configure.ac: ... here.
15717         * sysdeps/mach/hurd/configure.in: Moved to ...
15718         * sysdeps/mach/hurd/configure.ac: ... here.
15719         * sysdeps/powerpc/configure.in: Moved to ...
15720         * sysdeps/powerpc/configure.ac: ... here.
15721         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15722         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15723         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15724         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15725         * sysdeps/s390/s390-32/configure.in: Moved to ...
15726         * sysdeps/s390/s390-32/configure.ac: ... here.
15727         * sysdeps/s390/s390-64/configure.in: Moved to ...
15728         * sysdeps/s390/s390-64/configure.ac: ... here.
15729         * sysdeps/sh/configure.in: Moved to ...
15730         * sysdeps/sh/configure.ac: ... here.
15731         * sysdeps/sparc/configure.in: Moved to ...
15732         * sysdeps/sparc/configure.ac: ... here.
15733         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15734         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15735         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15736         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15737         * sysdeps/x86_64/configure.in: Moved to ...
15738         * sysdeps/x86_64/configure.ac: ... here.
15739         * sysdeps/x86_64/preconfigure.in: Moved to ...
15740         * sysdeps/x86_64/preconfigure.ac: ... here.
15741         * aclocal.m4: Change reference to configure.in to configure.ac.
15742         * config.h.in: Likewise.
15743         * manual/install.texi: Likewise.
15744         * manual/maint.texi: Likewise.
15745         * Makefile: Likewise.
15746         * malloc/Makefile: Likewise.
15747         * nscd/Makefile: Likewise.
15748         * Makeconfig: Change reference to configure.in and
15749         preconfigure.in to configure.ac and preconfigure.ac
15750         respectively.
15751         * INSTALL: Regenerated.
15752         * configure: Likewise.
15753         * sysdeps/gnu/configure: Likewise.
15754         * sysdeps/i386/configure: Likewise.
15755         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15756         * sysdeps/mach/configure: Likewise.
15757         * sysdeps/mach/hurd/configure: Likewise.
15758         * sysdeps/powerpc/configure: Likewise.
15759         * sysdeps/powerpc/powerpc32/configure: Likewise.
15760         * sysdeps/powerpc/powerpc64/configure: Likewise.
15761         * sysdeps/s390/s390-32/configure: Likewise.
15762         * sysdeps/s390/s390-64/configure: Likewise.
15763         * sysdeps/sh/configure: Likewise.
15764         * sysdeps/sparc/configure: Likewise.
15765         * sysdeps/unix/sysv/linux/configure: Likewise.
15766         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15767         * sysdeps/x86_64/configure: Likewise.
15768         * sysdeps/x86_64/preconfigure: Likewise.
15769
15770 2013-10-29  Andreas Schwab  <schwab@suse.de>
15771
15772         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15773
15774 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15775
15776         * benchtests/pow-inputs: Add new inputs.
15777
15778         * benchtests/exp-inputs: Add new inputs.
15779
15780         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15781         conditional check for return value.
15782         (__cos32): Likewise.
15783
15784 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15785
15786         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15787         to provide a boost for large inputs with word alignment.
15788         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15789         implementation based on optimized PPC64 strcpy.
15790         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15791         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15792         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15793         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15794
15795 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15796
15797         [BZ #2801]
15798         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15799
15800 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15801
15802         [BZ #14876]
15803         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15804         * time/tst-strptime.c (day_tests): Add testcase.
15805
15806 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15807
15808         [BZ #14029]
15809         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15810
15811 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15812
15813         [BZ #16074]
15814         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15815         MAP_FAILED on error.
15816
15817 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15818
15819         [BZ #16072]
15820         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15821         heap for large requests.
15822
15823 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15824
15825         [BZ #9954]
15826         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15827         result if the result has no associated interface.
15828         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15829         interface for all 127.X.Y.Z addresses.
15830
15831 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15832
15833         * locale/iso-639.def: Add Ligurian (lij)
15834
15835 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15836
15837         [BZ #15825]
15838         * sunrpc/rpc_main.c: Document rpcgen -5.
15839
15840 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15841
15842         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15843
15844 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15845
15846         [BZ #10278]
15847         * posix/glob.c: Match only directories when trailing slash is present.
15848         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15849         (main): Add testcase.
15850
15851 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15852
15853         [BZ #15670]
15854         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15855
15856 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15857
15858         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15859         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15860         AUTH_DES and cindex for FIPS 140-2.
15861         (DES Encryption): Add cindex FIPS 46-3.
15862
15863         * locale/locarchive.h (struct locarhandle): Add fname.
15864         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15865         if an optional argument was specified to --list-archive,
15866         otherwise NULL.
15867         * locale/programs/locarchive.c (show_archive_content): Take new
15868         argument fname and pass it via ah.fname to open_archive.
15869         * locale/programs/localedef.h: Update decl.
15870         (open_archive): If AH->fname is non-null, open that file
15871         rather than the default file name, and don't ignore ENOENT.
15872         (create_archive): Set AH.fname to NULL.
15873         (delete_locales_from_archive): Likewise.
15874         (add_locales_to_archive): Likewise.
15875         * locale/programs/locfile.c (write_all_categories): Likewise.
15876
15877 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15878             Aldy Hernandez  <aldyh@redhat.com>
15879
15880         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15881         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15882         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15883         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15884         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15888         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15890         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15891         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15892         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15893         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15894         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15895         Likewise.
15896         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15897         Likewise.
15898         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15899         Likewise.
15900         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15901         Likewise.
15902         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15903         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15904         Likewise.
15905         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15906         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15907         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15908         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15909         Likewise.
15910         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15911         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15912         * sysdeps/powerpc/preconfigure: Likewise.
15913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15914         Likewise.
15915         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15916         Replace contents of file by #include of <fenv_libc.h>.
15917         * sysdeps/powerpc/soft-fp/sfp-machine.h
15918         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15919         and <sys/prctl.h>.
15920         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15933         Allow copysignl PLT reference to be missing.
15934
15935 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15936             Joseph Myers  <joseph@codesourcery.com
15937
15938         [BZ #15948]
15939         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15940         single character.
15941         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15942
15943 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15944
15945         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15946         * elf/tst-tls1.c: Likewise.
15947         * elf/tst-tls10.h: Likewise.
15948         * elf/tst-tls14.c: Likewise.
15949         * elf/tst-tls2.c: Likewise.
15950         * elf/tst-tls3.c: Likewise.
15951         * elf/tst-tls4.c: Likewise.
15952         * elf/tst-tls5.c: Likewise.
15953         * elf/tst-tls6.c: Likewise.
15954         * elf/tst-tls7.c: Likewise.
15955         * elf/tst-tls8.c: Likewise.
15956         * elf/tst-tls9.c: Likewise.
15957         * elf/tst-tlsmod1.c: Likewise.
15958         * elf/tst-tlsmod13.c: Likewise.
15959         * elf/tst-tlsmod13a.c: Likewise.
15960         * elf/tst-tlsmod14a.c: Likewise.
15961         * elf/tst-tlsmod16a.c: Likewise.
15962         * elf/tst-tlsmod16b.c: Likewise.
15963         * elf/tst-tlsmod2.c: Likewise.
15964         * elf/tst-tlsmod3.c: Likewise.
15965         * elf/tst-tlsmod4.c: Likewise.
15966         * elf/tst-tlsmod5.c: Likewise.
15967         * elf/tst-tlsmod6.c: Likewise.
15968
15969 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15970
15971         [BZ #12486]
15972         * malloc/malloc.c: remove checks for statistics.
15973
15974 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15975
15976         [BZ #15277]
15977         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15978         * inet/tst-network.c: Add testcase.
15979
15980 2013-10-17  Andreas Schwab  <schwab@suse.de>
15981
15982         [BZ #15218]
15983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15984         to determine canonical name.
15985
15986 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15987
15988         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15989         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15993         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15995         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15996         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15997         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15998         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16003         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16005         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16006         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16007         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16011         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16012         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16013         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16014         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16015         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16016         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16017         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16018         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16019         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16020         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16021         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16022         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16023         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16024         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16025         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16026         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16027         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16028         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16029         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16030         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16031         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16032         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16033         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16034         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16035         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16036         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16037         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16038         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16039         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16040         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16041         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16042         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16043         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16044         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16045         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16046
16047 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16048
16049         [BZ #16041]
16050         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16051         make result into a quiet NaN.
16052
16053 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16054
16055         * soft-fp/adddf3.c: Fix horizontal whitespace.
16056         * soft-fp/addsf3.c: Likewise.
16057         * soft-fp/addtf3.c: Likewise.
16058         * soft-fp/divdf3.c: Likewise.
16059         * soft-fp/divsf3.c: Likewise.
16060         * soft-fp/divtf3.c: Likewise.
16061         * soft-fp/double.h: Likewise.
16062         * soft-fp/eqdf2.c: Likewise.
16063         * soft-fp/eqsf2.c: Likewise.
16064         * soft-fp/eqtf2.c: Likewise.
16065         * soft-fp/extenddftf2.c: Likewise.
16066         * soft-fp/extended.h: Likewise.
16067         * soft-fp/extendsfdf2.c: Likewise.
16068         * soft-fp/extendsftf2.c: Likewise.
16069         * soft-fp/extendxftf2.c: Likewise.
16070         * soft-fp/fixdfdi.c: Likewise.
16071         * soft-fp/fixdfsi.c: Likewise.
16072         * soft-fp/fixdfti.c: Likewise.
16073         * soft-fp/fixsfdi.c: Likewise.
16074         * soft-fp/fixsfsi.c: Likewise.
16075         * soft-fp/fixsfti.c: Likewise.
16076         * soft-fp/fixtfdi.c: Likewise.
16077         * soft-fp/fixtfsi.c: Likewise.
16078         * soft-fp/fixtfti.c: Likewise.
16079         * soft-fp/fixunsdfdi.c: Likewise.
16080         * soft-fp/fixunsdfsi.c: Likewise.
16081         * soft-fp/fixunsdfti.c: Likewise.
16082         * soft-fp/fixunssfdi.c: Likewise.
16083         * soft-fp/fixunssfsi.c: Likewise.
16084         * soft-fp/fixunssfti.c: Likewise.
16085         * soft-fp/fixunstfdi.c: Likewise.
16086         * soft-fp/fixunstfsi.c: Likewise.
16087         * soft-fp/fixunstfti.c: Likewise.
16088         * soft-fp/floatdidf.c: Likewise.
16089         * soft-fp/floatdisf.c: Likewise.
16090         * soft-fp/floatditf.c: Likewise.
16091         * soft-fp/floatsidf.c: Likewise.
16092         * soft-fp/floatsisf.c: Likewise.
16093         * soft-fp/floatsitf.c: Likewise.
16094         * soft-fp/floattidf.c: Likewise.
16095         * soft-fp/floattisf.c: Likewise.
16096         * soft-fp/floattitf.c: Likewise.
16097         * soft-fp/floatundidf.c: Likewise.
16098         * soft-fp/floatundisf.c: Likewise.
16099         * soft-fp/floatunditf.c: Likewise.
16100         * soft-fp/floatunsidf.c: Likewise.
16101         * soft-fp/floatunsisf.c: Likewise.
16102         * soft-fp/floatunsitf.c: Likewise.
16103         * soft-fp/floatuntidf.c: Likewise.
16104         * soft-fp/floatuntisf.c: Likewise.
16105         * soft-fp/floatuntitf.c: Likewise.
16106         * soft-fp/fmadf4.c: Likewise.
16107         * soft-fp/fmasf4.c: Likewise.
16108         * soft-fp/fmatf4.c: Likewise.
16109         * soft-fp/gedf2.c: Likewise.
16110         * soft-fp/gesf2.c: Likewise.
16111         * soft-fp/getf2.c: Likewise.
16112         * soft-fp/ledf2.c: Likewise.
16113         * soft-fp/lesf2.c: Likewise.
16114         * soft-fp/letf2.c: Likewise.
16115         * soft-fp/muldf3.c: Likewise.
16116         * soft-fp/mulsf3.c: Likewise.
16117         * soft-fp/multf3.c: Likewise.
16118         * soft-fp/negdf2.c: Likewise.
16119         * soft-fp/negsf2.c: Likewise.
16120         * soft-fp/negtf2.c: Likewise.
16121         * soft-fp/op-1.h: Likewise.
16122         * soft-fp/op-2.h: Likewise.
16123         * soft-fp/op-4.h: Likewise.
16124         * soft-fp/op-8.h: Likewise.
16125         * soft-fp/op-common.h: Likewise.
16126         * soft-fp/quad.h: Likewise.
16127         * soft-fp/single.h: Likewise.
16128         * soft-fp/soft-fp.h: Likewise.
16129         * soft-fp/sqrtdf2.c: Likewise.
16130         * soft-fp/sqrtsf2.c: Likewise.
16131         * soft-fp/sqrttf2.c: Likewise.
16132         * soft-fp/subdf3.c: Likewise.
16133         * soft-fp/subsf3.c: Likewise.
16134         * soft-fp/subtf3.c: Likewise.
16135         * soft-fp/truncdfsf2.c: Likewise.
16136         * soft-fp/trunctfdf2.c: Likewise.
16137         * soft-fp/trunctfsf2.c: Likewise.
16138         * soft-fp/trunctfxf2.c: Likewise.
16139         * soft-fp/unorddf2.c: Likewise.
16140         * soft-fp/unordsf2.c: Likewise.
16141         * soft-fp/unordtf2.c: Likewise.
16142
16143 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16144
16145         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16146         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16147
16148 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16149
16150         * elf/dl-libc.c: Clear initfini list after freeing.
16151
16152 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16153
16154         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16155         * soft-fp/addsf3.c: Likewise.
16156         * soft-fp/addtf3.c: Likewise.
16157         * soft-fp/divdf3.c: Likewise.
16158         * soft-fp/divsf3.c: Likewise.
16159         * soft-fp/divtf3.c: Likewise.
16160         * soft-fp/double.h: Likewise.
16161         * soft-fp/eqdf2.c: Likewise.
16162         * soft-fp/eqsf2.c: Likewise.
16163         * soft-fp/eqtf2.c: Likewise.
16164         * soft-fp/extenddftf2.c: Likewise.
16165         * soft-fp/extended.h: Likewise.
16166         * soft-fp/extendsfdf2.c: Likewise.
16167         * soft-fp/extendsftf2.c: Likewise.
16168         * soft-fp/extendxftf2.c: Likewise.
16169         * soft-fp/fixdfdi.c: Likewise.
16170         * soft-fp/fixdfsi.c: Likewise.
16171         * soft-fp/fixdfti.c: Likewise.
16172         * soft-fp/fixsfdi.c: Likewise.
16173         * soft-fp/fixsfsi.c: Likewise.
16174         * soft-fp/fixsfti.c: Likewise.
16175         * soft-fp/fixtfdi.c: Likewise.
16176         * soft-fp/fixtfsi.c: Likewise.
16177         * soft-fp/fixtfti.c: Likewise.
16178         * soft-fp/fixunsdfdi.c: Likewise.
16179         * soft-fp/fixunsdfsi.c: Likewise.
16180         * soft-fp/fixunsdfti.c: Likewise.
16181         * soft-fp/fixunssfdi.c: Likewise.
16182         * soft-fp/fixunssfsi.c: Likewise.
16183         * soft-fp/fixunssfti.c: Likewise.
16184         * soft-fp/fixunstfdi.c: Likewise.
16185         * soft-fp/fixunstfsi.c: Likewise.
16186         * soft-fp/fixunstfti.c: Likewise.
16187         * soft-fp/floatdidf.c: Likewise.
16188         * soft-fp/floatdisf.c: Likewise.
16189         * soft-fp/floatditf.c: Likewise.
16190         * soft-fp/floatsidf.c: Likewise.
16191         * soft-fp/floatsisf.c: Likewise.
16192         * soft-fp/floatsitf.c: Likewise.
16193         * soft-fp/floattidf.c: Likewise.
16194         * soft-fp/floattisf.c: Likewise.
16195         * soft-fp/floattitf.c: Likewise.
16196         * soft-fp/floatundidf.c: Likewise.
16197         * soft-fp/floatundisf.c: Likewise.
16198         * soft-fp/floatunsidf.c: Likewise.
16199         * soft-fp/floatunsisf.c: Likewise.
16200         * soft-fp/floatuntidf.c: Likewise.
16201         * soft-fp/floatuntisf.c: Likewise.
16202         * soft-fp/floatuntitf.c: Likewise.
16203         * soft-fp/fmadf4.c: Likewise.
16204         * soft-fp/fmasf4.c: Likewise.
16205         * soft-fp/fmatf4.c: Likewise.
16206         * soft-fp/gedf2.c: Likewise.
16207         * soft-fp/gesf2.c: Likewise.
16208         * soft-fp/getf2.c: Likewise.
16209         * soft-fp/ledf2.c: Likewise.
16210         * soft-fp/lesf2.c: Likewise.
16211         * soft-fp/letf2.c: Likewise.
16212         * soft-fp/muldf3.c: Likewise.
16213         * soft-fp/mulsf3.c: Likewise.
16214         * soft-fp/multf3.c: Likewise.
16215         * soft-fp/negdf2.c: Likewise.
16216         * soft-fp/negsf2.c: Likewise.
16217         * soft-fp/negtf2.c: Likewise.
16218         * soft-fp/op-1.h: Likewise.
16219         * soft-fp/op-2.h: Likewise.
16220         * soft-fp/op-4.h: Likewise.
16221         * soft-fp/op-8.h: Likewise.
16222         * soft-fp/op-common.h: Likewise.
16223         * soft-fp/quad.h: Likewise.
16224         * soft-fp/single.h: Likewise.
16225         * soft-fp/soft-fp.h: Likewise.
16226         * soft-fp/sqrtdf2.c: Likewise.
16227         * soft-fp/sqrtsf2.c: Likewise.
16228         * soft-fp/sqrttf2.c: Likewise.
16229         * soft-fp/subdf3.c: Likewise.
16230         * soft-fp/subsf3.c: Likewise.
16231         * soft-fp/subtf3.c: Likewise.
16232         * soft-fp/truncdfsf2.c: Likewise.
16233         * soft-fp/trunctfdf2.c: Likewise.
16234         * soft-fp/trunctfsf2.c: Likewise.
16235         * soft-fp/trunctfxf2.c: Likewise.
16236         * soft-fp/unorddf2.c: Likewise.
16237         * soft-fp/unordsf2.c: Likewise.
16238         * soft-fp/unordtf2.c: Likewise.
16239
16240 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16241
16242         [BZ #15672]
16243         * misc/error.c (error_tail): Fix possible buffer overflow.
16244
16245 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16246
16247         [BZ #13028]
16248         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16249         address.
16250
16251 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16252
16253         [BZ #832]
16254         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16255         testing pipefail option.
16256
16257 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16258
16259         * soft-fp/double.h: Indent preprocessor directives inside #if.
16260         * soft-fp/extended.h: Likewise.
16261         * soft-fp/op-2.h: Likewise.
16262         * soft-fp/op-4.h: Likewise.
16263         * soft-fp/op-common.h: Likewise.
16264         * soft-fp/quad.h: Likewise.
16265         * soft-fp/single.h: Likewise.
16266         * soft-fp/soft-fp.h: Likewise.
16267
16268 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16269
16270         * iconv/iconv_prog.c: Fix typos.
16271         * stdio-common/psiginfo-data.h: Likewise.
16272
16273 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16274
16275         [BZ #15764]
16276         * locale/setlocale.c: Fix typo.
16277
16278 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16279
16280         [BZ #16036]
16281         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16282         signaling NaN arguments.
16283         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16284         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16285
16286         [BZ #14910]
16287         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16288         unordered operands.
16289         * soft-fp/gesf2.c (__gesf2): Likewise.
16290         * soft-fp/getf2.c (__getf2): Likewise.
16291         * soft-fp/ledf2.c (__ledf2): Likewise.
16292         * soft-fp/lesf2.c (__lesf2): Likewise.
16293         * soft-fp/letf2.c (__letf2): Likewise.
16294
16295         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16296         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16297         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16298         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16299         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16300         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16301         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16302         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16303         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16304         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16305         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16306         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16307         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16308         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16309         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16310         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16311         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16312         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16313         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16314         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16315         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16316         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16317         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16318         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16319         * soft-fp/floattidf.c (__floattidf): Likewise.
16320         * soft-fp/floattisf.c (__floattisf): Likewise.
16321         * soft-fp/floattitf.c (__floattitf): Likewise.
16322         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16323         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16324         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16325         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16326         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16327         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16328         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16329         * soft-fp/gesf2.c (__gesf2): Likewise.
16330         * soft-fp/getf2.c (__getf2): Likewise.
16331         * soft-fp/ledf2.c (__ledf2): Likewise.
16332         * soft-fp/lesf2.c (__lesf2): Likewise.
16333         * soft-fp/letf2.c (__letf2): Likewise.
16334
16335         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16336         Undefine and redefine.
16337         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16338         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16339         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16340         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16341         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16342         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16343         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16344         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16345         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16346         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16347         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16348         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16349         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16350         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16351         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16352
16353         [BZ #16032]
16354         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16355         without decrementing exponent if mantissa >= that for the
16356         denominator, not >.
16357         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16358         denominator, not >.  Decrement exponent in < case instead of
16359         incrementing in >= case.
16360         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16361         without decrementing exponent if mantissa >= that for the
16362         denominator, not >.
16363
16364         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16365         computing saturated result for unsigned overflow.
16366
16367 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16368             Jeff Law  <law@redhat.com>
16369
16370         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16371         (atan2Mp): Add systemtap probe marker.
16372         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16373         (__ieee754_log): Add systemtap probe marker.
16374         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16375         (atanMp): Add systemtap probe marker.
16376         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16377         (tanMp): Add systemtap probe marker.
16378         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16379         (__slowexp): Add systemtap probe marker.
16380         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16381         (__slowpow): Add systemtap probe marker.
16382         * manual/probes.texi: Document probes.
16383
16384 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16385
16386         [BZ #15362]
16387         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16388         written.
16389         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16390         written.
16391         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16392         written to buffer but not flushed.
16393         * libio/iofwrite_u.c:  Likewise.
16394         * libio/iopadn.c:  Return bytes returned even if EOF was
16395         encountered.
16396         * libio/iowpadn.c:  Likewise.
16397         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16398         if _IO_padn does not write the whole buffer.
16399         [!COMPILE_WPRINTF] (PAD): Likewise.
16400
16401 2013-10-10  David S. Miller  <davem@davemloft.net>
16402
16403         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16404         directory block.
16405
16406 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16407
16408         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16409         instead of FSF address.
16410         * soft-fp/fixdfti.c: Likewise.
16411         * soft-fp/fixsfti.c: Likewise.
16412         * soft-fp/fixtfti.c: Likewise.
16413         * soft-fp/fixunsdfti.c: Likewise.
16414         * soft-fp/fixunssfti.c: Likewise.
16415         * soft-fp/fixunstfti.c: Likewise.
16416         * soft-fp/floattidf.c: Likewise.
16417         * soft-fp/floattisf.c: Likewise.
16418         * soft-fp/floattitf.c: Likewise.
16419         * soft-fp/floatuntidf.c: Likewise.
16420         * soft-fp/floatuntisf.c: Likewise.
16421         * soft-fp/floatuntitf.c: Likewise.
16422         * soft-fp/trunctfxf2.c: Likewise.
16423
16424         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16425         * soft-fp/fixdfti.c: Likewise.
16426         * soft-fp/fixsfti.c: Likewise.
16427         * soft-fp/fixtfti.c: Likewise.
16428         * soft-fp/fixunsdfti.c: Likewise.
16429         * soft-fp/fixunssfti.c: Likewise.
16430         * soft-fp/fixunstfti.c: Likewise.
16431         * soft-fp/floattidf.c: Likewise.
16432         * soft-fp/floattisf.c: Likewise.
16433         * soft-fp/floattitf.c: Likewise.
16434         * soft-fp/floatuntidf.c: Likewise.
16435         * soft-fp/floatuntisf.c: Likewise.
16436         * soft-fp/floatuntitf.c: Likewise.
16437         * soft-fp/trunctfxf2.c: Likewise.
16438
16439 2013-10-10  David S. Miller  <davem@davemloft.net>
16440
16441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16442
16443 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16444
16445         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16446         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16447         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16448         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16449         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16450         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16451         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16452
16453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16454         for NaNs before doing comparisons on argument.
16455         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16456         Likewise.
16457
16458 2013-10-10  Will Newton  <will.newton@linaro.org>
16459
16460         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16461         passed to _int_memalign does not overflow.
16462
16463 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16464
16465         * scripts/bench.pl: Add include-sources directive.
16466         * benchtests/README: Update documentation.
16467
16468 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16469
16470         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16471         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16472         instead of FP_INIT_ROUNDMODE.
16473         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16474         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16475
16476         [BZ #16034]
16477         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16478         copy class of input value.
16479         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16480         not handle exceptions.
16481         * soft-fp/negsf2.c (__negsf2): Likewise.
16482         * soft-fp/negtf2.c (__negtf2): Likewise.
16483         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16484
16485 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16486
16487         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16488         semicolon.  From Linux kernel.
16489
16490 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16491
16492         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16493
16494 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16495
16496         [BZ #156]
16497         * manual/socket.texi: Added statement about buffer
16498         for gethostbyname2_r.
16499
16500 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16501
16502         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16503         Use .p2align directive instead, throughout.
16504         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16505         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16506         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16507         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16509         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16510         * sysdeps/x86_64/strchr.S: Likewise.
16511         * sysdeps/x86_64/strrchr.S: Likewise.
16512
16513 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16514
16515         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16516
16517         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16518
16519         * sysdeps/generic/math_private.h (__mpsin1): Remove
16520         declaration.
16521         (__mpcos1): Likewise.
16522         (__mpsin): New argument __range_reduce.
16523         (__mpcos): Likewise.
16524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16525         (slow): Use __mpsin and __mpcos.
16526         (slow1): Likewise.
16527         (slow2): Likewise.
16528         (sloww): Likewise.
16529         (sloww1): Likewise.
16530         (sloww2): Likewise.
16531         (bsloww): Likewise.
16532         (bsloww1): Likewise.
16533         (bsloww2): Likewise.
16534         (cslow2): Likewise.
16535         (csloww): Likewise.
16536         (csloww1): Likewise.
16537         (csloww2): Likewise.
16538         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16539         range_reduce.  Merge in __mpsin1.
16540         (__mpcos): Likewise.
16541         (__mpsin1): Remove.
16542         (__mpcos1): Likewise.
16543
16544 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16545
16546         * locale/loadlocale.c (_nl_intern_locale_data): Use
16547         LOCFILE_ALIGNED_P.
16548         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16549         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16550         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16551         obstack data is appropriately aligned.
16552         (obstack_int32_grow_fast): Likewise.
16553         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16554         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16555         (add_locale_uint32_array): Likewise.
16556
16557 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16558
16559         * benchtests/Makefile: Remove ARGLIST and RET variables.
16560         ($(objpfx)bench-%.c): Pass only function name to the script.
16561         * benchtests/README: Update documentation.
16562         * benchtests/acos-inputs: Add new directives.
16563         * benchtests/acosh-inputs: Likewise.
16564         * benchtests/asin-inputs: Likewise.
16565         * benchtests/asinh-inputs: Likewise.
16566         * benchtests/atan-inputs: Likewise.
16567         * benchtests/atanh-inputs: Likewise.
16568         * benchtests/cos-inputs: Likewise.
16569         * benchtests/cosh-inputs: Likewise.
16570         * benchtests/exp-inputs: Likewise.
16571         * benchtests/log-inputs: Likewise.
16572         * benchtests/pow-inputs: Likewise.
16573         * benchtests/rint-inputs: Likewise.
16574         * benchtests/sin-inputs: Likewise.
16575         * benchtests/sinh-inputs: Likewise.
16576         * benchtests/tan-inputs: Likewise.
16577         * benchtests/tanh-inputs: Likewise.
16578         * scripts/bench.pl: Add support for new directives.
16579
16580 2013-10-07  Alan Modra  <amodra@gmail.com>
16581
16582         * README: Fix careless merge.
16583
16584 2013-10-05  Alan Modra  <amodra@gmail.com>
16585
16586         * NEWS: Mention powerpc64le support and bugs fixed.
16587         * README: Both big-endian and little-endian powerpc64 supported.
16588
16589 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16590
16591         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16592         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16593         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16594         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16595
16596 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16597
16598         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16599         match prototype.
16600
16601 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16602
16603         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16604         Move -mhard-float appending from
16605         ports/sysdeps/powerpc/powerpc32/Makefile.
16606         [$(with-fp) = yes] (ASFLAGS): Likewise.
16607         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16608         * sysdeps/powerpc/nofpu: Move directory from
16609         ports/sysdeps/powerpc/nofpu.
16610         * sysdeps/powerpc/soft-fp: Move directory from
16611         ports/sysdeps/powerpc/soft-fp.
16612         * sysdeps/powerpc/powerpc32/405: Move directory from
16613         ports/sysdeps/powerpc/powerpc32/405.
16614         * sysdeps/powerpc/powerpc32/440: Move directory from
16615         ports/sysdeps/powerpc/powerpc32/440.
16616         * sysdeps/powerpc/powerpc32/464: Move directory from
16617         ports/sysdeps/powerpc/powerpc32/464.
16618         * sysdeps/powerpc/powerpc32/476: Move directory from
16619         ports/sysdeps/powerpc/powerpc32/476.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16621         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16623         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16625         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16627         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16629         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16630         * README: Update for powerpc-*-linux-gnu software floating point
16631         support in libc.
16632
16633         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16634         case to powerpc/powerpc32*.
16635         * sysdeps/unix/sysv/linux/configure: Regenerated.
16636
16637         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16638         (_FPU_MASK_OM): Define as 0x04.
16639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16641         0x00c10080.
16642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16643         0x0000003c.
16644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16645
16646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16647         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16648         getcontext_e500.
16649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16650         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16651         setcontext_e500.
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16653         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16654         and setcontext_e500.
16655
16656 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16657
16658         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16659
16660 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16661
16662         * manual/threads.texi (Default Thread Attributes): Fix typo.
16663
16664 2013-10-04  Will Newton  <will.newton@linaro.org>
16665
16666         * malloc/Makefile: Add tst-memalign.
16667         * malloc/tst-memalign.c: New file.
16668
16669         * malloc/tst-posix_memalign.c: Add comments.
16670         (do_test): Add comments and call free on all potentially
16671         allocated pointers. Add space after cast.
16672
16673         * malloc/tst-pvalloc.c: Add comments.
16674         (do_test): Add comments and call free on all potentially
16675         allocated pointers. Remove duplicate check for NULL pointer.
16676         Add space after cast.
16677
16678         * malloc/tst-valloc.c: Add comments.
16679         (do_test): Add comments and call free on all potentially
16680         allocated pointers. Remove duplicate check for NULL pointer.
16681         Add space after cast.
16682
16683 2013-10-04  Alan Modra  <amodra@gmail.com>
16684
16685         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16686         Use stdint types in rather than __attribute__((mode())).
16687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16688
16689 2013-10-04  Alan Modra  <amodra@gmail.com>
16690
16691         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16692         Correct handling of unaligned relocs for little-endian.
16693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16694
16695 2013-10-04  Alan Modra  <amodra@gmail.com>
16696
16697         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16698         * configure: Regenerate.
16699         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16700         * shlib-versions: Likewise.
16701
16702 2013-10-04  Alan Modra  <amodra@gmail.com>
16703
16704         * string/tester.c (test_memrchr): Increment reported test cycle.
16705
16706 2013-10-04  Alan Modra  <amodra@gmail.com>
16707
16708         * string/test-memcpy.c (do_one_test): When reporting errors, print
16709         string address and don't overrun end of string.
16710
16711 2013-10-04  Alan Modra  <amodra@gmail.com>
16712
16713         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16714         insrdi.  Make better use of reg selection to speed exit slightly.
16715         Schedule entry path a little better.  Remove useless "are we done"
16716         checks on entry to main loop.  Handle wrapping around zero address.
16717         Correct main loop count.  Handle single left-over word from main
16718         loop inline rather than by using loop_small.  Remove extra word
16719         case in loop_small caused by wrong loop count.  Add little-endian
16720         support.
16721         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16723         cache hint.
16724         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16725         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16726         support.  Avoid rlwimi.
16727         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16728
16729 2013-10-04  Alan Modra  <amodra@gmail.com>
16730
16731         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16732         insrdi.  Formatting.
16733         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16734         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16735         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16736         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16737         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16738         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16739
16740 2013-10-04  Alan Modra  <amodra@gmail.com>
16741
16742         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16743         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16744         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16745         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16746         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16747         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16748         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16749         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16750         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16751         use of regs.  Use power7 mtocrf.  Tidy function tails.
16752
16753 2013-10-04  Alan Modra  <amodra@gmail.com>
16754
16755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16756         Formatting.  Consistently use rXXX register defines or rN defines.
16757         Use early exit labels that avoid restoring unused non-volatile regs.
16758         Make cr field use more consistent with rWORDn compares.  Rename
16759         regs used as shift registers for unaligned loop, using rN defines
16760         for short lifetime/multiple use regs.
16761         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16762         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16763         addi 1,1,64 to pop stack frame.  Simplify return value code.
16764         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16765
16766 2013-10-04  Alan Modra  <amodra@gmail.com>
16767
16768         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16769         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16770         rather than rlwimi.
16771         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16772         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16773         little-endian support.  Correct typos.
16774         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16775         rather than rlwimi.
16776         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16777         in loop and entry code to keep "and." results.
16778         (strchr): Add little-endian support.  Comment.  Move cntlzd
16779         earlier in tail.
16780         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16781
16782 2013-10-04  Alan Modra  <amodra@gmail.com>
16783
16784         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16785         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16786         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16787         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16788
16789 2013-10-04  Alan Modra  <amodra@gmail.com>
16790
16791         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16792         (rTMP): Define as r11.
16793         (strcmp): Add little-endian support.  Optimise tail.
16794         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16795         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16796         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16797         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16798         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16799         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16801
16802 2013-10-04  Alan Modra  <amodra@gmail.com>
16803
16804         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16805         little-endian support.  Remove unnecessary "are we done" tests.
16806         Handle "s" wrapping around zero and extremely large "size".
16807         Correct main loop count.  Handle single left-over word from main
16808         loop inline rather than by using small_loop.  Correct comments.
16809         Delete "zero" tail, use "end_max" instead.
16810         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16811
16812 2013-10-04  Alan Modra  <amodra@gmail.com>
16813
16814         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16815         support.  Don't branch over align.
16816         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16817         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16818         support.  Rearrange tmp reg use to suit.  Comment.
16819         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16820
16821 2013-10-04  Alan Modra  <amodra@gmail.com>
16822
16823         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16824
16825 2013-10-04  Alan Modra  <amodra@gmail.com>
16826
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16828         conditional form of branch and link when obtaining pc.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16830
16831 2013-10-04  Alan Modra  <amodra@gmail.com>
16832
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16834         HIWORD/LOWORD.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16837
16838 2013-10-04  Alan Modra  <amodra@gmail.com>
16839
16840         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16841         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16842         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16843         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16844         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16845         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16846         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16847         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16848         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16849         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16850
16851 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16852             Alistair Popple <alistair@ozlabs.au.ibm.com>
16853             Alan Modra <amodra@gmail.com>
16854
16855         [BZ #15723]
16856         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16857         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16858         _dl_hwcap access for little-endian.
16859         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16860         destroy vmx regs when saving unaligned.
16861         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16862         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16863         destroy vmx regs when saving unaligned.
16864
16865 2013-10-04  Alan Modra  <amodra@gmail.com>
16866
16867         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16868         Don't use a union to pack hi/low value.
16869
16870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16871
16872         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16873         for little-endian.
16874         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16876         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16877         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16878         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16879
16880 2013-10-04  Alan Modra  <amodra@gmail.com>
16881
16882         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16883         constants to usual value for .cst8 section, and remove redundant
16884         high address load.
16885         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16886         constant for 0x1p52.  Load little-endian words of double from
16887         correct stack offsets.
16888
16889 2013-10-04  Alan Modra  <amodra@gmail.com>
16890
16891         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16892         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16893         words of double from correct stack offsets.
16894         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16895         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16896         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16897         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16898         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16900         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16901         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16902         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16906         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16907         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16908         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16909         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16910         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16911
16912 2013-10-04  Alan Modra  <amodra@gmail.com>
16913
16914         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16915         64-bit int/double union.
16916         (_FPU_SETCW): Likewise.
16917         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16918         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16919
16920 2013-10-04  Alan Modra  <amodra@gmail.com>
16921
16922         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16923         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16924
16925 2013-10-04  Alan Modra  <amodra@gmail.com>
16926
16927         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16928         use vector int constants.
16929         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16930
16931 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16932
16933         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16934         array with long long.
16935         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16936         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16937         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16938         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16939         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16940         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16941         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16942         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16943         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16944         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16945         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16946         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16947         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16948
16949 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16950
16951         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16952         (__signbit): Likewise.  Correct for little-endian.
16953         (__signbitl): Call __signbit.
16954         (lrint): Correct for little-endian.
16955         (lrintf): Call lrint.
16956
16957 2013-10-04  Alan Modra  <amodra@gmail.com>
16958
16959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16960         union 32-bit int array member with 64-bit int array.
16961         (t515, tm256): Double rather than long double.
16962         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16963
16964 2013-10-04  Alan Modra  <amodra@gmail.com>
16965
16966         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16967         Delete.
16968         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16970         version of math_ldbl.h.
16971
16972 2013-10-04  Alan Modra  <amodra@gmail.com>
16973
16974         [BZ #15734], [BZ #15735]
16975         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16976         all uses of ieee875 long double macros and unions.  Simplify test
16977         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16978         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16979         normalize after ldbl_extract_mantissa, and don't add hidden bit
16980         already handled.  Don't treat low word of ieee854 mantissa like
16981         low word of IBM long double and mask off bit when testing for
16982         zero.
16983         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16984         all uses of ieee875 long double macros and unions.  Simplify tests
16985         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16986         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16987         two1022, instead use their values.  Recognise that tests for large
16988         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16989         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16990         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16991         test for 0.0L and nan.  Correct negation.
16992         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16993         ieee875 long double macros and unions.  Correct output for large
16994         magnitude x.  Correct absolute value calculation.
16995         (__erfcl): Likewise.
16996         * math/libm-test.inc: Add tests for errors discovered in IBM long
16997         double versions of fmodl, remainderl, erfl and erfcl.
16998
16999 2013-10-04  Alan Modra  <amodra@gmail.com>
17000
17001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17002         all uses of ieee854 long double macros and unions.  Simplify tests
17003         for long doubles that are fully specified by the high double.
17004         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17005         Likewise.
17006         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17007         Remove dead code too.
17008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17009         (__ieee754_ynl): Likewise.
17010         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17011         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17012         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17013         Remove dead code too.
17014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17015         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17016         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17017         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17018         Simplify.
17019         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17020         Simplify.
17021         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17022         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17024         Comment on variable precision.
17025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17026         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17027         Likewise.
17028         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17029         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17032         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17033
17034 2013-10-04  Alan Modra  <amodra@gmail.com>
17035
17036         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17038         all uses of ieee854 long double macros and unions.
17039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17040         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17041         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17042         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17043         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17045         Likewise.
17046         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17047         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17048         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17049         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17050         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17051         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17052         Simplify sign and nan test too.
17053         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17054         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17055         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17056         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17057         Likewise.
17058         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17059         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17060         Likewise.
17061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17062         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17063         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17064         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17065         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17067
17068 2013-10-04  Alan Modra  <amodra@gmail.com>
17069
17070         * stdio-common/printf_size.c (__printf_size): Don't use
17071         union ieee854_long_double in fpnum union.
17072         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17073         signbit macro to retrieve sign from long double.
17074         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17075         retrieve sign from long double.
17076         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17077         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17078         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17079         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17080         * math/test-misc.c (main): Don't use union ieee854_long_double.
17081
17082 2013-10-04  Alan Modra  <amodra@gmail.com>
17083
17084         [BZ #15680]
17085         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17086         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17087         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17088         calculation.  Remove unnecessary test for denormal exponent.
17089         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17090         Correct handling of denormals.  Avoid undefined shift behaviour.
17091         Correct normalisation of low mantissa when low double is denormal.
17092         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17093         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17094         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17095         Correct normalisation of low mantissa.  Test for overflow of high
17096         mantissa and normalise.
17097         (ldbl_nearbyint): Use more readable constant for two52.
17098         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17099         (__mpn_construct_long_double): Fix test for overflow of high
17100         mantissa and correct normalisation.  Avoid undefined shift.
17101
17102 2013-10-04  Alan Modra  <amodra@gmail.com>
17103
17104         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17105         (union ibm_extended_long_double): Define as an array of ieee754_double.
17106         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17107         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17108         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17109         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17111         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17112         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17113         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17115         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17117
17118 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17119
17120         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17121         page size instead of calling getpagesize.
17122
17123         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17124         (LOCFILE_ALIGN_MASK): Likewise.
17125         (LOCFILE_ALIGN_UP): Likewise.
17126         (LOCFILE_ALIGNED_P): Likewise.
17127         * locale/programs/ld-collate.c (collate_output): Use the new
17128         macros instead of __alignof__ (int32_t).
17129         * locale/weight.h (findidx): Likewise.
17130
17131 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17132
17133         [BZ #431]
17134         * manual/string.texi: Fix strncat and wcsncat.
17135
17136 2013-10-03  Brooks Moses  <bmoses@google.com>
17137
17138         [BZ #15915]
17139         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17140         * Makerules: ...here, and adjust associated comments.
17141
17142 2013-10-02  Will Newton  <will.newton@linaro.org>
17143
17144         * malloc/Makefile: Add tst-pvalloc.
17145         * malloc/tst-pvalloc.c: New file.
17146
17147 2013-10-02  Will Newton  <will.newton@linaro.org>
17148
17149         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17150         improve test coverage.
17151
17152 2013-10-02  Will Newton  <will.newton@linaro.org>
17153
17154         * malloc/Makefile: Add tst-posix_memalign.
17155         * malloc/tst-posix_memalign.c: New file.
17156
17157 2013-10-01  Eric Blake  <eblake@redhat.com>
17158
17159         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17160         Use __THROWNL rather than __THROW on static functions.
17161
17162 2013-09-30  Petr Machata  <pmachata@redhat.com>
17163
17164         * elf/elf.h (R_AARCH64_ABS16): New macro.
17165         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17166         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17167         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17168         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17169         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17170         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17171         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17172         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17173         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17174         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17175         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17176         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17177         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17178         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17179         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17180         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17181         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17182         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17183         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17184         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17185         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17186         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17187         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17188         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17189         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17190         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17191         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17192         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17193         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17194         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17195         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17196         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17197         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17198         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17199         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17200         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17201         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17202         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17203         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17204         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17205         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17206         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17207         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17208         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17209         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17210         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17211         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17212         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17213         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17214         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17215         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17216         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17217         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17218         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17219         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17220         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17221         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17222         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17223         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17224         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17225         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17226         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17227         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17228         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17229         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17230         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17231         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17232         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17233         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17234         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17235         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17236         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17237         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17238         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17239         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17240         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17241         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17242         (R_AARCH64_TLSDESC_LDR): Likewise.
17243         (R_AARCH64_TLSDESC_ADD): Likewise.
17244         (R_AARCH64_TLSDESC_CALL): Likewise.
17245
17246 2013-09-30  Andreas Schwab  <schwab@suse.de>
17247
17248         [BZ #15048]
17249         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17250         the nss database lookup.
17251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17253
17254 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17255
17256         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17257
17258 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17259
17260         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17261         ${Bash-specific parameter/pattern/string} parameter expansion.
17262         * sysdeps/unix/make-syscalls.sh: Likewise.
17263
17264 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17265
17266         * sysdeps/sh/stackguard-macros.h: New file.
17267
17268 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17269
17270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17272         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17273         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17274         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17275         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17276
17277 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17278
17279         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17280         Fix thread ID register.
17281
17282 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17283
17284         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17285         [POSIX || UNIX98]: Require rather than permitting all symbols from
17286         <time.h>.
17287         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17288         element of struct sched_param.
17289         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17290         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17291         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17292         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17293         constant.
17294
17295 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17296
17297         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17298         argument calculation.
17299
17300 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17301
17302         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17303         Expect macro.
17304         [POSIX] (pthread_attr_t): Do not require type.
17305         [POSIX] (pthread_cond_t): Likewise.
17306         [POSIX] (pthread_condattr_t): Likewise.
17307         [POSIX] (pthread_key_t): Likewise.
17308         [POSIX] (pthread_mutex_t): Likewise.
17309         [POSIX] (pthread_mutexattr_t): Likewise.
17310         [POSIX] (pthread_once_t): Likewise.
17311         [POSIX] (pthread_t): Likewise.
17312         [POSIX-based standards] (pthread_atfork): Expect function.
17313
17314 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17315             Richard Sandiford  <richard@codesourcery.com>
17316
17317         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17318         (swap_endianness_p): New extern variable.
17319         (set_big_endian): New inline function.
17320         (maybe_swap_uint32): Likewise.
17321         (maybe_swap_uint32_array): Likewise.
17322         (maybe_swap_uint32_obstack): Likewise.
17323         * locale/programs/locfile.c: Include <stdbool.h>.
17324         (swap_endianness_p): New variable.
17325         (add_locale_uint32): Call maybe_swap_uint32.
17326         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17327         (write_locale_data): Call maybe_swap_uint32_array.
17328         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17329         maybe_swap_uint32.
17330         (obstack_int32_grow_fast): Likewise.
17331         (output_weightwc): Call maybe_swap_uint32_obstack.
17332         (collate_output): Likewise.
17333         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17334         (OPT_LITTLE_ENDIAN): Likewise.
17335         (options): Add --little-endian and --big-endian options.
17336         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17337         * locale/programs/locarchive.c: Include "locfile.h".
17338         (GET): New macro.
17339         (SET): Likewise.
17340         (INC): Likewise.
17341         (create_archive): Use the new macros to access fields of
17342         structures directly mapped from or written to locale archives.
17343         (oldlocrecentcmp): Likewise.
17344         (enlarge_archive): Likewise.
17345         (insert_name): Likewise.
17346         (add_alias): Likewise.
17347         (add_locale): Likewise.
17348         (delete_locales_from_archive): Likewise.
17349         (show_archive_content): Likewise.
17350         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17351         locale data.
17352
17353 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17354
17355         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17356         http://www.gnu.org/doc/freemanuals.texi.
17357         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17358
17359 2013-09-24  Will Newton  <will.newton@linaro.org>
17360
17361         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17362         macro.
17363
17364 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17365
17366         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17367         unsigned char.
17368
17369 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17370
17371         * manual/threads.texi (POSIX Threads): Fix a typo.
17372
17373 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17374
17375         [BZ #14547]
17376         * string/tst-strcoll-overflow.c: New test case.
17377         * string/Makefile (xtests): Add tst-strcoll-overflow.
17378         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17379         cache if string sizes may cause integer overflow.
17380
17381         [BZ #14547]
17382         * string/strcoll_l.c (coll_seq): New members rule, idx,
17383         save_idx and back_us.
17384         (get_next_seq_nocache): New function.
17385         (do_compare_nocache): New function.
17386         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17387         when malloc fails.
17388
17389 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17390
17391         [BZ #15754]
17392         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17393         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17394         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17395
17396         [BZ #15754]
17397         * elf/Makefile (tests): Add tst-ptrguard1.
17398         (tests-static): Add tst-ptrguard1-static.
17399         (tst-ptrguard1-ARGS): Define.
17400         (tst-ptrguard1-static-ARGS): Define.
17401         * elf/tst-ptrguard1.c: New file.
17402         * elf/tst-ptrguard1-static.c: New file.
17403         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17404         * sysdeps/i386/stackguard-macros.h: Likewise.
17405         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17406         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17407         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17408         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17409         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17410         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17411
17412 2013-09-23  Hector Marco  <hecmargi@upv.es>
17413             Ismael Ripoll  <iripoll@disca.upv.es>
17414             Carlos O'Donell  <carlos@redhat.com>
17415
17416         [BZ #15754]
17417         * sysdeps/generic/stackguard-macros.h: Define
17418         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17419         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17420         Define __pointer_chk_guard_local.
17421         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17422         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17423
17424 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17425
17426         [BZ #15859]
17427         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17428
17429 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17430
17431         * include/string.h (__ffs): Declare as hidden.
17432         * string/ffs.c (__ffs): Define as hidden.
17433         * sysdeps/i386/ffs.c (__ffs): Likewise.
17434         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17435         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17436         * sysdeps/s390/ffs.c (__ffs): Likewise.
17437         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17438
17439 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17440
17441         * NEWS: Mention malloc probes.
17442
17443         * malloc/arena.c (new_heap): New memory_heap_new probe.
17444         (grow_heap): New memory_heap_more probe.
17445         (shrink_heap): New memory_heap_less probe.
17446         (heap_trim): New memory_heap_free probe.
17447         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17448         (systrim): New memory_sbrk_less probe.
17449         * manual/probes.texi: Document them.
17450
17451         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17452         * manual/probes.texi: Document it.
17453
17454         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17455         (__libc_realloc): Add memory_realloc_retry probe.
17456         (__libc_memalign): Add memory_memalign_retry probe.
17457         (__libc_valloc): Add memory_valloc_retry probe.
17458         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17459         (__libc_calloc): Add memory_calloc_retry probe.
17460         * manual/probes.texi: Document them.
17461
17462         * malloc/arena.c (get_free_list): Add probe
17463         memory_arena_reuse_free_list.
17464         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17465         and memory_arena_reuse.
17466         (arena_get2) [!PER_THREAD]: Likewise.
17467         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17468         memory_arena_reuse_realloc.
17469         * manual/probes.texi: Document them.
17470
17471         * malloc/malloc.c (__libc_free): Add
17472         memory_mallopt_free_dyn_thresholds probe.
17473         (__libc_mallopt): Add multiple memory_mallopt probes.
17474         * manual/probes.texi: Document them.
17475
17476         * malloc/malloc.c: Include stap-probe.h.
17477         (__libc_mallopt): Add memory_mallopt probe.
17478         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17479         * manual/probes.texi: New.
17480         * manual/Makefile (chapters): Add probes.
17481         * manual/threads.texi: Set next node.
17482
17483 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17484
17485         [BZ #15963, #13985]
17486         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17487         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17488         Add `Chinese' to `nan' entry name.
17489
17490 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17491
17492         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17493         (POLYNOMIAL): Likewise.
17494         (TAYLOR_SINCOS): Likewise.
17495         (TAYLOR_SLOW): Likewise.
17496         (__sin): Use TAYLOR_SINCOS.
17497         (__cos): Likewise.
17498         (slow): Use TAYLOR_SLOW.
17499         (sloww): Likewise.
17500         (bsloww): Likewise.
17501         (csloww): Likewise.
17502
17503 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17504
17505         * stdlib/strtod_l.c: Fix buffer overrun.
17506
17507 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17508
17509         * benchtests/Makefile (bench): Add sincos.
17510         * benchtests/bench-sincos.c: New file.
17511
17512         * math/libm-test.inc (cos_test_data): New test inputs.
17513         (sin_test_data): Likewise.
17514
17515         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17516         macro.
17517         (__sin): Use it.
17518         (__cos): Likewise.
17519         (slow1): Likewise.
17520         (slow2): Likewise.
17521         (sloww1): Likewise.
17522         (sloww2): Likewise.
17523         (bsloww1): Likewise.
17524         (bsloww2): Likewise.
17525         (cslow2): Likewise.
17526         (csloww1): Likewise.
17527         (csloww2): Likewise.
17528
17529         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17530         function.
17531         (__sin): Use it.
17532         (__cos): Likewise.
17533
17534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17535         gotos.
17536         (__cos): Likewise.
17537
17538 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17539
17540         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17541         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17542         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17543         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17544         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17545         * elf/cache.c (print_entry): Handle the new cache flags.
17546
17547 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17548             Aldy Hernandez  <aldyh@redhat.com>
17549
17550         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17551         Change condition to [_SOFT_FLOAT].
17552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17564         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17567         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17568         declaration.
17569
17570 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17571
17572         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17573         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17574         (__longjmp): Use LOAD_GP to load saved GPRs.
17575         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17576         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17577         (__sigsetjmp): Use SAVE_GP to save GPRs.
17578
17579         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17580         Do not append -msoft-float.
17581         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17582
17583 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17584
17585         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17586
17587 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17588
17589         [BZ #15966]
17590         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17591         (_FPU_GETCW): Use initial "__" on variable and field names but not
17592         on macro parameter name.
17593         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17594         parentheses around reference to macro parameter.
17595
17596 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17597
17598         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17599         prototype.
17600         (ctype_startup): Use uint32_t in cast and sizeof for
17601         ctype->charnames.
17602
17603 2013-09-11  Jia Liu  <proljc@gmail.com>
17604
17605         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17606         __daddr_t_defined.
17607         [__FreeBSD__]: Likewise.
17608
17609 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17610
17611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17612         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17613         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17614         (strchr): Remove __strchr_sse42 ifunc selection.
17615         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17616         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17617
17618 2013-09-11  Will Newton  <will.newton@linaro.org>
17619
17620         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17621         parameter to RES. Remove hardcoded 1000 value.
17622         * benchtests/bench-skeleton.c (main): Pass RES parameter
17623         to TIMING_INIT and multiply result by 1000.
17624
17625 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17626
17627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17628
17629 2013-09-11  Andreas Schwab  <schwab@suse.de>
17630
17631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17632         if not defined.
17633         (O_TMPFILE) [__USE_GNU]: Define.
17634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17635         Define.
17636
17637 2013-09-11  Will Newton  <will.newton@linaro.org>
17638
17639         [BZ #15857]
17640         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17641         does not overflow.
17642
17643 2013-09-11  Will Newton  <will.newton@linaro.org>
17644
17645         [BZ #15856]
17646         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17647         does not overflow.
17648
17649 2013-09-11  Will Newton  <will.newton@linaro.org>
17650
17651         [BZ #15855]
17652         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17653         does not overflow.
17654
17655 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17656
17657         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17658         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17659         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17660         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17661         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17662
17663 2013-09-10  Allan McRae  <allan@archlinux.org>
17664
17665         [BZ #15748]
17666         * manual/arith.texi (Parsing of Floats): Clarify
17667         cross-reference.
17668
17669         [BZ #15849]
17670         * manual/install.texi (Running make install): Mention
17671         --enable-pt-chown.
17672         * INSTALL: Regenerated.
17673
17674 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17675
17676         * csu/init-first.c (_init): Remove the !SHARED condition around
17677         FPU control word initialization.
17678         * elf/dl-support.c (_dl_fpu_control): New variable.
17679         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17680         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17681         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17682         * math/test-fpucw-static.c: New file.
17683         * math/test-fpucw-ieee.c: New file.
17684         * math/test-fpucw-ieee-static.c: New file.
17685         * math/Makefile (tests): Add `test-fpucw-ieee' and
17686         `$(tests-static)'.
17687         (tests-static): New variable.
17688         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17689         dependency to...
17690         [($(build-shared),yes)]
17691         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17692         ... this.
17693         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17694         New dependency.
17695
17696 2013-09-09  Allan McRae  <allan@archlinux.org>
17697
17698         [BZ #15939]
17699         * manual/string.texi (Collation Functions): Fix typo in
17700         strcoll example.
17701         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17702
17703         [BZ #15893]
17704         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17705
17706         [BZ #15892]
17707         * libio/memstream.c (open_memstream): Fix memory leak.
17708         * libio/wmemstream.c (open_wmemstream): Likewise.
17709
17710         [BZ #15895]
17711         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17712
17713 2013-09-09  Will Newton  <will.newton@linaro.org>
17714
17715         * malloc/Makefile: Add tst-realloc to tests.
17716         * malloc/tst-realloc.c: New file.
17717
17718 2013-09-09  Allan McRae  <allan@archlinux.org>
17719
17720         [BZ #15844]
17721         * COPYING: Update from GNU website to fix FSF address.
17722         * COPYING.LIB: Likewise.
17723
17724 2013-09-06  David S. Miller  <davem@davemloft.net>
17725
17726         * po/zh_TW.po: Update Chinese (traditional) translation from
17727         translation project.
17728
17729 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17730             Joseph Myers  <joseph@codesourcery.com>
17731
17732         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17733         "localeinfo.h".
17734         (obstack_chunk_alloc): New macro.
17735         (obstack_chunk_free): Likewise.
17736         (record_offset): New function.
17737         (init_locale_data): Likewise.
17738         (align_locale_data): Likewise.
17739         (add_locale_empty): Likewise.
17740         (add_locale_raw_data): Likewise.
17741         (add_locale_raw_obstack): Likewise.
17742         (add_locale_string): Likewise.
17743         (add_locale_wstring): Likewise.
17744         (add_locale_uint32): Likewise.
17745         (add_locale_uint32_array): Likewise.
17746         (add_locale_char): Likewise.
17747         (start_locale_structure): Likewise.
17748         (end_locale_structure): Likewise.
17749         (start_locale_prelude): Likewise.
17750         (end_locale_prelude): Likewise.
17751         (write_locale_data): Take locale_file structure rather than an
17752         iovec.
17753         * locale/programs/locfile.h: Include "obstack.h".
17754         (struct locale_file): Change to store locale file contents instead
17755         of header.
17756         (init_locale_data): New prototype.
17757         (align_locale_data): Likewise.
17758         (add_locale_empty): Likewise.
17759         (add_locale_raw_data): Likewise.
17760         (add_locale_raw_obstack): Likewise.
17761         (add_locale_string): Likewise.
17762         (add_locale_wstring): Likewise.
17763         (add_locale_uint32): Likewise.
17764         (add_locale_uint32_array): Likewise.
17765         (add_locale_char): Likewise.
17766         (start_locale_structure): Likewise.
17767         (end_locale_structure): Likewise.
17768         (start_locale_prelude): Likewise.
17769         (end_locale_prelude): Likewise.
17770         (write_locale_data): Update prototype.
17771         * locale/programs/3level.h (struct TABLE): Remove result field.
17772         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17773         Use new locale_file interface.
17774         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17775         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17776         * locale/programs/ld-address.c (address_output): Use new
17777         locale_file interface.
17778         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17779         NO_ADD_LOCALE.
17780         (collate_finish): Don't call collseq_table_finalize.
17781         (collate_output): Use new locale_file interface.
17782         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17783         in file.
17784         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17785         (TABLE): Move defines earlier in file.
17786         (ELEMENT): Likewise.
17787         (DEFAULT): Likewise.
17788         (wctrans_table_add): Move macro and inline function earlier in
17789         file.
17790         (struct wctype_table): Move type earlier in file.
17791         (add_locale_wctype_table): New static prototype.
17792         (struct locale_ctype_t): Use logical types instead of struct iovec
17793         pointers for members.
17794         (ctype_output): Use new locale_file interface.
17795         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17796         new locale_file interface.
17797         (allocate_arrays): Update for use of new locale_file interface.
17798         * locale/programs/ld-identification.c (identification_output): Use
17799         new locale_file interface.
17800         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17801         * locale/programs/ld-messages.c (messages_output): Likewise.
17802         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17803         * locale/programs/ld-name.c (name_output): Likewise.
17804         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17805         * locale/programs/ld-paper.c (paper_output): Likewise.
17806         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17807         * locale/programs/ld-time.c (time_output): Likewise.
17808
17809 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17810
17811         * benchtests/Makefile: Add memrchr benchmark.
17812         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17813         benchmark as memrchr.
17814         * benchtests/bench-memrchr-ifunc.c: New file.
17815         * benchtests/bench-memrchr.c: New file.
17816
17817 2013-09-06   Will Newton  <will.newton@linaro.org>
17818
17819         * benchtests/Makefile (string-bench): Add memcpy.
17820
17821 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17822             Cong Wang  <amwang@redhat.com>
17823
17824         [BZ #15850]
17825         * sysdeps/unix/sysv/linux/bits/in.h
17826         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17827         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17828         before __USE_KERNEL_IPV6_DEFS uses.
17829         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17830         IPPROTO_BEETPH.
17831         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17832         sockaddr_in6, or ipv6_mreq.
17833
17834 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17835
17836         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17837         memory access for final bytes in some large inputs.
17838         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17839
17840 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17841
17842         * string/test-memrchr.c: New file.
17843         * string/test-memrchr-ifunc.c: New file.
17844         * string/Makefile: Add new memrchr testcase.
17845
17846 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17847
17848         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17849         fanotify_init returns EPERM.
17850
17851 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17852
17853         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17854         errors.
17855         (top level): Treat second token from macro or constant entries for
17856         allowed headers as allowed.
17857         * include/complex.h: Condition internal declarations on
17858         [!_ISOMAC].
17859         * include/fenv.h: Condition include of <stdbool.h> and internal
17860         declarations on [!_ISOMAC].
17861
17862 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17863
17864         [BZ #15923]
17865         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17866
17867 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17868
17869         * configure.in (--enable-versioning): Remove configure option.
17870         (libc_cv_asm_symver_directive): Remove configure test.
17871         (libc_cv_ld_version_script_option): Likewise.
17872         (VERSIONING): Remove variable and AC_SUBST.
17873         (DO_VERSIONING): Remove AC_DEFINE.
17874         * configure: Regenerated.
17875         * config.h.in (DO_VERSIONING): Remove macro.
17876         * Makerules [$(versioning) = yes]: Change conditionals to
17877         [$(build-shared) = yes].
17878         * config.make.in (versioning): Remove variable.
17879         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17880         [$(build-shared) = yes].
17881         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17882         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17883         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17884         [$(build-shared) = yes].
17885         * extra-lib.mk [$(versioning) = yes]: Likewise.
17886         * hurd/Makefile [$(versioning) = yes]: Likewise.
17887         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17888         [SHARED].
17889         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17890         [SHARED].
17891         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17892         [SHARED && !NO_HIDDEN].
17893         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17894         [SHARED].
17895         [SHARED && DO_VERSIONING]: Likewise..
17896         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17897         [$(build-shared) = yes].
17898         * manual/install.texi (--disable-versioning): Remove
17899         documentation.
17900         * INSTALL: Regenerated.
17901         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17902         to [SHARED].
17903         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17904         [$(build-shared) = yes].
17905         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17906         * sysdeps/i386/i686/multiarch/strstr-c.c
17907         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17908         [SHARED && !NO_HIDDEN].
17909         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17910         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17911         * sysdeps/powerpc/powerpc32/dl-machine.c
17912         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17913         * sysdeps/powerpc/powerpc32/sysdep.h
17914         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17915         to [SHARED && PIC && !NO_HIDDEN].
17916         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17917         conditional to [SHARED].
17918
17919 2013-09-04   Will Newton  <will.newton@linaro.org>
17920
17921         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17922         * benchtests/bench-string.h: Include bench-timing.h instead
17923         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17924         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17925         call to HP_TIMING_DIFF_INIT.
17926         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17927         instead of hp-timing.h macros.
17928         * benchtests/bench-memchr.c: Likewise.
17929         * benchtests/bench-memcmp.c: Likewise.
17930         * benchtests/bench-memcpy.c: Likewise.
17931         * benchtests/bench-memmem.c: Likewise.
17932         * benchtests/bench-memmove.c: Likewise.
17933         * benchtests/bench-memset.c: Likewise.
17934         * benchtests/bench-rawmemchr.c: Likewise.
17935         * benchtests/bench-strcasecmp.c: Likewise.
17936         * benchtests/bench-strcasestr.c: Likewise.
17937         * benchtests/bench-strcat.c: Likewise.
17938         * benchtests/bench-strchr.c: Likewise.
17939         * benchtests/bench-strcmp.c: Likewise.
17940         * benchtests/bench-strcpy.c: Likewise.
17941         * benchtests/bench-strcpy_chk.c: Likewise.
17942         * benchtests/bench-strlen.c: Likewise.
17943         * benchtests/bench-strncasecmp.c: Likewise.
17944         * benchtests/bench-strncat.c: Likewise.
17945         * benchtests/bench-strncmp.c: Likewise.
17946         * benchtests/bench-strncpy.c: Likewise.
17947         * benchtests/bench-strnlen.c: Likewise.
17948         * benchtests/bench-strpbrk.c: Likewise.
17949         * benchtests/bench-strrchr.c: Likewise.
17950         * benchtests/bench-strspn.c: Likewise.
17951         * benchtests/bench-strstr.c: Likewise.
17952
17953 2013-09-04  Will Newton  <will.newton@linaro.org>
17954
17955         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17956
17957 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17958
17959         [BZ #15427]
17960         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17961         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17962         * math/libm-test.inc (lgamma_test_data): Add more tests.
17963         * sysdeps/i386/fpu/libm-test-ulps: Update.
17964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17965
17966 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17967
17968         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17970         Add ifunc.
17971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17972         Add strcmp-sse2-unaligned
17973         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17974
17975 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17976
17977         * Versions.def (libc): Add GLIBC_2.19.
17978
17979 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17980
17981         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17982         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17983
17984 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17985
17986         [BZ #14155]
17987         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17988         intermediate calculations in recurrence.
17989         (__ieee754_ynf): Likewise.
17990         * math/libm-test.inc (jn_test_data): Do not allow spurious
17991         underflow exception.  Add more tests.
17992         (yn_test_data): Add more tests.
17993         * sysdeps/i386/fpu/libm-test-ulps: Update.
17994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995
17996 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17997
17998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17999
18000 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18001
18002         * csu/init-first.c: Fix then/than typos.
18003         * locale/programs/ld-collate.c: Likewise.
18004         * locale/programs/linereader.h: Likewise.
18005         * manual/charset.texi: Likewise.
18006         * manual/filesys.texi: Likewise.
18007         * manual/stdio.texi: Likewise.
18008         * manual/string.texi: Likewise.
18009         * stdlib/fmtmsg.c: Likewise.
18010         * sysdeps/i386/stpncpy.S: Likewise.
18011         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18012         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18014         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18015
18016 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18017
18018         * elf/dl-open.c: Fix typos.
18019         * iconvdata/gbbig5.c: Likewise.
18020         * iconvdata/iso-2022-jp.c: Likewise.
18021         * iconv/gconv_int.h: Likewise.
18022         * iconv/loop.c: Likewise.
18023         * nis/rpcsvc/nis.h: Likewise.
18024         * resolv/ns_name.c: Likewise.
18025         * stdio-common/vfscanf.c: Likewise.
18026         * streams/stropts.h: Likewise.
18027         * sunrpc/rpc_thread.c: Likewise.
18028         * sysdeps/i386/strpbrk.S: Likewise.
18029         * sysdeps/ieee754/k_standard.c: Likewise.
18030         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18032         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18033         * sysdeps/mach/hurd/profil.c: Likewise.
18034         * sysdeps/s390/dl-procinfo.h: Likewise.
18035         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18036         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18037         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18038         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18040
18041 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18042
18043         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18045
18046 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18047
18048         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18049         aix specific files.
18050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18053         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18054         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18055         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18056         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18057         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18058
18059 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18060             Roland McGrath  <roland@hack.frob.com>
18061
18062         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18063         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18064
18065 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18066
18067         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18068         __executable_start symbol instead of _start.
18069
18070 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18071
18072         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18073         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18074         Move macros to...
18075         * sysdeps/gnu/ldsodefs.h: ... this new file.
18076
18077         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18078         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18079         instead of ELFOSABI_LINUX.
18080
18081         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18082         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18083         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18084         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18085         Likewise.
18086         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18087         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18088         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18089         Likewise.
18090         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18091         (ibm_extended_long_double): Add ieee_nan member.
18092         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18093         (do_test): New function.
18094
18095         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18096         TEST_TRUNC.
18097         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18098         functions, renamed from truncdfsf_test, trunctfsf_test,
18099         trunctfdf_test.
18100         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18101         functions.
18102         (do_test): Run all these.
18103
18104 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18105
18106         * argp/argp-help.c: Fix typos.
18107         * argp/argp-parse.c: Likewise.
18108         * debug/backtracesyms.c: Likewise.
18109         * elf/elf.h: Likewise.
18110         * malloc/malloc.c: Likewise.
18111         * nis/nis_print.c: Likewise.
18112         * resolv/res_comp.c: Likewise.
18113         * stdlib/stdlib.h: Likewise.
18114         * sunrpc/clnt_tcp.c: Likewise.
18115         * sunrpc/clnt_udp.c: Likewise.
18116         * sunrpc/clnt_unix.c: Likewise.
18117         * sysdeps/unix/bsd/ptsname.c: Likewise.
18118         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18119         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18121         Likewise.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18123         Likewise.
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18125         Likewise.
18126         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18127
18128 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18129
18130         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18132
18133 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18134
18135         [BZ #15897]
18136         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18137         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18138         ($(objpfx)bug-dl-leaf): New rule.
18139         ($(objpfx)bug-dl-leaf.so): Likewise.
18140         ($(objpfx)bug-dl-leaf.out): Likewise.
18141         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18142         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18143         * dlfcn/bug-dl-leaf.c: New test.
18144         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18145         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18146         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18147         (dlclose): Likewise.
18148         (dlmopen): Likewise.
18149
18150 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18151
18152         * include/netdb.h [!_ISOMAC]:
18153         Don't include <tls.h>.
18154         (h_errno, __libc_h_errno): Move declaration and macros out of
18155         [_LIBC_REENTRANT].
18156
18157         * include/resolv.h [_RESOLV_H_]:
18158         Don't include <tls.h>.
18159         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18160         * resolv/res_libc.c: Don't include <tls.h>.
18161         (_res): Use __attribute__ ((nocommon)) in place of
18162         __attribute__ ((section (".bss"))).
18163
18164         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18165         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18166
18167         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18168
18169         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18170         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18171
18172         * resolv/res_mkquery.c: Include <sys/time.h>.
18173
18174         * inet/ifreq.c: Moved to ...
18175         * sysdeps/unix/ifreq.c: ... here.
18176         * inet/ifreq.c: New file, true stub version.
18177
18178         * socket/sa_len.c: New file.
18179         * socket/Makefile (aux): Add it.
18180         * sysdeps/unix/sysv/linux/Makefile
18181         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18182         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18183         and #include <socket/sa_len.c>.
18184         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18185         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18186
18187         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18188         * bits/socket.h: ... here.
18189
18190         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18191         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18192         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18193
18194 2013-08-27  Andreas Schwab  <schwab@suse.de>
18195
18196         [BZ #15736]
18197         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18198         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18199         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18200         * string/test-strcasecmp.c (test_main): Run tests in several
18201         locales.
18202         * string/test-strncasecmp.c (test_main): Likewise.
18203
18204         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18205         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18206         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18208         (__strncasecmp_ssse3) [PIC]: Likewise.
18209
18210 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18211
18212         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18213
18214         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18215         instead of explicitly declaring xdecrypt.
18216         * nis/nss_nis/nis-publickey.c: Likewise.
18217
18218 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18219
18220         [BZ #15890]
18221         * nscd/aicache.c: Include res_hconf.h.
18222         (addhstaiX): Initialize res_hconf.
18223
18224 2013-08-26  Andreas Schwab  <schwab@suse.de>
18225
18226         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18227         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18228
18229 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18230
18231         * nscd/aicache.c (addhstaiX): Fix indentation.
18232
18233 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18234
18235         * configure.ac: Quote $build_pt_chown test.
18236         * configure: Regenerated.
18237
18238 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18239
18240         [BZ #15532]
18241         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18242         * math/s_cexpf.c (__cexpf): Likewise.
18243         * math/s_cexpl.c (__cexpl): Likewise.
18244         * math/libm-test.inc (cexp_test_data): Correct expected return
18245         value for NaN + i0.  Add another test.
18246
18247 2013-08-22  David S. Miller  <davem@davemloft.net>
18248
18249         * po/ca.po: Update Catalan translation from translation project.
18250         * po/uk.po: Add Ukrainian translations from translation project.
18251
18252 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18253
18254         [BZ #15797]
18255         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18256         is infinite, not alongside NaN test.
18257         * math/s_fdimf.c (__fdimf): Likewise.
18258         * math/s_fdiml.c (__fdiml): Likewise.
18259         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18260         errno is unchanged.
18261
18262 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18263
18264         * argp/argp-help.c: Fix typos.
18265         * crypt/speeds.c: Likewise.
18266         * csu/check_fds.c: Likewise.
18267         * elf/dl-load.c: Likewise.
18268         * elf/dl-open.c: Likewise.
18269         * elf/reldep3.c: Likewise.
18270         * elf/reldep.c: Likewise.
18271         * elf/sprof.c: Likewise.
18272         * iconv/iconv_charmap.c: Likewise.
18273         * iconv/skeleton.c: Likewise.
18274         * iconv/strtab.c: Likewise.
18275         * io/lockf64.c: Likewise.
18276         * libio/libioP.h: Likewise.
18277         * resolv/gai_notify.c: Likewise.
18278         * resolv/ns_name.c: Likewise.
18279         * resolv/ns_samedomain.c: Likewise.
18280         * resolv/res_send.c: Likewise.
18281         * stdlib/random.c: Likewise.
18282         * sunrpc/rpc/xdr.h: Likewise.
18283         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18284         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18285         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18286         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18288         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18289         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18291         * sysdeps/mach/hurd/check_fds.c: Likewise.
18292         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18294         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18296         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18297         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18298         * sysdeps/pthread/aio_notify.c: Likewise.
18299         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18300         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18301         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18303         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18304
18305 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18306
18307         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18308         version if bit_Slow_SSE4_2 is set.
18309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18310         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18311
18312 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18313
18314         [BZ #15867]
18315         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18316         trampoline stack frame information.
18317         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18319         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18320         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18321         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18322         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18323         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18324         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18325         sa_flags value.
18326         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18327         interrupting a syscall and set with option SA_SIGINFO.
18328
18329 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18330
18331         [BZ #15531]
18332         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18333         argument is infinite.
18334         * math/s_cprojf.c (__cprojf): Likewise.
18335         * math/s_cprojl.c (__cprojl): Likewise.
18336         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18337         * math/libm-test.inc (cproj_test_data): Add more tests.
18338
18339         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18340
18341         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18342         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18343         size.  Use __ffs to determine corresponding shift.
18344
18345 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18346             Roland McGrath  <roland@hack.frob.com>
18347
18348         * Makefile (INSTALL): Remove trailing blank lines from output of
18349         makeinfo.
18350
18351 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18352
18353         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18354         Align 32 bit compat elf_greg to 8 bytes.
18355
18356 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18357
18358         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18359
18360 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18361
18362         * string/strcoll_l.c (coll_seq): New structure.
18363         (get_next_seq_cached): New function.
18364         (get_next_seq): New function.
18365         (do_compare): New function.
18366         (STRCOLL): Use GNU style definition.  Simplify implementation
18367         by using get_next_seq, get_next_seq_cached and do_compare.
18368
18369 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18370
18371         [BZ #14699]
18372         CVE-2013-4237
18373         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18374         member.
18375         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18376         member.
18377         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18378         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18379         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18380         conditional.
18381         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18382         GETDENTS_64BIT_ALIGNED.
18383         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18384         * manual/filesys.texi (Reading/Closing Directory): Document
18385         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18386         strongly.
18387         * manual/conf.texi (Limits for Files): Add portability note to
18388         NAME_MAX, PATH_MAX.
18389         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18390
18391 2013-08-13  Andreas Schwab  <schwab@suse.de>
18392
18393         [BZ #15749]
18394         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18395         of fabs.
18396         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18397         LDBL_MAX_EXP >= 16384]: Add tests for it.
18398
18399 2013-08-12  David S. Miller  <davem@davemloft.net>
18400
18401         * version.h (RELEASE): Set to "development".
18402         (VERSION): Set to "2.18.90".
18403         * NEWS: Add 2.19 section.
18404
18405 2013-08-03  David S. Miller  <davem@davemloft.net>
18406
18407         * po/ko.po: Update Korean translation from translation project.
18408
18409 2013-08-01  David S. Miller  <davem@davemloft.net>
18410
18411         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18412         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18413         Bilka.
18414
18415 2013-07-30  David S. Miller  <davem@davemloft.net>
18416
18417         * po/fr.po: Update French translation from translation project.
18418
18419 2013-07-28  David S. Miller  <davem@davemloft.net>
18420
18421         * po/cs.po: Update Czech translation from translation project.
18422
18423         * po/sv.po: Update Swedish translation from translation project.
18424
18425 2013-07-27  David S. Miller  <davem@davemloft.net>
18426
18427         * po/eo.po: Update Esperanto translation from translation project.
18428
18429         * po/vi.po: Update Vietnamese translation from translation project.
18430
18431         * po/de.po: Update German translation from translation project.
18432
18433 2013-07-26  David S. Miller  <davem@davemloft.net>
18434
18435         * po/bg.po: Update Bulgarian translation from translation project.
18436
18437         * po/nl.po: Update Dutch translation from translation project.
18438         * po/pl.po: Update Polish translation from translation project.
18439         * po/ru.po: Update Russian translation from translation project.
18440
18441 2013-07-24  David S. Miller  <davem@davemloft.net>
18442
18443         * po/libc.pot: Update.
18444
18445 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18446
18447         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18448         variable page size.
18449         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18450         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18451         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18452
18453 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18454
18455         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18456
18457 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18458             Andreas Schwab  <schwab@suse.de>
18459             Roland McGrath  <roland@hack.frob.com>
18460             Joseph Myers  <joseph@codesourcery.com>
18461             Carlos O'Donell  <carlos@redhat.com>
18462
18463         [BZ #15755]
18464         * config.h.in: Define HAVE_PT_CHOWN.
18465         * config.make.in (build-pt-chown): New variable.
18466         * configure.in (--enable-pt_chown): New configure option.
18467         * configure: Regenerate.
18468         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18469         build-pt-chown is enabled.
18470         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18471         pt_chown to fix pty ownership.
18472         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18473         CLOSE_ALL_FDS.
18474         * manual/install.texi (Configuring and compiling): Mention
18475         --enable-pt_chown. Add @findex for grantpt.
18476         * INSTALL: Regenerate.
18477
18478 2013-07-20  David S. Miller  <davem@davemloft.net>
18479
18480         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18481         difference between 32-bit and 64-bit.
18482
18483 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18484
18485         [BZ #15711]
18486         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18487         Avoid system header dependency with -ffreestanding.
18488         ($(objpfx)bits/syscall%d): Likewise.
18489
18490 2013-07-13  David S. Miller  <davem@davemloft.net>
18491
18492         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18493         underflows from atanl/atan2l due to bug 15319.
18494         (casinh_test_data): Likewise.
18495
18496 2013-07-07  David S. Miller  <davem@davemloft.net>
18497
18498         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18499
18500 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18501
18502         * sysdeps/i386/fpu/libm-test-ulps: Update.
18503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18504
18505 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18506
18507         * configure.in (--enable-lock-elision): Fix message text.
18508         * INSTALL: Regenerate.
18509         * configure: Regenerate.
18510
18511 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18512
18513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18514
18515 2013-07-03  Andreas Jaeger  <aj@suse.de>
18516
18517         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18518         define.
18519         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18520         (ptrace_peeksiginfo_args): Add.
18521         (__ptrace_peeksiginfo_flags): Add.
18522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18524         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18525
18526 2013-07-03  Allan McRae  <allan@archlinux.org>
18527
18528         * sysdeps/i386/fpu/libm-test-ulps: Update.
18529
18530 2013-07-02  David S. Miller  <davem@davemloft.net>
18531
18532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18533
18534 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18535
18536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18537
18538 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18539
18540         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18542
18543 2013-07-02  Andi Kleen <ak@linux.intel.com>
18544
18545         * config.h.in (ENABLE_LOCK_ELISION): Add.
18546         * configure.in (--enable-lock-elision): Add option.
18547         * manual/install.texi: Document --enable lock elision.
18548         * configure: Regenerate
18549         * INSTALL: Regenerate.
18550
18551 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18552
18553         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18554         SSE4.2 strcasecmp for libc.a.
18555         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18556
18557 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18558
18559         [BZ #13304]
18560         * soft-fp/op-common.h (_FP_FMA): New macro.
18561         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18562         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18563         (_FP_MUL_MEAT_1_imm): ... here.
18564         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18565         (_FP_MUL_MEAT_1_wide): ... here.
18566         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18567         (_FP_MUL_MEAT_1_hard): ... here.
18568         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18569         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18570         (_FP_MUL_MEAT_2_wide): ... here.
18571         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18572         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18573         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18574         (_FP_MUL_MEAT_2_gmp): ... here.
18575         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18576         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18577         (_FP_MUL_MEAT_4_wide): ... here.
18578         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18579         (_FP_MUL_MEAT_4_gmp): ... here.
18580         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18581         (_FP_WFRACBITS_DW_S): Likewise.
18582         (_FP_WFRACXBITS_DW_S): Likewise.
18583         (_FP_HIGHBIT_DW_S): Likewise.
18584         (FP_FMA_S): Likewise.
18585         (_FP_FRAC_HIGH_DW_S): Likewise.
18586         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18587         (_FP_WFRACBITS_DW_D): Likewise.
18588         (_FP_WFRACXBITS_DW_D): Likewise.
18589         (_FP_HIGHBIT_DW_D): Likewise.
18590         (FP_FMA_D): Likewise.
18591         (_FP_FRAC_HIGH_DW_D): Likewise.
18592         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18593         (_FP_WFRACBITS_DW_E): Likewise.
18594         (_FP_WFRACXBITS_DW_E): Likewise.
18595         (_FP_HIGHBIT_DW_E): Likewise.
18596         (FP_FMA_E): Likewise.
18597         (_FP_FRAC_HIGH_DW_E): Likewise.
18598         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18599         (_FP_WFRACBITS_DW_Q): Likewise.
18600         (_FP_WFRACXBITS_DW_Q): Likewise.
18601         (_FP_HIGHBIT_DW_Q): Likewise.
18602         (FP_FMA_Q): Likewise.
18603         (_FP_FRAC_HIGH_DW_Q): Likewise.
18604         * soft-fp/fmasf4.c: New file.
18605         * soft-fp/fmadf4.c: Likewise.
18606         * soft-fp/fmatf4.c: Likewise.
18607
18608 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18609
18610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18611         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18612         Silvermont.
18613         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18614         macro.
18615         (index_Slow_SSE4_2): Likewise.
18616         (index_Prefer_PMINUB_for_stringop): Likewise.
18617         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18618         bit_Slow_SSE4_2 is set.
18619         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18620         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18621
18622 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18623
18624         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18625         rtld_global._dl_hwcap2.
18626         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18627         POWER8.
18628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18629         POWER8 feature descriptions defined in _dl_hwcap2.
18630         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18631         string handling for POWER8 feature bits.
18632         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18633         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18634         _dl_powerpc_cap_flags.
18635         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18636         * sysdeps/powerpc/rtld-global-offsets.sym
18637         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18638         _dl_hwcap2 in the rtld_global_ro structure.
18639
18640 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18641
18642         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18643         hardware capabilities in support of AT_HWCAP2.
18644         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18645         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18646         GLRO(dl_hwcap2).
18647         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18648         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18649         explicitly the unknown a_type display mechanism is used.
18650         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18651         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18652         struct member.
18653         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18654         to macro prototype for AT_HWCAP2 support.
18655         * sysdeps/i386/dl-procinfo.h: Likewise.
18656         * sysdeps/s390/dl-procinfo.h: Likewise.
18657         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18658         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18659         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18660         return -1 for unknown a_type display fallback.
18661         * sysdeps/sparc/dl-procinfo.h: Likewise.
18662         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18663         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18664
18665 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18666
18667         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18668         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18669
18670 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18671
18672         [BZ #12492]
18673         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18674         mprotect making __stack_prot writable.
18675
18676 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18677             Joseph Myers  <joseph@codesourcery.com>
18678
18679         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18680         as being properly aligned.
18681
18682 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18683
18684         * dlfcn/modstatic5.c: New file.
18685         * dlfcn/tststatic5.c: New file.
18686         * dlfcn/Makefile (tests): Add tststatic5.
18687         (tests-static): Likewise.
18688         (modules-names): Add modstatic5.
18689         (tststatic5-ENV): New variable.
18690         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18691
18692         [BZ #15022]
18693         * elf/dl-support.c (_dl_main_map): New variable.
18694         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18695         (_dl_nns, _dl_load_adds): Set to 1.
18696         (_dl_initial_searchlist): Refer to _dl_main_map.
18697         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18698         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18699         call to _dl_get_origin.
18700         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18701         around call_map.
18702         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18703         * dlfcn/modstatic3.c: New file.
18704         * dlfcn/tststatic3.c: New file.
18705         * dlfcn/tststatic4.c: New file.
18706         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18707         (tests-static): Likewise.
18708         (modules-names): Add modstatic3.
18709         (tststatic3-ENV, tststatic4-ENV): New variables.
18710         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18711         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18712
18713 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18714
18715         * configure.in (CC): Require GCC version 4.4 or later.
18716         * configure: Regenerated.
18717         * manual/install.texi (Tools for Compilation): Update GCC version
18718         requirement.
18719         * INSTALL: Regenerated.
18720
18721 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18722
18723         [BZ #15674]
18724         * string/test-memcmp.c (check2): New.
18725         (main): Call check2.
18726
18727         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18728
18729 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18730
18731         [BZ #15022]
18732         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18733         over to...
18734         (dl_open_worker) [!SHARED]: ... here.
18735
18736 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18737
18738         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18739
18740 2013-06-25  Richard Henderson  <rth@redhat.com>
18741
18742         * locale/programs/locarchive.c: Include <libc-internal.h>
18743
18744 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18745
18746         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18747         trailing whitespace removed.
18748
18749 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18750
18751         [BZ #10283]
18752         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18753         * locale/programs/locarchive.c: Include libc-mmap.h.
18754         (prepare_address_space): Take two new outputs (the mmap base and len).
18755         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18756         values.
18757         (create_archive): Declare new mmap base and len values for
18758         prepare_address_space, and store the result in ah.
18759         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18760         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18761         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18762         Declare new mmap base and len values for
18763         prepare_address_space, and store the result in new_ah.
18764         (open_archive): Declare new mmap base and len values for
18765         prepare_address_space, and store the result in ah.
18766         (close_archive): If ah->mmap_base is not NULL, use that and
18767         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18768         * sysdeps/generic/libc-mmap.h: New file.
18769
18770 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18771
18772         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18773         (ALIGN_UP): Likewise.
18774         (PTR_ALIGN_DOWN): Likewise.
18775         (PTR_ALIGN_UP): Likewise.
18776
18777 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18778
18779         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18780         entry mapped to PPC_PLATFORM_POWER8.
18781         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18782         POWER8.
18783         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18784         (_dl_string_platform): Add case for exporting platform position for
18785         POWER8.
18786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18787         search path to sysdeps/powerpc/powerpc32/power8 directory.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18789         search path to sysdeps/powerpc/powerpc64/power8 directory.
18790         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18791         power7 directories.
18792         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18793         power7 directories.
18794
18795 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18796
18797         * INSTALL: Regenerate.
18798
18799         * nscd/connections.c (nscd_init): Fix comment.
18800
18801 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18802
18803         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18804
18805         [BZ #15667]
18806         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18807         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18808
18809 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18810
18811         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18812         DL_DST_REQ_STATIC.
18813         (DL_DST_REQ_STATIC): Remove macro.
18814
18815 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18816
18817         [BZ #7006]
18818         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18819         with a shift of 0 bits.
18820
18821 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18822
18823         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18824         $(tststatic-ENV).
18825
18826 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18827
18828         [BZ #15655]
18829         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18830
18831 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18832
18833         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18834         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18835         accepts -fno-tree-loop-distribute-patterns.
18836         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18837         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18838         recursive call.
18839         * string/memset.c (memset): Likewise.
18840         * string/test-memmove.c (simple_memmove): Disable loop transformation
18841         to library calls.
18842         * string/test-memset.c (simple_memset): Likewise.
18843         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18844         * benchtests/bench-memset.c (simple_memset): Likewise.
18845         * configure: Regenerated.
18846
18847 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18848
18849         * math/test-misc.c (main): Ignore fesetround failure when failures
18850         of subsequent rounding tests would be ignored.
18851
18852         [BZ #15654]
18853         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18854         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18855         * math/fegetenv.c (__fegetenv): Return 0.
18856         * math/fegetexcept.c (fegetexcept): Return 0.
18857         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18858         FE_TONEAREST.
18859         * math/feholdexcpt.c (feholdexcept): Return 0.
18860         * math/fesetenv.c (__fesetenv): Return 0.
18861         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18862         argument FE_TONEAREST.
18863         * math/feupdateenv.c (__feupdateenv): Return 0.
18864         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18865
18866 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18867
18868         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18869         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18870         ($(objpfx)rtld-%.os rules): Use them.
18871
18872 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18873
18874         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18875         fields.
18876
18877 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18878
18879         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18880         length of target pattern, then descending length of dependency pattern.
18881         * configure.in (AWK): Require gawk 3.1.2 or newer.
18882         * manual/install.texi (Tools for Compilation): Say that we do.
18883         * configure: Regenerated.
18884
18885         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18886         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18887         * scripts/sysd-rules.awk: ... this new script.
18888         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18889         than a glob-style pattern.
18890
18891 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18892
18893         * math/test-misc.c (main): Do not treat incorrectly rounded
18894         conversions as failure unless ROUNDING_TESTS passes.
18895
18896 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18897
18898         [BZ #15631]
18899         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18900         restore exception state around main square root computation, then
18901         check for inexactness explicitly.
18902
18903         * math/libm-test.inc (fma_test_data): Add another test.
18904
18905 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18906
18907         * manual/threads.texi (Non-POSIX Extensions): New document
18908         node.  Document pthread_getattr_default_np and
18909         pthread_setattr_default_np.
18910
18911         * Versions.def (libpthread): Add GLIBC_2.18.
18912         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18914         Likewise.
18915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18916         Likewise.
18917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18918         Likewise.
18919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18920         Likewise.
18921         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18922         Likewise.
18923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18924         Likewise.
18925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18926         Likewise.
18927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18928         Likewise.
18929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18930         Likewise.
18931
18932 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18933
18934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18935         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18936
18937 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18938             H.J. Lu  <hjl.tools@gmail.com>
18939
18940         [BZ #15627]
18941         * sysdeps/x86_64/rtld-memset.c: Remove file.
18942         * sysdeps/x86_64/rtld-memset.S: New file.
18943
18944 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18945
18946         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18947         (test_in_one_mode): Take arguments for whether the rounding mode
18948         is supported for each floating-point type.
18949         (do_test): Pass new arguments to test_in_one_mode using
18950         ROUNDING_TESTS.
18951
18952 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18953
18954         * posix/tst-waitid.c (do_test): Distinguish different instances of
18955         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18956         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18957         before entering the kernel for waitpid.
18958
18959 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18960
18961         * NEWS: Fix note on clock function precision.  Text by Roland
18962         McGrath.
18963
18964 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18965
18966         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18967         it into place only when and if the sanity check passes.
18968
18969 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18970
18971         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18972         output for whether conversion result is exact.  Take argument
18973         indicating whether type is IBM long double.
18974         (round_for_all): Change need_exact field to ibm_ld.
18975         * stdlib/tst-strtod-round.c (struct exactness): New type.
18976         (struct test): Change bool ld_ok field to struct exactness exact.
18977         (TEST): Update all definitions for change to field.
18978         (tests): Regenerate array contents.
18979         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18980         field value.  Check for IBM long double here.
18981         (do_test): Update calls to test_in_one_mode.
18982
18983 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18984
18985         [BZ #12515]
18986         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18987         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18988
18989 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18990
18991         [BZ #15605]
18992         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18993         generated by the compiler on loop optimizations.
18994         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18995         general definitions.
18996
18997 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18998
18999         * math/bug-nextafter.c: Include <math-tests.h>.
19000         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19001         the relevant type.
19002         * math/bug-nexttoward.c: Include <math-tests.h>.
19003         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19004         the relevant type.
19005         * math/test-misc.c: Include <math-tests.h>.
19006         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19007         the relevant type.
19008
19009 2013-06-12  Andreas Jaeger  <aj@suse.de>
19010
19011         * po/ia.po: Update Interlingua translation from translation
19012         project.
19013
19014 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19015
19016         * include/fenv.h: Include stdbool.h.
19017         (struct rm_ctx): New structure.
19018         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19019         Define macro.
19020         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19021         (SET_RESTORE_ROUNDF): Likewise.
19022         (SET_RESTORE_ROUNDL): Likewise.
19023         (SET_RESTORE_ROUND_NOEX): Likewise.
19024         (SET_RESTORE_ROUND_NOEXF): Likewise.
19025         (SET_RESTORE_ROUND_NOEXL): Likewise.
19026         (SET_RESTORE_ROUND_53BIT): Likewise.
19027         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19028         (libc_feresetround_noexf_ctx): Likewise.
19029         (libc_feresetround_noexl_ctx): Likewise.
19030         (libc_feholdsetround_53bit_ctx): Likewise.
19031         (libc_feresetround_53bit_ctx): Likewise.
19032         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19033         (libc_feholdexcept_setround_sse_ctx): New function.
19034         (libc_fesetenv_sse_ctx): Likewise.
19035         (libc_feupdateenv_sse_ctx): Likewise.
19036         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19037         (libc_feholdexcept_setround_387_ctx): Likewise.
19038         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19039         (libc_feholdsetround_387_prec_ctx): Likewise.
19040         (libc_feholdsetround_387_ctx): Likewise.
19041         (libc_feholdsetround_387_53bit_ctx): Likewise.
19042         (libc_feholdsetround_sse_ctx): Likewise.
19043         (libc_feresetround_sse_ctx): Likewise.
19044         (libc_feresetround_387_ctx): Likewise.
19045         (libc_feupdateenv_387_ctx): Likewise.
19046         (libc_feholdexcept_setroundf_ctx): Define macro.
19047         (libc_fesetenvf_ctx): Likewise.
19048         (libc_feupdateenvf_ctx): Likewise.
19049         (libc_feholdsetroundf_ctx): Likewise.
19050         (libc_feresetroundf_ctx): Likewise.
19051         (libc_feholdexcept_setround_ctx): Likewise.
19052         (libc_fesetenv_ctx): Likewise.
19053         (libc_feupdateenv_ctx): Likewise.
19054         (libc_feholdsetround_ctx): Likewise.
19055         (libc_feresetround_ctx): Likewise.
19056         (libc_feholdexcept_setroundl_ctx): Likewise.
19057         (libc_feupdateenvl_ctx): Likewise.
19058         (libc_feholdsetroundl_ctx): Likewise.
19059         (libc_feresetroundl_ctx): Likewise.
19060         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19061         (libc_feresetround_53bit_ctx): Likewise.
19062
19063 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19064
19065         * locale/iso-639.def: Convert to UTF-8.
19066
19067 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19068
19069         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19070         (EXCEPTION_TESTS_double): Likewise.
19071         (EXCEPTION_TESTS_long_double): Likewise.
19072         (EXCEPTION_TESTS): Likewise.
19073         * math/libm-test.inc (test_exceptions): Only test exceptions if
19074         EXCEPTION_TESTS (FLOAT).
19075
19076 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19077
19078         * benchtests/Makefile (string-bench): Add strcpy_chk and
19079         stpcpy_chk.
19080         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19081         * benchtests/bench-stpcpy_chk.c: New file.
19082         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19083         * benchtests/bench-strcpy_chk.c: New file.
19084         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19085         code.
19086         (do_test): Likewise.
19087
19088 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19089
19090         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19091         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19092         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19093         with tabs where appropriate.
19094         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19095         dl-procinfo.h.
19096         [PPC_PLATFORM_PPC440]: Likewise.
19097         [PPC_PLATFORM_PPC464]: Likewise.
19098         [PPC_PLATFORM_PPC476]: Likewise.
19099         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19100         ppc464, and ppc476 platform strings merging from ports/
19101         dl-procinfo.h.
19102
19103 2013-06-11  Andreas Schwab  <schwab@suse.de>
19104
19105         [BZ #14991]
19106         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19107         (from_ucs4_idx): Regenerate.
19108         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19109         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19110         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19111         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19112         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19113         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19114         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19115         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19116         from FROM_LOOP and TO_LOOP specific macros.
19117         (BODY): Handle combining characters.
19118         * iconvdata/BIG5HKSCS.irreversible: Update.
19119         * iconvdata/BIG5HKSCS.precomposed: New file.
19120         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19121         characters.
19122         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19123
19124 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19125
19126         * include/sys/time.h: Fix indentation and add copyright header.
19127
19128         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19129         (do_test): Likewise.
19130         * string/test-memchr.c (do_one_test): Likewise.
19131         (do_test): Likewise.
19132         * string/test-memcmp.c (do_one_test): Likewise.
19133         (do_test): Likewise.
19134         * string/test-memcpy.c (do_one_test): Likewise.
19135         (do_test): Likewise.
19136         * string/test-memmem.c (do_one_test): Likewise.
19137         (do_test): Likewise.
19138         (do_random_tests): Likewise.
19139         * string/test-memmove.c (do_one_test): Likewise.
19140         (do_test): Likewise.
19141         * string/test-memset.c (do_one_test): Likewise.
19142         (do_test): Likewise.
19143         * string/test-rawmemchr.c (do_one_test): Likewise.
19144         (do_test): Likewise.
19145         * string/test-strcasecmp.c (do_one_test): Likewise.
19146         (do_test): Likewise.
19147         * string/test-strcasestr.c (do_one_test): Likewise.
19148         (do_test): Likewise.
19149         * string/test-strcat.c (do_one_test): Likewise.
19150         (do_test): Likewise.
19151         * string/test-strchr.c (do_one_test): Likewise.
19152         (do_test): Likewise.
19153         * string/test-strcmp.c (do_one_test): Likewise.
19154         (do_test): Likewise.
19155         * string/test-strcpy.c (do_one_test): Likewise.
19156         (do_test): Likewise.
19157         * string/test-string.h: Likewise.
19158         (test_init): Likewise.
19159         * string/test-strlen.c (do_one_test): Likewise.
19160         (do_test): Likewise.
19161         * string/test-strncasecmp.c (do_one_test): Likewise.
19162         (do_test): Likewise.
19163         * string/test-strncat.c (do_one_test): Likewise.
19164         (do_test): Likewise.
19165         * string/test-strncmp.c (do_one_test): Likewise.
19166         (do_test_limit): Likewise.
19167         (do_test): Likewise.
19168         * string/test-strncpy.c (do_one_test): Likewise.
19169         (do_test): Likewise.
19170         * string/test-strnlen.c (do_one_test): Likewise.
19171         (do_test): Likewise.
19172         * string/test-strpbrk.c (do_one_test): Likewise.
19173         (do_test): Likewise.
19174         * string/test-strrchr.c (do_one_test): Likewise.
19175         (do_test): Likewise.
19176         * string/test-strspn.c (do_one_test): Likewise.
19177         (do_test): Likewise.
19178         * string/test-strstr.c (do_one_test): Likewise.
19179         (do_test): Likewise.
19180
19181         * benchtests/Makefile (string-bench): Add string benchmarks.
19182         * benchtests/bench-bcopy-ifunc.c: New file.
19183         * benchtests/bench-bcopy.c: New file.
19184         * benchtests/bench-bzero-ifunc.c: New file.
19185         * benchtests/bench-bzero.c: New file.
19186         * benchtests/bench-memccpy-ifunc.c: New file.
19187         * benchtests/bench-memccpy.c: New file.
19188         * benchtests/bench-memchr-ifunc.c: New file.
19189         * benchtests/bench-memchr.c: New file.
19190         * benchtests/bench-memcmp-ifunc.c: New file.
19191         * benchtests/bench-memcmp.c: New file.
19192         * benchtests/bench-memmem-ifunc.c: New file.
19193         * benchtests/bench-memmem.c: New file.
19194         * benchtests/bench-memmove-ifunc.c: New file.
19195         * benchtests/bench-memmove.c: New file.
19196         * benchtests/bench-mempcpy-ifunc.c: New file.
19197         * benchtests/bench-mempcpy.c: New file.
19198         * benchtests/bench-memset-ifunc.c: New file.
19199         * benchtests/bench-memset.c: New file.
19200         * benchtests/bench-rawmemchr-ifunc.c: New file.
19201         * benchtests/bench-rawmemchr.c: New file.
19202         * benchtests/bench-stpcpy-ifunc.c: New file.
19203         * benchtests/bench-stpcpy.c: New file.
19204         * benchtests/bench-stpncpy-ifunc.c: New file.
19205         * benchtests/bench-stpncpy.c: New file.
19206         * benchtests/bench-strcasecmp-ifunc.c: New file.
19207         * benchtests/bench-strcasecmp.c: New file.
19208         * benchtests/bench-strcasestr-ifunc.c: New file.
19209         * benchtests/bench-strcasestr.c: New file.
19210         * benchtests/bench-strcat-ifunc.c: New file.
19211         * benchtests/bench-strcat.c: New file.
19212         * benchtests/bench-strchr-ifunc.c: New file.
19213         * benchtests/bench-strchr.c: New file.
19214         * benchtests/bench-strchrnul-ifunc.c: New file.
19215         * benchtests/bench-strchrnul.c: New file.
19216         * benchtests/bench-strcmp-ifunc.c: New file.
19217         * benchtests/bench-strcmp.c: New file.
19218         * benchtests/bench-strcpy-ifunc.c: New file.
19219         * benchtests/bench-strcpy.c: New file.
19220         * benchtests/bench-strcspn-ifunc.c: New file.
19221         * benchtests/bench-strcspn.c: New file.
19222         * benchtests/bench-strlen-ifunc.c: New file.
19223         * benchtests/bench-strlen.c: New file.
19224         * benchtests/bench-strncasecmp-ifunc.c: New file.
19225         * benchtests/bench-strncasecmp.c: New file.
19226         * benchtests/bench-strncat-ifunc.c: New file.
19227         * benchtests/bench-strncat.c: New file.
19228         * benchtests/bench-strncmp-ifunc.c: New file.
19229         * benchtests/bench-strncmp.c: New file.
19230         * benchtests/bench-strncpy-ifunc.c: New file.
19231         * benchtests/bench-strncpy.c: New file.
19232         * benchtests/bench-strnlen-ifunc.c: New file.
19233         * benchtests/bench-strnlen.c: New file.
19234         * benchtests/bench-strpbrk-ifunc.c: New file.
19235         * benchtests/bench-strpbrk.c: New file.
19236         * benchtests/bench-strrchr-ifunc.c: New file.
19237         * benchtests/bench-strrchr.c: New file.
19238         * benchtests/bench-strspn-ifunc.c: New file.
19239         * benchtests/bench-strspn.c: New file.
19240         * benchtests/bench-strstr-ifunc.c: New file.
19241         * benchtests/bench-strstr.c: New file.
19242
19243         * benchtests/Makefile: Disable parallel execution of targets.
19244         (string-bench): Add memcpy.
19245         (benchset): New variable to store a list of benchmark sets.
19246         (bench-func): Renamed from bench.
19247         (bench-set): New target.
19248         (bench): Depend on bench-func and bench-set.
19249         * benchtests/README: Add section on benchmark sets.
19250         * benchtests/bench-memcpy-ifunc.c: New file.
19251         * benchtests/bench-memcpy.c: New file.
19252         * benchtests/bench-string.h: New file.
19253
19254 2013-06-11  Andreas Schwab  <schwab@suse.de>
19255
19256         [BZ #15577]
19257         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19258         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19259         values in the triple.
19260         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19261         terminator in the group key.
19262
19263 2013-06-11  Andreas Jaeger  <aj@suse.de>
19264
19265         * po/zh_TW.po: Update Chinese (traditional) translation from
19266         translation project.
19267
19268 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19269
19270         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19271         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19272         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19273         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19274         (clock_getcpuclockid): Likewise.
19275         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19276         Add weak_alias and libc_hidden_def.
19277         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19278         * rt/clock_gettime.c (clock_gettime): Rename to
19279         __clock_gettime.  Add weak_alias and libc_hidden_def.
19280         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19281         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19282         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19283         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19284         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19285         Likewise.
19286         * rt/clock_settime.c (clock_settime): Rename to
19287         __clock_settime.  Add weak_alias and libc_hidden_def.
19288         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19289
19290 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19291
19292         * mach/err_boot.sub: Remove trailing whitespace.
19293         * mach/err_ipc.sub: Likewise.
19294         * mach/err_mach.sub: Likewise.
19295
19296         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19297         (ROUNDING_TESTS_double): Likewise.
19298         (ROUNDING_TESTS_long_double): Likewise.
19299         (ROUNDING_TESTS): Likewise.
19300         * math/libm-test.inc: Include <math-tests.h>.
19301         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19302         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19303         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19304         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19305
19306 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19307
19308         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19309         of assigning.
19310
19311 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19312
19313         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19314         otherwise empty TRANS lines.
19315         * sysdeps/gnu/errlist.c: Regenerated.
19316
19317         * catgets/gencat.c (error_print): Use (void) in function
19318         definition.
19319         * crypt/crypt_util.c (__init_des): Likewise.
19320         * crypt/speeds.c (Stop): Likewise.
19321         (main): Likewise.
19322         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19323         * inet/ruserpass.c (token): Likewise.
19324         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19325         * intl/localealias.c (extend_alias_table): Likewise.
19326         * intl/plural-exp.c (init_germanic_plural): Likewise.
19327         * libio/fcloseall.c (__fcloseall): Likewise.
19328         * libio/genops.c (_IO_flush_all): Likewise.
19329         (_IO_flush_all_linebuffered): Likewise.
19330         (_IO_cleanup): Likewise.
19331         (_IO_iter_begin): Likewise.
19332         (_IO_iter_end): Likewise.
19333         (_IO_list_lock): Likewise.
19334         (_IO_list_unlock): Likewise.
19335         (_IO_list_resetlock): Likewise.
19336         * libio/getchar.c (getchar): Likewise.
19337         * libio/getchar_u.c (getchar_unlocked): Likewise.
19338         * libio/getwchar.c (getwchar): Likewise.
19339         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19340         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19341         * login/getpt.c (__getpt): Likewise.
19342         * login/tst-utmp.c (main): Likewise.
19343         * malloc/hooks.c (__malloc_check_init): Likewise.
19344         * malloc/malloc.c (__malloc_stats): Likewise.
19345         * malloc/mtrace.c (tr_break): Likewise.
19346         (mtrace): Likewise.
19347         (muntrace): Likewise.
19348         * misc/fstab.c (endfsent): Likewise.
19349         * misc/getclktck.c (__getclktck): Likewise.
19350         * misc/getdtsz.c (__getdtablesize): Likewise.
19351         * misc/gethostid.c (gethostid): Likewise.
19352         * misc/getpagesize.c (__getpagesize): Likewise.
19353         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19354         (__get_nprocs): Likewise.
19355         (__get_phys_pages): Likewise.
19356         (__get_avphys_pages): Likewise.
19357         * misc/getttyent.c (getttyent): Likewise.
19358         (setttyent): Likewise.
19359         (endttyent): Likewise.
19360         * misc/getusershell.c (getusershell): Likewise.
19361         (endusershell): Likewise.
19362         (setusershell): Likewise.
19363         (initshells): Likewise.
19364         * misc/hsearch.c (__hdestroy): Likewise.
19365         * misc/sync.c (sync): Likewise.
19366         * misc/syslog.c (closelog_internal): Likewise.
19367         (closelog): Likewise.
19368         * misc/ttyslot.c (ttyslot): Likewise.
19369         * misc/vhangup.c (vhangup): Likewise.
19370         * posix/fork.c (__fork): Likewise.
19371         * posix/getegid.c (__getegid): Likewise.
19372         * posix/geteuid.c (__geteuid): Likewise.
19373         * posix/getgid.c (__getgid): Likewise.
19374         * posix/getpid.c (__getpid): Likewise.
19375         * posix/getppid.c (__getppid): Likewise.
19376         * posix/getuid.c (__getuid): Likewise.
19377         * posix/pause.c (pause): Likewise.
19378         * posix/setpgrp.c (setpgrp): Likewise.
19379         * posix/setsid.c (__setsid): Likewise.
19380         * posix/test-vfork.c (noop): Likewise.
19381         * resolv/gethnamaddr.c (_endhtent): Likewise.
19382         (_gethtent): Likewise.
19383         (ht_endhostent): Likewise.
19384         (gethostent): Likewise.
19385         (dns_service): Likewise.
19386         * stdlib/drand48.c (drand48): Likewise.
19387         * stdlib/lrand48.c (lrand48): Likewise.
19388         * stdlib/mrand48.c (mrand48): Likewise.
19389         * stdlib/rand.c (rand): Likewise.
19390         * stdlib/random.c (__random): Likewise.
19391         * stdlib/setenv.c (clearenv): Likewise.
19392         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19393         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19394         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19395         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19396         (__get_nprocs): Likewise.
19397         (__get_phys_pages): Likewise.
19398         (__get_avphys_pages): Likewise.
19399         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19400         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19401         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19402         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19403         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19404         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19405         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19406         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19407         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19408         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19409         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19410         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19411         * sysdeps/posix/clock.c (clock): Likewise.
19412         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19413         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19414         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19415         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19416         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19417         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19418         (__get_nprocs_conf): Likewise.
19419         (__get_phys_pages): Likewise.
19420         (__get_avphys_pages): Likewise.
19421         * time/clock.c (clock): Likewise.
19422         * time/tzset.c (__tzname_max): Likewise.
19423
19424 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19425
19426         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19427         (__bswap_32): Do not use "register".
19428         * crypt/crypt.c (_ufc_doit_r): Likewise.
19429         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19430         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19431         * gmon/gmon.c (__monstartup): Likewise.
19432         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19433         * hurd/hurdmalloc.c (more_memory): Likewise.
19434         (malloc): Likewise.
19435         (free): Likewise.
19436         (realloc): Likewise.
19437         (malloc_fork_prepare): Likewise.
19438         (malloc_fork_parent): Likewise.
19439         (malloc_fork_child): Likewise.
19440         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19441         (_svcauth_des): Likewise.
19442         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19443         * inet/inet_net.c (inet_network): Likewise.
19444         * inet/inet_netof.c (inet_netof): Likewise.
19445         * inet/rcmd.c (__validuser2_sa): Likewise.
19446         * io/fts.c (fts_open): Likewise.
19447         (fts_load): Likewise.
19448         (fts_close): Likewise.
19449         (fts_read): Likewise.
19450         (fts_children): Likewise.
19451         (fts_build): Likewise.
19452         (fts_stat): Likewise.
19453         (fts_sort): Likewise.
19454         (fts_alloc): Likewise.
19455         (fts_lfree): Likewise.
19456         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19457         (_IO_file_xsgetn): Likewise.
19458         (_IO_file_xsgetn_mmap): Likewise.
19459         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19460         (_IO_cookie_write): Likewise.
19461         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19462         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19463         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19464         * malloc/obstack.c (_obstack_begin): Likewise.
19465         (_obstack_begin_1): Likewise.
19466         (_obstack_newchunk): Likewise.
19467         (_obstack_allocated_p): Likewise.
19468         (obstack_free): Likewise.
19469         (_obstack_memory_used): Likewise.
19470         * misc/getttyent.c (getttynam): Likewise.
19471         (getttyent): Likewise.
19472         (skip): Likewise.
19473         (value): Likewise.
19474         * misc/getusershell.c (initshells): Likewise.
19475         * misc/syslog.c (__vsyslog_chk): Likewise.
19476         * misc/ttyslot.c (ttyslot): Likewise.
19477         * nis/nis_hash.c (__nis_hash): Likewise.
19478         * posix/fnmatch_loop.c (FCT): Likewise.
19479         * posix/getconf.c (print_all): Likewise.
19480         (main): Likewise.
19481         * posix/getopt.c (exchange): Likewise.
19482         * posix/glob.c (globfree): Likewise.
19483         (prefix_array): Likewise.
19484         (__glob_pattern_type): Likewise.
19485         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19486         (NS_GET32): Likewise.
19487         (NS_PUT16): Likewise.
19488         (NS_PUT32): Likewise.
19489         * resolv/gethnamaddr.c (getanswer): Likewise.
19490         (gethostbyname2): Likewise.
19491         (gethostbyaddr): Likewise.
19492         (_gethtent): Likewise.
19493         (_gethtbyname2): Likewise.
19494         (_gethtbyaddr): Likewise.
19495         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19496         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19497         * resolv/res_init.c (__res_vinit): Likewise.
19498         (net_mask): Likewise.
19499         * resolv/res_mkquery.c (outchar): Likewise.
19500         (PRINT): Likewise.
19501         * stdio-common/printf_fp.c (outchar): Likewise.
19502         (PRINT): Likewise.
19503         * stdio-common/printf_fphex.c (outchar): Likewise.
19504         (PRINT): Likewise.
19505         * stdio-common/printf_size.c (outchar): Likewise.
19506         (PRINT): Likewise.
19507         * stdio-common/test_rdwr.c (main): Likewise.
19508         * stdio-common/tfformat.c (matches): Likewise.
19509         * stdio-common/vfprintf.c (outchar): Likewise.
19510         (printf_unknown): Likewise.
19511         (buffered_vfprintf): Likewise.
19512         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19513         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19514         (ReadFile): Likewise.
19515         * stdlib/qsort.c (SWAP): Likewise.
19516         (_quicksort): Likewise.
19517         * stdlib/setenv.c (__add_to_environ): Likewise.
19518         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19519         * stdlib/strtol_l.c (__strtol_l): Likewise.
19520         * stdlib/tst-strtod.c (main): Likewise.
19521         * stdlib/tst-strtol.c (main): Likewise.
19522         * stdlib/tst-strtoll.c (main): Likewise.
19523         * string/bits/string2.h (__strcmp_cc): Likewise.
19524         (__strcmp_cg): Likewise.
19525         (__strcspn_c1): Likewise.
19526         (__strcspn_c2): Likewise.
19527         (__strcspn_c3): Likewise.
19528         (__strspn_c1): Likewise.
19529         (__strspn_c2): Likewise.
19530         (__strspn_c3): Likewise.
19531         (__strsep_1c): Likewise.
19532         (__strsep_2c): Likewise.
19533         (__strsep_3c): Likewise.
19534         * string/memccpy.c (__memccpy): Likewise.
19535         * string/stpcpy.c (__stpcpy): Likewise.
19536         * string/strcmp.c (strcmp): Likewise.
19537         * string/strrchr.c (strrchr): Likewise.
19538         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19539         Likewise.
19540         * sysdeps/mach/hurd/getcwd.c
19541         (_hurd_canonicalize_directory_name_internal): Likewise.
19542         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19543         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19544         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19545         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19546         Likewise, in both definitions.
19547         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19548         definitions.
19549         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19550         64] (__bswap_64): Likewise.
19551         * time/test_time.c (main): Likewise.
19552         * time/tzfile.c (__tzfile_read): Likewise.
19553         (__tzfile_compute): Likewise.
19554         * time/tzset.c (__tzset_parse_tz): Likewise.
19555         (tzset_internal): Likewise.
19556         (compute_change): Likewise.
19557         * wcsmbs/wcscat.c (__wcscat): Likewise.
19558         * wcsmbs/wcschr.c (wcschr): Likewise.
19559         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19560         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19561         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19562         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19563         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19564         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19565         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19566         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19567         * wcsmbs/wmemset.c (wmemset): Likewise.
19568
19569 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19570
19571         * scripts/config.guess: Update to version 2013-05-16.
19572         * scripts/config.sub: Update to version 2013-04-24.
19573         * scripts/install-sh: Update to version 2011-11-20.07.
19574         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19575         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19576
19577 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19578
19579         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19580         * elf/sln.c: Likewise.
19581         * hurd/hurd/ioctl.h: Likewise.
19582         * hurd/hurdmalloc.c: Likewise.
19583         * hurd/xattr.c: Likewise.
19584         * include/shlib-compat.h: Likewise.
19585         * inet/ruserpass.c: Likewise.
19586         * libio/iofgets_u.c: Likewise.
19587         * libio/iofgetws_u.c: Likewise.
19588         * locale/programs/ld-identification.c: Likewise.
19589         * locale/programs/ld-time.c: Likewise.
19590         * mach/msg-destroy.c: Likewise.
19591         * nss/nss_files/files-netgrp.c: Likewise.
19592         * resolv/res_data.c: Likewise.
19593         * soft-fp/op-1.h: Likewise.
19594         * soft-fp/op-2.h: Likewise.
19595         * soft-fp/op-4.h: Likewise.
19596         * soft-fp/op-common.h: Likewise.
19597         * stdio-common/printf_fphex.c: Likewise.
19598         * stdlib/strtod_l.c: Likewise.
19599         * sunrpc/rpc/clnt.h: Likewise.
19600         * sysdeps/generic/framestate.c: Likewise.
19601         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19602         * sysdeps/i386/bsd-setjmp.S: Likewise.
19603         * sysdeps/i386/__longjmp.S: Likewise.
19604         * sysdeps/i386/setjmp.S: Likewise.
19605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19606         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19608         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19610         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19614         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19615         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19616         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19617         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19618         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19619         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19621         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19622         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19623         * sysdeps/ieee754/support.c: Likewise.
19624         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19625         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19626         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19627         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19628         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19629         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19630         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19631         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19632         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19633         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19634         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19635         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19638         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19639         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19640         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19642
19643 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19644
19645         * posix/transbug.c: Remove executable mode.
19646
19647 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19648
19649         * crypt/speeds.c: Remove trailing whitespace.
19650         * dlfcn/default.c: Likewise.
19651         * elf/ifuncdep2.c: Likewise.
19652         * elf/ifuncmain1.c: Likewise.
19653         * elf/ifuncmain1vis.c: Likewise.
19654         * elf/testobj.h: Likewise.
19655         * elf/tst-stackguard1.c: Likewise.
19656         * gmon/sys/gmon.h: Likewise.
19657         * hurd/hurdmsg.c: Likewise.
19658         * hurd/new-fd.c: Likewise.
19659         * hurd/ports-get.c: Likewise.
19660         * iconvdata/ibm1008_420.c: Likewise.
19661         * inet/tst-getni1.c: Likewise.
19662         * inet/tst-getni2.c: Likewise.
19663         * libio/ioungetc.c: Likewise.
19664         * libio/wfiledoalloc.c: Likewise.
19665         * manual/libm-err-tab.pl: Likewise.
19666         * math/w_dremf.c: Likewise.
19667         * misc/ftruncate.c: Likewise.
19668         * posix/bug-glob2.c: Likewise.
19669         * posix/tst-pcre.c: Likewise.
19670         * posix/wait4.c: Likewise.
19671         * resolv/README: Likewise.
19672         * resolv/res_debug.h: Likewise.
19673         * resolv/tst-inet_ntop.c: Likewise.
19674         * setjmp/bug269-setjmp.c: Likewise.
19675         * soft-fp/extended.h: Likewise.
19676         * soft-fp/op-1.h: Likewise.
19677         * soft-fp/op-2.h: Likewise.
19678         * soft-fp/op-4.h: Likewise.
19679         * soft-fp/op-8.h: Likewise.
19680         * soft-fp/testit.c: Likewise.
19681         * stdio-common/bug16.c: Likewise.
19682         * stdlib/random.c: Likewise.
19683         * sunrpc/rpcsvc/rquota.x: Likewise.
19684         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19689         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19690         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19691         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19692         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19694         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19695         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19696         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19697         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19699         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19700         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19701         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19702         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19703         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19704         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19705         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19706         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19707         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19708         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19709         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19711         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19713         * sysdeps/ieee754/s_lib_version.c: Likewise.
19714         * sysdeps/mach/hurd/check_fds.c: Likewise.
19715         * sysdeps/mach/hurd/getsockname.c: Likewise.
19716         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19717         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19718         * sysdeps/powerpc/bits/link.h: Likewise.
19719         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19720         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19721         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19722         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19723         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19724         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19725         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19726         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19727         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19728         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19729         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19730         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19731         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19732         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19733         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19734         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19737         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19739         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19740         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19742         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19743         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19745         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19751         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19753         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19754         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19755         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19756         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19757         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19758         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19759         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19760         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19761         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19762         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19763         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19764         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19765         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19766         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19767         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19768         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19771         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19772         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19773         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19774         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19775         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19776         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19777         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19780         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19781         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19782         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19783         * sysdeps/powerpc/sysdep.h: Likewise.
19784         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19785         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19786         * sysdeps/sh/dl-trampoline.S: Likewise.
19787         * sysdeps/sh/memset.S: Likewise.
19788         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19789         * sysdeps/sh/strlen.S: Likewise.
19790         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19791         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19792         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19793         * sysdeps/sparc/sparc32/rem.S: Likewise.
19794         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19795         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19796         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19797         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19798         * sysdeps/sparc/sparc32/urem.S: Likewise.
19799         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19800         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19801         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19802         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19803         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19804         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19805         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19806         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19807         * sysdeps/unix/bsd/times.c: Likewise.
19808         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19809         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19813         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19814         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19815         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19816         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19817         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19819         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19820         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19822         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19823         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19824         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19825         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19826         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19827         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19828         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19829         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19830         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19831         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19832         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19833         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19834         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19835         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19836         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19837         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19838         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19839         * sysdeps/x86_64/strcspn.S: Likewise.
19840
19841 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19842
19843         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19844         generated file.  Regenerate properly from gen-translit.pl.
19845         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19846         locale/C-translit.h.
19847
19848 2013-06-05  Andreas Schwab  <schwab@suse.de>
19849
19850         [BZ #15100]
19851         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19852         week as 6 instead of -1.
19853         * time/tst-strptime.c (day_tests): Add test case.
19854
19855 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19856
19857         * sysdeps/generic/math_private.h
19858         (libc_feholdexcept_setround_53bit): Replace with
19859         libc_feholdsetround_53bit.
19860         (libc_feupdateenv_53bit): Replace with
19861         libc_feresetround_53bit.
19862         (SET_RESTORE_ROUND_53BIT): Adjust.
19863
19864 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19865
19866         * string/test-strchrnul.c: Add copyright header.
19867
19868         * posix/tst-getaddrinfo4.c: Increase test timeout.
19869
19870 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19871
19872         [BZ #15536]
19873         * math/libm-test.inc (MAX_EXP): Remove
19874         (MIN_EXP): Define.
19875         (ulp): Use MIN_EXP - MANT_DIG.
19876         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19877
19878 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19879
19880         * po/be.po: Revert last change.
19881         * po/zh_CN.po: Likewise.
19882         * po/header.pot: Likewise.
19883
19884 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19885
19886         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19887         link-libc-deps to empty as target-specific variable.
19888         * Makerules (link-libc-args): New variable.
19889         (libc-for-link): Likewise.
19890         (link-libc-deps): Likewise.
19891         (lib%.so): Depend on $(link-libc-deps).  Link with
19892         $(link-libc-args).
19893         (build-module): Link with $(link-libc-args).
19894         (build-module-asneeded): Likewise.
19895         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19896         list of objects.
19897         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19898         target-specific variable.
19899         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19900         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19901         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19902         libc.
19903         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19904         libc and ld.so.
19905         ($(objpfx)libpcprofile.so): Likewise.
19906         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19907         libc_nonshared.a.
19908         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19909         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19910         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19911         $(link-libc-deps).
19912         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19913         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19914         * login/Makefile ($(objpfx)libutil.so): Likewise.
19915         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19916         * math/Makefile ($(objpfx)libm.so): Likewise.
19917         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19918         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19919         variable instead of depending directly on libc.
19920         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19921         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19922         $(link-libc-deps).
19923         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19924         libc.
19925         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19926         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19927         ($(objpfx)libanl.so): Likewise.
19928         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19929         ld.so.
19930         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19931         $(link-libc-deps).
19932         * sysdeps/i386/fpu/Makefile: Remove file.
19933         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19934         ($(objpfx)libm.so): Remove dependency on ld.so.
19935
19936 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19937
19938         [BZ # 15553]
19939         * nis/yp_xdr.c (XDRMAXNAME): Define.
19940         (XDRMAXRECORD): Define.
19941         (xdr_domainname): Use XDRMAXNAME.
19942         (xdr_mapname): Likewise.
19943         (xdr_peername): Likewise.
19944         (xdr_keydat): Use XDRMAXRECORD.
19945         (xdr_valdat): Likewise.
19946
19947 2013-05-30  Jeff Law  <law@redhat.com>
19948
19949         [BZ #14256]
19950         * manual/errno.texi (ESTALE): Update to account for more than
19951         just NFS file systems.
19952         * sysdeps/gnu/errlist.c: Regenerated.
19953
19954 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19955
19956         [BZ #15465]
19957         * elf/Makefile (tests): Add tst-null-argv.
19958         (modules-names):  Add tst-null-argv-lib.
19959         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19960         (tst-null-argv-ENV): Set environment for tst-null-argv.
19961         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19962         (RTLD_PROGNAME): New macro.
19963         * elf/tst-null-argv.c: New test case.
19964         * elf/tst-null-argv-lib.c: Library for test case.
19965         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19966         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19967         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19968         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19969         * elf/dl-init.c (call_init): Likewise.
19970         (_dl_init): Likewise.
19971         * elf/dl-load.c (print_search_path): Likewise.
19972         (_dl_map_object): Likewise.
19973         * elf/dl-lookup.c (do_lookup_x): Likewise.
19974         (add_dependency): Likewise.
19975         (_dl_lookup_symbol_x): Likewise.
19976         (_dl_debug_bindings): Likewise.
19977         * elf/dl-open.c (_dl_show_scope): Likewise.
19978         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19979         * elf/dl-version.c (match_symbol): Likewise.
19980         (_dl_check_map_versions): Likewise.
19981         * elf/rtld.c (dl_main): Likewise.
19982         (print_unresolved): Use RTLD_PROGNAME.
19983         (print_missing_version): Likewise.
19984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19985         (elf_machine_rela): Likewise.
19986         * sysdeps/powerpc/powerpc32/dl-machine.c
19987         (__process_machine_rela): Likewise.
19988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19989         Likewise.
19990         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19991         Likewise.
19992         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19993         Likewise.
19994         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19995         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19996         Likewise.
19997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19998         Likewise.
19999         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20000
20001 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20002
20003         * po/be.po: Add descriptive title.
20004         * po/zh_CN.po: Likewise.
20005         * po/header.pot: Likewise.
20006
20007 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20008
20009         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20010         error message.
20011         (enlarge_archive): Likewise.
20012
20013 2013-05-28  Ben North  <ben@redfrontdoor.org>
20014
20015         * manual/arith.texi (frexp): It is the magnitude of the return
20016         value which lies in [0.5, 1), not the return value itself.
20017
20018 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20019
20020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20021
20022 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20023
20024         * stdio-common/bug26.c (main): Correct fscanf template.
20025
20026         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20027         declare _dl_skip_args.
20028
20029         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20030         Don't declare.
20031
20032         * manual/platform.texi: Add missing @end deftypefun.
20033
20034 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20035
20036         [BZ #15529]
20037         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20038         bit of mantissa of 2^16382.
20039         * math/libm-test.inc (hypot_test_data): Add more tests.
20040
20041         * math/libm-test.inc: Add drem and pow10 to list of tested
20042         functions.
20043         (pow10_test): New function.
20044         (drem_test): Likewise.
20045         (drem_test_tonearest): Likewise.
20046         (drem_test_towardzero): Likewise.
20047         (drem_test_downward): Likewise.
20048         (drem_test_upward): Likewise.
20049         (main): Call the new functions.
20050
20051         * math/libm-test.inc (finite_test_data): Remove.
20052         (finite_test): Run tests from isfinite_test_data.
20053         (gamma_test_data): Remove.
20054         (gamma_test): Run tests from lgamma_test_data.
20055         * sysdeps/i386/fpu/libm-test-ulps: Update.
20056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20057
20058 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20059
20060         * manual/platform.texi: Add PowerPC PPR function set documentation.
20061         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20062         implementation.
20063
20064 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20065
20066         * math/libm-test.inc (MAX_EXP): Define.
20067         (ULPDIFF): Define.
20068         (ulp): New function.
20069         (check_float_internal): Use ULPDIFF.
20070         (cpow_test): Disable failing test.
20071         (check_ulp): Test ulp() implemetnation.
20072         (main): Call check_ulp before starting tests.
20073
20074 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20075
20076         * math/gen-libm-test.pl (generate_testfile): Do not handle
20077         START_DATA and END_DATA.
20078         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20079         END_DATA.
20080         (acos_tonearest_test_data): Likewise.
20081         (acos_towardzero_test_data): Likewise.
20082         (acos_downward_test_data): Likewise.
20083         (acos_upward_test_data): Likewise.
20084         (acosh_test_data): Likewise.
20085         (asin_test_data): Likewise.
20086         (asin_tonearest_test_data): Likewise.
20087         (asin_towardzero_test_data): Likewise.
20088         (asin_downward_test_data): Likewise.
20089         (asin_upward_test_data): Likewise.
20090         (asinh_test_data): Likewise.
20091         (atan_test_data): Likewise.
20092         (atanh_test_data): Likewise.
20093         (atan2_test_data): Likewise.
20094         (cabs_test_data): Likewise.
20095         (cacos_test_data): Likewise.
20096         (cacosh_test_data): Likewise.
20097         (carg_test_data): Likewise.
20098         (casin_test_data): Likewise.
20099         (casinh_test_data): Likewise.
20100         (catan_test_data): Likewise.
20101         (catanh_test_data): Likewise.
20102         (cbrt_test_data): Likewise.
20103         (ccos_test_data): Likewise.
20104         (ccosh_test_data): Likewise.
20105         (ceil_test_data): Likewise.
20106         (cexp_test_data): Likewise.
20107         (cimag_test_data): Likewise.
20108         (clog_test_data): Likewise.
20109         (clog10_test_data): Likewise.
20110         (conj_test_data): Likewise.
20111         (copysign_test_data): Likewise.
20112         (cos_test_data): Likewise.
20113         (cos_tonearest_test_data): Likewise.
20114         (cos_towardzero_test_data): Likewise.
20115         (cos_downward_test_data): Likewise.
20116         (cos_upward_test_data): Likewise.
20117         (cosh_test_data): Likewise.
20118         (cosh_tonearest_test_data): Likewise.
20119         (cosh_towardzero_test_data): Likewise.
20120         (cosh_downward_test_data): Likewise.
20121         (cosh_upward_test_data): Likewise.
20122         (cpow_test_data): Likewise.
20123         (cproj_test_data): Likewise.
20124         (creal_test_data): Likewise.
20125         (csin_test_data): Likewise.
20126         (csinh_test_data): Likewise.
20127         (csqrt_test_data): Likewise.
20128         (ctan_test_data): Likewise.
20129         (ctan_tonearest_test_data): Likewise.
20130         (ctan_towardzero_test_data): Likewise.
20131         (ctan_downward_test_data): Likewise.
20132         (ctan_upward_test_data): Likewise.
20133         (ctanh_test_data): Likewise.
20134         (ctanh_tonearest_test_data): Likewise.
20135         (ctanh_towardzero_test_data): Likewise.
20136         (ctanh_downward_test_data): Likewise.
20137         (ctanh_upward_test_data): Likewise.
20138         (erf_test_data): Likewise.
20139         (erfc_test_data): Likewise.
20140         (exp_test_data): Likewise.
20141         (exp_tonearest_test_data): Likewise.
20142         (exp_towardzero_test_data): Likewise.
20143         (exp_downward_test_data): Likewise.
20144         (exp_upward_test_data): Likewise.
20145         (exp10_test_data): Likewise.
20146         (exp2_test_data): Likewise.
20147         (expm1_test_data): Likewise.
20148         (fabs_test_data): Likewise.
20149         (fdim_test_data): Likewise.
20150         (finite_test_data): Likewise.
20151         (floor_test_data): Likewise.
20152         (fma_test_data): Likewise.
20153         (fma_towardzero_test_data): Likewise.
20154         (fma_downward_test_data): Likewise.
20155         (fma_upward_test_data): Likewise.
20156         (fmax_test_data): Likewise.
20157         (fmin_test_data): Likewise.
20158         (fmod_test_data): Likewise.
20159         (fpclassify_test_data): Likewise.
20160         (frexp_test_data): Likewise.
20161         (gamma_test_data): Likewise.
20162         (hypot_test_data): Likewise.
20163         (ilogb_test_data): Likewise.
20164         (isfinite_test_data): Likewise.
20165         (isgreater_test_data): Likewise.
20166         (isgreaterequal_test_data): Likewise.
20167         (isinf_test_data): Likewise.
20168         (isless_test_data): Likewise.
20169         (islessequal_test_data): Likewise.
20170         (islessgreater_test_data): Likewise.
20171         (isnan_test_data): Likewise.
20172         (isnormal_test_data): Likewise.
20173         (issignaling_test_data): Likewise.
20174         (isunordered_test_data): Likewise.
20175         (j0_test_data): Likewise.
20176         (j1_test_data): Likewise.
20177         (jn_test_data): Likewise.
20178         (ldexp_test_data): Likewise.
20179         (lgamma_test_data): Likewise.
20180         (lrint_test_data): Likewise.
20181         (lrint_tonearest_test_data): Likewise.
20182         (lrint_towardzero_test_data): Likewise.
20183         (lrint_downward_test_data): Likewise.
20184         (lrint_upward_test_data): Likewise.
20185         (llrint_test_data): Likewise.
20186         (llrint_tonearest_test_data): Likewise.
20187         (llrint_towardzero_test_data): Likewise.
20188         (llrint_downward_test_data): Likewise.
20189         (llrint_upward_test_data): Likewise.
20190         (log_test_data): Likewise.
20191         (log10_test_data): Likewise.
20192         (log1p_test_data): Likewise.
20193         (log2_test_data): Likewise.
20194         (logb_test_data): Likewise.
20195         (logb_downward_test_data): Likewise.
20196         (lround_test_data): Likewise.
20197         (llround_test_data): Likewise.
20198         (modf_test_data): Likewise.
20199         (nearbyint_test_data): Likewise.
20200         (nextafter_test_data): Likewise.
20201         (nexttoward_test_data): Likewise.
20202         (pow_test_data): Likewise.
20203         (pow_tonearest_test_data): Likewise.
20204         (pow_towardzero_test_data): Likewise.
20205         (pow_downward_test_data): Likewise.
20206         (pow_upward_test_data): Likewise.
20207         (remainder_test_data): Likewise.
20208         (remainder_tonearest_test_data): Likewise.
20209         (remainder_towardzero_test_data): Likewise.
20210         (remainder_downward_test_data): Likewise.
20211         (remainder_upward_test_data): Likewise.
20212         (remquo_test_data): Likewise.
20213         (rint_test_data): Likewise.
20214         (rint_tonearest_test_data): Likewise.
20215         (rint_towardzero_test_data): Likewise.
20216         (rint_downward_test_data): Likewise.
20217         (rint_upward_test_data): Likewise.
20218         (round_test_data): Likewise.
20219         (scalb_test_data): Likewise.
20220         (scalbn_test_data): Likewise.
20221         (scalbln_test_data): Likewise.
20222         (signbit_test_data): Likewise.
20223         (sin_test_data): Likewise.
20224         (sin_tonearest_test_data): Likewise.
20225         (sin_towardzero_test_data): Likewise.
20226         (sin_downward_test_data): Likewise.
20227         (sin_upward_test_data): Likewise.
20228         (sincos_test_data): Likewise.
20229         (sinh_test_data): Likewise.
20230         (sinh_tonearest_test_data): Likewise.
20231         (sinh_towardzero_test_data): Likewise.
20232         (sinh_downward_test_data): Likewise.
20233         (sinh_upward_test_data): Likewise.
20234         (sqrt_test_data): Likewise.
20235         (tan_test_data): Likewise.
20236         (tan_tonearest_test_data): Likewise.
20237         (tan_towardzero_test_data): Likewise.
20238         (tan_downward_test_data): Likewise.
20239         (tan_upward_test_data): Likewise.
20240         (tanh_test_data): Likewise.
20241         (tgamma_test_data): Likewise.
20242         (trunc_test_data): Likewise.
20243         (y0_test_data): Likewise.
20244         (y1_test_data): Likewise.
20245         (yn_test_data): Likewise.
20246         (significand_test_data): Likewise.
20247
20248         * math/gen-libm-test.pl (@functions): Remove variable.
20249         (generate_testfile): Don't handle START and END lines.
20250         * math/libm-test.inc (START): New macro.
20251         (END): Likewise.
20252         (END_COMPLEX): Likewise.
20253         (acos_test): Use END macro without arguments.
20254         (acos_test_tonearest): Likewise.
20255         (acos_test_towardzero): Likewise.
20256         (acos_test_downward): Likewise.
20257         (acos_test_upward): Likewise.
20258         (acosh_test): Likewise.
20259         (asin_test): Likewise.
20260         (asin_test_tonearest): Likewise.
20261         (asin_test_towardzero): Likewise.
20262         (asin_test_downward): Likewise.
20263         (asin_test_upward): Likewise.
20264         (asinh_test): Likewise.
20265         (atan_test): Likewise.
20266         (atanh_test): Likewise.
20267         (atan2_test): Likewise.
20268         (cabs_test): Likewise.
20269         (cacos_test): Use END_COMPLEX macro without arguments.
20270         (cacosh_test): Likewise.
20271         (carg_test): Use END macro without arguments.
20272         (casin_test): Use END_COMPLEX macro without arguments.
20273         (casinh_test): Likewise.
20274         (catan_test): Likewise.
20275         (catanh_test): Likewise.
20276         (cbrt_test): Use END macro without arguments.
20277         (ccos_test): Use END_COMPLEX macro without arguments.
20278         (ccosh_test): Likewise.
20279         (ceil_test): Use END macro without arguments.
20280         (cexp_test): Use END_COMPLEX macro without arguments.
20281         (cimag_test): Use END macro without arguments.
20282         (clog_test): Use END_COMPLEX macro without arguments.
20283         (clog10_test): Likewise.
20284         (conj_test): Likewise.
20285         (copysign_test): Use END macro without arguments.
20286         (cos_test): Likewise.
20287         (cos_test_tonearest): Likewise.
20288         (cos_test_towardzero): Likewise.
20289         (cos_test_downward): Likewise.
20290         (cos_test_upward): Likewise.
20291         (cosh_test): Likewise.
20292         (cosh_test_tonearest): Likewise.
20293         (cosh_test_towardzero): Likewise.
20294         (cosh_test_downward): Likewise.
20295         (cosh_test_upward): Likewise.
20296         (cpow_test): Use END_COMPLEX macro without arguments.
20297         (cproj_test): Likewise.
20298         (creal_test): Use END macro without arguments.
20299         (csin_test): Use END_COMPLEX macro without arguments.
20300         (csinh_test): Likewise.
20301         (csqrt_test): Likewise.
20302         (ctan_test): Likewise.
20303         (ctan_test_tonearest): Likewise.
20304         (ctan_test_towardzero): Likewise.
20305         (ctan_test_downward): Likewise.
20306         (ctan_test_upward): Likewise.
20307         (ctanh_test): Likewise.
20308         (ctanh_test_tonearest): Likewise.
20309         (ctanh_test_towardzero): Likewise.
20310         (ctanh_test_downward): Likewise.
20311         (ctanh_test_upward): Likewise.
20312         (erf_test): Use END macro without arguments.
20313         (erfc_test): Likewise.
20314         (exp_test): Likewise.
20315         (exp_test_tonearest): Likewise.
20316         (exp_test_towardzero): Likewise.
20317         (exp_test_downward): Likewise.
20318         (exp_test_upward): Likewise.
20319         (exp10_test): Likewise.
20320         (exp2_test): Likewise.
20321         (expm1_test): Likewise.
20322         (fabs_test): Likewise.
20323         (fdim_test): Likewise.
20324         (finite_test): Likewise.
20325         (floor_test): Likewise.
20326         (fma_test): Likewise.
20327         (fma_test_towardzero): Likewise.
20328         (fma_test_downward): Likewise.
20329         (fma_test_upward): Likewise.
20330         (fmax_test): Likewise.
20331         (fmin_test): Likewise.
20332         (fmod_test): Likewise.
20333         (fpclassify_test): Likewise.
20334         (frexp_test): Likewise.
20335         (gamma_test): Likewise.
20336         (hypot_test): Likewise.
20337         (ilogb_test): Likewise.
20338         (isfinite_test): Likewise.
20339         (isgreater_test): Likewise.
20340         (isgreaterequal_test): Likewise.
20341         (isinf_test): Likewise.
20342         (isless_test): Likewise.
20343         (islessequal_test): Likewise.
20344         (islessgreater_test): Likewise.
20345         (isnan_test): Likewise.
20346         (isnormal_test): Likewise.
20347         (issignaling_test): Likewise.
20348         (isunordered_test): Likewise.
20349         (j0_test): Likewise.
20350         (j1_test): Likewise.
20351         (jn_test): Likewise.
20352         (ldexp_test): Likewise.
20353         (lgamma_test): Likewise.
20354         (lrint_test): Likewise.
20355         (lrint_test_tonearest): Likewise.
20356         (lrint_test_towardzero): Likewise.
20357         (lrint_test_downward): Likewise.
20358         (lrint_test_upward): Likewise.
20359         (llrint_test): Likewise.
20360         (llrint_test_tonearest): Likewise.
20361         (llrint_test_towardzero): Likewise.
20362         (llrint_test_downward): Likewise.
20363         (llrint_test_upward): Likewise.
20364         (log_test): Likewise.
20365         (log10_test): Likewise.
20366         (log1p_test): Likewise.
20367         (log2_test): Likewise.
20368         (logb_test): Likewise.
20369         (logb_test_downward): Likewise.
20370         (lround_test): Likewise.
20371         (llround_test): Likewise.
20372         (modf_test): Likewise.
20373         (nearbyint_test): Likewise.
20374         (nextafter_test): Likewise.
20375         (nexttoward_test): Likewise.
20376         (pow_test): Likewise.
20377         (pow_test_tonearest): Likewise.
20378         (pow_test_towardzero): Likewise.
20379         (pow_test_downward): Likewise.
20380         (pow_test_upward): Likewise.
20381         (remainder_test): Likewise.
20382         (remainder_test_tonearest): Likewise.
20383         (remainder_test_towardzero): Likewise.
20384         (remainder_test_downward): Likewise.
20385         (remainder_test_upward): Likewise.
20386         (remquo_test): Likewise.
20387         (rint_test): Likewise.
20388         (rint_test_tonearest): Likewise.
20389         (rint_test_towardzero): Likewise.
20390         (rint_test_downward): Likewise.
20391         (rint_test_upward): Likewise.
20392         (round_test): Likewise.
20393         (scalb_test): Likewise.
20394         (scalbn_test): Likewise.
20395         (scalbln_test): Likewise.
20396         (signbit_test): Likewise.
20397         (sin_test): Likewise.
20398         (sin_test_tonearest): Likewise.
20399         (sin_test_towardzero): Likewise.
20400         (sin_test_downward): Likewise.
20401         (sin_test_upward): Likewise.
20402         (sincos_test): Likewise.
20403         (sinh_test): Likewise.
20404         (sinh_test_tonearest): Likewise.
20405         (sinh_test_towardzero): Likewise.
20406         (sinh_test_downward): Likewise.
20407         (sinh_test_upward): Likewise.
20408         (sqrt_test): Likewise.
20409         (tan_test): Likewise.
20410         (tan_test_tonearest): Likewise.
20411         (tan_test_towardzero): Likewise.
20412         (tan_test_downward): Likewise.
20413         (tan_test_upward): Likewise.
20414         (tanh_test): Likewise.
20415         (tgamma_test): Likewise.
20416         (trunc_test): Likewise.
20417         (y0_test): Likewise.
20418         (y1_test): Likewise.
20419         (yn_test): Likewise.
20420         (significand_test): Likewise.
20421
20422 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20423
20424         [BZ #15381]
20425         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20426
20427 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20428
20429         [BZ #14894]
20430         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20431         __ppc_mdoio and __ppc_mdoom.
20432         * manual/platform.texi: Document new functions __ppc_yield,
20433         __ppc_mdoio and __ppc_mdoom.
20434
20435 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20436
20437         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20438         (main): Mention "tls" pseudo-hwcap is legacy.
20439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20440
20441 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20442
20443         * math/gen-libm-test.pl (parse_args): Output only string of
20444         arguments as text for test name, not full call or descriptions of
20445         tests for extra outputs.
20446         (generate_testfile): Do not pass function name to parse_args.
20447         Generate this_func variable from START.
20448         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20449         field to arg_str.
20450         (struct test_ff_f_data): Likewise.
20451         (test_ff_f_data_nexttoward): Likewise.
20452         (struct test_fi_f_data): Likewise.
20453         (struct test_fl_f_data): Likewise.
20454         (struct test_if_f_data): Likewise.
20455         (struct test_fff_f_data): Likewise.
20456         (struct test_c_f_data): Likewise.
20457         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20458         (struct test_fF_f1_data): Likewise.
20459         (struct test_ffI_f1_data): Likewise.
20460         (struct test_c_c_data): Rename test_name field to arg_str.
20461         (struct test_cc_c_data): Likewise.
20462         (struct test_f_i_data): Likewise.
20463         (struct test_ff_i_data): Likewise.
20464         (struct test_f_l_data): Likewise.
20465         (struct test_f_L_data): Likewise.
20466         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20467         and extra2_name.
20468         (COMMON_TEST_SETUP): New macro.
20469         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20470         (COMMON_TEST_CLEANUP): Likewise.
20471         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20472         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20473         macros.
20474         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20475         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20476         macros.
20477         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20478         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20479         cleanup macros.
20480         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20481         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20482         macros.
20483         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20484         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20485         macros.
20486         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20487         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20488         cleanup macros.
20489         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20490         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20491         cleanup macros.
20492         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20493         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20494         cleanup macros.
20495         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20496         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20497         macros.
20498         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20499         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20500         macros.
20501         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20502         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20503         macros.
20504         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20505         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20506         cleanup macros.
20507         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20508         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20509         cleanup macros.
20510         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20511         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20512         macros.
20513         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20514         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20515         cleanup macros.
20516         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20517         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20518         macros.
20519         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20520         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20521         macros.
20522         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20523         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20524         cleanup macros.
20525         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20526
20527 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20528
20529         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20530         to _sifields.sigfault.
20531         (si_addr_lsb): Define new macro.
20532         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20534         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20535
20536 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20537
20538         [BZ #15441]
20539         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20540         returns -1.
20541         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20542         null return -1.
20543         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20544         loading the domain.
20545
20546 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20547
20548         * math/gen-libm-test.pl (parse_args): Do not include expected
20549         result in test name.
20550         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20552         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20554         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20556
20557 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20558
20559         * benchtests/Makefile: Sort function entries.
20560
20561         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20562         tanh, asinh, acosh, atanh.
20563         * benchtests/acos-inputs: New file.
20564         * benchtests/acosh-inputs: New file.
20565         * benchtests/asin-inputs: New file.
20566         * benchtests/asinh-inputs: New file.
20567         * benchtests/atanh-inputs: New file.
20568         * benchtests/cosh-inputs: New file.
20569         * benchtests/log-inputs: New file.
20570         * benchtests/sinh-inputs: New file.
20571         * benchtests/tanh-inputs: New file.
20572
20573 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20574
20575         [BZ #15339]
20576         * posix/tst-getaddrinfo4.c: New test.
20577         * posix/Makefile (tests): Add it.
20578
20579 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20580
20581         [BZ #15339]
20582         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20583         when no services were used.
20584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20585         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20586
20587 2013-05-21  Andreas Schwab  <schwab@suse.de>
20588
20589         [BZ #15014]
20590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20591         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20592         successful.
20593         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20594         redundant variable declarations and reallocation of buffer when
20595         parsing as IPv6 address.  Always set NSS status when called from
20596         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20597         buffer too small.  Correct computation of needed size.
20598         * nss/Makefile (tests): Add test-digits-dots.
20599         * nss/test-digits-dots.c: New test.
20600
20601 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20602
20603         * benchtests/Makefile: Remove instructions for adding
20604         benchmark tests.
20605         * benchtests/README: New file to explain how to execute and
20606         enhance the benchmark tests.
20607
20608 2013-05-21  Andreas Schwab  <schwab@suse.de>
20609
20610         [BZ #15493]
20611         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20612         * setjmp/tst-sigsetjmp.c: New test.
20613
20614 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20615
20616         * sysdeps/x86_64/memset.S (memset): New implementation.
20617         (__bzero): Likewise.
20618         (__memset_tail): New function.
20619
20620 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20621
20622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20623         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20624         __memcpy_sse2_unaligned ifunc selection.
20625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20626         Add memcpy-sse2-unaligned.S.
20627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20628         Add: __memcpy_sse2_unaligned.
20629
20630 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20631
20632         [BZ #15490]
20633         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20634         math_force_eval before restoring floating-point envrionment.
20635         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20637         Likewise.
20638         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20639         <math_private.h>.
20640         (__nearbyintl): Use math_force_eval before restoring
20641         floating-point environment.
20642         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20643
20644         * math/gen-libm-test.pl (special_functions): Remove.
20645         (parse_args): Don't handle TEST_extra.  Handle functions with no
20646         return value.
20647         * math/libm-test.inc (struct test_sincos_data): Replace with
20648         struct test_fFF_11_data.
20649         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20650         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20651         (sincos_test_data): Change element type to struct
20652         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20653         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20654         RUN_TEST_LOOP_sincos.
20655         * math/README.libm-test: Don't mention special handling of
20656         individual functions.
20657         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20659         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20660         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20661         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20663
20664         * math/gen-libm-test.pl (get_variable): Remove function.
20665         (parse_args): Don't show pointer parameters to call in test
20666         names.  Use "extra output N" in test names for extra outputs
20667         rather than naming variables.
20668
20669 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20670
20671         [BZ #15488]
20672         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20673         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20674         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20675         double tests.
20676         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20677         disable.
20678         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20679         check_long_double.
20680
20681         * math/gen-libm-test.pl (@tests): Remove variable.
20682         ($count): Likewise.
20683         (new_test): Remove function.
20684         (show_exceptions): New function.
20685         (special_functions): Use show_exceptions instead of new_test.
20686         (parse_args): Likewise.
20687         (generate_testfile): Pass only function name in generated call to
20688         print_max_error or print_complex_max_error.
20689         (get_ulps): Do not handle complex tests specially.
20690         (output_test): Rename to ...
20691         (get_all_ulps_for_test): ... this.  Return a string rather than
20692         printing to a file.  Require ulps to be present.
20693         (output_ulps): Generate arrays rather than #defines.
20694         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20695         (struct ulp_data): New type.
20696         (BUILD_COMPLEX_ULP): Remove macro.
20697         (compare_ulp_data): New function.
20698         (find_ulps): Likewise.
20699         (find_test_ulps): Likewise.
20700         (find_function_ulps): Likewise.
20701         (find_complex_function_ulps): Likewise.
20702         (print_max_error): Determine allowed ulps using
20703         find_function_ulps.
20704         (print_complex_max_error): Determine allowed ulps using
20705         find_complex_function_ulps.
20706         (check_float_internal): Determine max ulps using find_test_ulps.
20707         (check_float): Do not take max_ulp parameter.  Update call to
20708         check_float_internal.
20709         (check_complex): Likewise.
20710         (check_int): Do not take max_ulp parameter.
20711         (check_long): Likewise.
20712         (check_bool): Likewise.
20713         (check_longlong): Likewise.
20714         (struct test_f_f_data): Remove max_ulp field.
20715         (struct test_ff_f_data): Likewise.
20716         (struct test_ff_f_data_nexttoward): Likewise.
20717         (struct test_fi_f_data): Likewise.
20718         (struct test_fl_f_data): Likewise.
20719         (struct test_if_f_data): Likewise.
20720         (struct test_fff_f_data): Likewise.
20721         (struct test_c_f_data): Likewise.
20722         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20723         (struct test_fF_f1_data): Likewise.
20724         (struct test_ffI_f1_data): Likewise.
20725         (struct test_c_c_data): Remove max_ulp field.
20726         (struct test_cc_c_data): Likewise.
20727         (struct test_f_i_data): Likewise.
20728         (struct test_ff_i_data): Likewise.
20729         (struct test_f_l_data): Likewise.
20730         (struct test_f_L_data): Likewise.
20731         (struct test_sincos_data): Likewise.
20732         (RUN_TEST_f_f): Do not handle ulps.
20733         (RUN_TEST_LOOP_f_f): Likewise.
20734         (RUN_TEST_2_f): Likewise.
20735         (RUN_TEST_LOOP_2_f): Likewise.
20736         (RUN_TEST_fff_f): Likewise.
20737         (RUN_TEST_LOOP_fff_f): Likewise.
20738         (RUN_TEST_c_f): Likewise.
20739         (RUN_TEST_LOOP_c_f): Likewise.
20740         (RUN_TEST_f_f1): Likewise.
20741         (RUN_TEST_LOOP_f_f1): Likewise.
20742         (RUN_TEST_fF_f1): Likewise.
20743         (RUN_TEST_LOOP_fF_f1): Likewise.
20744         (RUN_TEST_fI_f1): Likewise.
20745         (RUN_TEST_LOOP_fI_f1): Likewise.
20746         (RUN_TEST_ffI_f1): Likewise.
20747         (RUN_TEST_LOOP_ffI_f1): Likewise.
20748         (RUN_TEST_c_c): Likewise.
20749         (RUN_TEST_LOOP_c_c): Likewise.
20750         (RUN_TEST_cc_c): Likewise.
20751         (RUN_TEST_LOOP_cc_c): Likewise.
20752         (RUN_TEST_f_i): Likewise.
20753         (RUN_TEST_LOOP_f_i): Likewise.
20754         (RUN_TEST_f_i_tg): Likewise.
20755         (RUN_TEST_LOOP_f_i_tg): Likewise.
20756         (RUN_TEST_ff_i_tg): Likewise.
20757         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20758         (RUN_TEST_f_b): Likewise.
20759         (RUN_TEST_LOOP_f_b): Likewise.
20760         (RUN_TEST_f_b_tg): Likewise.
20761         (RUN_TEST_LOOP_f_b_tg): Likewise.
20762         (RUN_TEST_f_l): Likewise.
20763         (RUN_TEST_LOOP_f_l): Likewise.
20764         (RUN_TEST_f_L): Likewise.
20765         (RUN_TEST_LOOP_f_L): Likewise.
20766         (RUN_TEST_sincos): Likewise.
20767         (RUN_TEST_LOOP_sincos): Likewise.
20768
20769 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20770
20771         [BZ #15480]
20772         [BZ #15485]
20773         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20774         main case of finite arguments, set rounding mode to FE_TONEAREST
20775         and discard exceptions.
20776         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20777         exceptions.
20778         (remainder_tonearest_test_data): New variable.
20779         (remainder_test_tonearest): New function.
20780         (remainder_towardzero_test_data): New variable.
20781         (remainder_test_towardzero): New function.
20782         (remainder_downward_test_data): New variable.
20783         (remainder_test_downward): New function.
20784         (remainder_upward_test_data): New variable.
20785         (remainder_test_upward): New function.
20786         (main): Call the new test functions.
20787
20788         * math/libm-test.inc (struct test_f_f1_data): Remove field
20789         extra_init.
20790         (struct test_fF_f1_data): Likewise.
20791         (struct test_ffI_f1_data): Likewise.
20792         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20793         based on value of EXTRA_EXPECTED.
20794         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20795         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20796         EXTRA_VAR based on value of EXTRA_EXPECTED.
20797         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20798         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20799         EXTRA_VAR based on value of EXTRA_EXPECTED.
20800         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20801         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20802         EXTRA_VAR based on value of EXTRA_EXPECTED.
20803         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20804         * math/gen-libm-test.pl (parse_args): Don't output initializers
20805         for extra output values.
20806
20807         * math/libm-test.inc (check_int): Expect result to be exactly
20808         equal to expected value and do not handle ulps.
20809         (check_long): Likewise.
20810         (check_longlong): Likewise.
20811
20812         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20813         exceptions.
20814         (cimag_test_data): Likewise.
20815         (conj_test_data): Likewise.
20816         (copysign_test_data): Likewise.
20817         (cproj_test_data): Likewise.
20818         (creal_test_data): Likewise.
20819         (fabs_test_data): Likewise.
20820         (fdim_test_data): Likewise.
20821         (finite_test_data): Likewise.
20822         (floor_test_data): Likewise.
20823         (fmax_test_data): Likewise.
20824         (fmin_test_data): Likewise.
20825         (fmod_test_data): Likewise.
20826         (fpclassify_test_data): Likewise.
20827         (frexp_test_data): Likewise.
20828         (ilogb_test_data): Likewise.
20829         (isfinite_test_data): Likewise.
20830         (isgreater_test_data): Likewise.
20831         (isgreaterequal_test_data): Likewise.
20832         (isinf_test_data): Likewise.
20833         (isless_test_data): Likewise.
20834         (islessequal_test_data): Likewise.
20835         (islessgreater_test_data): Likewise.
20836         (isnan_test_data): Likewise.
20837         (isnormal_test_data): Likewise.
20838         (issignaling_test_data): Likewise.
20839         (isunordered_test_data): Likewise.
20840         (ldexp_test_data): Likewise.
20841         (lrint_test_data): Likewise.
20842         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20843         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20844         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20845         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20846         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20847         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20848         test input.
20849         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20850         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20851         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20852         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20853         that test input.
20854         (lrint_downward_test_data): Test for "inexact" exceptions.
20855         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20856         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20857         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20858         test input.
20859         (lrint_upward_test_data): Test for "inexact" exceptions.
20860         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20861         test input.
20862         (llrint_test_data): Test for "inexact" exceptions.
20863         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20864         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20865         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20866         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20867         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20868         (llrint_downward_test_data): Test for "inexact" exceptions.
20869         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20870         (llrint_upward_test_data): Test for "inexact" exceptions.
20871         (logb_test_data): Likewise.
20872         (logb_downward_test_data): Likewise.
20873         (nextafter_test_data): Likewise.
20874         (nexttoward_test_data): Likewise.
20875         (remainder_test_data): Likewise.
20876         (remquo_test_data): Likewise.
20877         (scalbn_test_data): Likewise.
20878         (scalbln_test_data): Likewise.
20879         (signbit_test_data): Likewise.
20880         (sqrt_test_data): Likewise.
20881         (significand_test_data): Likewise.
20882
20883 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20884
20885         [BZ #15424]
20886         * benchtests/bench-modf.c (struct args): Mark arg0 as
20887         volatile.
20888         * scripts/bench.pl: Mark members of struct args as volatile.
20889
20890 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20891
20892         [BZ # 15497]
20893         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20894         negative infinity on POWER6 or lower.
20895         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20896
20897 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20898
20899         [BZ #15442]
20900         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20901         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20902         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20903         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20904         (_FP_SETQNAN): New macro.
20905         (_FP_SETQNAN_SEMIRAW): Likewise.
20906         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20907         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20908         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20909         (FP_EXTEND): Use _FP_FRAC_SNANP.
20910         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20911         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20912         into account.
20913         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20914         New macro.
20915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20916         Likewise.
20917
20918 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20919
20920         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20921         with DIVIDE_BY_ZERO_EXCEPTION.
20922         (gamma_test_data): Likewise.
20923         (lgamma_test_data): Likewise.
20924         (log_test_data): Likewise.
20925         (log10_test_data): Likewise.
20926         (log2_test_data): Likewise.
20927         (tgamma_test_data): Likewise.
20928
20929         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20930         (acos_test_tonearest): Likewise.
20931         (acos_test_towardzero): Likewise.
20932         (acos_test_downward): Likewise.
20933         (acos_test_upward): Likewise.
20934         (acosh_test): Likewise.
20935         (asin_test): Likewise.
20936         (asin_test_tonearest): Likewise.
20937         (asin_test_towardzero): Likewise.
20938         (asin_test_downward): Likewise.
20939         (asin_test_upward): Likewise.
20940         (asinh_test): Likewise.
20941         (atan_test): Likewise.
20942         (atanh_test): Likewise.
20943         (atan2_test): Likewise.
20944         (cabs_test): Likewise.
20945         (cacos_test): Likewise.
20946         (cacosh_test): Likewise.
20947         (casin_test): Likewise.
20948         (casinh_test): Likewise.
20949         (catan_test): Likewise.
20950         (catanh_test): Likewise.
20951         (cbrt_test): Likewise.
20952         (ccos_test): Likewise.
20953         (ccosh_test): Likewise.
20954         (cexp_test): Likewise.
20955         (clog_test): Likewise.
20956         (clog10_test): Likewise.
20957         (cos_test): Likewise.
20958         (cos_test_tonearest): Likewise.
20959         (cos_test_towardzero): Likewise.
20960         (cos_test_downward): Likewise.
20961         (cos_test_upward): Likewise.
20962         (cosh_test): Likewise.
20963         (cosh_test_tonearest): Likewise.
20964         (cosh_test_towardzero): Likewise.
20965         (cosh_test_downward): Likewise.
20966         (cosh_test_upward): Likewise.
20967         (cpow_test): Likewise.
20968         (csin_test): Likewise.
20969         (csinh_test): Likewise.
20970         (csqrt_test): Likewise.
20971         (ctan_test): Likewise.
20972         (ctan_test_tonearest): Likewise.
20973         (ctan_test_towardzero): Likewise.
20974         (ctan_test_downward): Likewise.
20975         (ctan_test_upward): Likewise.
20976         (ctanh_test): Likewise.
20977         (ctanh_test_tonearest): Likewise.
20978         (ctanh_test_towardzero): Likewise.
20979         (ctanh_test_downward): Likewise.
20980         (ctanh_test_upward): Likewise.
20981         (erf_test): Likewise.
20982         (erfc_test): Likewise.
20983         (exp_test): Likewise.
20984         (exp_test_tonearest): Likewise.
20985         (exp_test_towardzero): Likewise.
20986         (exp_test_downward): Likewise.
20987         (exp_test_upward): Likewise.
20988         (exp10_test): Likewise.
20989         (exp2_test): Likewise.
20990         (expm1_test): Likewise.
20991         (fmod_test): Likewise.
20992         (gamma_test): Likewise.
20993         (hypot_test): Likewise.
20994         (j0_test): Likewise.
20995         (j1_test): Likewise.
20996         (jn_test): Likewise.
20997         (lgamma_test): Likewise.
20998         (log_test): Likewise.
20999         (log10_test): Likewise.
21000         (log1p_test): Likewise.
21001         (log2_test): Likewise.
21002         (logb_test_downward): Likewise.
21003         (pow_test): Likewise.
21004         (pow_test_tonearest): Likewise.
21005         (pow_test_towardzero): Likewise.
21006         (pow_test_downward): Likewise.
21007         (pow_test_upward): Likewise.
21008         (remainder_test): Likewise.
21009         (remquo_test): Likewise.
21010         (sin_test): Likewise.
21011         (sin_test_tonearest): Likewise.
21012         (sin_test_towardzero): Likewise.
21013         (sin_test_downward): Likewise.
21014         (sin_test_upward): Likewise.
21015         (sincos_test): Likewise.
21016         (sinh_test): Likewise.
21017         (sinh_test_tonearest): Likewise.
21018         (sinh_test_towardzero): Likewise.
21019         (sinh_test_downward): Likewise.
21020         (sinh_test_upward): Likewise.
21021         (sqrt_test): Likewise.
21022         (tan_test): Likewise.
21023         (tan_test_tonearest): Likewise.
21024         (tan_test_towardzero): Likewise.
21025         (tan_test_downward): Likewise.
21026         (tan_test_upward): Likewise.
21027         (tanh_test): Likewise.
21028         (tgamma_test): Likewise.
21029         (y0_test): Likewise.
21030         (y1_test): Likewise.
21031         (yn_test): Likewise.
21032
21033         * math/gen-libm-test.pl (adjust_arg): Remove function.
21034         (special_function): Remove argument $in_func.  Only handle
21035         generating output for tables of tests, not inside functions.
21036         (parse_args): Likewise.
21037         (generate_testfile): Remove variable $in_func.  Update call to
21038         parse_args.
21039         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21040         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21041         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21042         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21043         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21044         (MAX_VALUE_INIT): Rename macro to max_value.
21045         (MIN_VALUE_INIT): Rename macro to min_value.
21046         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21047         (plus_zero): Remove variable.
21048         (minus_zero): Likewise.
21049         (plus_infty): Likewise.
21050         (minus_infty): Likewise.
21051         (qnan_value): Likewise.
21052         (max_value): Likewise.
21053         (min_value): Likewise.
21054         (min_subnorm_value): Likewise.
21055
21056 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21057
21058         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21059         uint64_t or uint32_t usage.
21060         * crypt/sha256-block.c: Likewise.
21061         * crypt/sha256-crypt.c: Likewise.
21062         * crypt/sha256.c: Likewise.
21063         * crypt/sha512-block.c: Likewise.
21064         * crypt/sha512-crypt.c: Likewise.
21065         * crypt/sha512.c: Likewise.
21066         * debug/backtrace-tst.c: Likewise.
21067         * debug/pcprofiledump.c: Likewise.
21068         * elf/cache.c: Likewise.
21069         * elf/dl-cache.c: Likewise.
21070         * elf/dl-misc.c: Likewise.
21071         * elf/dl-profile.c: Likewise.
21072         * elf/dl-support.c: Likewise.
21073         * elf/ldconfig.c: Likewise.
21074         * elf/sprof.c: Likewise.
21075         * iconv/dummy-repertoire.c: Likewise.
21076         * iconv/iconv_charmap.c: Likewise.
21077         * iconv/skeleton.c: Likewise.
21078         * iconvdata/8bit-generic.c: Likewise.
21079         * iconvdata/cp737.h: Likewise.
21080         * iconvdata/cp775.h: Likewise.
21081         * iconvdata/ibm1008.h: Likewise.
21082         * iconvdata/ibm1025.h: Likewise.
21083         * iconvdata/ibm1046.h: Likewise.
21084         * iconvdata/ibm1097.h: Likewise.
21085         * iconvdata/ibm1112.h: Likewise.
21086         * iconvdata/ibm1122.h: Likewise.
21087         * iconvdata/ibm1123.h: Likewise.
21088         * iconvdata/ibm1124.h: Likewise.
21089         * iconvdata/ibm1129.h: Likewise.
21090         * iconvdata/ibm1130.h: Likewise.
21091         * iconvdata/ibm1132.h: Likewise.
21092         * iconvdata/ibm1133.h: Likewise.
21093         * iconvdata/ibm1137.h: Likewise.
21094         * iconvdata/ibm1140.h: Likewise.
21095         * iconvdata/ibm1141.h: Likewise.
21096         * iconvdata/ibm1142.h: Likewise.
21097         * iconvdata/ibm1143.h: Likewise.
21098         * iconvdata/ibm1144.h: Likewise.
21099         * iconvdata/ibm1145.h: Likewise.
21100         * iconvdata/ibm1146.h: Likewise.
21101         * iconvdata/ibm1147.h: Likewise.
21102         * iconvdata/ibm1148.h: Likewise.
21103         * iconvdata/ibm1149.h: Likewise.
21104         * iconvdata/ibm1153.h: Likewise.
21105         * iconvdata/ibm1154.h: Likewise.
21106         * iconvdata/ibm1155.h: Likewise.
21107         * iconvdata/ibm1156.h: Likewise.
21108         * iconvdata/ibm1157.h: Likewise.
21109         * iconvdata/ibm1158.h: Likewise.
21110         * iconvdata/ibm1160.h: Likewise.
21111         * iconvdata/ibm1161.h: Likewise.
21112         * iconvdata/ibm1162.h: Likewise.
21113         * iconvdata/ibm1163.h: Likewise.
21114         * iconvdata/ibm1164.h: Likewise.
21115         * iconvdata/ibm1166.h: Likewise.
21116         * iconvdata/ibm1167.h: Likewise.
21117         * iconvdata/ibm12712.h: Likewise.
21118         * iconvdata/ibm1390.h: Likewise.
21119         * iconvdata/ibm1399.h: Likewise.
21120         * iconvdata/ibm16804.h: Likewise.
21121         * iconvdata/ibm4517.h: Likewise.
21122         * iconvdata/ibm4899.h: Likewise.
21123         * iconvdata/ibm4909.h: Likewise.
21124         * iconvdata/ibm4971.h: Likewise.
21125         * iconvdata/ibm5347.h: Likewise.
21126         * iconvdata/ibm803.h: Likewise.
21127         * iconvdata/ibm856.h: Likewise.
21128         * iconvdata/ibm901.h: Likewise.
21129         * iconvdata/ibm902.h: Likewise.
21130         * iconvdata/ibm9030.h: Likewise.
21131         * iconvdata/ibm9066.h: Likewise.
21132         * iconvdata/ibm921.h: Likewise.
21133         * iconvdata/ibm922.h: Likewise.
21134         * iconvdata/ibm9448.h: Likewise.
21135         * iconvdata/isiri-3342.h: Likewise.
21136         * iconvdata/jis0201.h: Likewise.
21137         * include/link.h: Likewise.
21138         * include/netdb.h: Likewise.
21139         * inet/check_native.c: Likewise.
21140         * inet/check_pf.c: Likewise.
21141         * inet/getipv4sourcefilter.c: Likewise.
21142         * inet/getnameinfo.c: Likewise.
21143         * inet/getsourcefilter.c: Likewise.
21144         * inet/htonl.c: Likewise.
21145         * inet/setipv4sourcefilter.c: Likewise.
21146         * inet/setsourcefilter.c: Likewise.
21147         * inet/test-inet6_opt.c: Likewise.
21148         * inet/tst-network.c: Likewise.
21149         * locale/C-collate.c: Likewise.
21150         * locale/C-ctype.c: Likewise.
21151         * locale/C-time.c: Likewise.
21152         * locale/C-translit.h: Likewise.
21153         * locale/loadarchive.c: Likewise.
21154         * locale/programs/3level.h: Likewise.
21155         * locale/programs/charmap.c: Likewise.
21156         * locale/programs/charmap.h: Likewise.
21157         * locale/programs/ld-address.c: Likewise.
21158         * locale/programs/ld-collate.c: Likewise.
21159         * locale/programs/ld-ctype.c: Likewise.
21160         * locale/programs/ld-identification.c: Likewise.
21161         * locale/programs/ld-measurement.c: Likewise.
21162         * locale/programs/ld-messages.c: Likewise.
21163         * locale/programs/ld-monetary.c: Likewise.
21164         * locale/programs/ld-name.c: Likewise.
21165         * locale/programs/ld-numeric.c: Likewise.
21166         * locale/programs/ld-paper.c: Likewise.
21167         * locale/programs/ld-telephone.c: Likewise.
21168         * locale/programs/ld-time.c: Likewise.
21169         * locale/programs/linereader.c: Likewise.
21170         * locale/programs/locale.c: Likewise.
21171         * locale/programs/locarchive.c: Likewise.
21172         * locale/programs/locfile.h: Likewise.
21173         * locale/programs/repertoire.c: Likewise.
21174         * locale/programs/simple-hash.c: Likewise.
21175         * locale/programs/simple-hash.h: Likewise.
21176         * malloc/memusage.c: Likewise.
21177         * malloc/memusagestat.c: Likewise.
21178         * nis/nis_defaults.c: Likewise.
21179         * nis/nis_hash.c: Likewise.
21180         * nis/nis_print.c: Likewise.
21181         * nis/nis_xdr.c: Likewise.
21182         * nscd/connections.c: Likewise.
21183         * nscd/hstcache.c: Likewise.
21184         * nscd/nscd_gethst_r.c: Likewise.
21185         * nscd/nscd_getserv_r.c: Likewise.
21186         * nscd/nscd_helper.c: Likewise.
21187         * nscd/servicescache.c: Likewise.
21188         * nss/makedb.c: Likewise.
21189         * nss/nss_db/db-XXX.c: Likewise.
21190         * nss/nss_db/db-initgroups.c: Likewise.
21191         * nss/nss_db/db-netgrp.c: Likewise.
21192         * nss/nss_files/files-network.c: Likewise.
21193         * nss/nss_files/files-parse.c: Likewise.
21194         * posix/bug-regex5.c: Likewise.
21195         * posix/fnmatch_loop.c: Likewise.
21196         * posix/regcomp.c: Likewise.
21197         * posix/regexec.c: Likewise.
21198         * posix/tst-rfc3484-2.c: Likewise.
21199         * posix/tst-rfc3484-3.c: Likewise.
21200         * posix/tst-rfc3484.c: Likewise.
21201         * resolv/nss_dns/dns-canon.c: Likewise.
21202         * resolv/nss_dns/dns-network.c: Likewise.
21203         * resolv/res_init.c: Likewise.
21204         * resolv/res_mkquery.c: Likewise.
21205         * resolv/tst-aton.c: Likewise.
21206         * stdlib/cxa_atexit.c: Likewise.
21207         * stdlib/cxa_finalize.c: Likewise.
21208         * stdlib/gen-fpioconst.c: Likewise.
21209         * stdlib/strtol_l.c: Likewise.
21210         * string/tst-endian.c: Likewise.
21211         * sunrpc/auth_des.c: Likewise.
21212         * sunrpc/clnt_udp.c: Likewise.
21213         * sunrpc/rtime.c: Likewise.
21214         * sunrpc/svcauth_des.c: Likewise.
21215         * sunrpc/xdr.c: Likewise.
21216         * sunrpc/xdr_intXX_t.c: Likewise.
21217         * sunrpc/xdr_rec.c: Likewise.
21218         * sysdeps/generic/ldconfig.h: Likewise.
21219         * sysdeps/generic/ldsodefs.h: Likewise.
21220         * sysdeps/generic/memusage.h: Likewise.
21221         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21223         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21224         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21225         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21226         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21227         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21229         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21231         * sysdeps/posix/getaddrinfo.c: Likewise.
21232         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21233         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21234         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21235         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21236         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21237         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21238         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21239         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21240         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21241         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21242         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21243         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21244         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21245         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21246         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21247         * sysdeps/x86_64/dl-tls.h: Likewise.
21248         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21249         * time/alt_digit.c: Likewise.
21250         * time/era.c: Likewise.
21251         * wcsmbs/tst-c16c32-1.c: Likewise.
21252
21253 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21254
21255         * math/libm-test.inc (struct test_sincos_data): New type.
21256         (RUN_TEST_LOOP_sincos): New macro.
21257         (sincos_test_data): New variable.
21258         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21259
21260 2013-05-16  Richard Henderson  <rth@redhat.com>
21261
21262         * math/atest-exp2.c (LIMB64): New macro.
21263         (CONSTSZ): New macro.
21264         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21265         (hexdig): Move ...
21266         (print_mpn_fp): ... to function scope.
21267         (read_mpn_hex): Remove.
21268         (get_log2): Remove.
21269         (exp2_mpn): Use mp_log2.
21270         (main): Use mp_exp1.
21271
21272 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21273
21274         * math/libm-test.inc: Remove comment about not testing "inexact"
21275         exceptions.
21276         (INEXACT_EXCEPTION): New macro.
21277         (NO_INEXACT_EXCEPTION): Likewise.
21278         (INVALID_EXCEPTION_OK): Update value.
21279         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21280         (OVERFLOW_EXCEPTION_OK): Likewise.
21281         (UNDERFLOW_EXCEPTION_OK): Likewise.
21282         (IGNORE_ZERO_INF_SIGN): Likewise.
21283         (ERRNO_UNCHANGED): Likewise.
21284         (ERRNO_EDOM): Likewise.
21285         (ERRNO_ERANGE): Likewise.
21286         (test_exceptions): Handle testing "inexact" exceptions.
21287         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21288         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21289         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21290         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21291         INEXACT_EXCEPTION.
21292         (rint_towardzero_test_data): Likewise.
21293         (rint_downward_test_data): Likewise.
21294         (rint_upward_test_data): Likewise.
21295
21296         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21297         with OVERFLOW_EXCEPTION.
21298         (exp10_test_data): Likewise.
21299         (exp2_test_data): Likewise.
21300         (expm1_test_data): Likewise.
21301         (lgamma_test_data): Likewise.
21302         (pow_test_data): Likewise.
21303         (tgamma_test_data): Likewise.
21304         (yn_test_data): Remove duplicate test of overflow.
21305
21306         * math/libm-test.inc (struct test_cc_c_data): New type.
21307         (RUN_TEST_LOOP_cc_c): New macro.
21308         (cpow_test_data): New variable.
21309         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21310
21311         * math/libm-test.inc (struct test_f_L_data): New type.
21312         (RUN_TEST_LOOP_f_L): New macro.
21313         (llrint_test_data): New variable.
21314         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21315         (llrint_tonearest_test_data): New variable.
21316         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21317         (llrint_towardzero_test_data): New variable.
21318         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21319         (llrint_downward_test_data): New variable.
21320         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21321         (llrint_upward_test_data): New variable.
21322         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21323         (llround_test_data): New variable.
21324         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21325
21326 2013-05-13  Peter Collingbourne  <pcc@google.com>
21327
21328         * math/atest-exp2.c (get_log2): Remove const attribute.
21329
21330 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21331
21332         * math/libm-test.inc (struct test_f_l_data): New type.
21333         (RUN_TEST_LOOP_f_l): New macro.
21334         (lrint_test_data): New variable.
21335         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21336         (lrint_tonearest_test_data): New variable.
21337         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21338         (lrint_towardzero_test_data): New variable.
21339         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21340         (lrint_downward_test_data): New variable.
21341         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21342         (lrint_upward_test_data): New variable.
21343         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21344         (lround_test_data): New variable.
21345         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21346
21347 2013-05-15  Peter Collingbourne  <pcc@google.com>
21348
21349         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21350         (EXTRACT_WORDS64) Use where appropriate.
21351         (INSERT_WORDS64) Likewise.
21352
21353         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21354         constraints with x constraints.
21355         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21356
21357         * malloc/obstack.c (_obstack_compat): Add initializer.
21358
21359 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21360
21361         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21362         si_trapno and add si_addr_lsb to _sifields.sigfault.
21363         (si_trapno): Remove macro.
21364         (si_addr_lsb): Define new macro.
21365         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21366
21367 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21368
21369         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21370         instead of TEST_f_l.
21371         (llrint_test_tonearest): Likewise.
21372         (llrint_test_towardzero): Likewise.
21373         (llrint_test_downward): Likewise.
21374         (llrint_test_upward): Likewise.
21375         (llround_test): Likewise.
21376
21377         * math/libm-test.inc (struct test_f_i_data): Add comment.
21378         (RUN_TEST_LOOP_f_b): New macro.
21379         (RUN_TEST_LOOP_f_b_tg): Likewise.
21380         (finite_test_data): New variable.
21381         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21382         (isfinite_test_data): New variable.
21383         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21384         (isinf_test_data): New variable.
21385         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21386         (isnan_test_data): New variable.
21387         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21388         (isnormal_test_data): New variable.
21389         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21390         (issignaling_test_data): New variable.
21391         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21392         (signbit_test_data): New variable.
21393         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21394
21395         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21396         with INVALID_EXCEPTION.
21397         (acosh_test_data): Likewise.
21398         (asin_test_data): Likewise.
21399         (atanh_test_data): Likewise.
21400         (fmod_test_data): Likewise.
21401         (log_test_data): Likewise.
21402         (log10_test_data): Likewise.
21403         (log2_test_data): Likewise.
21404         (pow_test_data): Likewise.
21405         (sqrt_test_data): Likewise.
21406         (y0_test_data): Likewise.
21407         (y1_test_data): Likewise.
21408         (yn_test_data): Likewise.
21409
21410         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21411         function contents.
21412
21413         * math/libm-test.inc (struct test_ff_i_data): New type.
21414         (RUN_TEST_LOOP_ff_i_tg): New macro.
21415         (isgreater_test_data): New variable.
21416         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21417         (isgreaterequal_test_data): New variable.
21418         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21419         (isless_test_data): New variable.
21420         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21421         (islessequal_test_data): New variable.
21422         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21423         (islessgreater_test_data): New variable.
21424         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21425         (isunordered_test_data): New variable.
21426         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21427
21428 2013-05-14  David S. Miller  <davem@davemloft.net>
21429
21430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21431
21432 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21433
21434         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21435
21436         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21437         extra_test to int.
21438         (struct test_f_i_data): Change type of max_ulp to int.
21439
21440         * math/libm-test.inc (test_ffI_f1_data): New type.
21441         (RUN_TEST_LOOP_ffI_f1): New macro.
21442         (remquo_test_data): New variable.
21443         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21444
21445         * setjmp/tst-setjmp-fp.c: New file.
21446         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21447         (link-libm): New variable.
21448         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21449
21450         * math/libm-test.inc (struct test_f_i_data): New type.
21451         (RUN_TEST_LOOP_f_i): New macro.
21452         (RUN_TEST_LOOP_f_i_tg): Likewise.
21453         (fpclassify_test_data): New variable.
21454         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21455         (ilogb_test_data): New variable.
21456         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21457
21458         * math/libm-test.inc (scalbln_test): Correct function name in END
21459         call.
21460
21461         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21462         (RUN_TEST_LOOP_fI_f1): New macro.
21463         (frexp_test_data): New variable.
21464         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21465
21466         * math/libm-test.inc (struct test_fF_f1_data): New type.
21467         (RUN_TEST_LOOP_fF_f1): New macro.
21468         (modf_test_data): New variable.
21469         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21470
21471         * math/libm-test.inc (struct test_f_f1_data): New type.
21472         (RUN_TEST_LOOP_f_f1): New macro.
21473         (gamma_test_data): New variable.
21474         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21475         (lgamma_test_data): New variable.
21476         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21477
21478 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21479
21480         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21481         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21482         (main): Comment "tls" pseudo-hwcap.
21483
21484 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21485
21486         * math/libm-test.inc (struct test_fl_f_data): New type.
21487         (RUN_TEST_LOOP_fl_f): New variable.
21488         (scalbln_test_data): New variable.
21489         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21490
21491         * math/libm-test.inc (struct test_fi_f_data): New type.
21492         (RUN_TEST_LOOP_fi_f): New macro.
21493         (ldexp_test_data): New variable.
21494         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21495         (scalbn_test_data): New variable.
21496         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21497
21498         * math/libm-test.inc (struct test_c_f_data): New type.
21499         (RUN_TEST_LOOP_c_f): New macro.
21500         (cabs_test_data): New variable.
21501         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21502         (carg_test_data): New variable.
21503         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21504         (cimag_test_data): New variable.
21505         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21506         (creal_test_data): New variable.
21507         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21508
21509         * math/libm-test.inc (struct test_if_f_data): New type.
21510         (RUN_TEST_LOOP_if_f): New macro.
21511         (jn_test_data): New variable.
21512         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21513         (yn_test_data): New variable.
21514         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21515
21516         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21517
21518 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21519
21520         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21521         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21522
21523 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21524
21525         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21526         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21527         (bench-deps): Add bench-timing.h.
21528         * benchtests-bench-skeleton.c: Include bench-timing.h.
21529         (main): Use TIMING_* macros instead of clock_gettime.
21530         * benchtests/bench-timing.h: New file.
21531
21532         [BZ #14582]
21533         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21534         Renamed from _LIB_VERSION.
21535         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21536
21537 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21538
21539         * math/libm-test.inc (struct test_fff_f_data): New type.
21540         (RUN_TEST_LOOP_fff_f): New macro.
21541         (fma_test_data): New variable.
21542         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21543         (fma_towardzero_test_data): New variable.
21544         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21545         (fma_downward_test_data): New variable.
21546         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21547         (fma_upward_test_data): New variable.
21548         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21549
21550         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21551         (struct test_c_c_data): New type.
21552         (RUN_TEST_LOOP_c_c): New macro.
21553         (cacos_test_data): New variable.
21554         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21555         (cacosh_test_data): New variable.
21556         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21557         (casin_test_data): New variable.
21558         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21559         (casinh_test_data): New variable.
21560         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21561         (catan_test_data): New variable.
21562         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21563         (catanh_test_data): New variable.
21564         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21565         (ccos_test_data): New variable.
21566         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21567         (ccosh_test_data): New variable.
21568         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21569         (cexp_test_data): New variable.
21570         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21571         (clog_test_data): New variable.
21572         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21573         (clog10_test_data): New variable.
21574         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21575         (conj_test_data): New variable.
21576         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21577         (cproj_test_data): New variable.
21578         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21579         (csin_test_data): New variable.
21580         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21581         (csinh_test_data): New variable.
21582         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21583         (csqrt_test_data): New variable.
21584         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21585         (ctan_test_data): New variable.
21586         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21587         (ctan_tonearest_test_data): New variable.
21588         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21589         (ctan_towardzero_test_data): New variable.
21590         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21591         (ctan_downward_test_data): New variable.
21592         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21593         (ctan_upward_test_data): New variable.
21594         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21595         (ctanh_test_data): New variable.
21596         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21597         (ctanh_tonearest_test_data): New variable.
21598         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21599         (ctanh_towardzero_test_data): New variable.
21600         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21601         (ctanh_downward_test_data): New variable.
21602         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21603         (ctanh_upward_test_data): New variable.
21604         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21605         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21606         of BUILD_COMPLEX.
21607
21608         * math/libm-test.inc (struct test_ff_f_data): New type.
21609         (struct test_ff_f_data_nexttoward): Likewise.
21610         (RUN_TEST_LOOP_2_f): New macro.
21611         (RUN_TEST_LOOP_ff_f): Likewise.
21612         (atan2_test_data): New variable.
21613         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21614         (copysign_test_data): New variable.
21615         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21616         (fdim_test_data): New variable.
21617         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21618         (fmax_test_data): New variable.
21619         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21620         (fmin_test_data): New variable.
21621         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21622         (fmod_test_data): New variable.
21623         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21624         (hypot_test_data): New variable.
21625         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21626         (nextafter_test_data): New variable.
21627         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21628         (nexttoward_test_data): New variable.
21629         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21630         (pow_test_data): New variable.
21631         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21632         (pow_tonearest_test_data): New variable.
21633         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21634         (pow_towardzero_test_data): New variable.
21635         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21636         (pow_downward_test_data): New variable.
21637         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21638         (pow_upward_test_data): New variable.
21639         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21640         (remainder_test_data): New variable.
21641         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21642         (scalb_test_data): New variable.
21643         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21644         * sysdeps/i386/fpu/libm-test-ulps: Update.
21645
21646 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21647
21648         * math/libm-test.inc (fma_test): Use max_value instead of local
21649         variable fltmax.
21650         (nextafter_test): Likewise.
21651
21652         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21653         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21654         (acos_downward_test_data): New variable.
21655         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21656         (acos_upward_test_data): New variable.
21657         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21658         (acosh_test_data): New variable.
21659         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21660         (asin_test_data): New variable.
21661         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21662         (asin_tonearest_test_data): New variable.
21663         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21664         (asin_towardzero_test_data): New variable.
21665         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21666         (asin_downward_test_data): New variable.
21667         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21668         (asin_upward_test_data): New variable.
21669         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21670         (asinh_test_data): New variable.
21671         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21672         (atan_test_data): New variable.
21673         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21674         (atanh_test_data): New variable.
21675         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21676         (cbrt_test_data): New variable.
21677         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21678         (ceil_test_data): New variable.
21679         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21680         (cos_test_data): New variable.
21681         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21682         (cos_tonearest_test_data): New variable.
21683         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21684         (cos_towardzero_test_data): New variable.
21685         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21686         (cos_downward_test_data): New variable.
21687         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21688         (cos_upward_test_data): New variable.
21689         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21690         (cosh_test_data): New variable.
21691         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21692         (cosh_tonearest_test_data): New variable.
21693         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21694         (cosh_towardzero_test_data): New variable.
21695         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21696         (cosh_downward_test_data): New variable.
21697         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21698         (cosh_upward_test_data): New variable.
21699         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21700         (erf_test_data): New variable.
21701         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21702         (erfc_test_data): New variable.
21703         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21704         (exp_test_data): New variable.
21705         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21706         (exp_tonearest_test_data): New variable.
21707         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21708         (exp_towardzero_test_data): New variable.
21709         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21710         (exp_downward_test_data): New variable.
21711         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21712         (exp_upward_test_data): New variable.
21713         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21714         (exp10_test_data): New variable.
21715         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21716         (exp2_test_data): New variable.
21717         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21718         (expm1_test_data): New variable.
21719         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21720         (fabs_test_data): New variable.
21721         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21722         (floor_test_data): New variable.
21723         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21724         (j0_test_data): New variable.
21725         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21726         (j1_test_data): New variable.
21727         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21728         (log_test_data): New variable.
21729         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21730         (log10_test_data): New variable.
21731         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21732         (log1p_test_data): New variable.
21733         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21734         (log2_test_data): New variable.
21735         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21736         (logb_test_data): New variable.
21737         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21738         (logb_downward_test_data): New variable.
21739         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21740         (nearbyint_test_data): New variable.
21741         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21742         (rint_test_data): New variable.
21743         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21744         (rint_tonearest_test_data): New variable.
21745         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21746         (rint_towardzero_test_data): New variable.
21747         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21748         (rint_downward_test_data): New variable.
21749         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21750         (rint_upward_test_data): New variable.
21751         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21752         (round_test_data): New variable.
21753         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21754         (sin_test_data): New variable.
21755         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21756         (sin_tonearest_test_data): New variable.
21757         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21758         (sin_towardzero_test_data): New variable.
21759         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21760         (sin_downward_test_data): New variable.
21761         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21762         (sin_upward_test_data): New variable.
21763         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21764         (sinh_test_data): New variable.
21765         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21766         (sinh_tonearest_test_data): New variable.
21767         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21768         (sinh_towardzero_test_data): New variable.
21769         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21770         (sinh_downward_test_data): New variable.
21771         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21772         (sinh_upward_test_data): New variable.
21773         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21774         (sqrt_test_data): New variable.
21775         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21776         (tan_test_data): New variable.
21777         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21778         (tan_tonearest_test_data): New variable.
21779         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21780         (tan_towardzero_test_data): New variable.
21781         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21782         (tan_downward_test_data): New variable.
21783         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21784         (tan_upward_test_data): New variable.
21785         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21786         (tanh_test_data): New variable.
21787         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21788         (tgamma_test_data): New variable.
21789         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21790         (trunc_test_data): New variable.
21791         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21792         (y0_test_data): New variable.
21793         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21794         (y1_test_data): New variable.
21795         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21796         (significand_test_data): New variable.
21797         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21798
21799 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21800
21801         [BZ #12387]
21802         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21803
21804 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21805
21806         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21807
21808 2013-05-10  Andreas Jaeger  <aj@suse.de>
21809
21810         [BZ #15448]
21811         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21812         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21813
21814 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21815
21816         * math/gen-libm-test.pl (adjust_arg): New function.
21817         (special_functions): Handle generating output in both functions
21818         and arrays.
21819         (parse_args): Likewise.
21820         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21821         $in_func argument to parse_args.
21822         * math/libm-test.inc (struct test_f_f_data): New type.
21823         (IF_ROUND_INIT_): New macro.
21824         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21825         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21826         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21827         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21828         (ROUND_RESTORE_): Likewise.
21829         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21830         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21831         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21832         (ROUND_RESTORE_FE_UPWARD): Likewise.
21833         (RUN_TEST_LOOP_f_f): New macro.
21834         (acos_test_data): New variable.
21835         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21836         (acos_tonearest_test_data): New variable.
21837         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21838
21839 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840
21841         * benchtests/bench-skeleton.c (startup): Fix coding style.
21842
21843 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21844
21845         [BZ #6809]
21846         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21847         negative infinity argument.
21848         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21849         negative infinity argument.
21850         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21851         negative infinity argument.
21852         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21853         domain errors.
21854
21855 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21856
21857         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21858         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21859         * iconv/iconv_prog.c (main): Likewise.
21860         * locale/programs/charmap-dir.c (charmap_readdir)
21861         (fopen_uncompressed): Likewise.
21862         * locale/programs/locfile.c (siblings_uncached)
21863         (write_locale_data): Use lstat64 instead of lstat.
21864         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21865         stat.
21866
21867 2013-05-10  Andreas Jaeger  <aj@suse.de>
21868
21869         [BZ #15395]
21870         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21871         localization.
21872         Include <locale.h>.
21873
21874 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21875
21876         * elf/dl-close.c (_dl_close_worker): Add comments.
21877
21878 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21879
21880         [BZ #15359]
21881         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21882         high part of pi/2.
21883         (__ieee754_rem_pio2l): Update comments.
21884
21885         [BZ #15429]
21886         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21887         high part of pi/2.
21888         (__ieee754_rem_pio2l): Update comments.
21889
21890         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21891         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21892
21893         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21894         M_PI_4l.
21895
21896         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21897         (M_PI_34_LOG10El): Likewise.
21898         (M_PI2_LOG10El): Likewise.
21899         (M_PI4_LOG10El): Likewise.
21900         (M_PI_LOG10El): Likewise.
21901
21902 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21903
21904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21905
21906 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21907
21908         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21909         (MINUS_ZERO_INIT): Likewise.
21910         (PLUS_INFTY_INIT): Likewise.
21911         (MINUS_INFTY_INIT): Likewise.
21912         (QNAN_VALUE_INIT): Likewise.
21913         (MAX_VALUE_INIT): Likewise.
21914         (MIN_VALUE_INIT): Likewise.
21915         (MIN_SUBNORM_VALUE_INIT): Likewise.
21916         (plus_zero): Initialize with PLUS_ZERO_INIT.
21917         (minus_zero): Initialize with MINUS_ZERO_INIT.
21918         (plus_infty): Initialize with PLUS_INFTY_INIT.
21919         (minus_infty): Initialize with MINUS_INFTY_INIT.
21920         (qnan_value): Initialize with QNAN_VALUE_INIT.
21921         (max_value): Initialize with MAX_VALUE_INIT.
21922         (min_value): Initialize with MIN_VALUE_INIT.
21923         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21924
21925         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21926         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21927         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21928         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21929
21930         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21931         (RUN_TEST_2_f): Likewise.
21932         (RUN_TEST_ff_f): Likewise.
21933         (RUN_TEST_fi_f): Likewise.
21934         (RUN_TEST_fl_f): Likewise.
21935         (RUN_TEST_fff_f): Likewise.
21936         (RUN_TEST_c_f): Likewise.
21937         (RUN_TEST_f_f1): Likewise.
21938         (RUN_TEST_fF_f1): Likewise.
21939         (RUN_TEST_fI_f1): Likewise.
21940         (RUN_TEST_ffI_f1): Likewise.
21941         (RUN_TEST_c_c): Likewise.
21942         (RUN_TEST_cc_c): Likewise.
21943         (RUN_TEST_f_i): Likewise.
21944         (RUN_TEST_f_i_tg): Likewise.
21945         (RUN_TEST_ff_i_tg): Likewise.
21946         (RUN_TEST_f_b): Likewise.
21947         (RUN_TEST_f_b_tg): Likewise.
21948         (RUN_TEST_f_l): Likewise.
21949         (RUN_TEST_f_L): Likewise.
21950         (RUN_TEST_sincos): Likewise.
21951         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21952         whether to show exceptions.  Do not include ");\n" in return
21953         value.
21954         (special_functions): Output call to RUN_TEST_sincos instead of
21955         check_float calls.  Update calls to new_test.
21956         (parse_args): Output call to single RUN_TEST_* macro instead of
21957         check_* calls and other assignments.  Update calls to new_test.
21958
21959         [BZ #2546]
21960         [BZ #2560]
21961         [BZ #5159]
21962         [BZ #15426]
21963         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21964         input to result for tgamma overflow.
21965         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21966         (gamma_coeff): New variable.
21967         (NCOEFF): New macro.
21968         (gamma_positive): New function.
21969         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21970         underflow here.  Use gamma_positive instead of exp (lgamma) for
21971         other arguments.
21972         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21973         (gamma_coeff): New variable.
21974         (NCOEFF): New macro.
21975         (gammaf_positive): New function.
21976         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21977         underflow here.  Use gamma_positive instead of exp (lgamma) for
21978         other arguments.
21979         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21980         (gamma_coeff): New variable.
21981         (NCOEFF): New macro.
21982         (gammal_positive): New function.
21983         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21984         underflow here.  Use gamma_positive instead of exp (lgamma) for
21985         other arguments.
21986         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21987         (gamma_coeff): New variable.
21988         (NCOEFF): New macro.
21989         (gammal_positive): New function.
21990         (__ieee754_gammal_r): Handle positive infinity, overflow and
21991         underflow here.  Handle NaN the same as positive infinity.  Remove
21992         check x < 0xffffffff for negative integers.  Use gamma_positive
21993         instead of exp (lgamma) for other arguments.
21994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21995         (gamma_coeff): New variable.
21996         (NCOEFF): New macro.
21997         (gammal_positive): New function.
21998         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21999         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22000         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22001         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22002         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22003         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22004         * sysdeps/generic/math_private.h (__gamma_productf): New
22005         prototype.
22006         (__gamma_product): Likewise.
22007         (__gamma_productl): Likewise.
22008         * math/Makefile (libm-calls): Add gamma_product.
22009         * math/libm-test.inc (tgamma_test): Add more tests.
22010         * sysdeps/i386/fpu/libm-test-ulps: Update.
22011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22012
22013 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22014
22015         * benchtests/bench-skeleton.c (main): Preheat CPU.
22016
22017 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22018
22019         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22020
22021 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22022
22023         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22024         and _dl_skip_args_internal.
22025
22026 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22027
22028         * manual/message.texi (Message Translation): Talk about users.
22029         Message to key mapping impacts design.
22030
22031 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22032
22033         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22034
22035         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22036
22037         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22038         * sysdeps/wordsize-64/glob64.c: ... here.
22039
22040         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22041         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22042         New macros.
22043
22044         * debug/getlogin_r_chk.c: Moved to ...
22045         * login/getlogin_r_chk.c: ... here.
22046         * debug/Makefile (routines): Move getlogin_r_chk to ...
22047         * login/Makefile (routines): ... here.
22048         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22049         * login/Versions (libc: GLIBC_2.4): ... here.
22050
22051         * io/poll.c (__poll): Renamed from poll.
22052         Add libc_hidden_def.
22053         (poll): Define as weak alias.
22054
22055         * debug/ptsname_r_chk.c: Moved to ...
22056         * login/ptsname_r_chk.c: ... here.
22057         * debug/Makefile (routines): Move ptsname_r_chk to ...
22058         * login/Makefile (routines): ... here.
22059         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22060         * login/Versions (libc: GLIBC_2.4): ... here.
22061
22062         * posix/getlogin.c: Moved to ...
22063         * login/getlogin.c: ... here.
22064         * posix/getlogin_r.c: Moved to ...
22065         * login/getlogin_r.c: ... here.
22066         * posix/getlogin_r.c: Moved to ...
22067         * login/getlogin_r.c: ... here.
22068         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22069         * login/Makefile (routines): ... here.
22070         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22071         * login/Versions (libc: GLIBC_2.0): ... here.
22072
22073         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22074         (setrlimit): Define as weak alias.
22075
22076         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22077         Call __ names for open, ftruncate, and close.
22078         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22079         (truncate): Define as weak alias.
22080
22081 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22082
22083         * math/gen-libm-test.pl (parse_args): Initialize x before each
22084         test of frexp, modf and remquo.
22085
22086         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22087         test signgam value.
22088
22089 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22090
22091         [BZ #15418]
22092         [BZ #15419]
22093         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22094         internal tests.
22095         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22096
22097 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22098
22099         * elf/dl-writev.h: New file.
22100         * elf/dl-misc.c: Include it.
22101         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22102         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22103
22104 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22105
22106         * math/libm-test.inc (noXFails): Remove variable.
22107         (noXPasses): Likewise.
22108         (BUILD_COMPLEX_INT): Remove macro.
22109         (print_screen): Remove xfail argument.
22110         (print_screen_max_error): Likewise.
22111         (update_stats): Likewise.
22112         (print_max_error): Likewise.  Update calls to other affected
22113         functions.
22114         (print_complex_max_error): Likewise.
22115         (test_single_exception): Update calls to print_screen.
22116         (test_single_errno): Likewise.
22117         (check_float_internal): Remove xfail argument.  Update calls to
22118         other affected functions.
22119         (check_float): Likewise.
22120         (check_complex): Likewise.
22121         (check_int): Likewise.
22122         (check_long): Likewise.
22123         (check_bool): Likewise.
22124         (check_longlong): Likewise.
22125         (main): Don't print noXFails and noXPasses.
22126         * math/gen-libm-test.pl (top level): Don't mention expected
22127         failure handling in comment.
22128         (new_test): Don't handle expected failures.
22129         (parse_args): Don't mention expected failure handling in comment.
22130         (generate_testfile): Don't handle expected failures.
22131         (parse_ulps): Likewise.
22132         (print_ulps_file): Likewise.
22133         (get_failure): Remove function.
22134         (output_test): Don't handle expected failures.
22135         * make/README.libm-test: Don't mention expected failure handling.
22136
22137         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22138         (minus_zero): Likewise.
22139         (plus_infty): Likewise.
22140         (minus_infty): Likewise.
22141         (qnan_value): Likewise.
22142         (max_value): Likewise.
22143         (min_value): Likewise.
22144         (min_subnorm_value): Likewise.
22145         (initialize): Do not initialize those variables dynamically.
22146
22147 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22148
22149         * io/open.c (__open_2): Moved to ...
22150         * io/open_2.c: ... this new file.
22151         * io/open64.c (__open64_2): Moved to ...
22152         * io/open64_2.c: ... this new file.
22153         * io/openat.c (__openat_2): Moved to ...
22154         * io/openat_2.c: ... this new file.
22155         * io/openat64.c (__openat64_2): Moved to ...
22156         * io/openat64_2.c: ... this new file.
22157         * io/Makefile (routines): Add them.
22158         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22159         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22160         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22161         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22162         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22163         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22164         (__openat64): Add hidden_ver.
22165         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22166         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22167
22168         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22169         Separately conditionalize setting of GLRO(dl_sysinfo) so
22170         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22171         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22172
22173 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22174
22175         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22177         definition.
22178         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22179         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22180         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22181         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22182         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22183
22184 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22185
22186         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22187         test signgam value.
22188
22189         * math/libm-test.inc (hypot_test): Do not use
22190         IGNORE_ZERO_INF_SIGN.
22191
22192 2013-05-03  Andreas Jaeger  <aj@suse.de>
22193
22194         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22195         Linux 3.9.
22196         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22197         (PF_MAX): Adjust for VSOCK change.
22198
22199 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22200
22201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22202
22203 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22204
22205         [BZ #15264]
22206         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22207         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22208         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22209
22210 2013-05-02  David S. Miller  <davem@davemloft.net>
22211
22212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22213
22214 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22215
22216         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22217
22218 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22219
22220         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22221
22222 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22223
22224         [BZ #14952]
22225         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22226         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22227         Use __attribute__ ((__gnu_inline__)).
22228         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22229         Don't use __attribute__ ((__gnu_inline__)).
22230
22231 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22232
22233         [BZ #15423]
22234         * math/s_catan.c (__catan): Handle small real or imaginary part of
22235         input specially to avoid spurious underflow.
22236         * math/s_catanf.c (__catanf): Likewise.
22237         * math/s_catanh.c (__catanh): Likewise.
22238         * math/s_catanhf.c (__catanhf): Likewise.
22239         * math/s_catanhl.c (__catanhl): Likewise.
22240         * math/s_catanl.c (__catanl): Likewise.
22241         * math/libm-test.inc (catan_test): Add more tests.
22242         (catanh_test): Likewise.
22243         * sysdeps/i386/fpu/libm-test-ulps: Update.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22245
22246 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22247
22248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22249
22250 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22251
22252         [BZ #15416]
22253         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22254         accurately for denominator in atan2.
22255         * math/s_catanf.c (__catanf): Likewise.
22256         * math/s_catanh.c (__catanh): Likewise.
22257         * math/s_catanhf.c (__catanhf): Likewise.
22258         * math/s_catanhl.c (__catanhl): Likewise.
22259         * math/s_catanl.c (__catanl): Likewise.
22260         * math/libm-test.inc (catan_test): Add more tests.
22261         (catanh_test): Likewise.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22264
22265 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22266
22267         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22268
22269         * benchtests/Makefile (bench): Remove slow benchmarks.
22270         * benchtests/atan-inputs: Add slow benchmark inputs.
22271         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22272         (BENCH_FUNC): Accept variant offset.
22273         (VARIANT): Define.
22274         * benchtests/bench-skeleton.c (main): Run benchmark for each
22275         variant.
22276         * benchtests/cos-inputs: Add slow benchmark inputs.
22277         * benchtests/exp-inputs: Likewise.
22278         * benchtests/pow-inputs: Likewise.
22279         * benchtests/sin-inputs: Likewise.
22280         * benchtests/slowatan-inputs: Remove.
22281         * benchtests/slowatan.c: Remove.
22282         * benchtests/slowcos-inputs: Remove.
22283         * benchtests/slowcos.c: Remove.
22284         * benchtests/slowexp-inputs: Remove.
22285         * benchtests/slowexp.c: Remove.
22286         * benchtests/slowpow-inputs: Remove.
22287         * benchtests/slowpow.c: Remove.
22288         * benchtests/slowsin-inputs: Remove.
22289         * benchtests/slowsin.c: Remove.
22290         * benchtests/slowtan-inputs: Remove.
22291         * benchtests/slowtan.c: Remove.
22292         * benchtests/tan-inputs: Add slow benchmark inputs.
22293         * scripts/bench.pl: Parse comments and directives.
22294
22295         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22296         in CPPFLAGS.
22297         ($(objpfx)bench-%.c): Remove *-ITER.
22298         * benchtests/bench-modf.c: Remove definition of ITER.
22299         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22300         (main): Loop for DURATION seconds instead of fixed number of
22301         iterations.
22302         * scripts/bench.pl: Don't expect iterations in parameters.
22303
22304 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22305
22306         * io/fchdir.c (__fchdir): Renamed from fchdir.
22307         (fchdir): Define as weak alias.
22308
22309 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22310
22311         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22312         (ERRNO_EDOM): Likewise.
22313         (ERRNO_ERANGE): Likewise.
22314         (noErrnoTests): New variable.
22315         (init_max_error): Set errno to 0.
22316         (test_single_errno): New function.
22317         (test_errno): Likewise.
22318         (check_float_internal): Call test_errno.  Set errno to 0.
22319         (check_complex): Refer to errno tests in comment.
22320         (check_int): Call test_errno.  Set errno to 0.
22321         (check_long): Likewise.
22322         (check_bool): Likewise.
22323         (check_longlong): Likewise.
22324         (cos_test): Use ERRNO_* flags for errno tests instead of
22325         check_int.
22326         (expm1_test): Likewise.
22327         (fmod_test): Likewise.
22328         (ilogb_test): Likewise.
22329         (lgamma_test): Likewise.
22330         (pow_test): Likewise.
22331         (remainder_test): Likewise.
22332         (sin_test): Likewise.
22333         (tan_test): Likewise.
22334         (yn_test): Likewise.
22335         (initialize): Set errno to 0.
22336         (main): Print number of errno tests.
22337         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22338
22339 2013-04-29  Andreas Jaeger  <aj@suse.de>
22340
22341         [BZ #15084]
22342         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22343         and RES_USEVC.
22344
22345         [BZ #15085]
22346         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22347         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22348         unimplemented.
22349
22350         [BZ #15380]
22351         * stdlib/random.c (__initstate): Return NULL if
22352         __initstate fails.
22353
22354         [BZ #15086]
22355         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22356         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22357         RES_SNGLKUPREOP.
22358
22359 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22360
22361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22362
22363 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22364
22365         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22366         of individual tests.
22367         (casin_test): Likewise.
22368         (casinh_test): Likewise.
22369
22370 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22371
22372         [BZ #15409]
22373         * math/s_catan.c (__catan): Handle arguments with large real or
22374         imaginary part separately without squaring.
22375         * math/s_catanf.c (__catanf): Likewise.
22376         * math/s_catanh.c (__catanh): Likewise.
22377         * math/s_catanhf.c (__catanhf): Likewise.
22378         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22379         and redefine.
22380         (__catanhl): Handle arguments with large real or imaginary part
22381         separately without squaring.
22382         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22383         and redefine.
22384         (__catanl): Handle arguments with large real or imaginary part
22385         separately without squaring.
22386         * math/libm-test.inc (catan_test): Add more tests.
22387         (catanh_test): Likewise.
22388         * sysdeps/i386/fpu/libm-test-ulps: Update.
22389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390
22391 2013-04-27  Andreas Jaeger  <aj@suse.de>
22392
22393         [BZ #15007]
22394         * stdlib/stdlib.h: Update guards for qecvt.
22395         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22396         <stdlib.h>.
22397
22398 2013-04-27  Allan McRae  <allan@archlinux.org>
22399
22400         * sysdeps/i386/fpu/libm-test-ulps: Update.
22401
22402 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22403
22404         [BZ #15406]
22405         * math/s_catan.c: Include <float.h>.
22406         (__catan): Ensure underflow exception occurs for underflowed
22407         result.
22408         * math/s_catanf.c: Include <float.h>.
22409         (__catanf): Ensure underflow exception occurs for underflowed
22410         result.
22411         * math/s_catanh.c: Include <float.h>.
22412         (__catanh): Ensure underflow exception occurs for underflowed
22413         result.
22414         * math/s_catanhf.c: Include <float.h>.
22415         (__catanhf): Ensure underflow exception occurs for underflowed
22416         result.
22417         * math/s_catanhl.c: Include <float.h>.
22418         (__catanhl): Ensure underflow exception occurs for underflowed
22419         result.
22420         * math/s_catanl.c: Include <float.h>.
22421         (__catanl): Ensure underflow exception occurs for underflowed
22422         result.
22423         * math/libm-test.inc (catan_test): Add more tests.
22424         (catanh_test): Likewise.
22425
22426         [BZ #15405]
22427         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22428         underflowed result.
22429         * math/s_ccoshf.c (__ccoshf): Likewise.
22430         * math/s_ccoshl.c (__ccoshl): Likewise.
22431         * math/s_csin.c (__csin): Likewise.
22432         * math/s_csinf.c (__csinf): Likewise.
22433         * math/s_csinh.c (__csinh): Likewise.
22434         * math/s_csinhf.c (__csinhf): Likewise.
22435         * math/s_csinhl.c (__csinhl): Likewise.
22436         * math/s_csinl.c (__csinl): Likewise.
22437         * math/libm-test.inc (ccos_test): Add more tests.
22438         (ccosh_test): Likewise.
22439         (csin_test): Likewise.
22440         (csinh_test): Likewise.
22441
22442 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22443
22444         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22445         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22446         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22447         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22448         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22449         powerpc/power5+/fpu folders.
22450         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22451
22452
22453 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22454
22455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22456
22457 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22458
22459         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22460         additions to variable.
22461         [$(config-machine) = x86_64] (modules-names): Likewise.
22462         ($(objpfx)tst-audit3): Remove dependency.
22463         ($(objpfx)tst-audit3.out): Likewise.
22464         ($(objpfx)tst-audit4): Likewise.
22465         ($(objpfx)tst-audit4.out): Likewise.
22466         ($(objpfx)tst-audit5): Likewise.
22467         ($(objpfx)tst-audit5.out): Likewise.
22468         ($(objpfx)tst-audit6): Likewise.
22469         ($(objpfx)tst-audit6.out): Likewise.
22470         ($(objpfx)tst-audit7): Likewise.
22471         ($(objpfx)tst-audit7.out): Likewise.
22472         (tst-audit3-ENV): Remove variable.
22473         (tst-audit4-ENV): Likewise.
22474         (tst-audit5-ENV): Likewise.
22475         (tst-audit6-ENV): Likewise.
22476         (tst-audit7-ENV): Likewise.
22477         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22478         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22479         addition to variable.
22480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22485         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22486         tst-audit3, tst-audit4 and tst-audit5.
22487         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22488         tst-audit6 and tst-audit7.
22489         [$(subdir) = elf] (modules-names): Add audit modules for those
22490         tests.
22491         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22492         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22493         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22494         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22495         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22496         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22497         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22498         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22499         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22500         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22501         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22502         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22503         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22504         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22505         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22506         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22507         Likewise.
22508         [$(subdir) = elf && $(config-cflags-avx) = yes]
22509         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22510         [$(subdir) = elf && $(config-cflags-avx) = yes]
22511         (CFLAGS-tst-auditmod4a.c): Likewise.
22512         [$(subdir) = elf && $(config-cflags-avx) = yes]
22513         (CFLAGS-tst-auditmod4b.c): Likewise.
22514         [$(subdir) = elf && $(config-cflags-avx) = yes]
22515         (CFLAGS-tst-auditmod6b.c): Likewise.
22516         [$(subdir) = elf && $(config-cflags-avx) = yes]
22517         (CFLAGS-tst-auditmod6c.c): Likewise.
22518         [$(subdir) = elf && $(config-cflags-avx) = yes]
22519         (CFLAGS-tst-auditmod7b.c): Likewise.
22520         * elf/tst-audit3.c: Move to ...
22521         * sysdeps/x86_64/tst-audit3.c: ... here.
22522         * elf/tst-audit4.c: Move to ...
22523         * sysdeps/x86_64/tst-audit4.c: ... here.
22524         * elf/tst-audit5.c: Move to ...
22525         * sysdeps/x86_64/tst-audit5.c: ... here.
22526         * elf/tst-audit6.c: Move to ...
22527         * sysdeps/x86_64/tst-audit6.c: ... here.
22528         * elf/tst-audit7.c: Move to ...
22529         * sysdeps/x86_64/tst-audit7.c: ... here.
22530         * elf/tst-auditmod3a.c: Move to ...
22531         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22532         * elf/tst-auditmod3b.c: Move to ...
22533         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22534         * elf/tst-auditmod4a.c: Move to ...
22535         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22536         * elf/tst-auditmod4b.c: Move to ...
22537         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22538         * elf/tst-auditmod5a.c: Move to ...
22539         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22540         * elf/tst-auditmod5b.c: Move to ...
22541         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22542         * elf/tst-auditmod6a.c: Move to ...
22543         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22544         * elf/tst-auditmod6b.c: Move to ...
22545         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22546         * elf/tst-auditmod6c.c: Move to ...
22547         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22548         * elf/tst-auditmod7a.c: Move to ...
22549         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22550         * elf/tst-auditmod7b.c: Move to ...
22551         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22552
22553 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22554
22555         [BZ #15366]
22556         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22557         define unconditionally.
22558         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22559         define unconditionally.
22560         (INT8_C, INT16_C, etc.): Likewise.
22561
22562 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22563
22564         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22565         __ehdr_start with hidden visibility.
22566
22567         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22568
22569 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22570
22571         * math/libm-test.inc (cos_test): Use accurate hex constants.
22572         (sincost_test): Likewise.
22573
22574 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22575
22576         * math/libm-test.inc (catan_test): Add more tests.
22577         (catanh_test): Likewise.
22578
22579         * math/s_catanf.c (__catanf): Use suffixed floating-point
22580         constants.
22581         * math/s_catanhf.c (__catanhf): Likewise.
22582         * math/s_catanhl.c (__catanhl): Likewise.
22583         * math/s_catanl.c (__catanl): Likewise.
22584
22585         [BZ #15394]
22586         * math/s_catan.c (__catan): Calculate imaginary part of result
22587         with log1p not log unless computing log of number close to 0.
22588         * math/s_catanf.c (__catanf): Likewise.
22589         * math/s_catanl.c (__catanl): Likewise.
22590         * math/s_catanh.c (__catanh): Calculate real part of result with
22591         log1p not log unless computing log of number close to 0.
22592         * math/s_catanhf.c (__catanhf): Likewise.
22593         * math/s_catanhl.c (__catanhl): Likewise.
22594         * math/libm-test.inc (catan_test): Add more tests.
22595         (catanh_test): Likewise.
22596         * sysdeps/i386/fpu/libm-test-ulps: Update.
22597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22598
22599 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22600
22601         * benchtests/Makefile: Mention files in which fast and slow
22602         paths of math functions are implemented.
22603
22604 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22605
22606         * sysdeps/posix/timespec_get.c: New file.
22607
22608 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22609
22610         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22611         POWER.
22612         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22613         for POWER.
22614         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22615         powerpc/power5/fpu folders.
22616         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22617         * benchtests/Makefile: Add modf testcase.
22618         * benchtests/bench-modf.c: New file: Benchmark test for mo
22619
22620 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621
22622         [BZ #14888]
22623         * time/Makefile (tests): Add tst-strptime-whitespace.
22624         * time/strptime_l.c (get_number): Use ISSPACE.
22625         (__strptime_internal): Likewise.
22626         * time/tst-strptime-whitespace.c: New test case.
22627
22628 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22629
22630         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22631         member.
22632         (_nss_files_init): Set it here.
22633
22634 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22635
22636         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22637         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22638         unsigned.
22639
22640 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22641
22642         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22643
22644 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22645
22646         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22647         size just once.
22648
22649 2013-04-21  David S. Miller  <davem@davemloft.net>
22650
22651         * po/ru.po: Update Russion translation from translation project.
22652
22653 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22654
22655         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22656         and setfsgid.
22657
22658 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22659
22660         * configure.in: Remove i386 configure warning. Remove i386 case.
22661         * configure: Regenerate.
22662         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22663         Add example to error message.
22664         * sysdeps/i386/configure: Regenerate.
22665
22666 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22667
22668         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22669         slowtan.
22670         * benchtests/cos-inputs: New file.
22671         * benchtests/slowcos-inputs: New file.
22672         * benchtests/slowcos.c: New file.
22673         * benchtests/slowtan-inputs: New file.
22674         * benchtests/slowtan.c: New file.
22675         * benchtests/tan-inputs: New file.
22676
22677 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22678
22679         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22680         considered kosher.
22681
22682 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22683
22684         * benchtests/Makefile: Include cppflags-iterator.mk to add
22685         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22686
22687         * Makefile.in (bench-clean): New target.
22688         * benchtests/Makefile (bench-clean): Likewise.
22689
22690 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22691
22692         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22693
22694 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22695
22696         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22697
22698 2013-04-15  Andreas Schwab  <schwab@suse.de>
22699
22700         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22702         * nscd/pwdcache.c (cache_addpw): Likewise.
22703         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22704         more than recsize.
22705
22706 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22707
22708         * benchtests/Makefile (bench): Write all output to
22709         bench-out.tmp together.
22710
22711 2013-04-15  Andreas Schwab  <schwab@suse.de>
22712
22713         * nscd/nscd.c (main): Don't fork again after closing files.
22714
22715 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716
22717         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22718
22719         * benchtests/Rules (bench-deps): Collect dependencies into a
22720         single variable.  Add Makefile to dependencies.
22721         ($(objpfx)bench-%.c): Depend on bench-deps.
22722
22723 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22724             Xavier Roche  <roche+kml2@exalead.com>
22725
22726         [BZ #15361]
22727         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22728         just that it's a file descriptor.
22729         * manual/llio.texi (Synchronizing AIO Operations): Update description
22730         for EBADF error from aio_fsync.
22731
22732 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22733
22734         * Rules (bench): Move target definition...
22735         * benchtests/Makefile: ... here.
22736
22737 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22738
22739         * math/libm-test.inc (cos_test): Fix PI/2 test.
22740         (sincos_test): Likewise.
22741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22742         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22743
22744 2013-04-11  Andreas Schwab  <schwab@suse.de>
22745
22746         [BZ #13988]
22747         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22748         accept exponent character only when digits were seen.
22749         * stdio-common/Makefile (tests): Add bug26.
22750         * stdio-common/bug26.c: New file.
22751
22752         [BZ #14293]
22753         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22754         non-freeable.
22755
22756 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22757
22758         * Makeconfig (rtld-prefix): Define built linker prefix.
22759         * Rules (run-bench): Use it.
22760         * math/Makefile (run-regen-ulps): Likewise.
22761
22762         * Rules (bench): Remove eval.
22763
22764 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22765             Roland McGrath  <roland@hack.frob.com>
22766             Ondrej Bilka  <neleai@seznam.cz>
22767
22768         [BZ #15346]
22769         * time/getdate.c: Include ctype.h and alloca.h.
22770         (__getdate_r): Trim leading and trailing spaces of input.
22771         * time/tst-getdate.c (tests): Add tests with leading and
22772         trailing spaces.
22773
22774 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22775
22776         [BZ #14280]
22777         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22778         when computing value.
22779
22780 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22781
22782         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22783         Use testrun.sh to run libm tests.
22784
22785         [BZ #15309]
22786         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22787
22788 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22789
22790         [BZ #15264]
22791         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22792
22793 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22794
22795         * Makefile.in (regen-ulps): New target.
22796         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22797         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22798         [ifneq (no,$(PERL)] (regen-ulps): New target.
22799         [ifeq (no,$(PERL)] (regen-ulps): New target.
22800         * math/libm-test.inc (ulps_file_name): Define.
22801         (output_dir): New variable.
22802         (options): Add "output-dir" option.
22803         (parse_opt): Handle 'o' case.
22804         (main): If output_dir is non-NULL use it as a prefix
22805         otherwise use "".
22806         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22807
22808 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22809
22810         [BZ #10060, #10062]
22811         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22812         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22813         fail configure if __sync_val_compare_and_swap is not inlined.
22814         * sysdeps/i386/configure: Regenerate.
22815         * configure.in: Build for i686 when configured for i386.
22816         * configure: Regenerate.
22817         * README: Remove i386 reference.
22818
22819 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22820
22821         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22823
22824 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22825
22826         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22827         (lmsnanval): New variables.
22828         (F): Add conversion tests.
22829         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22830         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22831
22832         * stdio-common/tstdiomisc.c (F): Properly collect individual
22833         tests' results.
22834
22835         [BZ #14686, #15336]
22836         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22837         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22838         Instead, use input NaN values or generate a qNaN by arithmetic
22839         operation.  Also fix bugs to comply with the standard.
22840         * math/libm-test.inc (remainder_test): Add more tests.
22841
22842         [BZ #15335, #15342]
22843         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22845         input NaN values or generate a qNaN by arithmetic operation.
22846
22847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22848         unreachable code.
22849
22850         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22851         definitions.
22852
22853 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22854
22855         [BZ #14478]
22856         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22857         underflowed result.
22858         * math/s_cexpf.c (__cexpf): Likewise.
22859         * math/s_cexpl.c (__cexpl): Likewise.
22860         * math/libm-test.inc (cexp_test): Add more tests.
22861
22862 2013-04-03  Andreas Schwab  <schwab@suse.de>
22863
22864         [BZ #15330]
22865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22866         order arrays from heap if bigger than alloca cutoff.
22867
22868 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22869
22870         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22871         (SNAN_TESTS_double): Refer to GCC PR56831.
22872         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22873         GCC PR56828.
22874
22875 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22876
22877         * Rules (bench): Move bench.out after the run is complete.
22878
22879         * Rules (bench): Echo currently running benchmark.
22880
22881         * benchtests/Makefile (bench): Add atan and slowatan.
22882         * benchtests/atan-inputs: New file.
22883         * benchtests/slowatan-inputs: New file.
22884         * benchtests/slowatan.c: New file.
22885
22886         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22888         its value.
22889
22890         [BZ #15305]
22891         * sysdeps/unix/sysv/linux/kernel-features.h
22892         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22893         __ASSUME_XFS_RESTRICTED_CHOWN.
22894         * sysdeps/unix/sysv/linux/pathconf.c
22895         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22896         Save and restore errno.
22897
22898 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22899
22900         [BZ #15327]
22901         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22902         arguments using __kernel_casinh.
22903         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22904         arguments using __kernel_casinhf.
22905         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22906         arguments using __kernel_casinhl.
22907         * math/libm-test.inc (cacosh_test): Add more tests.
22908         * sysdeps/i386/fpu/libm-test-ulps: Update.
22909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22910
22911 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22912
22913         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22915
22916         * bench/Makefile (bench): Add sin and slowsin.
22917         * benchtests/sin-inputs: New file.
22918         * benchtests/slowsin-inputs: New file.
22919         * benchtests/slowsin.c: New file.
22920
22921         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22922         (bench): Add slowexp and slowpow.
22923         (exp-ITER): Increase iterations.
22924         (pow-ITER): Likewise.
22925         * benchtests/exp-inputs: Change input.
22926         * benchtests/pow-inputs: Likewise.
22927         * benchtests/slowexp-inputs: New file.
22928         * benchtests/slowexp.c: New file.
22929         * benchtests/slowpow-inputs: New file.
22930         * benchtests/slowpow.c: New file.
22931
22932 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22933
22934         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22935         instructions.
22936         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22937         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22938         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22939         * benchtests/Makefile: Add rint benchtest.
22940         * benchtests/rint-inputs: Input for rint benchtest.
22941
22942 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22943
22944         * Versions.def (libm): Add GLIBC_2.18.
22945         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22946         hidden libm prototypes.
22947         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22948         * math/Makefile (libm-calls): Add s_issignaling.
22949         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22950         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22951         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22952         declaration.
22953         * math/math.h [__USE_GNU] (issignaling): New macro.
22954         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22955         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22956         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22957         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22958         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22959         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22960         * manual/arith.texi (issignaling): New section.
22961         * manual/libm-err-tab.pl (@all_functions): Update comment.
22962         * math/gen-libm-test.pl (parse_args): Apply special handling for
22963         issignaling.
22964         * math/libm-test.inc (print_float, issignaling_test): New
22965         functions.
22966         (check_float_internal): Add issignaling checks.
22967         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22968         default definition.
22969         * sysdeps/powerpc/math-tests.h: New file.
22970         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22971         tests.
22972         * math/test-snan.c (TEST_FUNC): Likewise.
22973
22974 2013-03-30  David S. Miller  <davem@davemloft.net>
22975
22976         * po/de.po: Update from translation team.
22977
22978 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22979
22980         [BZ #10357]
22981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22982         imaginary part less than 1.0 and real part less than 0.5
22983         specially.
22984         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22985         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22986         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22987         (cacos_test): Add more tests.
22988         (casin_test): Likewise.
22989         (casinh_test): Likewise.
22990         * sysdeps/i386/fpu/libm-test-ulps: Update.
22991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22992
22993 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22994
22995         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22996         ONE with its value.
22997
22998         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22999         (__pow_mp): Replace ONE and MONE with their values.
23000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23001         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23003         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23004         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23005         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23006
23007         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23008
23009         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23010         (__pow_mp): Replace ZERO and MZERO with their values.
23011         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23012         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23015         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23016         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23017         (__sqr): Likewise.
23018
23019         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23020
23021         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23022
23023 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23024
23025         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23026         Declare with __attribute__ ((weak)).
23027         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23028         Call __call_tls_dtors only if it's not NULL.
23029
23030 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23031
23032         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23033         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23034         magic __ehdr_start linker symbol if it's defined.
23035         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23036         them up here if it was already done.
23037
23038         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23039         (_dl_aux_init): Use const in cast when setting it.
23040         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23041         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23042         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23043
23044         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23045         Declare them here.
23046         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23047         * csu/libc-tls.c: Nor here.
23048         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23049
23050         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23051         (__libc_message): Never call vsyslog.
23052
23053 2013-03-28  Alan Modra  <amodra@gmail.com>
23054
23055         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23056         Define as empty.
23057         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23058         Likewise.
23059
23060 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23061
23062         [BZ #15214]
23063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23064         underflow.
23065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23066
23067 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23068
23069         [BZ #15304]
23070         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23071         Don't add gid passed as argument.
23072
23073         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23074
23075 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23076
23077         [BZ #15307]
23078         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23079         imaginary part between 1.0 and 1.5 and real part less than 0.5
23080         specially.
23081         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23082         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23083         * math/libm-test.inc (cacos_test): Add more tests.
23084         (casin_test): Likewise.
23085         (casinh_test): Likewise.
23086         * sysdeps/i386/fpu/libm-test-ulps: Update.
23087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23088
23089 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23090
23091         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23092         constants.
23093         (norm): Likewise.
23094         (denorm): Likewise.
23095         (__dbl_mp): Likewise.
23096         (add_magnitudes): Likewise.
23097         (sub_magnitudes): Likewise.
23098         (__add): Likewise.
23099         (__sub): Likewise.
23100         (__mul): Likewise.
23101         (__sqr): Likewise.
23102         (__inv): Likewise.
23103         (__dvd): Likewise.
23104
23105         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23106         commented code.
23107         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23108         (__dubcos): Likewise.
23109         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23110         (__ieee754_acos): Likewise.
23111         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23112         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23113         (__exp1): Likewise.
23114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23116         (log1): Likewise.
23117         (my_log2): Likewise.
23118         (checkint): Likewise.
23119         * sysdeps/ieee754/dbl-64/e_remainder.c
23120         (__ieee754_remainder): Likewise.
23121         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23123         (bsloww): Likewise.
23124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23125
23126         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23128         MANTISSA_STORE_T to store computations on mantissa.  Use
23129         macros for rounding and division.
23130         (denorm): Likewise.
23131         (__dbl_mp): Likewise.
23132         (add_magnitudes): Likewise.
23133         (sub_magnitudes): Likewise.
23134         (__mul): Likewise.
23135         (__sqr): Likewise.
23136         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23137         powers of two in terms of TWOPOW macro.
23138         (mp_no): Make type of mantissa as MANTISSA_T.
23139         [!RADIXI]: Define RADIXI.
23140         [!TWO52]: Define TWO52.
23141         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23142
23143 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23144
23145         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23146         llroundl symbol when building for PPC32.
23147
23148 2013-03-24  Mark H Weaver  <mhw@netris.org>
23149
23150         * manual/arith.texi (Normalization Functions): Fix prototypes for
23151         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23152
23153 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23154
23155         [BZ #13889]
23156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23157         high value to check if expl overflow.
23158         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23159         to check for underflow and overflow.
23160         * math/libm-test.inc: Add exp test.
23161
23162 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23163
23164         [BZ #11120]
23165         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23166         with NOT_IN_libc.
23167
23168 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23169
23170         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23171         symbol.
23172
23173 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23174
23175         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23176         wrap blocks consisting of several statements.
23177
23178         * sysdeps/generic/math-tests.h: New file.
23179         * sysdeps/i386/fpu/math-tests.h: Likewise.
23180         * math/test-snan.c: Include it.
23181         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23182
23183 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23184
23185         [BZ #15285]
23186         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23187         (__ieee754_j0l): Do not improve calculations using cos of twice
23188         input for inputs above LDBL_MAX / 2.0L.
23189         (__ieee754_y0l): Likewise.
23190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23191         (__ieee754_j1l): Do not improve calculations using cos of twice
23192         input for inputs above LDBL_MAX / 2.0L.
23193         (__ieee754_y1l): Likewise.
23194         * math/libm-test.inc (j0_test): Add another test.
23195         (j1_test): Likewise.
23196         (y0_test): Likewise.
23197         (y1_test): Likewise.
23198         * sysdeps/i386/fpu/libm-test-ulps: Update.
23199
23200 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23201
23202         * Rules ($(objpfx)bench-%.c): Include code from a C source
23203         file.
23204
23205 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23206
23207         [BZ #15287]
23208         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23209         imaginary part 1.0 and real part less than 0.5 specially.
23210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23212         * math/libm-test.inc (cacos_test): Add more tests.
23213         (casin_test): Likewise.
23214         (casinh_test): Likewise.
23215         * sysdeps/i386/fpu/libm-test-ulps: Update.
23216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217
23218 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23219
23220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23221         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23222
23223 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23224
23225         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23226         * config.make.in (config-cflags-sse4): Remove variable.
23227         (config-cflags-avx): Likewise.
23228         (config-cflags-sse2avx): Likewise.
23229         (config-cflags-novzeroupper): Likewise.
23230         (config-asflags-i686): Likewise.
23231         (have-mfma4): Likewise.
23232         (have-as-vis3): Likewise.
23233         (MIG): Likewise.
23234         * configure.in (MIG): Do not AC_SUBST.
23235         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23236         (libc_cv_cc_sse4): Do not AC_SUBST.
23237         (libc_cv_cc_avx): Likewise.
23238         (libc_cv_cc_sse2avx): Likewise.
23239         (libc_cv_cc_novzeroupper): Likewise.
23240         (libc_cv_cc_fma4): Likewise.
23241         (libc_cv_as_i686): Likewise.
23242         (libc_cv_sparc_as_vis3): Likewise.
23243         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23244         LIBC_CONFIG_VAR.
23245         (config-asflags-i686): Likewise.
23246         (config-cflags-avx): Likewise.
23247         (config-cflags-sse2avx): Likewise.
23248         (have-mfma4): Likewise.
23249         (config-cflags-novzeroupper): Likewise.
23250         * sysdeps/mach/configure.in (MIG): Likewise.
23251         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23252         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23253         LIBC_CONFIG_VAR.
23254         (config-cflags-avx): Likewise.
23255         (config-cflags-sse2avx): Likewise.
23256         (have-mfma4): Likewise.
23257         (config-cflags-novzeroupper): Likewise.
23258         * configure: Regenerated.
23259         * sysdeps/i386/configure: Likewise.
23260         * sysdeps/mach/configure: Likewise.
23261         * sysdeps/sparc/configure: Likewise.
23262         * sysdeps/x86_64/configure: Likewise.
23263
23264 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23265
23266         [BZ #14812]
23267         * locale/programs/localedef.c (options): Put N_ translation marker
23268         on argument names, not just descriptions.
23269
23270 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23271
23272         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23273
23274 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23275
23276         [BZ #14176]
23277         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23278
23279 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23280
23281         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23282         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23283         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23284         [!BEFORE_ABORT] (before_abort): New function.
23285         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23286         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23287         (writev_for_fatal): New function.
23288         (WRITEV_FOR_FATAL): New macro; call that.
23289         (backtrace_and_maps): New function.
23290         (BEFORE_ABORT): New macro; call that.
23291         (struct str_list): Type removed.
23292         (__libc_message, __libc_fatal): Functions removed.
23293         Include <sysdeps/posix/libc_fatal.c> instead.
23294
23295 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23296
23297         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23298         constants.
23299         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23300         double constants.
23301
23302 2013-03-19  Andreas Schwab  <schwab@suse.de>
23303
23304         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23305         * sysdeps/gnu/configure: Regenerate.
23306
23307         * configure.in: Substitute libc_cv_rtlddir.
23308         * configure: Regenerate.
23309         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23310         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23311         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23312         * elf/Makefile (install-others, CFLAGS-interp.c)
23313         (ldso_install, common-ldd-rewrite): Likewise.
23314         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23315         $(inst_slibdir)/$(rtld-installed-name).
23316         * scripts/rellns-sh: Add -p option.
23317         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23318         for source.
23319
23320 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321
23322         * manual/nptl.texi: Renamed to ...
23323         * manual/threads.texi: ... this.
23324         * manual/Makefile (chapters): Update.
23325
23326 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23327
23328         [BZ #14812]
23329         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23330         on argument names, not just descriptions.
23331         * malloc/memusagestat.c (options): Likewise.
23332         * nss/getent.c (options): Likewise.
23333
23334 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23335
23336         [BZ #14812]
23337         * iconv/iconv_prog.c (options): Put N_ translation marker
23338         on argument names, not just descriptions.
23339         * iconv/iconvconfig.c (options): Likewise.
23340
23341 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23342
23343         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23344         implementation which is faster on all x86_64 architectures.
23345         Tested on AMD, Intel Nehalem, SNB, IVB.
23346         * sysdeps/x86_64/strnlen.S: Likewise.
23347
23348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23349         Remove all multiarch strlen and strnlen versions.
23350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23351         Remove strlen and strnlen related parts.
23352
23353         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23354         Inline strlen part.
23355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23356
23357         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23358         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23359         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23360         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23361         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23362         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23363
23364 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23365
23366         * manual/memory.texi (Malloc Tunable Parameters):
23367         Sort parameters alphabetically. Add comments for missing entries.
23368
23369 2013-03-17  David S. Miller  <davem@davemloft.net>
23370
23371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23372
23373 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23374
23375         [BZ #15283]
23376         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23377         for arguments at most half maximum finite value.
23378         * math/libm-test.inc (j0_test): Add more tests.
23379         (j1_test): Likewise.
23380         (y0_test): Likewise.
23381         (y1_test): Likewise.
23382         * sysdeps/i386/fpu/libm-test-ulps: Update.
23383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23384
23385         [BZ #14155]
23386         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23387         1 / x and functions P and Q for arguments above 0x1p256L.
23388         (__ieee754_y0l): Likewise.
23389         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23390         (__ieee754_y1l): Likewise.
23391         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23392         (j1_test): Likewise.
23393         (y0_test): Likewise.
23394         (y1_test): Likewise.
23395
23396 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23397
23398         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23399         variable.
23400
23401 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23402
23403         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23404         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23405         zero since it's initialized to EXEC_PAGESIZE.
23406
23407         * sysdeps/unix/sysv/linux/ldsodefs.h
23408         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23409         * sysdeps/generic/ldsodefs.h: ... here.
23410
23411 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23412
23413         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23414
23415         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23416         math/test-snan.c.
23417         * math/test-snan.c: Renamed from
23418         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23419         * math/Makefile (tests): Add test-snan.
23420         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23421         test-powerpc-snan.
23422
23423         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23424         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23425         functions.
23426         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23427         __builtin_nan family of functions.
23428         * math/libm-test.inc (initialize): Initialize qnan_value with
23429         __builtin_nan family of functions.
23430         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23431         Remove variables.
23432         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23433         Remove functions.
23434         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23435         storage class.  Initialize qNaN_var and sNaN_var with
23436         __builtin_nan and __builtin_nans families of functions,
23437         respectively.
23438
23439         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23440         (sqrt_test): Remove duplicate test with qNaN input.
23441         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23442         (round_test, signbit_test, significand_test): Note missing +/-Inf
23443         as well as qNaN tests.
23444
23445         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23446         qNaN_var.  Fix a few strings, too.
23447         * math/libm-test.inc (nan_value): Rename to qnan_value.
23448         * math/gen-libm-test.pl (%beautify): Adjust to that.
23449         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23450         * math/test-misc.c (main): Likewise.
23451         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23452         to __qnan_bytes, and __qnan_union, respectively.
23453         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23454         Likewise.
23455         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23456         and lqnanval, respectively.
23457         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23458         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23459         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23460         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23461
23462         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23463         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23464         doubles.
23465
23466         * math/test-misc.c (main): Fix copy'n'pastos.
23467         * misc/tst-efgcvt.c (special): Likewise.
23468
23469         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23470         Remove declarations.
23471
23472 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23473
23474         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23475         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23476         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23477         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23478
23479 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23480
23481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23482         macro to return vdso values correctly in IFUNC implementations.
23483         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23484         Optimization by using IFUNC.
23485
23486 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23487             Richard Henderson  <rth@redhat.com>
23488             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23489
23490         * Makefile.in (bench): New target.
23491         * NEWS: Mention the benchmark framework.
23492         * Rules (bench): Likewise.
23493         (binaries-bench): Generate binaries for functions to
23494         benchmark.
23495         * benchtests/Makefile: New makefile for benchmark tests.
23496         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23497         programs.
23498         * benchtests/exp-inputs: New input file for EXP function.
23499         * benchtests/pow-inputs: New input file for POW function.
23500         * scripts/bench.pl: New script to generate source files for
23501         benchmark programs.
23502
23503 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504
23505         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23507         computations on mantissa.  Use macros for rounding and
23508         division.
23509         (denorm): Likewise.
23510         (__dbl_mp): Likewise.
23511         (add_magnitudes): Likewise.
23512         (sub_magnitudes): Likewise.
23513         (__mul): Likewise.
23514         (__sqr): Likewise.
23515         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23516         powers of two in terms of TWOPOW macro.
23517         (mp_no): Make type of mantissa as MANTISSA_T.
23518         [!RADIXI]: Define RADIXI.
23519         [!TWO52]: Define TWO52.
23520         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23521
23522         * manual/nptl.texi (cindex): Modify threads to pthreads.
23523
23524 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23525
23526         * sysdeps/x86_64/preconfigure: Regenerated.
23527
23528 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23529
23530         [BZ #14155]
23531         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23532         0x1p28 and above.
23533         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23534         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23535         0x1p28 and above.
23536         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23537         * math/libm-test.inc (j0_test): Do not allow one spurious
23538         underflow exception.
23539         (y1_test): Likewise.
23540
23541 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23542
23543         * manual/Makefile (chapters): Add nptl.
23544         * manual/debug.texi (Debugging Support): Add link to Threads
23545         chapter.
23546         * manual/nptl.texi: New file.
23547
23548         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23549
23550 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23551
23552         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23553         for non-NULL pointer before the memory validity test. Pointed
23554         out by Holger Brunck <holger.brunck@keymile.com>.
23555
23556 2013-03-13  Andreas Schwab  <schwab@suse.de>
23557
23558         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23559         instead of .os.
23560
23561 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23562
23563         * timezone/zic.c: Update from tzcode 2013b.
23564
23565 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23566
23567         * manual/install.texi (Configuring and compiling):
23568         Mention i686 and i586.
23569         * INSTALL: Regenerate.
23570
23571 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23572
23573         * sysdeps/init_array/elf-init.c: New file.
23574         * csu/elf-init.c
23575         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23576         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23577
23578         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23579         __gmon_start__ as global, but as static with a .preinit_array pointer.
23580         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23581         * sysdeps/init_array/crti.S: New file, empty except for comments.
23582         * sysdeps/init_array/crtn.S: Likewise.
23583
23584 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23585
23586         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23587         definining bcopy.
23588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23589         Remove Prefer_SSE_for_memop.
23590         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23591         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23592         HAS_PREFER_SSE_FOR_MEMOP.
23593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23594         memset-x86-64.
23595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23596         Remove bzero, memset ifunc support.
23597         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23598         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23599         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23601
23602 2013-03-11  Andreas Schwab  <schwab@suse.de>
23603
23604         [BZ #15234]
23605         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23606         by SHLIB_COMPAT.
23607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23608         (GLIBC_2.16): Remove pthread_atfork.
23609
23610 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23611
23612         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23613         (ptestcases.h): Likewise.
23614
23615 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23616
23617         * Makeconfig ($(common-objpfx)config.status): Depend on
23618         sysdeps/*/preconfigure{,.in} too.
23619
23620 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23621
23622         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23623         (__free_hook): Use void * instead of __malloc_ptr_t.
23624         (__malloc_hook): Likewise.
23625         (__realloc_hook): Likewise.
23626         (__memalign_hook): Likewise.
23627         (__after_morecore_hook): Likewise.
23628         * malloc/arena.c (save_malloc_hook): Likewise.
23629         (save_free_hook): Likewise.
23630         * malloc/hooks.c (malloc_hook_ini): Likewise.
23631         (realloc_hook_ini): Likewise.
23632         (memalign_hook_ini): Likewise.
23633         * malloc/malloc.c (malloc_hook_ini): Likewise.
23634         (realloc_hook_ini): Likewise.
23635         (memalign_hook_ini): Likewise.
23636         (__free_hook): Likewise.
23637         (__malloc_hook): Likewise.
23638         (__realloc_hook): Likewise.
23639         (__memalign_hook): Likewise.
23640         (__libc_malloc): Likewise.
23641         (__libc_free): Likewise.
23642         (__libc_realloc): Likewise.
23643         (__libc_memalign): Likewise.
23644         (__libc_valloc): Likewise.
23645         (__libc_pvalloc): Likewise.
23646         (__libc_calloc): Likewise.
23647         (__posix_memalign): Likewise.
23648         * malloc/morecore.c (__sbrk): Likewise.
23649         (__default_morecore): Likewise.
23650
23651         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23652
23653         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23654         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23655         __malloc_ptrdiff_t.
23656
23657         * malloc/malloc.h (__malloc_size_t): Remove macro.
23658         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23659         __malloc_size_t.
23660         (old_memalign_hook): Likewise.
23661         (old_realloc_hook): Likewise.
23662         (struct hdr): Likewise.
23663         (flood): Likewise.
23664         (mallochook): Likewise.
23665         (memalignhook): Likewise.
23666         (reallochook): Likewise.
23667         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23668         (tr_old_realloc_hook): Likewise.
23669         (tr_old_memalign_hook): Likewise.
23670         (tr_mallochook): Likewise.
23671         (tr_reallochook): Likewise.
23672         (tr_memalignhook): Likewise.
23673
23674 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23675
23676         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23677         default_ldbl_pack and using as default implementation.
23678         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23679         implementation.
23680         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23681         redundant definition.
23682         (ldbl_insert_mantissa): Likewise.
23683         (ldbl_canonicalize): Likewise.
23684         (ldbl_nearbyint): Likewise.
23685         (ldbl_pack): Rename to ldbl_pack_ppc.
23686         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23687         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23688         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23689
23690 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23691
23692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23693         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23694         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23695         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23697         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23698         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23699         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23700
23701 2013-03-07  Andreas Jaeger  <aj@suse.de>
23702
23703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23704         bits/mman-linux.h.
23705
23706 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23707
23708         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23709         Include mpa.h and declare __MPEXP.
23710         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23711         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23712         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23715         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23716         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23717
23718         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23719         (__slowpow): Use long double EXPL and LOGL functions to
23720         compute POW.
23721         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23722         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23723         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23724         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23725         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23726         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23727
23728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23729         intermediate variable to calculate exponent.
23730         (__sqr): Likewise.
23731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23732         Likewise.
23733         (__sqr): Likewise.
23734
23735         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23736         [!NO__SQR]: Define __sqr.
23737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23738         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23739         sysdeps/ieee754/dbl-64/mpa.c.
23740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23741
23742         [BZ #12723]
23743         * posix/Makefile (tests): Add tst-pathconf.
23744         * posix/tst-pathconf.c: New test case.
23745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23746         _PC_PIPE_BUF.
23747         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23748
23749 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23750
23751         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23752
23753 2013-03-06  Andreas Jaeger  <aj@suse.de>
23754
23755         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23756         definition via __MAP_ANONYMOUS.
23757
23758         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23759         it's not part of Linux headers.
23760
23761         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23762         (MAP_HUGE_MASK): Define.
23763
23764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23765         Define.
23766         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23768         Define.
23769         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23770         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23771         Define.
23772         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23774         Define.
23775         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23776
23777         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23778         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23779         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23780         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23781         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23782         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23783
23784         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23785         Handle f2fs.
23786
23787         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23788         Handle f2fs and efivarfs.
23789
23790         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23791         f2fs.
23792
23793         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23794         (EFIVARFS_MAGIC): Add.
23795         (F2FS_LINK_MAX): Add.
23796
23797 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23798
23799         * stdio-common/vfprintf.c: Replace __builtin_expect with
23800         __glibc_unlikely.
23801
23802 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23803
23804         [BZ #13550]
23805         * sysdeps/generic/bp-sym.h: Remove file.
23806         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23807         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23808         <bp-sym.h> and <bp-asm.h>.
23809         (__longjmp): Don't use BP_SYM.
23810         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23811         and <bp-asm.h>.
23812         (memcpy): Don't use BP_SYM.
23813         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23814         <bp-sym.h> and <bp-asm.h>.
23815         (memcpy): Don't use BP_SYM.
23816         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23817         <bp-asm.h>.
23818         (memcpy): Don't use BP_SYM.
23819         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23820         <bp-asm.h>.
23821         (memset): Don't use BP_SYM.
23822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23824         (__bzero): Don't use BP_SYM.
23825         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23826         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23827         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23828         <bp-sym.h> and <bp-asm.h>.
23829         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23830         pointers.
23831         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23832         <bp-sym.h> and <bp-asm.h>.
23833         (memcpy): Don't use BP_SYM.
23834         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23835         <bp-sym.h> and <bp-asm.h>.
23836         (memset): Don't use BP_SYM.
23837         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23838         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23839         (__bzero): Don't use BP_SYM.
23840         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23841         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23843         <bp-sym.h> and <bp-asm.h>.
23844         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23845         pointers.
23846         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23847         <bp-sym.h> and <bp-asm.h>.
23848         (memcpy): Don't use BP_SYM.
23849         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23850         <bp-sym.h> and <bp-asm.h>.
23851         (memset): Don't use BP_SYM.
23852         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23853         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23854         (__bzero): Don't use BP_SYM.
23855         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23856         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23857         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23858         <bp-sym.h> and <bp-asm.h>.
23859         (__memchr): Don't use BP_SYM.
23860         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23861         <bp-sym.h> and <bp-asm.h>.
23862         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23863         pointers.
23864         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23865         <bp-sym.h> and <bp-asm.h>.
23866         (memcpy): Don't use BP_SYM.
23867         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23868         <bp-sym.h> and <bp-asm.h>.
23869         (__mempcpy): Don't use BP_SYM.
23870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23871         <bp-sym.h> and <bp-asm.h>.
23872         (__memrchr): Don't use BP_SYM.
23873         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23874         <bp-sym.h> and <bp-asm.h>.
23875         (memset): Don't use BP_SYM.
23876         (__bzero): Likewise.
23877         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23878         <bp-sym.h> and <bp-asm.h>.
23879         (__rawmemchr): Don't use BP_SYM.
23880         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23881         <bp-sym.h> and <bp-asm.h>.
23882         (__STRCMP): Don't use BP_SYM.
23883         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23884         <bp-sym.h> and <bp-asm.h>.
23885         (strchr): Don't use BP_SYM.
23886         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23887         <bp-sym.h> and <bp-asm.h>.
23888         (__strchrnul): Don't use BP_SYM.
23889         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23890         <bp-sym.h> and <bp-asm.h>.
23891         (strlen): Don't use BP_SYM.
23892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23893         <bp-sym.h> and <bp-asm.h>.
23894         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23895         pointers.
23896         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23897         <bp-sym.h> and <bp-asm.h>.
23898         (__strnlen): Don't use BP_SYM.
23899         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23900         <bp-sym.h> and <bp-asm.h>.
23901         (__GI__setjmp): Don't use BP_SYM.
23902         (_setjmp): Likewise.
23903         (__sigsetjmp): Likewise.
23904         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23905         (L(start_addresses)): Don't use BP_SYM.
23906         (_start): Likewise.
23907         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23908         <bp-asm.h>.
23909         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23910         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23911         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23912         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23913         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23914         <bp-asm.h>.
23915         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23916         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23917         about bounded pointers.
23918         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23919         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23920         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23921         <bp-asm.h>.
23922         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23923         about bounded pointers.  Remove GKM FIXME comments.
23924         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23925         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23926         <bp-asm.h>.
23927         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23928         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23929         Remove GKM FIXME comments.
23930         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23931         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23932         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23933         <bp-asm.h>.
23934         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23935         about bounded pointers.  Remove GKM FIXME comment.
23936         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23937         and <bp-asm.h>.
23938         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23939         pointers.
23940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23941         <bp-sym.h> and <bp-asm.h>.
23942         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23944         <bp-sym.h> and <bp-asm.h>.
23945         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23946         comment.
23947
23948 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23949
23950         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23951         call free(NULL).
23952
23953 2013-03-05  David S. Miller  <davem@davemloft.net>
23954
23955         * po/es.po: Update from translation team.
23956
23957 2013-03-05  Andreas Jaeger  <aj@suse.de>
23958
23959         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23960         <bits/mman-linux.h>.
23961         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23962         is fine.
23963         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23964         <bits/mman-linux.h> to end of file.
23965         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23966         is fine.
23967         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23968         <bits/mman-linux.h> to end of file.
23969         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23970         is fine.
23971         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23972         <bits/mman-linux.h> to end of file.
23973
23974         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23975         (MCL_CURRENT, MCL_FUTURE): Define here.
23976
23977 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23978
23979         [BZ #15232]
23980         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23981         attribute_hidden.
23982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23983
23984 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23985
23986         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23987         fourth parameter needed for rt_sigprocmask syscall.
23988         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23989         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23990         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23991         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23992         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23993         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23994
23995 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23996
23997         [BZ #13550]
23998         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23999         comment about bounded pointers.
24000         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24001         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24002
24003 2013-03-04  Andreas Jaeger  <aj@suse.de>
24004
24005         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24006         common definitions.
24007
24008         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24009         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24010         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24011         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24014
24015 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016
24017         [BZ #15055]
24018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24019         __ieee754_sqrl instead of __sqrl.
24020
24021 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24022
24023         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24024         * sysdeps/powerpc/fpu_control.h: ... here.
24025         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24026         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24027         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24028         * sysdeps/powerpc/bits/mathinline.h: ... here.
24029
24030 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24031
24032         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24033         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24034         to just [NEED_DL_SYSINFO_DSO].
24035         * elf/dl-support.c: Likewise.
24036         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24037         * elf/rtld.c (dl_main): Likewise.
24038         * elf/setup-vdso.h (setup_vdso): Likewise.
24039         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24040         * sysdeps/unix/sysv/linux/dl-sysdep.c
24041         (_dl_discover_osversion): Likewise.
24042
24043 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24044
24045         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24046         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24047
24048 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24049
24050         * NEWS: Mention libm performance improvements and non-x86 PI
24051         futex support.
24052
24053         * csu/libc-start.c (__pthread_initialize_minimal): Change
24054         function arguments.
24055         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24056
24057 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24058
24059         [BZ #13550]
24060         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24061         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24062         <bp-sym.h> and <bp-asm.h>.
24063         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24064         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24065         and <bp-asm.h>.
24066         (memcpy): Don't use BP_SYM.
24067         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24068         <bp-asm.h>.
24069         (__mpn_add_n): Don't use BP_SYM.
24070         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24071         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24072         and <bp-asm.h>.
24073         (__mpn_addmul_1): Don't use BP_SYM.
24074         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24075         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24076         <bp-sym.h>.
24077         (_setjmp): Don't use BP_SYM.
24078         (__novmx_setjmp): Likewise.
24079         (__GI__setjmp): Likewise.
24080         (__vmx_setjmp): Likewise.
24081         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24082         <bp-sym.h>.
24083         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24084         (__bzero): Don't use BP_SYM.
24085         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24086         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24087         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24088         <bp-sym.h> and <bp-asm.h>.
24089         (memcpy): Don't use BP_SYM.
24090         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24091         <bp-sym.h> and <bp-asm.h>.
24092         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24093         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24094         <bp-sym.h> and <bp-asm.h>.
24095         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24096         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24097         <bp-asm.h>.
24098         (__mpn_lshift): Don't use BP_SYM.
24099         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24100         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24101         <bp-asm.h>.
24102         (memset): Don't use BP_SYM.
24103         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24104         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24105         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24106         <bp-asm.h>.
24107         (__mpn_mul_1): Don't use BP_SYM.
24108         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24109         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24110         <bp-sym.h> and <bp-asm.h>.
24111         (memcmp): Don't use BP_SYM.
24112         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24113         <bp-sym.h> and <bp-asm.h>.
24114         (memcpy): Don't use BP_SYM.
24115         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24116         <bp-sym.h> and <bp-asm.h>.
24117         (memset): Don't use BP_SYM.
24118         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24119         <bp-sym.h> and <bp-asm.h>.
24120         (strncmp): Don't use BP_SYM.
24121         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24122         <bp-sym.h> and <bp-asm.h>.
24123         (memcpy): Don't use BP_SYM.
24124         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24125         <bp-sym.h> and <bp-asm.h>.
24126         (memset): Don't use BP_SYM.
24127         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24128         <bp-sym.h> and <bp-asm.h>.
24129         (__memchr): Don't use BP_SYM.
24130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24131         <bp-sym.h> and <bp-asm.h>.
24132         (memcmp): Don't use BP_SYM.
24133         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24134         <bp-sym.h> and <bp-asm.h>.
24135         (memcpy): Don't use BP_SYM.
24136         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24137         <bp-sym.h> and <bp-asm.h>.
24138         (__mempcpy): Don't use BP_SYM.
24139         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24140         <bp-sym.h> and <bp-asm.h>.
24141         (__memrchr): Don't use BP_SYM.
24142         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24143         <bp-sym.h> and <bp-asm.h>.
24144         (memset): Don't use BP_SYM.
24145         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24146         <bp-sym.h> and <bp-asm.h>.
24147         (__rawmemchr): Don't use BP_SYM.
24148         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24149         <bp-sym.h> and <bp-asm.h>.
24150         (__STRCMP): Don't use BP_SYM.
24151         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24152         <bp-sym.h> and <bp-asm.h>.
24153         (strchr): Don't use BP_SYM.
24154         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24155         <bp-sym.h> and <bp-asm.h>.
24156         (__strchrnul): Don't use BP_SYM.
24157         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24158         <bp-sym.h> and <bp-asm.h>.
24159         (strlen): Don't use BP_SYM.
24160         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24161         <bp-sym.h> and <bp-asm.h>.
24162         (strncmp): Don't use BP_SYM.
24163         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24164         <bp-sym.h> and <bp-asm.h>.
24165         (__strnlen): Don't use BP_SYM.
24166         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24167         <bp-asm.h>.
24168         (__mpn_rshift): Don't use BP_SYM.
24169         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24170         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24171         <bp-sym.h> and <bp-asm.h>.
24172         (__sigsetjmp): Don't use BP_SYM.
24173         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24174         (L(start_addresses)): Don't use BP_SYM.
24175         (_start): Likewise.
24176         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24177         <bp-asm.h>.
24178         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24179         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24180         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24181         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24182         <bp-asm.h>.
24183         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24184         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24185         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24186         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24187         <bp-asm.h>.
24188         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24189         comments.
24190         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24191         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24192         <bp-asm.h>.
24193         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24194         FIXME comments.
24195         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24196         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24197         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24198         <bp-asm.h>.
24199         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24200         comment.
24201         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24202         and <bp-asm.h>.
24203         (strncmp): Don't use BP_SYM,
24204         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24205         <bp-asm.h>.
24206         (__mpn_sub_n): Don't use BP_SYM.
24207         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24208         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24209         and <bp-asm.h>.
24210         (__mpn_submul_1): Don't use BP_SYM.
24211         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24213         <bp-sym.h> and <bp-asm.h>.
24214         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24216         <bp-sym.h> and <bp-asm.h>.
24217         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24218         comment.
24219
24220 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24221
24222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24223         Use ZK to minimize writes to Z.
24224         (sub_magnitudes): Simplify code a bit.
24225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24226         Use ZK to minimize writes to Z.
24227         (sub_magnitudes): Simplify code a bit.
24228
24229 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24230
24231         * csu/gmon-start.c: Add special exception to license text.
24232
24233 2013-02-27  Richard Henderson  <rth@redhat.com>
24234
24235         * scripts/config.guess: Update from config.git.
24236         * scripts/config.sub: Likewise.
24237
24238 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24239
24240         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24241
24242         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24243
24244         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24245
24246         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24247
24248         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24249
24250 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24251
24252         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24253         [$(build-shared = yes].
24254
24255 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24256
24257         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24258         (__mul): Reduce iterations for calculating mantissa.
24259
24260         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24261         MPTWO.
24262         (__mpranred): Likewise.
24263
24264         [BZ #15160]
24265         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24266         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24267
24268 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24269
24270         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24271         Define __attribute__.
24272
24273 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24274
24275         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24276         unused.
24277         * posix/regex_internal.h (__attribute): Remove.
24278         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24279         (re_string_context_at): Likewise.
24280         (bitset_not): Use __attribute__ and mark function as possibly
24281         unused.
24282         (bitset_merge): Likewise.
24283         (bitset_mask): Likewise.
24284         (re_string_char_size_at): Likewise.
24285         (re_string_wchar_at): Likewise.
24286         (re_string_elem_size_at): Likewise.
24287
24288 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24289
24290         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24291         code.
24292         (cc32): Likewise.
24293
24294         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24295         (__acr): Likewise.
24296         (__cpy): Likewise.
24297         (norm): Likewise.
24298         (denorm): Likewise.
24299         (__dbl_mp): Likewise.
24300         (add_magnitudes): Likewise.
24301         (sub_magnitudes): Likewise.
24302         (__mul): Likewise.
24303         (__inv): Likewise.
24304
24305         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24306         style.
24307
24308         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24309         style.
24310
24311         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24312         code.
24313
24314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24315         up changes with default code.
24316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24317         Likewise.
24318
24319 2013-02-24  Allan McRae  <allan@archlinux.org>
24320
24321         * manual/socket.texi (The Internet Namespace): Order menu items
24322         to match that in the file.
24323
24324         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24325         node listing of the info page menu.
24326
24327 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24328
24329         [BZ #13550]
24330         * sysdeps/i386/bp-asm.h: Remove file.
24331         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24332         (PARMS): Do not use macros from bp-asm.h.
24333         (S1): Likewise.
24334         (S2): Likewise.
24335         (SIZE): Likewise.
24336         (__mpn_add_n): Do not use BP_SYM
24337         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24338         "bp-asm.h".
24339         (PARMS): Do not use macros from bp-asm.h.
24340         (S1): Likewise.
24341         (SIZE): Likewise.
24342         (__mpn_addmul_1): Do not use BP_SYM
24343         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24344         "bp-asm.h".
24345         (PARMS): Do not use macros from bp-asm.h.
24346         (SIGMSK): Likewise.
24347         (_setjmp): Likewise.  Do not use BP_SYM.
24348         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24349         "bp-asm.h".
24350         (PARMS): Do not use macros from bp-asm.h.
24351         (SIGMSK): Likewise.
24352         (setjmp): Likewise.  Do not use BP_SYM.
24353         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24354         "bp-asm.h".
24355         (PARMS): Do not use macros from bp-asm.h.
24356         (__frexp): Do not use BP_SYM.
24357         (frexp): Likewise.
24358         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24359         "bp-asm.h".
24360         (PARMS): Do not use macros from bp-asm.h.
24361         (__frexpf): Do not use BP_SYM.
24362         (frexpf): Likewise.
24363         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24364         "bp-asm.h".
24365         (PARMS): Do not use macros from bp-asm.h.
24366         (__frexpl): Do not use BP_SYM.
24367         (frexpl): Likewise.
24368         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24369         "bp-asm.h".
24370         (PARMS): Do not use macros from bp-asm.h.
24371         (__remquo): Do not use BP_SYM.
24372         (remquo): Likewise.
24373         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24374         "bp-asm.h".
24375         (PARMS): Do not use macros from bp-asm.h.
24376         (__remquof): Do not use BP_SYM.
24377         (remquof): Likewise.
24378         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24379         "bp-asm.h".
24380         (PARMS): Do not use macros from bp-asm.h.
24381         (__remquol): Do not use BP_SYM.
24382         (remquol): Likewise.
24383         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24384         "bp-asm.h".
24385         (PARMS): Do not use macros from bp-asm.h.
24386         (DEST): Likewise.
24387         (SRC): Likewise.
24388         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24389         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24390         "bp-asm.h".
24391         (PARMS): Do not use macros from bp-asm.h.
24392         (strlen): Do not use BP_SYM.
24393         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24394         "bp-asm.h".
24395         (PARMS): Do not use macros from bp-asm.h.
24396         (S1): Likewise.
24397         (S2): Likewise.
24398         (SIZE): Likewise.
24399         (__mpn_add_n): Do not use BP_SYM.
24400         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24401         "bp-asm.h".
24402         (PARMS): Do not use macros from bp-asm.h.
24403         (S1): Likewise.
24404         (SIZE): Likewise.
24405         (__mpn_addmul_1): Do not use BP_SYM.
24406         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24407         weak_alias.
24408         (bzero): Likewise.
24409         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24410         "bp-asm.h".
24411         (PARMS): Do not use macros from bp-asm.h.
24412         (S): Likewise.
24413         (SIZE): Likewise.
24414         (__mpn_lshift): Do not use BP_SYM.
24415         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24416         "bp-asm.h".
24417         (PARMS): Do not use macros from bp-asm.h.
24418         (DEST): Likewise.
24419         (SRC): Likewise.
24420         (LEN): Likewise.
24421         (memcpy): Likewise.  Do not use BP_SYM.
24422         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24423         libc_hidden_def and weak_alias.
24424         (mempcpy): Do not use BP_SYM in weak_alias.
24425         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
24430         [!BZERO_P] (CHR): Likewise.
24431         (memset): Likewise.  Do not use BP_SYM.
24432         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24433         "bp-asm.h".
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (S1): Likewise.
24436         (SIZE): Likewise.
24437         (__mpn_mul_1): Do not use BP_SYM.
24438         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24439         "bp-asm.h".
24440         (PARMS): Do not use macros from bp-asm.h.
24441         (S): Likewise.
24442         (SIZE): Likewise.
24443         (__mpn_rshift): Do not use BP_SYM.
24444         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24445         "bp-asm.h".
24446         (PARMS): Do not use macros from bp-asm.h.
24447         (STR): Likewise.
24448         (CHR): Likewise.
24449         (strchr): Likewise.  Do not use BP_SYM.
24450         (index): Do not use BP_SYM in weak_alias.
24451         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24452         "bp-asm.h".
24453         (PARMS): Do not use macros from bp-asm.h.
24454         (DEST): Likewise.
24455         (SRC): Likewise.
24456         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24457         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24458         "bp-asm.h".
24459         (PARMS): Do not use macros from bp-asm.h.
24460         (strlen): Do not use BP_SYM.
24461         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24462         "bp-asm.h".
24463         (PARMS): Do not use macros from bp-asm.h.
24464         (S1): Likewise.
24465         (S2): Likewise.
24466         (SIZE): Likewise.
24467         (__mpn_sub_n): Do not use BP_SYM.
24468         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24469         "bp-asm.h".
24470         (PARMS): Do not use macros from bp-asm.h.
24471         (S1): Likewise.
24472         (SIZE): Likewise.
24473         (__mpn_submul_1): Do not use BP_SYM.
24474         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24475         "bp-asm.h".
24476         (PARMS): Do not use macros from bp-asm.h.
24477         (S1): Likewise.
24478         (S2): Likewise.
24479         (SIZE): Likewise.
24480         (__mpn_add_n): Do not use BP_SYM.
24481         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24482         weak_alias.
24483         (bzero): Likewise.
24484         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24485         "bp-asm.h".
24486         (PARMS): Do not use macros from bp-asm.h.
24487         (BLK2): Likewise.
24488         (LEN): Likewise.
24489         (memcmp): Do not use BP_SYM.
24490         (bcmp): Do not use BP_SYM in weak_alias.
24491         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24492         "bp-asm.h".
24493         (PARMS): Do not use macros from bp-asm.h.
24494         (DEST): Likewise.
24495         (SRC): Likewise.
24496         (LEN): Likewise.
24497         (memcpy): Likewise.  Do not use BP_SYM.
24498         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24499         "bp-asm.h".
24500         (PARMS): Do not use macros from bp-asm.h.
24501         (DEST): Likewise.
24502         (SRC): Likewise.
24503         (LEN): Likewise.
24504         (memmove): Likewise.  Do not use BP_SYM.
24505         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24506         "bp-asm.h".
24507         (PARMS): Do not use macros from bp-asm.h.
24508         (DEST): Likewise.
24509         (SRC): Likewise.
24510         (LEN): Likewise.
24511         (__mempcpy): Likewise.  Do not use BP_SYM.
24512         (mempcpy): Do not use BP_SYM in weak_alias.
24513         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24514         "bp-asm.h".
24515         (PARMS): Do not use macros from bp-asm.h.
24516         (DEST): Likewise.
24517         (LEN): Likewise.
24518         [!BZERO_P] (CHR): Likewise.
24519         (memset): Likewise.  Do not use BP_SYM.
24520         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24521         "bp-asm.h".
24522         (PARMS): Do not use macros from bp-asm.h.
24523         (STR2): Likewise.
24524         (strcmp): Do not use BP_SYM.
24525         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24526         "bp-asm.h".
24527         (PARMS): Do not use macros from bp-asm.h.
24528         (STR): Likewise.
24529         (DELIM): Likewise.
24530         [USE_AS_STRTOK_R] (SAVE): Likewise.
24531         (FUNCTION): Likewise.  Do not use BP_SYM.
24532         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24533         aliases.
24534         (strtok_r): Likewise.
24535         (__GI___strtok_r): Likewise.
24536         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24537         (PARMS): Do not use macros from bp-asm.h.
24538         (S): Likewise.
24539         (SIZE): Likewise.
24540         (__mpn_lshift): Do not use BP_SYM.
24541         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24542         (PARMS): Do not use macros from bp-asm.h.
24543         (STR): Likewise.
24544         (CHR): Likewise.
24545         (__memchr): Do not use BP_SYM.
24546         (memchr): Do not use BP_SYM in weak_alias.
24547         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24548         (PARMS): Do not use macros from bp-asm.h.
24549         (BLK2): Likewise.
24550         (LEN): Likewise.
24551         (memcmp): Do not use BP_SYM.
24552         (bcmp): Do not use BP_SYM in weak_alias.
24553         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24554         (PARMS): Do not use macros from bp-asm.h.
24555         (S1): Likewise.
24556         (SIZE): Likewise.
24557         (__mpn_mul_1): Do not use BP_SYM.
24558         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24559         "bp-asm.h".
24560         (PARMS): Do not use macros from bp-asm.h.
24561         (STR): Likewise.
24562         (CHR): Likewise.
24563         (__rawmemchr): Do not use BP_SYM.
24564         (rawmemchr): Do not use BP_SYM in weak_alias.
24565         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24566         (PARMS): Do not use macros from bp-asm.h.
24567         (S): Likewise.
24568         (SIZE): Likewise.
24569         (__mpn_rshift): Do not use BP_SYM.
24570         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24571         (PARMS): Do not use macros from bp-asm.h.
24572         (SIGMSK): Likewise.
24573         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24574         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24575         (_start): Do not use BP_SYM.
24576         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24577         (PARMS): Do not use macros from bp-asm.h.
24578         (DEST): Likewise.
24579         (SRC): Likewise.
24580         (__stpcpy): Likewise.  Do not use BP_SYM.
24581         (stpcpy): Do not use BP_SYM in weak_alias.
24582         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24583         "bp-asm.h".
24584         (PARMS): Do not use macros from bp-asm.h.
24585         (DEST): Likewise.
24586         (SRC): Likewise.
24587         (LEN): Likewise.
24588         (__stpncpy): Likewise.  Do not use BP_SYM.
24589         (stpncpy): Do not use BP_SYM in weak_alias.
24590         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24591         (PARMS): Do not use macros from bp-asm.h.
24592         (STR): Likewise.
24593         (CHR): Likewise.
24594         (strchr): Likewise.  Do not use BP_SYM.
24595         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24596         "bp-asm.h".
24597         (PARMS): Do not use macros from bp-asm.h.
24598         (STR): Likewise.
24599         (CHR): Likewise.
24600         (__strchrnul): Likewise.  Do not use BP_SYM.
24601         (strchrnul): Do not use BP_SYM in weak_alias.
24602         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24603         "bp-asm.h".
24604         (PARMS): Do not use macros from bp-asm.h.
24605         (STOP): Likewise.
24606         (strcspn): Do not use BP_SYM.
24607         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24608         "bp-asm.h".
24609         (PARMS): Do not use macros from bp-asm.h.
24610         (STR): Likewise.
24611         (STOP): Likewise.
24612         (strpbrk): Likewise.  Do not use BP_SYM.
24613         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24614         "bp-asm.h".
24615         (PARMS): Do not use macros from bp-asm.h.
24616         (STR): Likewise.
24617         (CHR): Likewise.
24618         (strrchr): Likewise.  Do not use BP_SYM.
24619         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24620         (PARMS): Do not use macros from bp-asm.h.
24621         (SKIP): Likewise.
24622         (strspn): Do not use BP_SYM.
24623         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24624         (PARMS): Do not use macros from bp-asm.h.
24625         (STR): Likewise.
24626         (DELIM): Likewise.
24627         (SAVE): Likewise.
24628         (FUNCTION): Likewise.  Do not use BP_SYM.
24629         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24630         aliases.
24631         (strtok_r): Likewise.
24632         (__GI___strtok_r): Likewise.
24633         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24634         (PARMS): Do not use macros from bp-asm.h.
24635         (S1): Likewise.
24636         (S2): Likewise.
24637         (SIZE): Likewise.
24638         (__mpn_sub_n): Do not use BP_SYM.
24639         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24640         "bp-asm.h".
24641         (PARMS): Do not use macros from bp-asm.h.
24642         (S1): Likewise.
24643         (SIZE): Likewise.
24644         (__mpn_submul_1): Do not use BP_SYM.
24645         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24646         <bp-sym.h>.
24647         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24648         and <bp-asm.h>.
24649         (PARMS): Do not use macros from bp-asm.h.
24650         (FLAGS): Likewise.
24651         (PTID): Likewise.
24652         (TLS): Likewise.
24653         (CTID): Likewise.
24654         (__clone): Do not use BP_SYM.
24655         (clone): Do not use BP_SYM in weak_alias.
24656         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24657         and <bp-asm.h>.
24658         (PARMS): Do not use macros from bp-asm.h.
24659         (LEN): Likewise.
24660         (__mmap64): Do not use BP_SYM.
24661         (mmap64): Do not use BP_SYM in weak_alias.
24662         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24663         <bp-sym.h> and <bp-asm.h>.
24664         (PARMS): Do not use macros from bp-asm.h.
24665         (__posix_fadvise64_l64): Do not use BP_SYM.
24666         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24667         (PARMS): Do not use macros from bp-asm.h.
24668         (NSOPS): Likewise.
24669         (semtimedop): Do not use BP_SYM.
24670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24671         and <bp-asm.h>.
24672
24673 2013-02-21  Allan McRae  <allan@archlinux.org>
24674
24675         * manual/message.texi (Charset conversion in gettext):
24676         Move @end statement to beginning of line.
24677
24678 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24679
24680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24681         static.
24682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24683         Likewise.
24684
24685         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24686         (denorm): Likewise.
24687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24689
24690 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24691
24692         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24693         tail-call to the resolved function if pltexit isn't needed.
24694
24695 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24696
24697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24698         or Y being zero as being unlikely.
24699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24700         Likewise.
24701
24702 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24703
24704         * manual/nss.texi (System Databases and Name Service Switch):
24705         Remove frobnicate @pxref.
24706
24707 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24708
24709         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24710         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24711
24712 2013-02-20  Petr Machata  <pmachata@redhat.com>
24713
24714         * elf/elf.h (R_ARM_TARGET1): New macro.
24715         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24716         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24717         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24718         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24719         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24720         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24721         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24722         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24723         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24724         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24725         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24726         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24727         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24728         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24729         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24730         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24731         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24732         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24733         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24734         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24735         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24736         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24737         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24738         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24739         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24740         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24741         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24742         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24743         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24744         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24745         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24746         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24747         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24748         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24749         (R_ARM_THM_GOT_BREL12): Likewise.
24750         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24751         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24752         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24753         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24754         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24755         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24756         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24757         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24758         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24759
24760 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24761
24762         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24763         __attribute_used__ to __attribute__ ((unused)).
24764
24765 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24766
24767         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24768         powerpc mpa.c.
24769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24770         comment formatting.
24771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24772
24773 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24774
24775         [BZ #13550]
24776         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24777         Remove macro.
24778         (ENTER): Remove both macro definitions.
24779         (LEAVE): Likewise.
24780         (CHECK_BOUNDS_LOW): Likewise.
24781         (CHECK_BOUNDS_HIGH): Likewise.
24782         (CHECK_BOUNDS_BOTH): Likewise.
24783         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24784         (RETURN_BOUNDED_POINTER): Likewise.
24785         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24786         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24787         (POP_ERRNO_LOCATION_RETURN): Likewise.
24788         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24789         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24790         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24791         macros.
24792         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24793         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24794         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24795         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24796         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24797         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24798         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24799         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24800         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24801         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24802         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24803         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24804         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24805         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24806         removed macros.
24807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24808         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24809         macros.
24810         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24811         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24812         * sysdeps/i386/i586/memset.S (memset): Likewise.
24813         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24814         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24815         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24816         macros.
24817         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24818         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24819         Change uses of L(2) to L(out).
24820         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24821         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24822         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24823         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24824         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24825         removed macros.
24826         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24827         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24828         macros.
24829         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24830         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24831         (RETURN): Do not use macro LEAVE.
24832         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24833         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24834         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24835         * sysdeps/i386/i686/memset.S (memset): Likewise.
24836         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24837         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24838         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24839         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24840         Likewise.
24841         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24842         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24843         L(1_2) and L(1_3) into L(1).
24844         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24845         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24847         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24848         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24849         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24850         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24851         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24852         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24853         macros.
24854         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24855         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24856         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24857         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24858         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24859         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24860         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24861         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24862         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24863         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24864         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24865         * sysdeps/i386/strspn.S (strspn): Likewise.
24866         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24867         conditional code.
24868         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24869         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24870         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24871         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24872         L(1_3) into L(1_1).
24873         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24874         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24875         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24876         macros.
24877         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24878
24879 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24880
24881         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24882         macro.
24883
24884 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24885
24886         * math/atest-exp.c (exp_mpn): Remove ROUND.
24887         * math/atest-exp2.c (exp_mpn): Likewise.
24888         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24889
24890         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24891         * stdlib/tst-tls-atexit-lib.c: Likewise.
24892         * stdlib/tst-tls-atexit.c: Likewise.
24893
24894 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24895
24896         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24897         and __attribute_alloc_size__.
24898
24899 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24900
24901         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24902         __attribute_alloc_size__.
24903         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24904         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24905
24906 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24907
24908         * include/programs/xmalloc.h: New file.
24909         * catgets/gencat.c: Include it.
24910         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24911         * elf/pldd.c: Likewise.
24912         * iconv/iconv_charmap.c: Likewise.
24913         * iconv/iconvconfig.c: Likewise.
24914         * iconv/strtab.c: Likewise.
24915         * locale/programs/locale.c: Likewise.
24916         * locale/programs/localedef.h: Likewise.
24917         * locale/programs/simple-hash.c: Likewise.
24918         * nscd/nscd.h: Likewise.
24919         * nss/makedb.c: Likewise.
24920         * sysdeps/generic/ldconfig.h: Likewise.
24921
24922 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24923
24924         * Versions.def: Add GLIBC_2.18.
24925         * include/link.h (struct link_map): New member l_tls_dtor_count.
24926         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24927         (__call_tls_dtors): Likewise.
24928         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24929         __cxa_thread_atexit_impl.
24930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24931         Likewise.
24932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24933         Likewise.
24934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24935         Likewise.
24936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24937         Likewise.
24938         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24940         Likewise.
24941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24942         Likewise.
24943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24945         Likewise.
24946         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24947         (tests): Add test case tst-tls-atexit.
24948         (modules-names): Add shared library for tst-tls-atexit.
24949         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24950         (GLIBC_PRIVATE): Add __call_tls_dtors.
24951         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24952         for libstdc++.
24953         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24954         * stdlib/tst-tls-atexit.c: New test case.
24955         * stdlib/tst-tls-atexit-lib.c: New test case.
24956
24957         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24958
24959         * elf/Versions (ld): Add _dl_find_dso_for_object.
24960         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24961         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24962         (dl_open_worker): Use _dl_find_dso_for_object.
24963         * elf/dl-sym.c (do_sym): Likewise.
24964         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24965
24966 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24967
24968         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24969         Syntactic changes only.
24970         (_dl_runtime_profile): Do a tail-call to the resolved function.
24971
24972 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24973
24974         [BZ #13550]
24975         * sysdeps/x86_64/bp-asm.h: Remove file.
24976         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24977         <bp-sym.h> and <bp-asm.h>.
24978         (__clone): Do not use BP_SYM.
24979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24980         <bp-sym.h> and <bp-asm.h>.
24981         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24982         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24983         "bp-asm.h".
24984         (_setjmp): Do not use BP_SYM.
24985         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24986         "bp-asm.h".
24987         (setjmp): Do not use BP_SYM.
24988         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24989         libc_hidden_def.
24990         (mempcpy): Do not use BP_SYM in weak_alias.
24991         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24992         "bp-asm.h".
24993         (strchr): Do not use BP_SYM.
24994         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24995         "bp-asm.h".
24996         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24997         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24998         (_start): Do not use BP_SYM.
24999         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25000         "bp-asm.h".
25001         (strcat): Do not use BP_SYM.
25002         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25003         "bp-asm.h".
25004         (STRCMP): Do not use BP_SYM.
25005         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25006         "bp-asm.h".
25007         (STRCPY): Do not use BP_SYM.
25008         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25009         "bp-asm.h".
25010         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25011         "bp-asm.h".
25012         (FUNCTION): Do not use BP_SYM.
25013         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25014         weak_alias.
25015         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25016
25017 2013-02-17  Andreas Jaeger  <aj@suse.de>
25018
25019         * time/Versions: Sort entries.
25020         * string/Versions: Likewise.
25021         * resolv/Versions: Likewise.
25022         * posix/Versions: Likewise.
25023         * iconv/Versions: Likewise.
25024         * elf/Versions: Likewise.
25025         * wcsmbs/Versions: Likewise.
25026
25027 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25028
25029         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25030         loop termination condition.
25031
25032         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25033         variable to calculate EZ.
25034         (__sqr): Likewise.
25035
25036         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25037         the lower precision input.
25038
25039 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25040
25041         [BZ #13550]
25042         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25043         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25044         (run-via-rtld-prefix): Do not handle %-bp tests.
25045         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25046         (all-object-suffixes): Remove .ob.
25047         (bppfx): Remove variable.
25048         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25049         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25050         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25051         [$(build-bounded) = yes] (libtype.ob): Likewise.
25052         * Makerules (elide-routines.ob): Remove variable.
25053         (do-tests-clean): Do not handle *-bp.out.
25054         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25055         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25056         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25057         (tests): Do not include $(tests-bp.out).
25058         (xtests): Do not include $(xtests-bp.out).
25059         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25060         [$(build-bounded) = yes] ($(addprefix
25061         $(objpfx),$(binaries-bounded))): Remove rule.
25062         ($(objpfx)%-bp.out): Remove rule.
25063         * config.make.in (build-bounded): Remove variable.
25064         * crypt/Makefile [$(build-bounded) = yes]
25065         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25066         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25067         append to variable.
25068         [$(build-bounded) = yes] (install-lib): Likewise.
25069         [$(build-bounded) = yes] (generated): Likewise.
25070         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25071         Remove rule.
25072         * intl/Makefile [$(build-bounded) = yes]
25073         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25074         * math/Makefile [$(build-bounded) = yes]
25075         ($(tests:%=$(objpfx)%-bp): Likewise.
25076         * misc/Makefile [$(build-bounded) = yes]
25077         ($(objpfx)tst-tsearch-bp): Likewise.
25078         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25079         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25080         Remove dependency.
25081         * string/Makefile (o-objects.ob): Remove variable.
25082         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25083         (CFLAGS-.ob): Remove variable.
25084         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25085         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25086         both definitions of variable.
25087         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25088         (ASFLAGS-.ob): Remove variable.
25089
25090 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25091
25092         [BZ #13550]
25093         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25094         Remove __BOUNDED_POINTERS__ from condition.
25095         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25096         * string/bits/string2.h [!__NO_STRING_INLINES &&
25097         !__BOUNDED_POINTERS__]: Likewise.
25098         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25099         Likewise.
25100         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25101         Remove conditional code.
25102         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25103         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25104         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25105         condition.
25106
25107         [BZ #13550]
25108         * csu/libc-start.c: Do not include <bp-sym.h>.
25109         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25110         * elf/dl-open.c: Do not include <bp-sym.h>.
25111         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25112         * math/fegetenv.c: Do not include <bp-sym.h>.
25113         (fegetenv): Do not use BP_SYM in versioned symbols.
25114         * nptl/sysdeps/pthread/bits/libc-lockP.h
25115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25116         <bp-sym.h>.
25117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25118         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25120         (__pthread_mutex_destroy): Likewise.
25121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25122         (__pthread_mutex_lock): Likewise.
25123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25124         (__pthread_mutex_trylock): Likewise.
25125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25126         (__pthread_mutex_unlock): Likewise.
25127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25128         (__pthread_mutexattr_init): Likewise.
25129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25130         (__pthread_mutexattr_destroy): Likewise.
25131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25132         (__pthread_mutexattr_settype): Likewise.
25133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25134         (__pthread_rwlock_init): Likewise.
25135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25136         (__pthread_rwlock_destroy): Likewise.
25137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25138         (__pthread_rwlock_rdlock): Likewise.
25139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25140         (__pthread_rwlock_tryrdlock): Likewise.
25141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25142         (__pthread_rwlock_wrlock): Likewise.
25143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25144         (__pthread_rwlock_trywrlock): Likewise.
25145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25146         (__pthread_rwlock_unlock): Likewise.
25147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25148         (__pthread_key_create): Likewise.
25149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25150         (__pthread_setspecific): Likewise.
25151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25152         (__pthread_getspecific): Likewise.
25153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25154         Likewise.
25155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25156         (_pthread_cleanup_push_defer): Likewise.
25157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25158         (_pthread_cleanup_pop_restore): Likewise.
25159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25160         (pthread_setcancelstate): Likewise.
25161         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25162         <bp-sym.h>.
25163         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25164         (memchr): Do not use BP_SYM in weak_alias.
25165         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25166         (fegetenv): Do not use BP_SYM in versioned symbols.
25167         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25168         (fesetenv): Do not use BP_SYM in versioned symbols.
25169         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25170         (feupdateenv): Do not use BP_SYM in versioned symbols.
25171         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25172         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25173         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25174         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25175         (open64): Do not use BP_SYM in weak_alias.
25176         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25177         (fegetenv): Do not use BP_SYM in versioned symbols.
25178         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25179         (fesetenv): Do not use BP_SYM in versioned symbols.
25180         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25181         (feupdateenv): Do not use BP_SYM in versioned symbols.
25182         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25183         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25184         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25185         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25186         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25187         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25188         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25189         <bp-sym.h>.
25190         (__libc_start_main): Do not use BP_SYM.
25191
25192 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25193
25194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25195         redundant return line.
25196         (norm): Likewise.
25197         (denorm): Likewise.
25198         (dbl_mp): Likewise.
25199         (sub_magnitudes): Likewise.
25200         (__add): Likewise.
25201         (__sub): Likewise.
25202         (__mul): Likewise.
25203         (__inv): Likewise.
25204         (__dvd): Likewise.
25205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25206         (norm): Likewise.
25207         (denorm): Likewise.
25208         (dbl_mp): Likewise.
25209         (sub_magnitudes): Likewise.
25210         (__add): Likewise.
25211         (__sub): Likewise.
25212         (__mul): Likewise.
25213         (__inv): Likewise.
25214         (__dvd): Likewise.
25215
25216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25217         instead of __mul.
25218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25219         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25220         (cc32): Likewise.
25221
25222         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25223         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25225         of __mul for squares.
25226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25227         function
25228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25229         Likewise.
25230         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25231         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25232
25233 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25234
25235         [BZ #13550]
25236         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25237         code.
25238         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25239         prototype or function definition.  Rename ubp_* variables and
25240         parameters.  Remove argv definitions conditional on
25241         [__BOUNDED_POINTERS__].
25242         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25243         * elf/dl-runtime.c (_dl_fixup): Likewise.
25244         * include/set-hooks.h (RUN_HOOK): Likewise.
25245         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25246         definition.
25247         * string/strcpy.c (strcpy): Do not use __unbounded.
25248         * sysdeps/generic/frame.h (struct layout): Likewise.
25249         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25250         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25251         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25252         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25253         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25254         (__backtrace): Likewise.
25255         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25256         use __ptrvalue.
25257         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25258         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25259         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25260         Likewise.
25261         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25262         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25263         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25264         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25265         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25266         Do not use __unbounded.
25267         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25268         Rename __unboundedrlimits parameter to rlimits in prototype.
25269         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25270         Do not use __unbounded.
25271         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25272         not use __ptrvalue.
25273         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25274         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25275         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25276         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25277         __ptrvalue or __unbounded.
25278         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25279         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25280         use __unbounded.
25281         (__new_msgctl): Do not use __ptrvalue.
25282         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25283         __unbounded.
25284         (__libc_msgrcv): Do not use __ptrvalue.
25285         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25286         startup_info): Do not use __unbounded.
25287         (__libc_start_main): Likewise.  Rename ubp_* variables and
25288         parameters.  Remove argv definitions conditional on
25289         [__BOUNDED_POINTERS__].
25290         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25291         __ptrvalue.
25292         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25293         use __unbounded.
25294         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25295         or __ptrvalue.
25296         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25297         use __unbounded.
25298         (__new_shmctl): Do not use __ptrvalue.
25299         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25300         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25301         Likewise.
25302         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25303         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25304         (__libc_sigaction): Likewise.
25305         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25306         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25307         Likewise.
25308         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25309
25310 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25311
25312         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25313
25314         * string/mempcpy.c: Implement by calling memcpy.
25315
25316 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25317
25318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25319
25320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25321         evaluation.
25322
25323         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25324         values in the mantissa.
25325
25326         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25327         minimize writes to Z.
25328         (sub_magnitudes): Simplify code a bit.
25329
25330 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25331
25332         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25333         from the message.  The linker prefixes all warnings with that already.
25334
25335 2013-02-12  Andreas Schwab  <schwab@suse.de>
25336
25337         [BZ #15078]
25338         * posix/regexec.c (extend_buffers): Add parameter min_len.
25339         (check_matching): Pass minimum needed length.
25340         (clean_state_log_if_needed): Likewise.
25341         (get_subexp): Likewise.
25342         * posix/Makefile (tests): Add bug-regex34.
25343         (bug-regex34-ENV): Define.
25344         * posix/bug-regex34.c: New file.
25345
25346         [BZ #11561]
25347         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25348         elements compare against the byte sequence of it, not its name.
25349         * posix/Makefile (tests): Add bug-regex35.
25350         (bug-regex35-ENV): Define.
25351         * posix/bug-regex35.c: New file.
25352
25353 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25354
25355         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25356         comment.
25357         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25358         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25359         (CHECK_EOL): Add undef.
25360
25361 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25362
25363         * bits/stdlib-bsearch.h: New file.
25364         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25365         * stdlib/stdlib.h: Likewise.
25366
25367 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25368
25369         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25370         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25371         declaration.
25372         * manual/search.texi (Array Search Function): Add missing const in
25373         lfind prototype.
25374         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25375         declaration to use rlim_t.
25376         (Basic Scheduling Functions): Remove erroneous const from
25377         sched_getparam prototype.  Remove erroneous * from
25378         sched_get_priority_max and sched_get_priority_min prototypes.
25379         (Resource Usage): Fix summary @comment on vtimes to refer to
25380         sys/vtimes.h rather than vtimes.h.
25381         Add missing *s in vtimes prototype.
25382         (Limits on Resources): Fix ulimit prototype to return long int.
25383         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25384         prototypes to use long int rather than double.
25385         (BSD Random): Fix initstate and setstate to use char *, not void *.
25386         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25387         prototype to make second argument 'struct aiocb64 *const[]'.
25388         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25389         (Status of AIO Operations): Remove erroneous const in aio_return and
25390         aio_return64 prototypes.
25391         (Synchronizing I/O): Fix sync prototype to return void.
25392         * manual/startup.texi (Suboptions): Remove an erroneous const in
25393         getsubopt prototype.
25394         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25395         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25396         use size_t rather than int.
25397         (Scanning All Users): Likewise for getpwent_r.
25398         (Setting Groups): Add missing const to setgroups prototype.
25399         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25400         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25401         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25402         'const void *' rather than 'const char *'.
25403         (Host Address Functions): Likewise for inet_ntop.
25404         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25405         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25406         ssize_t for return value.
25407         (Sending Data): Likewise for send, sendto, sendmsg.
25408         (Socket Option Functions): Add a missing const in setsockopt prototype.
25409         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25410         use wchar_t for the argument.
25411         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25412         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25413         take no arguments.
25414         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25415         double/float/long double for second argument.
25416         Fix return types of significand, significandf, significandl.
25417         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25418         argument in fchmod prototype.
25419         (File Owner): Use uid_t and gid_t in fchown prototype.
25420         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25421         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25422         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25423         use 'const struct dirent **' as argument types to CMP function pointer
25424         argument.
25425         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25426         (File Times): Fix summary magic @comment for struct utimbuf and utime
25427         to refer to utime.h, not time.h.
25428         * manual/string.texi (Argz Functions): Add missing const in
25429         argz_extract and argz_next prototypes.
25430         (Finding Tokens in a String): Likewise for basename.
25431         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25432         (Copying and Concatenation): Fix typo in wmemmove prototype.
25433         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25434         (Signal Stack): Remove erroneous const in sigstack prototype.
25435         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25436         prototype.
25437         (Simple Calendar Time): Likewise for stime.
25438         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25439         prototype.
25440         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25441         say sys/sysctl.h instead.
25442         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25443         and vsyslog prototypes.
25444
25445 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25446
25447         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25448         Remove.
25449
25450 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25451
25452         * misc/sys/mman.h: Fix typo in mremap comment.
25453
25454 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25455
25456         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25457         the '\0' terminator.
25458
25459 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25460
25461         [BZ #13550]
25462         * debug/segfault.c: Don't include <bp-checks.h>.
25463         * sysdeps/generic/bp-checks.h: Remove file.
25464         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25465         (__GETDENTS): Don't use CHECK_N.
25466         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25467         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25468         (__getgroups): Don't use CHECK_N.
25469         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25470         (setgroups): Don't use CHECK_N.
25471         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25472         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25473         (__libc_msgrcv): Don't use CHECK_N.
25474         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25475         (__libc_msgsnd): Don't use CHECK_N.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25477         <bp-checks.h>.
25478         (__libc_pread): Don't use CHECK_N.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25480         include <bp-checks.h>.
25481         (__libc_pread64): Don't use CHECK_N.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25483         include <bp-checks.h>.
25484         (__libc_pwrite): Don't use CHECK_N.
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25486         include <bp-checks.h>.
25487         (__libc_pwrite64): Don't use CHECK_N.
25488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25489         <bp-checks.h>.
25490         (__libc_pread): Don't use CHECK_N.
25491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25492         include <bp-checks.h>.
25493         (__libc_pread64): Don't use CHECK_N.
25494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25495         include <bp-checks.h>.
25496         (__libc_pwrite): Don't use CHECK_N.
25497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25498         include <bp-checks.h>.
25499         (__libc_pwrite64): Don't use CHECK_N.
25500         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25501         (do_pread): Don't use CHECK_N.
25502         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25503         (do_pread64): Don't use CHECK_N.
25504         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25505         (do_pwrite): Don't use CHECK_N.
25506         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25507         (do_pwrite64): Don't use CHECK_N.
25508         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25509         (__libc_readv): Don't use CHECK_N.
25510         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25511         (semop): Don't use CHECK_N.
25512         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25513         <bp-checks.h>.
25514         (semtimedop): Don't use CHECK_N.
25515         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25516         (__libc_pread): Don't use CHECK_N.
25517         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25518         <bp-checks.h>.
25519         (__libc_pread64): Don't use CHECK_N.
25520         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25521         <bp-checks.h>.
25522         (__libc_pwrite): Don't use CHECK_N.
25523         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25524         <bp-checks.h>.
25525         (__libc_pwrite64): Don't use CHECK_N.
25526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25527         <bp-checks.h>.
25528         (__libc_msgrcv): Don't use CHECK_N.
25529         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25530         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25531         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25532         (__libc_writev): Don't use CHECK_N.
25533
25534 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25535
25536         * string/strcpy.c: Removed unused variable.
25537
25538         * Makeconfig (+sysdep-includes): Define with := rather than =.
25539         Use an existing include/ subdir of each sysdeps dir before it.
25540
25541 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25542
25543         * nscd/connection.c (register_traced_file): Comment function.
25544         [HAVE_INOTIFY] (union __inev): Define.
25545         [HAVE_INOTIFY] (inotify_check_files): New function.
25546         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25547         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25548         clear_db_cache.
25549         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25550
25551 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25552
25553         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25554         loaded if not already and that a failure is permanent.
25555
25556 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25557
25558         [BZ #15006]
25559         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25560         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25561
25562 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25563
25564         [BZ #13550]
25565         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25566         (CHECK_1_NULL_OK): Likewise.
25567         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25568         (__fxstat): Do not use CHECK_1.
25569         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25570         <bp-checks.h>.
25571         (___fxstat64): Do not use CHECK_1.
25572         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25573         <bp-checks.h>.
25574         (__fxstatat): Do not use CHECK_1.
25575         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25576         <bp-checks.h>.
25577         (__fxstatat64): Do not use CHECK_1.
25578         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25579         <bp-checks.h>.
25580         (__fxstat): Do not use CHECK_1.
25581         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25582         <bp-checks.h>.
25583         (__fxstatat): Do not use CHECK_1.
25584         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25585         <bp-checks.h>.
25586         (__getresgid): Do not use CHECK_1.
25587         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25588         <bp-checks.h>.
25589         (__getresuid): Do not use CHECK_1.
25590         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25591         <bp-checks.h>.
25592         (__lxstat): Do not use CHECK_1.
25593         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25594         <bp-checks.h>.
25595         (__old_msgctl): Do not use CHECK_1.
25596         (__new_msgctl): Likewise.
25597         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25598         <bp-checks.h>.
25599         (__new_setrlimit): Do not use CHECK_1.
25600         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25601         <bp-checks.h>.
25602         (__old_shmctl): Do not use CHECK_1.
25603         (__new_shmctl): Likewise.
25604         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25605         <bp-checks.h>.
25606         (__xstat): Do not use CHECK_1.
25607         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25608         (__lxstat): Do not use CHECK_1.
25609         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25610         <bp-checks.h>.
25611         (___lxstat64): Do not use CHECK_1.
25612         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25613         (__old_msgctl): Do not use CHECK_1.
25614         (__new_msgctl): Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25616         <bp-checks.h>.
25617         (__gettimeofday): Do not use CHECK_1.
25618         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25619         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25620         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25621         <bp-checks.h>.
25622         (__gettimeofday): Do not use CHECK_1.
25623         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25624         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25625         (__new_shmctl): Do not use CHECK_1.
25626         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25627         <bp-checks.h>.
25628         (do_sigtimedwait): Do not use CHECK_1.
25629         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25630         <bp-checks.h>.
25631         (do_sigwaitinfo): Do not use CHECK_1.
25632         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25633         <bp-checks.h>.
25634         (msgctl): Do not use CHECK_1.
25635         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25636         <bp-checks.h>.
25637         (shmctl): Do not use CHECK_1.
25638         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25639         (ustat): Do not use CHECK_1.
25640         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25641         <bp-checks.h>.
25642         (__fxstat): Do not use CHECK_1.
25643         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25644         <bp-checks.h>.
25645         (__fxstatat): Do not use CHECK_1.
25646         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25647         <bp-checks.h>.
25648         (__lxstat): Do not use CHECK_1.
25649         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25650         <bp-checks.h>.
25651         (__xstat): Do not use CHECK_1.
25652         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25653         (__xstat): Do not use CHECK_1.
25654         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25655         (___xstat64): Do not use CHECK_1.
25656
25657         [BZ #13550]
25658         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25659         definitions.
25660         (CHECK_BOUNDS_HIGH): Likewise.
25661         * string/strcpy.c: Do not include <bp-checks.h>.
25662         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25663
25664 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25665
25666         * nscd/nscd-client.h (__nscd_drop_map_ref):
25667         Add __attribute__ ((unused)).
25668         * nis/nss-nisplus.h (niserr2nss): Likewise.
25669
25670         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25671         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25672
25673         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25674         Remove inline keyword.
25675         * include/rounding-mode.h (round_away): Likewise.
25676         * libio/wfileops.c (adjust_wide_data): Likewise.
25677         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25678         (__m128i_strloadu_tolower): Likewise.
25679         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25680         (__m128i_strloadu_tolower): Likewise.
25681         * time/mktime.c (ydhms_diff): Likewise.
25682         * locale/elem-hash.h (elem_hash): Likewise.
25683         * locale/setlocale.c (setdata): Likewise.
25684         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25685         (re_string_wchar_at): Likewise.
25686         (bitset_not, bitset_merge, bitset_mask): Likewise.
25687         [!(__GNUC__ > 3)] (inline): Remove macro.
25688         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25689         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25690         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25691         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25692         * string/memcmp.c (memcmp_bytes): Likewise.
25693         * locale/programs/locarchive.c (compute_hashval): Likewise.
25694         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25695         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25696         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25697         * nss/getent.c (print_rpc, print_protocols): Likewise.
25698         (print_passwd, print_group, print_aliases): Likewise.
25699         * nis/nss-nisplus.h (niserr2nss): Likewise.
25700         * nscd/connections.c (restart_p): Likewise.
25701         Change return type to bool.
25702
25703 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25704
25705         * Makeconfig (all-Depend-files): Add existing
25706         $(sorted-subdirs:=/Depend) files.
25707         (all-subdirs): Remove nss.
25708         * sysdeps/unix/inet/Subdirs: Add it here instead.
25709         * hesiod/Depend: New file.
25710
25711         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25712         instead of calling alloca.
25713
25714         * io/lseek.c (__lseek): Rename to __libc_lseek.
25715         Define __lseek as an alias.
25716
25717         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25718
25719 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25720
25721         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25722         else clause and remove check for non-standard endianness.
25723
25724 2013-02-04  David S. Miller  <davem@davemloft.net>
25725
25726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25727
25728 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25729
25730         [BZ #13550]
25731         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25732         (__ubp_memchr): Remove prototype.
25733         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25734         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25735         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25736         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25737         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25738         Remove alias.
25739         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25740         (__ubp_memchr): Likewise.
25741         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25742         (__ubp_memchr): Likewise.
25743         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25744         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25745         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25746         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25747         CHECK_STRING.
25748         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25749         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25750         (__getcwd): Do not use CHECK_STRING.
25751         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25752         <bp-checks.h>.
25753         (__real_chown): Do not use CHECK_STRING.
25754         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25755         <bp-checks.h>.
25756         (fchownat): Do not use CHECK_STRING.
25757         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25758         CHECK_STRING.
25759         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25760         <bp-checks.h>.
25761         (__lchown): Do not use CHECK_STRING.
25762         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25763         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25765         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25767         include <bp-checks.h>.
25768         (truncate64): Do not use CHECK_STRING.
25769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25770         <bp-checks.h>.
25771         (__real_chown): Do not use CHECK_STRING.
25772         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25773         <bp-checks.h>.
25774         (__lchown): Do not use CHECK_STRING.
25775         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25776         <bp-checks.h>.
25777         (__chown): Do not use CHECK_STRING.
25778         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25779         <bp-checks.h>.
25780         (truncate64): Do not use CHECK_STRING.
25781         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25782         Likewise.
25783         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25784         (__xmknod): Do not use CHECK_STRING.
25785         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25786         <bp-checks.h>.
25787         (__xmknodat): Do not use CHECK_STRING.
25788         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25789         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25790
25791 2013-02-04  Andreas Schwab  <schwab@suse.de>
25792
25793         [BZ #14142]
25794         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25795         * include/netdb.h: Likewise for h_errno.
25796         * elf/tst-stackguard1.c: Include <tls.h>.
25797
25798 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25799
25800         * elf/link.h (struct link_map): Extend the l_addr comment.
25801         * include/link.h (struct link_map): Likewise.
25802
25803 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25804
25805         [BZ #13550]
25806         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25807         (BOUNDED_1): Remove macro.
25808         * debug/backtrace.c: Don't include <bp-checks.h>.
25809         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25810         (__backtrace): Likewise.
25811         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25812         <bp-checks.h>.
25813         (__backtrace): Don't use BOUNDED_1.
25814         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25815         <bp-checks.h>.
25816         (__backtrace): Don't use BOUNDED_1.
25817         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25818         (__backtrace): Don't use BOUNDED_1.
25819         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25820         (shmat): Don't use BOUNDED_N.
25821
25822 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25823
25824         [BZ #13550]
25825         * sysdeps/generic/bp-start.h: Remove file.
25826         * csu/libc-start.c: Don't include <bp-start.h>.
25827         (LIBC_START_MAIN): Set up __environ directly instead of using
25828         INIT_ARGV_and_ENVIRON.
25829         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25830         <bp-start.h>.
25831
25832         [BZ #13550]
25833         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25834         definitions.
25835         (CHECK_FCNTL): Likewise.
25836         (CHECK_N_PAGES): Likewise.
25837
25838         [BZ #13550]
25839         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25840         definitions.
25841         (CHECK_SIGSET_NULL_OK): Likewise.
25842         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25843         <bp-checks.h>.
25844         (sigpending): Don't use CHECK_SIGSET.
25845         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25846         <bp-checks.h>.
25847         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25848         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25849         <bp-checks.h>.
25850         (do_sigsuspend): Don't use CHECK_SIGSET.
25851         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25852         use CHECK_SIGSET.
25853         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25854         (do_sigwait): Don't use CHECK_SIGSET.
25855         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25856         use CHECK_SIGSET.
25857         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25858         include <bp-checks.h>.
25859         (sigpending): Don't use CHECK_SIGSET.
25860         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25861         include <bp-checks.h>.
25862         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25863         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25864         <bp-checks.h>.
25865         (sigpending): Don't use CHECK_SIGSET.
25866         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25867         <bp-checks.h>.
25868         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25869
25870         [BZ #13550]
25871         * sysdeps/generic/bp-semctl.h: Remove file.
25872         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25873         <bp-checks.h> and <bp-semctl.h>.
25874         (__old_semctl): Don't use CHECK_SEMCTL.
25875         (__new_semctl): Likewise.
25876         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25877         and <bp-semctl.h>.
25878         (__old_semctl): Don't use CHECK_SEMCTL.
25879         (__new_semctl): Likewise.
25880         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25881         <bp-checks.h> and <bp-semctl.h>.
25882         (__old_semctl): Don't use CHECK_SEMCTL.
25883         (__new_semctl): Likewise.
25884         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25885         <bp-checks.h> and <bp-semctl.h>.
25886         (semctl): Don't use CHECK_SEMCTL.
25887
25888         [BZ #13550]
25889         * Makerules (elide-bp-thunks): Remove variable.
25890         (elide-routines.oS): Don't use $(elide-bp-thunks).
25891         (elide-routines.os): Likewise.
25892         (elide-routines.o): Likewise.
25893         (elide-routines.op): Likewise.
25894         (elide-routines.og): Likewise.
25895         (objects): Don't use $(bp-thunks).
25896         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25897         include.
25898         (common-generated): Do not add s-proto-bp.d.
25899         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25900         (int): Likewise.
25901         (typ): Likewise.
25902         Do not generate makefile rules for bounded-pointer thunks.
25903         * sysdeps/generic/bp-thunks.h: Remove file.
25904         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25905         * sysdeps/unix/s-proto-bp.S: Likewise.
25906
25907         [BZ #15062]
25908         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25909         parts of result separately when argument is not close to line from
25910         -i to i and one part of argument is small.
25911         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25912         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25913         * math/libm-test.inc (cacos_test): Add more tests.
25914         (casin_test): Likewise.
25915         (casinh_test): Likewise.
25916         * sysdeps/i386/fpu/libm-test-ulps: Update.
25917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25918
25919 2013-01-31  David S. Miller  <davem@davemloft.net>
25920
25921         * po/de.po: Update from translation team.
25922
25923 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25924
25925         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25926
25927 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25928
25929         * configure.in (_AC_PROG_CC_C89): New definition.
25930         * configure: Regenerate.
25931
25932         * configure.in (AC_PROG_CPP): New definition.
25933         * configure: Regenerate.
25934
25935 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25936
25937         * debug/tst-backtrace.h: New file.
25938         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25939         (ret): Remove variable.
25940         (x): Likewise.
25941         (FAIL): Remove macro.
25942         (NO_INLINE): Likewise.
25943         (fn1): Use match function instead of strstr.
25944         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25945         (ret): Remove variable.
25946         (x): Likewise.
25947         (FAIL): Remove macro.
25948         (NO_INLINE): Likewise.
25949         (fn): Use match function instead of strstr.
25950         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25951         (ret): Remove variable.
25952         (x): Likewise.
25953         (FAIL): Remove macro.
25954         (NO_INLINE): Likewise.
25955         (handle_signal): Use match function instead of strstr.
25956         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25957         (ret): Remove variable.
25958         (x): Likewise.
25959         (FAIL): Remove macro.
25960         (NO_INLINE): Likewise.
25961         (handle_signal): Use match function instead of strstr.
25962
25963 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25964
25965         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25966
25967 2013-01-23  David S. Miller  <davem@davemloft.net>
25968
25969         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25970         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25971         argument of CAS if possible.
25972         * sysdeps/sparc/sparc64/bits/atomic.h
25973         (__arch_compare_and_exchange_val_32_acq): Likewise.
25974         (__arch_compare_and_exchange_val_64_acq): Likewise.
25975
25976 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25977
25978         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25979         * sysdeps/posix/ulimit.c: ... this.
25980         Include <limits.h>.
25981         * sysdeps/unix/bsd/ulimit.c: Remove file.
25982
25983 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25984
25985         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25986         (LDFLAGS-tst-array5): Likewise.
25987
25988 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25989
25990         [BZ #15036]
25991         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25992         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25993         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25995
25996 2013-01-21  David S. Miller  <davem@davemloft.net>
25997
25998         * sysdeps/sparc/backtrace.c: New file.
25999         * sysdeps/sparc/sparc32/backtrace.h: New file.
26000         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26001         * sysdeps/sparc/sparc64/backtrace.h: New file.
26002         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26003         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26004         -funwind-tables.
26005
26006 2013-01-21  Andreas Schwab  <schwab@suse.de>
26007
26008         [BZ #15020]
26009         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26010         closed its stdout.
26011
26012 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26013
26014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26015         "mpa2.h".
26016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26017
26018 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26019             Mark Mitchell  <mark@codesourcery.com>
26020             Tom de Vries  <tom@codesourcery.com>
26021             Paul Pluzhnikov  <ppluzhnikov@google.com>
26022
26023         * debug/tst-backtrace2.c: New file.
26024         * debug/tst-backtrace3.c: Likewise.
26025         * debug/tst-backtrace4.c: Likewise.
26026         * debug/tst-backtrace5.c: Likewise.
26027         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26028         (CFLAGS-tst-backtrace3.c): Likewise.
26029         (CFLAGS-tst-backtrace4.c): Likewise.
26030         (CFLAGS-tst-backtrace5.c): Likewise.
26031         (LDFLAGS-tst-backtrace2): Likewise.
26032         (LDFLAGS-tst-backtrace3): Likewise.
26033         (LDFLAGS-tst-backtrace4): Likewise.
26034         (LDFLAGS-tst-backtrace5): Likewise.
26035         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26036         tst-backtrace4 and tst-backtrace5.
26037
26038 2013-01-18  Anton Blanchard  <anton@samba.org>
26039             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26040
26041         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26042         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26043         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26044         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26046         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26047         "+r" and remove output regs list as redundant.  Add explicit inline
26048         asm to specify register of return val to work around compiler codegen
26049         bug.  Remove (int) cast on return value.  Add return type parameter to
26050         use in macro so that this macro does not truncate return value for
26051         64-bit values.
26052         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26053         pass to INTERNAL_VSYSCALL_NCS.
26054         (INLINE_VSYSCALL): Add 'long int' as return type to
26055         INTERNAL_VSYSCALL_NCS macro invocation.
26056         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26057         INTERNAL_VSYSCALL_NCS macro invocation.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26059
26060 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26061
26062         [BZ #14496]
26063         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26064         Fix application of SIMD FP exception mask.
26065
26066         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26067         mp_no from a power of two.
26068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26069         __mpexp_twomm1.  Use __pow_mp.
26070
26071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26072         multiplication.
26073
26074 2013-01-17  David S. Miller  <davem@davemloft.net>
26075
26076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26077
26078 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26079
26080         [BZ #15023]
26081         * include/complex.h: Condition contents on [!_COMPLEX_H].
26082         (__kernel_casinhf): New prototype.
26083         (__kernel_casinh): Likewise.
26084         (__kernel_casinhl): Likewise.
26085         * math/Makefile (libm_calls): Add k_casinh.
26086         * math/k_casinh.c: New file.
26087         * math/k_casinhf.c: Likewise.
26088         * math/k_casinhl.c: Likewise.
26089         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26090         finite nonzero arguments.
26091         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26092         finite nonzero arguments.
26093         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26094         finite nonzero arguments.
26095         * math/s_casinh.c: Do not include <float.h>.
26096         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26097         * math/s_casinhf.c: Do not include <float.h>.
26098         (__casinhf): Move code for finite nonzero arguments to
26099         k_casinhf.c.
26100         * math/s_casinhl.c: Do not include <float.h>.
26101         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26102         redefine.
26103         (__casinhl): Move code for finite nonzero arguments to
26104         k_casinhl.c.
26105         * math/libm-test.inc (cacos_test): Add more tests.
26106         * sysdeps/i386/fpu/libm-test-ulps: Update.
26107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26108
26109 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26110
26111         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26112         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26113         [!HAVE_MREMAP]: Remove [defined linux] case.
26114         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26115
26116 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117
26118         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26119
26120 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26121
26122         * elf/elf.h (R_386_SIZE32): New relocation.
26123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26124         R_386_SIZE32.
26125         (elf_machine_rela): Likewise.
26126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26127         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26128
26129 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26130
26131         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26132         (FP_FAST_FMA): Do not define.
26133         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26134         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26135         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26136         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26137         !_SOFT_FLOAT]: Likewise.
26138         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26139         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26140         value.
26141         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26142         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26144         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26145         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26146         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26147         file.
26148
26149 2013-01-16  Andreas Schwab  <schwab@suse.de>
26150
26151         [BZ #14327]
26152         * include/stdlib.h (__mktemp): Add declaration.
26153         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26154         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26155
26156 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26157
26158         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26159         definitions.
26160         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26161         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26162         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26163         definitions here.
26164         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26165         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26166         definitions.
26167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26168         and ONE.
26169         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26170         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26171         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26172         definitions.
26173         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26174         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26175         definitions.
26176         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26177
26178         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26179
26180 2013-01-15  David S. Miller  <davem@davemloft.net>
26181
26182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26183         trunc{,f} to libm-sysdep_routes.
26184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26186         file.
26187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26189         file.
26190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26191         file.
26192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26195         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26197         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26198         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26199         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26200
26201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26202         nearbyint{,f} to libm-sysdep_routes.
26203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26205         New file.
26206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26207         file.
26208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26209         New file.
26210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26211         file.
26212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26214         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26215         file.
26216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26217         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26218         file.
26219         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26220         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26221         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26222
26223         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26224         libc_feholdexcept and libc_fesetenv.
26225
26226 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26227
26228         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26229
26230 2013-01-14  David S. Miller  <davem@davemloft.net>
26231
26232         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26233         (SPARC_ASM_VIS2_IFUNC): Likewise.
26234         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26236         use of 'siam' instruction.
26237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26238         Likewise.
26239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26240         Likewise.
26241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26242         Likewise.
26243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26248         file.
26249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26250         file.
26251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26252         file.
26253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26254         file.
26255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26260         new VIS2 routines.
26261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26264         Likewise.
26265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26270         routines to libm-sysdep_routines.
26271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26272
26273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26274         fdim/fdimf to libm-sysdep_routines.
26275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26276         file.
26277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26279         file.
26280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26283         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26284         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26285         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26286         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26287
26288 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289
26290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26291         to optimize copies.
26292
26293         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26296
26297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26298         local variable MPTWO.
26299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26300         Likewise.
26301
26302 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26303
26304         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26305         GLOB_NOESCAPE.
26306
26307 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26308
26309         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26310
26311 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26312
26313         * manual/pattern.texi (glob_t): Document gl_flags.
26314         (glob64_t): Likewise.
26315
26316 2013-01-11  David S. Miller  <davem@davemloft.net>
26317
26318         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26319         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26320         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26321         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26322         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26323         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26324         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26325         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26326         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26327         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26328         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26329         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26330         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26331
26332         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26333         sparc V9 rather than using V8 code.
26334         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26335         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26336
26337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26338         Move to...
26339         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26340         Here.
26341
26342 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26343
26344         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26345         not in the main loop.
26346         * configure: Regenerated.
26347
26348 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26349
26350         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26351         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26352         to just #else.
26353         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26354         [!__GLIBC_HAVE_LONG_LONG] case.
26355         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26356         condition to just #else.
26357         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26358         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26359         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26360         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26361         unconditional.
26362         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26363         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26364         #elif condition to just #else.
26365         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26366         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26367         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26368         #elif condition to just #else.
26369
26370 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26371
26372         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26373         (EF_MIPS_ARCH_64): Fix value.
26374         (EF_MIPS_ARCH_32R2): New.
26375         (EF_MIPS_ARCH_64R2): New.
26376
26377 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26378
26379         * Makeconfig (+link-pie-before-libc): New.
26380         (+link-pie-after-libc): Likewise.
26381         (+link-pie-tests): Likewise.
26382         (+link-pie): Rewritten.
26383         (link-before-libc): Remove $(config-LDFLAGS).
26384         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26385         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26386         (config-LDFLAGS): Renamed to ...
26387         (rtld-LDFLAGS): This.
26388         (rtld-tests-LDFLAGS): New macro.
26389         (link-libc-rpath-link): Likewise.
26390         (link-libc-tests-rpath-link): Likewise.
26391         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26392         (link-libc): Prepand $(link-libc-rpath-link).
26393         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26394         (test-program-prefix): New macro.
26395         (test-via-rtld-prefix): Likewise.
26396         (test-program-cmd): Likewise.
26397         (host-test-program-cmd): Likewise.
26398         * Makefile ($(common-objpfx)testrun.sh): Replace
26399         $(run-program-prefix) with $(test-program-prefix).
26400         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26401         $(rtld-LDFLAGS).
26402         ($(common-objpfx)shlib.lds): Likewise.
26403         (build-module-helper): Likewise.
26404         ($(common-objpfx)format.lds): Likewise.
26405         * Rules (binaries-pie-tests): New.
26406         (binaries-pie-notests): Likewise.
26407         (binaries-pie): Rewritten.
26408         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26409         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26410         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26411         (make-test-out): Replace $(host-built-program-cmd) with
26412         $(host-test-program-cmd).
26413         * config.make.in (build-hardcoded-path-in-tests): New variable.
26414         * configure.in (--enable-hardcoded-path-in-tests): New configure
26415         option.
26416         (hardcoded_path_in_tests): New AC_SUBST.
26417         * configure: Regenerated.
26418         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26419         $(built-program-cmd) with $(test-program-cmd).
26420         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26421         (test_program_cmd): This.
26422         * elf/Makefile ($(objpfx)order.out): Run test with
26423         $(test-program-prefix).
26424         ($(objpfx)order2.out): Likewise.
26425         ($(objpfx)tst-initorder.out): Likewise.
26426         ($(objpfx)tst-initorder2.out): Likewise.
26427         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26428         $(test-program-cmd).
26429         ($(objpfx)tst-array1-static.out): Likewise.
26430         ($(objpfx)tst-array2.out): Likewise.
26431         ($(objpfx)tst-array3.out): Likewise.
26432         ($(objpfx)tst-array4.out): Likewise.
26433         ($(objpfx)tst-array5.out): Likewise.
26434         ($(objpfx)tst-array5-static.out): Likewise.
26435         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26436         $(test-program-cmd).
26437         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26438         $(run-program-prefix) with $(test-program-prefix).
26439         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26440         (test_program_prefix): This.
26441         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26442         $(run-program-prefix) with $(test-program-prefix).
26443         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26444         (test_program_prefix): This.
26445         * iconvdata/tst-tables.sh: Likewise.
26446         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26447         $(run-program-prefix) with $(test-program-prefix).
26448         ($(objpfx)tst-translit.out): Likewise.
26449         ($(objpfx)tst-gettext2.out): Likewise.
26450         ($(objpfx)tst-gettext4.out): Likewise.
26451         ($(objpfx)tst-gettext6.out): Likewise.
26452         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26453         (test_program_prefix): This.
26454         * intl/tst-gettext2.sh: Likewise.
26455         * intl/tst-gettext4.sh  Likewise.
26456         * intl/tst-gettext6.sh: Likewise.
26457         * intl/tst-translit.sh: Likewise.
26458         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26459         with $(test-program-cmd).
26460         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26461         $(run-program-prefix) with $(test-program-prefix).
26462         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26463         (test_program_prefix): This.
26464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26465         $(run-program-prefix) with $(test-program-prefix).
26466         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26467         (test_program_prefix): This.
26468         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26469         * posix/Makefile ($(objpfx)globtest.out): Replace
26470         $(run-via-rtld-prefix) and $(test-wrapper) with
26471         $(test-program-prefix) and $(test-via-rtld-prefix).
26472         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26473         $(test-program-prefix).
26474         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26475         $(host-test-program-cmd).
26476         (tst-spawn-ARGS): Likewise.
26477         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26478         $(test-program-prefix).
26479         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26480         (test_via_rtld_prefix): This.
26481         (test_wrapper): Renamed to ...
26482         (test_program_prefix): This.
26483         (run_program_prefix): Replaced by test_program_prefix.
26484         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26485         (test_program_prefix): This.
26486         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26487         with $(host-test-program-cmd).
26488         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26489         $(run-program-prefix) with $(test-program-prefix).
26490         ($(objpfx)tst-printf.out): Likewise.
26491         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26492         $(test-program-cmd).
26493         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26494         (test_program_prefix): This.
26495         * stdio-common/tst-unbputc.sh: Likewise.
26496         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26497         $(run-program-prefix) with $(test-program-prefix).
26498         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26499         (test_program_prefix): This.
26500         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26501         $(built-program-cmd) with $(test-program-cmd).
26502
26503 2013-01-11  Andreas Jaeger  <aj@suse.de>
26504
26505         [BZ #15003]
26506         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26507         value. Sync with Linux 3.7.
26508
26509 2013-01-10  David S. Miller  <davem@davemloft.net>
26510
26511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26512         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26513         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26514
26515 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26516
26517         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26518         never set.
26519         * configure: Regenerated.
26520
26521 2013-01-10  David S. Miller  <davem@davemloft.net>
26522
26523         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26524         sparc V9 rather than using V8 code.
26525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26527
26528 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26529
26530         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26531         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26532         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26533         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26534         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26535         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26536         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26537         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26538         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26539         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26540         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26541         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26542         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26543         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26544         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26545         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26546         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26547         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26548         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26549         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26550         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26551         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26552         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26553         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26554         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26555         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26556         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26557
26558 2013-01-10  David S. Miller  <davem@davemloft.net>
26559
26560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26561
26562 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26563
26564         * posix/Makefile (tests-static): New variable.
26565         (tests): Add $(tests-static).
26566         (tst-exec-static-ARGS): New variable.
26567         (tst-spawn-static-ARGS): Likewise.
26568         * posix/tst-exec-static.c: New file.
26569         * posix/tst-spawn-static.c: Likewise.
26570         * posix/tst-exec.c: Support run directly.
26571         * posix/tst-spawn.c: Likewise.
26572
26573 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26574
26575         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26576         long.
26577         * math/bits/mathcalls.h (llrint): Likewise.
26578         (llround): Likewise.
26579         * stdlib/stdlib.h (struct drand48_data): Likewise.
26580         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26581         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26582         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26583         Likewise.
26584         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26585         Likewise.
26586         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26587         (elf_greg_t): Likewise.
26588         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26589         (__jmp_buf): Likewise.
26590         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26591         definitions.
26592         (llrint): Likewise, for all definitions.
26593         (llrintl): Likewise.
26594
26595         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26596         Remove [__GNUC__] condition.
26597         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26598         condition to just [__USE_ISOC99].
26599         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26600
26601 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26602
26603         [BZ #14200]
26604         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26605         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26606         defined.
26607         (_POSIX_V6_ILP32_OFF32): Likewise.
26608         (_XBS5_ILP32_OFF32): Likewise.
26609         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26610         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26611
26612 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26613
26614         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26615
26616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26617         doubles __mpexp_twomm1.  Adjust usage.
26618         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26619         Remove.
26620
26621 2013-01-10  Andreas Schwab  <schwab@suse.de>
26622
26623         [BZ #14964]
26624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26625         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26626
26627 2013-01-09  David S. Miller  <davem@davemloft.net>
26628
26629         [BZ #15003]
26630         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26631         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26632         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26633         (TCP_FASTOPEN): Define.
26634         (tcp_repair_opt): New structure.
26635         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26636         enum values.
26637         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26638         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26639         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26640         (tcp_cookie_transactions): New structure.
26641
26642 2013-01-09  Anton Blanchard  <anton@samba.org>
26643
26644         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26645         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26648
26649 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26650
26651         * include/features.h (__USE_ANSI): Remove.
26652
26653 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26654
26655         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26656
26657         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26658
26659 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26660
26661         * sysdeps/s390/fpu/libm-test-ulps: Update.
26662
26663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26664
26665         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26666         (__acr): Likewise.
26667         (__cpy): Likewise.
26668         (norm): Likewise.
26669         (denorm): Likewise.
26670         (__mp_dbl): Likewise.
26671         (__dbl_mp): Likewise.
26672         (add_magnitudes): Likewise.
26673         (sub_magnitudes): Likewise.
26674         (__add): Likewise.
26675         (__sub): Likewise.
26676         (__mul): Likewise.
26677         (__inv): Likewise.
26678         (__dvd): Likewise.
26679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26680         (__acr): Likewise.
26681         (__cpy): Likewise.
26682         (norm): Likewise.
26683         (denorm): Likewise.
26684         (__mp_dbl): Likewise.
26685         (__dbl_mp): Likewise.
26686         (add_magnitudes): Likewise.
26687         (sub_magnitudes): Likewise.
26688         (__add): Likewise.
26689         (__sub): Likewise.
26690         (__mul): Likewise.
26691         (__inv): Likewise.
26692         (__dvd): Likewise.
26693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26694         (__acr): Likewise.
26695         (__cpy): Likewise.
26696         (norm): Likewise.
26697         (denorm): Likewise.
26698         (__mp_dbl): Likewise.
26699         (__dbl_mp): Likewise.
26700         (add_magnitudes): Likewise.
26701         (sub_magnitudes): Likewise.
26702         (__add): Likewise.
26703         (__sub): Likewise.
26704         (__mul): Likewise.
26705         (__inv): Likewise.
26706         (__dvd): Likewise.
26707
26708 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26709
26710         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26711         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26712         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26713         2 && __USE_EXTERN_INLINES]: Likewise.
26714
26715 2013-01-08  Andreas Jaeger  <aj@suse.de>
26716
26717         [BZ# 14985]
26718         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26719         Remove.
26720         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26721         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26722
26723 2013-01-07  Anton Blanchard  <anton@samba.org>
26724
26725         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26726         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26727         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26729         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26731         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26732         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26735         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26736         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26743         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26746         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26749         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26754         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26755         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26757         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26758         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26765         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26767         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26768
26769 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26770
26771         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26772         (__MALLOC_PMT): Likewise.
26773         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26774         [__GNUC__], only on [_LIBC].
26775         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26776         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26777         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26778         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26779         forward declaration.
26780         (realloc_hook_ini): Likewise.
26781         (memalign_hook_ini): Likewise.
26782         (__libc_memalign): Do not use __MALLOC_PMT in variable
26783         declaration.
26784         (__libc_valloc): Likewise.
26785         (__libc_pvalloc): Likewise.
26786         (__libc_calloc): Likewise.
26787         (__posix_memalign): Likewise.
26788
26789         [BZ #14996]
26790         * math/s_casinh.c: Include <float.h>.
26791         (__casinh): Do not do computation with squaring and square root
26792         for large arguments.
26793         * math/s_casinhf.c: Include <float.h>.
26794         (__casinhf): Do not do computation with squaring and square root
26795         for large arguments.
26796         * math/s_casinhl.c: Include <float.h>.
26797         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26798         (__casinhl): Do not do computation with squaring and square root
26799         for large arguments.
26800         * math/libm-test.inc (casin_test): Add more tests.
26801         (casinh_test): Likewise.
26802         * sysdeps/i386/fpu/libm-test-ulps: Update.
26803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
26805 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26806
26807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26808         (__x86_64_raw_data_cache_size): Likewise.
26809         (__x86_64_data_cache_size_half): Likewise.
26810         (__x86_64_raw_data_cache_size_half): Likewise.
26811         (__x86_64_shared_cache_size): Likewise.
26812         (__x86_64_raw_shared_cache_size): Likewise.
26813         (__x86_64_shared_cache_size_half): Likewise.
26814         (__x86_64_raw_shared_cache_size_half): Likewise.
26815         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26816         to ...
26817         (__x86_data_cache_size): This.
26818         (__x86_64_raw_data_cache_size): Renamed to ...
26819         (__x86_raw_data_cache_size): This.
26820         (__x86_64_data_cache_size_half): Renamed to ...
26821         (__x86_data_cache_size_half): This.
26822         (__x86_64_raw_data_cache_size_half): Renamed to ...
26823         (__x86_raw_data_cache_size_half): This.
26824         (__x86_64_shared_cache_size): Renamed to ...
26825         (__x86_shared_cache_size): This.
26826         (__x86_64_raw_shared_cache_size): Renamed to ...
26827         (__x86_raw_shared_cache_size): This.
26828         (__x86_64_shared_cache_size_half): Renamed to ...
26829         (__x86_shared_cache_size_half): This.
26830         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26831         (__x86_raw_shared_cache_size_half): This.
26832         * sysdeps/x86_64/memcpy.S: Updated.
26833         * sysdeps/x86_64/memset.S: Likewise.
26834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26836         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26837
26838 2013-01-04  David S. Miller  <davem@davemloft.net>
26839
26840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26841
26842 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26843
26844         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26845         1 to avoid redefinition warning.
26846         (__USE_GNU): Don't define.
26847         (init_signaling_nan): Protoize.
26848
26849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26850
26851 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26852
26853         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26855         (__cpymn): Likewise.
26856         (norm): Remove commented code.
26857         (denorm): Likewise.
26858         (__mp_dbl): Likewise.
26859         (__inv): Likewise.
26860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26861         (__cpymn): Likewise.
26862         (norm): Remove commented code.
26863         (denorm): Likewise.
26864         (__mp_dbl): Likewise.
26865         (__inv): Likewise.
26866
26867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26868         mp_no value for 1.0 and 2.0.
26869         (norm): Use RADIXI instead of radixi.d.
26870         (denorm): Likewise.
26871         (__mul): Use 0.0 instead of zero.d.
26872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26873         mp_no value for 1.0 and 2.0.
26874         (norm): Use RADIXI instead of radixi.d.
26875         (denorm): Likewise.
26876         (__mul): Use 0.0 instead of zero.d.
26877
26878 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26879
26880         [BZ #14994]
26881         * math/s_casinh.c (__casinh): Reduce finite argument to first
26882         quadrant then set signs of results at the end.
26883         * math/s_casinhf.c (__casinhf): Likewise.
26884         * math/s_casinhl.c (__casinhl): Likewise.
26885         * math/libm-test.inc (casin_test): Add more tests.
26886         (casinh_test): Likewise.
26887         * sysdeps/i386/fpu/libm-test-ulps: Update.
26888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26889
26890 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26891
26892         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26893
26894         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26895
26896         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26897         declarations.
26898         (denorm): Likewise.
26899         (__mp_dbl): Likewise.
26900         (__inv): Likewise.
26901
26902         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26903         and adjust the header comment.
26904
26905         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26906         variable name from declaration.
26907
26908 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26909
26910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26911         Initialize COMMON_CPUID_INDEX_7 element.
26912         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26913         (CPUID_RTM): Likewise.
26914         (HAS_RTM): Likewise.
26915         (COMMON_CPUID_INDEX_7): New enum.
26916
26917 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26918
26919         [BZ #14981]
26920         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26921         size is zero, record memory as freed.
26922
26923 2013-01-03  Andreas Jaeger  <aj@suse.de>
26924
26925         * po/ia.po: Add new Interlingua translation.
26926
26927 2012-01-03  Allan McRae  <allan@archlinux.org>
26928
26929         * locale/programs/localedef.c: Fix description of '--posix' flag.
26930
26931 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26932
26933         * NEWS: Update dates in second copyright notice.
26934         * README: Update copyright dates in example.
26935         * manual/libc.texinfo: Update copyright dates.
26936         * scripts/test-installation.pl: Update copyright date in --version
26937         output.
26938
26939         * hurd/ctty-input.c: Fix copyright notice formatting.
26940         * hurd/ctty-output.c: Likewise.
26941         * hurd/dtable.c: Likewise.
26942         * hurd/hurd-raise.c: Likewise.
26943         * hurd/hurdprio.c: Likewise.
26944         * hurd/msgportdemux.c: Likewise.
26945         * misc/sys/file.h: Likewise.
26946         * misc/sys/ioctl.h: Likewise.
26947         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26948         * sysdeps/mach/hurd/chdir.c: Likewise.
26949         * sysdeps/mach/hurd/fchdir.c: Likewise.
26950         * sysdeps/mach/hurd/rename.c: Likewise.
26951         * sysdeps/mach/hurd/rmdir.c: Likewise.
26952         * sysdeps/mach/hurd/seekdir.c: Likewise.
26953         * sysdeps/mach/hurd/setsid.c: Likewise.
26954         * sysdeps/posix/wait3.c: Likewise.
26955
26956         * All files with FSF copyright notices: Update copyright dates
26957         using scripts/update-copyrights.
26958         * intl/plural.c: Regenerated.
26959         * locale/programs/charmap-kw.h: Likewise.
26960         * locale/programs/locfile-kw.h: Likewise.
26961
26962 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26963
26964         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26965         four values.
26966
26967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26968         calculation loop and add branch prediction.
26969
26970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26971         check access beyond bounds of m1np.
26972
26973         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26974         MPTWO.
26975         (__inv): Remove local variable MPTWO to use the global
26976         constant.
26977         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26979         variable MPTWO.
26980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26981         MP3HALFS static const.
26982
26983 2013-01-01  David S. Miller  <davem@davemloft.net>
26984
26985         * po/ca.po: Update from translation team.
26986
26987 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26988
26989         * scripts/update-copyrights: New file.
26990         * Makeconfig: Reformat copyright notice.
26991         * ctype/ctype.h: Likewise.
26992         * debug/swprintf_chk.c: Likewise.
26993         * elf/dl-cache.c: Likewise.
26994         * elf/dl-debug.c: Likewise.
26995         * elf/dl-object.c: Likewise.
26996         * grp/initgroups.c: Likewise.
26997         * hurd/Makefile: Likewise.
26998         * hurd/hurd/signal.h: Likewise.
26999         * hurd/hurdfault.c: Likewise.
27000         * hurd/hurdioctl.c: Likewise.
27001         * hurd/hurdlookup.c: Likewise.
27002         * hurd/intr-msg.c: Likewise.
27003         * iconv/gconv_open.c: Likewise.
27004         * libio/swprintf.c: Likewise.
27005         * locale/lc-ctype.c: Likewise.
27006         * locale/nl_langinfo.c: Likewise.
27007         * mach/Machrules: Likewise.
27008         * mach/Makefile: Likewise.
27009         * malloc/obstack.h: Likewise.
27010         * manual/Makefile: Likewise.
27011         * manual/tsort.awk: Likewise.
27012         * misc/bits/stab.def: Likewise.
27013         * nis/nis_print_group_entry.c: Likewise.
27014         * nis/nis_table.c: Likewise.
27015         * nis/nss_compat/compat-pwd.c: Likewise.
27016         * nis/nss_compat/compat-spwd.c: Likewise.
27017         * po/Makefile: Likewise.
27018         * posix/fnmatch.c: Likewise.
27019         * posix/regex.h: Likewise.
27020         * resolv/Makefile: Likewise.
27021         * resolv/nss_dns/dns-network.c: Likewise.
27022         * resolv/res_hconf.c: Likewise.
27023         * scripts/gen-sorted.awk: Likewise.
27024         * soft-fp/soft-fp.h: Likewise.
27025         * stdio-common/printf.h: Likewise.
27026         * stdlib/monetary.h: Likewise.
27027         * stdlib/random.c: Likewise.
27028         * stdlib/random_r.c: Likewise.
27029         * sysdeps/generic/Makefile: Likewise.
27030         * sysdeps/gnu/Makefile: Likewise.
27031         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27033         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27036         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27041         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27042         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27043         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27044         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27045         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27046         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27051         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27052         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27053         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27054         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27055         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27056         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27059         * sysdeps/mach/hurd/errnos.awk: Likewise.
27060         * sysdeps/mach/hurd/fork.c: Likewise.
27061         * sysdeps/mach/hurd/getcwd.c: Likewise.
27062         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27063         * sysdeps/mach/hurd/mmap.c: Likewise.
27064         * sysdeps/mach/hurd/utimes.c: Likewise.
27065         * sysdeps/mach/hurd/xmknod.c: Likewise.
27066         * sysdeps/posix/profil.c: Likewise.
27067         * sysdeps/posix/readdir_r.c: Likewise.
27068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27069         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27070         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27071         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27073         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27079         * sysdeps/pthread/lio_listio.c: Likewise.
27080         * sysdeps/sparc/dl-procinfo.h: Likewise.
27081         * sysdeps/unix/i386/sysdep.S: Likewise.
27082         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27083         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27084         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27085         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27087         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27088         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27089         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27090         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27091         * sysdeps/wordsize-32/divdi3.c: Likewise.
27092         * time/sys/time.h: Likewise.
27093         * wcsmbs/Makefile: Likewise.
27094
27095 2013-01-01  David S. Miller  <davem@davemloft.net>
27096
27097         * po/fr.po: Update from translation team.
27098
27099         * catgets/gencat.c: Update copyright year.
27100         * csu/version.c: Likewise.
27101         * debug/catchsegv.sh: Likewise.
27102         * debug/pcprofiledump.c: Likewise.
27103         * debug/xtrace.sh: Likewise.
27104         * elf/ldconfig.c: Likewise.
27105         * elf/ldd.bash.in: Likewise.
27106         * elf/pldd.c: Likewise.
27107         * elf/sotruss.ksh: Likewise.
27108         * elf/sprof.c: Likewise.
27109         * iconv/iconv_prog.c: Likewise.
27110         * iconv/iconvconfig.c: Likewise.
27111         * locale/programs/locale.c: Likewise.
27112         * locale/programs/localedef.c: Likewise.
27113         * login/programs/pt_chown.c: Likewise.
27114         * malloc/memusage.sh: Likewise.
27115         * malloc/memusagestat.c: Likewise.
27116         * malloc/mtrace.pl: Likewise.
27117         * nscd/nscd.c: Likewise.
27118         * nss/getent.c: Likewise.
27119         * nss/makedb.c: Likewise.
27120         * posix/getconf.c: Likewise.
27121
27122 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27123
27124         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27125         numbers.
27126
27127 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27128
27129         * math/bits/mathcalls.h (modf): Use __nonnull.
27130
27131 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27132
27133         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27134         (split): Use macro CN instead of the bare value.
27135         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27136         could be used.
27137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27138         instead of the bare value.
27139         (power1): Likewise.
27140
27141 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27142
27143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27144         __ATAN_TWOM.
27145         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27146
27147         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27148         their values.
27149         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27150         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27151         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27152         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27153
27154 2012-12-28  Andreas Jaeger  <aj@suse.de>
27155
27156         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27157         values are from Linux 3.7.
27158
27159         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27160         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27161
27162 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27163
27164         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27165         TRUE case.
27166
27167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27168         (norm): Likewise.
27169         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27170         variables with preprocessor constants.
27171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27172         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27174
27175 2012-12-27  Bruno Haible  <bruno@clisp.org>
27176
27177         [BZ #14317]
27178         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27179         only if needed.
27180
27181 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27182
27183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27184         and use variable directly.
27185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27186
27187         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27188         MPONE.
27189         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27191         variable MPONE.
27192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27195         include directive.  Remove local variable MPONE.
27196         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27199
27200 2012-12-25  David S. Miller  <davem@davemloft.net>
27201
27202         * version.h (RELEASE): Set to "development".
27203         (VERSION): Set to "2.17.90".
27204         * NEWS: Add 2.18 section.
27205
27206 2012-12-21  David S. Miller  <davem@davemloft.net>
27207
27208         * po/hr.po: Update from translation team.
27209
27210 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27211
27212         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27213
27214 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27215
27216         * NEWS:  Mention new memcpy for MIPS.
27217
27218 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27219
27220         * manual/contrib.texi (Contributors): Spelling correction.
27221
27222 2012-12-15  David S. Miller  <davem@davemloft.net>
27223
27224         * po/ru.po: Update from translation team.
27225
27226 2012-12-13  David S. Miller  <davem@davemloft.net>
27227
27228         * NEWS: Mention IFUNC testsuite enhancements.
27229
27230         * po/pl.po: Update from translation team.
27231         * po/bg.po: Likewise.
27232
27233         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27234         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27235
27236 2012-12-11  David S. Miller  <davem@davemloft.net>
27237
27238         * po/sv.po: Update from translation team.
27239
27240         * po/vi.po: Update from translation team.
27241
27242         * po/cs.po: Update from translation team.
27243
27244         * po/de.po: Update from translation team.
27245         * po/eo.po: Likewise.
27246         * po/nl.po: Likewise.
27247
27248 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27249
27250         [BZ #14246]
27251         * manual/argp.texi (Argp Helper Functions): Move node to follow
27252         Argp Parsing State.
27253
27254         [BZ #14872]
27255         * manual/conf.texi (Limits on File System Capacity): Mention if
27256         terminating null is included in the max size.
27257
27258 2012-12-10  Andreas Jaeger  <aj@suse.de>
27259
27260         * po/cs.po: Update from translation team.
27261
27262 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27263
27264         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27265         void pointer and cast to uintptr_t.
27266         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27267         path.
27268         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27269         * sysdeps/s390/s390-64/memset.S: Likewise.
27270
27271 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27272
27273         [BZ #14833]
27274         * menual/message.texi (Message Translation): Fix typos.
27275         (Helper programs for gettext): Likewise.
27276
27277 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27278
27279         [BZ #14898]
27280         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27281         Change to -1.
27282
27283 2012-12-07  David S. Miller  <davem@davemloft.net>
27284
27285         * po/libc.pot: Update.
27286
27287 2012-12-07  Richard Henderson  <rth@redhat.com>
27288
27289         [BZ #10114]
27290         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27291         normal/normal case to before the switch.
27292         (_FP_DIV): Likewise.
27293
27294 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27295             Mike Frysinger  <vapier@gentoo.org>
27296
27297         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27298         check for __NR_fadvise64_64.
27299
27300 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27301
27302         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27303         0, not just to plain "0" as a statement.
27304         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27305         with cw.
27306
27307 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27308
27309         * NEWS: Use sourceware.org in Bugzilla URL.
27310
27311 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27312
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27314         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27315
27316         * stdio-common/tst-put-error.c (do_test): Add newline to the
27317         padded test to ensure flush.
27318
27319 2012-12-05  Jeff Law  <law@redhat.com>
27320
27321         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27322
27323 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27324
27325         * README: Don't refer to ports add-on as distributed separately.
27326         Mention AArch64 in list of systems supported in the ports add-on.
27327
27328         * LICENSES: Add more non-FSF copyright and license notices.
27329
27330         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27331         ((unused)).
27332
27333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27334
27335         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27336         10000 as width of padded output.
27337
27338 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27339
27340         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27341
27342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27343         variable LX with __attribute__ ((unused)).
27344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27345         Likewise.
27346         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27349         with __attribute__ ((unused)).
27350
27351 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27352
27353         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27354
27355 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27356
27357         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27358         (CFLAGS-nldbl-acos.c): New variable.
27359         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27360         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27361         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27362         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27363         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27364         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27365         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27366         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27367         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27368         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27369         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27370         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27371         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27372         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27373         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27374         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27375         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27376         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27377         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27378         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27379         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27380         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27381         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27382         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27383         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27384         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27385         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27386         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27387         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27388         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27389         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27390         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27391         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27392         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27393         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27394         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27395         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27396         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27397         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27398         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27399         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27400         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27401         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27402         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27403         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27404         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27405         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27406         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27407         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27408         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27409         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27410         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27411         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27412         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27413         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27414         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27415         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27416         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27417         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27418         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27419         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27420         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27421         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27422         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27423         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27424         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27425         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27426         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27427         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27428         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27429         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27430         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27431         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27432         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27433         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27434         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27435         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27436         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27437         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27438         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27439         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27440         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27441         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27442         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27443         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27444         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27445         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27446         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27447         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27448         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27449         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27450         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27451         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27452         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27453         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27454         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27455         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27456
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27458         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27459
27460         [BZ #14914]
27461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27462         whole low double instead of just low 47 bits when splitting values
27463         into two parts.
27464
27465 2012-12-03  Allan McRae  <allan@archlinux.org>
27466
27467         * manual/stdio.texi (Predefined Printf Handlers): Remove
27468         @hsep and @vsep usage.
27469
27470 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27471
27472         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27473         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27474
27475 2012-12-03  Jeff Law  <law@redhat.com>
27476
27477         * time/sys/time.h (settimeofday): Do not mark TV argument
27478         as __nonnull.
27479
27480 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27481
27482         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27483         when currently writing and seek to current position when not.
27484         * libio/Makefile (tests): Remove bug-fclose1.
27485         * libio/bug-fclose1.c: Delete.
27486
27487 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27488
27489         * manual/arith.texi (feenableexcept): Fix typo.
27490         (fedisableexcept): Likewise.
27491
27492 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27493
27494         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27495         second, differently-typed declaration, rather than a cast.
27496
27497 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27498
27499         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27500         * include/rpc/svc.h: ... here.
27501
27502 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27503
27504         [BZ #13013]
27505         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27506         depending n and resplen2 to catch cases where answer
27507         equals answerp2.
27508
27509 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27510
27511         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27512         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27513
27514 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27515
27516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27517
27518 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27519
27520         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27521
27522 2012-11-28  Jeff Law  <law@redhat.com>
27523
27524         [BZ #13761]
27525         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27526         dataset_temporary.  Track alloca usage into alloca_used.
27527         If dataset is large allocate and release it via malloc/free.
27528
27529 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27530
27531         [BZ #14197]
27532         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27533
27534 2012-11-28  David S. Miller  <davem@davemloft.net>
27535
27536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27537
27538 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27539
27540         [BZ #14803]
27541         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27542         of pi/2 rounded to nearest to 64 bits.
27543         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27544         nearest to 64 bits.
27545         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27546         bits.
27547
27548 2012-11-28  Jeff Law <law@redhat.com>
27549             Martin Osvald <mosvald@redhat.com>
27550
27551         [BZ #14889]
27552         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27553         * sunrpc/svc.c: Include time.h.
27554         (__svc_accept_failed): New function.
27555         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27556         any reason other than EINTR, call __svc_accept_failed.
27557         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27558         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27559
27560 2012-11-28  Andreas Schwab  <schwab@suse.de>
27561
27562         * scripts/abilist.awk: Also handle indirect functions in .opd
27563         section.
27564
27565 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27566
27567         [BZ #13881]
27568         * sysdeps/x86/fpu/powl_helper.c: New file.
27569         * sysdeps/x86/fpu/Makefile: Likewise.
27570         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27571         (p3): New object.
27572         (__ieee754_powl): Use __powl_helper for finite arguments except
27573         integer exponents below 8.
27574         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27575         (p3): New object.
27576         (__ieee754_powl): Use __powl_helper for finite arguments except
27577         integer exponents below 8.
27578         * math/libm-test.inc (pow_test): Add more tests and enable some
27579         previously disabled tests.
27580         * sysdeps/i386/fpu/libm-test-ulps: Update.
27581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27582
27583 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27584             Carlos O'Donell  <carlos_odonell@mentor.com>
27585
27586         * nss/makedb.c (is_prime): Assert that input is odd and greater
27587         than 4.  Note that fact in a comment too.
27588         (next_prime): Add 4 to input.
27589
27590 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27591
27592         [BZ #11741]
27593         * libio/Makefile (tests): Add test case tst-fwrite-error.
27594         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27595         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27596         * libio/tst-fwrite-error.c: New test case.
27597
27598 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27599
27600         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27601         before casting to void *.
27602         * include/libc-internal.h (__pointer_type): New macro.
27603         (__integer_if_pointer_type_sub): Likewise.
27604         (__integer_if_pointer_type): Likewise.
27605         (cast_to_integer): Likewise.
27606         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27607         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27608         before casting to atomic64_t.
27609         (atomic_exchange_acq): Likewise.
27610         (__arch_exchange_and_add_body): Likewise.
27611         (__arch_add_body): Likewise.
27612         (atomic_add_negative): Likewise.
27613         (atomic_add_zero): Likewise.
27614
27615 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27616
27617         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27618         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27619         (add_fdes): Likewise.
27620         (linear_search_fdes): Likewise.
27621         (binary_search_unencoded_fdes): Likewise.
27622
27623 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27624
27625         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27626
27627 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27628
27629         * configure.in: Autodetect C++ header directories.
27630         * configure: Regenerated.
27631
27632 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27633
27634         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27635
27636 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27637
27638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27639
27640 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27641
27642         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27643         LDBL_MANT_DIG == 106]: Disable some tests.
27644         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27645         Likewise.
27646         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27647         Likewise.
27648
27649         [BZ #14871]
27650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27651         input for small inputs.  Return +/- pi/2 for large inputs.
27652         * math/libm-test.inc (atan_test): Add more tests.
27653
27654         * sysdeps/generic/unwind-dw2-fde-glibc.c
27655         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27656         __attribute__ ((unused)).
27657
27658         [BZ #14645]
27659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27660         x * y if x and y are nonzero and z is zero.
27661
27662         [BZ #14811]
27663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27664         nonzero exponents with absolute value below 0x1p-117 to +/-
27665         0x1p-117.
27666
27667         [BZ #14869]
27668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27669         up arguments below 2**-450, not just those below 2**-500.
27670         * math/libm-test.inc (hypot_test): Add another test.
27671
27672         [BZ #14868]
27673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27674         Return a+b for ratio over 2**120, not 2**60.
27675         * math/libm-test.inc (hypot_test): Add another test.
27676
27677         * math/libm-test.inc (clog_test): Use
27678         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27679         (clog10_test): Likewise.
27680
27681         [BZ #6778]
27682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27683
27684 2012-11-22  Andreas Schwab  <schwab@suse.de>
27685
27686         * sysdeps/i386/fpu/libm-test-ulps: Update.
27687
27688 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27689
27690         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27691         printf output with newline.
27692
27693 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27694
27695         [BZ #14865]
27696         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27697         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27698         -z nodlopen, -z initfirst and -z execstack support.
27699         * configure: Regenerated.
27700
27701         * elf/elf.h (DF_1_NODIRECT): New macro.
27702         (DF_1_IGNMULDEF): Likewise.
27703         (DF_1_NOKSYMS): Likewise.
27704         (DF_1_NOHDR): Likewise.
27705         (DF_1_EDITED): Likewise.
27706         (DF_1_NORELOC): Likewise.
27707         (DF_1_SYMINTPOSE): Likewise.
27708         (DF_1_GLOBAUDIT): Likewise.
27709         (DF_1_SINGLETON): Likewise.
27710         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27711         DT_1_SUPPORTED_MASK bits.
27712         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27713
27714 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27715
27716         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27717
27718 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27719
27720         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27721         macro.
27722
27723         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27724         (sendmmsg): Move declarations...
27725         * socket/sys/socket.h: ... here.
27726         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27727         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27728         include it from...
27729         * socket/recvmmsg.c: ... this new file.
27730         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27731         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27732         definition of __sendmmsg hidden.
27733         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27734         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27735         Move ENOSYS stub into and include it from...
27736         * socket/sendmmsg.c: ... this new file.
27737         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27738         (sysdep_routines): Move recvmmsg and sendmmsg...
27739         * socket/Makefile (routines): ... here.
27740         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27741         (GLIBC_PRIVATE): Add __sendmmsg.
27742         * include/sys/socket.h (__sendmmsg): Add declarations.
27743         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27744         sendmmsg.
27745
27746 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27747
27748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27749         variable I1 with __attribute__ ((unused)).
27750         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27751
27752 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27753
27754         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27755         DUMMY variables with __attribute__ ((unused)).
27756
27757         * bits/byteswap.h: Include <bits/types.h>.
27758         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27759
27760 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27761
27762         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27763         string_t.  Do not manually set errno.
27764         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27765         length with __strnlen.  Make sure to both set errno and return it on
27766         failure.
27767
27768 2012-11-19  David S. Miller  <davem@davemloft.net>
27769
27770         With help from Joseph Myers.
27771         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27772         very large arguments properly.
27773         * math/libm-test.inc (atan_test): New tests.
27774         (atan2_test): New tests.
27775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27777
27778 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27779
27780         [BZ #14856]
27781         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27782         Define to 3.
27783
27784         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27785         [POSIX] (EADDRNOTAVAIL): Likewise.
27786         [POSIX] (EAFNOSUPPORT): Likewise.
27787         [POSIX] (EALREADY): Likewise.
27788         [POSIX] (ECONNABORTED): Likewise.
27789         [POSIX] (ECONNREFUSED): Likewise.
27790         [POSIX] (ECONNRESET): Likewise.
27791         [POSIX] (EDESTADDRREQ): Likewise.
27792         [POSIX] (EDQUOT): Likewise.
27793         [POSIX] (EHOSTUNREACH): Likewise.
27794         [POSIX] (EIDRM): Likewise.
27795         [POSIX] (EISCONN): Likewise.
27796         [POSIX] (ELOOP): Likewise.
27797         [POSIX] (EMULTIHOP): Likewise.
27798         [POSIX] (ENETDOWN): Likewise.
27799         [POSIX] (ENETUNREACH): Likewise.
27800         [POSIX] (ENOBUFS): Likewise.
27801         [POSIX] (ENODATA): Likewise.
27802         [POSIX] (ENOLINK): Likewise.
27803         [POSIX] (ENOMSG): Likewise.
27804         [POSIX] (ENOPROTOOPT): Likewise.
27805         [POSIX] (ENOSR): Likewise.
27806         [POSIX] (ENOSTR): Likewise.
27807         [POSIX] (ENOTCONN): Likewise.
27808         [POSIX] (ENOTSOCK): Likewise.
27809         [POSIX] (EOPNOTSUPP): Likewise.
27810         [POSIX] (EOVERFLOW): Likewise.
27811         [POSIX] (EPROTO): Likewise.
27812         [POSIX] (EPROTONOSUPPORT): Likewise.
27813         [POSIX] (EPROTOTYPE): Likewise.
27814         [POSIX] (ESTALE): Likewise.
27815         [POSIX] (ETIME): Likewise.
27816         [POSIX] (ETXTBSY): Likewise.
27817         [POSIX] (EWOULDBLOCK): Likewise.
27818         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27819         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27820         [POSIX] (SEEK_CUR): Likewise.
27821         [POSIX] (SEEK_END): Likewise.
27822         [POSIX || UNIX98] (mode_t): Do not require.
27823         [POSIX] (off_t): Likewise.
27824         [POSIX] (pid_t): Likewise.
27825         [POSIX] (sys/stat.h): Do not allow header.
27826         [POSIX] (unistd.h): Likewise.
27827         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27828         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27829         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27830         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27831         require.
27832         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27833         sigevent): Specify elements.
27834         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27835         entry.
27836         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27837         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27838
27839         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27840         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27841         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27842         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27843         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27844         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27845         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27846         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27847         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27849         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27850         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27851         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27853         Likewise.
27854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27855         Likewise.
27856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27857         Likewise.
27858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27859         Likewise.
27860         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27862         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27864         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27865         Specify lower bound on value.
27866         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27867         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27868         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27869         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27870         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27871         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27872         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27873         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27874         value.
27875         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27876         as optional.
27877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27878         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27879         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27880         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27881         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27882         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27883         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27884         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27885         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27886         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27887         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27888         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27889         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27890         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27891         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27892         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27893         entry.
27894         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27895         optional.
27896         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27897         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27898         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27899         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27900         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27901         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27902         Likewise.
27903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27904         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27905         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27906         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27907         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27908         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27910         as optional.
27911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27914         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27915         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27916         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27917         specify as optional.
27918         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27919         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27921         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27922         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27923         [XPG3] (NL_LANGMAX): Likewise.
27924         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27925         [POSIX || XPG3] (NL_NMAX): Likewise.
27926         [POSIX || XPG3] (NL_SETMAX): Likewise.
27927         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27928         [XPG3] (NZERO): Likewise.
27929         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27930         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27931         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27932         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27933         (REG_ERANGE): Expect.
27934         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27935         optional-constant.
27936         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27937         Use (void) in prototype.
27938         [POSIX] (*_t): Allow.
27939         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27940         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27941         (WRDE_BADVAL): Expect.
27942
27943         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27944         expect.
27945         [XPG3 || XPG4] (O_RSYNC): Likewise.
27946         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27947         Likewise.
27948         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27949         [XPG3 || XPG4] (sigqueue): Likewise.
27950         [XPG3 || XPG4] (sigtimedwait): Likewise.
27951         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27952         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27953         [XPG3 || XPG4] (vsnprintf): Likewise.
27954         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27955         Likewise.
27956         [XPG3 || XPG4] (blksize_t): Likewise.
27957         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27958         Likewise.
27959         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27960         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27961         [XPG3 || XPG4] (struct itimerspec): Likewise.
27962         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27963         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27964         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27965         [XPG3 || XPG4] (clockid_t): Likewise.
27966         [XPG3 || XPG4] (timer_t): Likewise.
27967         [XPG3 || XPG4] (clock_getres): Likewise.
27968         [XPG3 || XPG4] (clock_gettime): Likewise.
27969         [XPG3 || XPG4] (clock_settime): Likewise.
27970         [XPG3 || XPG4] (nanosleep): Likewise.
27971         [XPG3 || XPG4] (timer_create): Likewise.
27972         [XPG3 || XPG4] (timer_delete): Likewise.
27973         [XPG3 || XPG4] (timer_gettime): Likewise.
27974         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27975         [XPG3 || XPG4] (timer_settime): Likewise.
27976         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27977         [XPG3 || XPG4] (getlogin_r): Likewise.
27978         [XPG3 || XPG4] (pread): Likewise.
27979         [XPG3 || XPG4] (pthread_atfork): Likewise.
27980         [XPG3 || XPG4] (pwrite): Likewise.
27981
27982         [BZ #14835]
27983         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27984         <bits/siginfo.h>.
27985
27986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27987
27988         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27989         finalizing MALLSTREAM.
27990
27991         * sysdeps/mach/hurd/syncfs.c: New file.
27992
27993 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27994
27995         [BZ #14719]
27996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27997         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27999         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28000         (_nss_dns_gethostbyname4_r): Likewise.
28001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28002         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28003
28004 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28005
28006         [BZ #13763]
28007         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28008
28009 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28010
28011         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28012         * elf/cache.c (print_entry): Print ",AArch64" for
28013         FLAG_AARCH64_LIB64
28014
28015         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28016         * elf/cache.c (print_entry): Print ",hard-float" for
28017         FLAG_ARM_LIBHF.
28018
28019 2012-11-18  David S. Miller  <davem@davemloft.net>
28020
28021         With help from Joseph Myers.
28022         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28023         cutoff to 2**-13.
28024         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28025         cutoff to 2**-25.
28026         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28027         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28028         small.
28029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28030         * math/libm-test.inc (y0_test): New tests.
28031         (y1_test): New tests.
28032         * sysdeps/i386/fpu/libm-test-ulps: Update.
28033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28035
28036 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28037
28038         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28039         64-bit targets.
28040         * configure: Regenerated.
28041
28042 2012-11-17  David S. Miller  <davem@davemloft.net>
28043
28044         [BZ #14811]
28045         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28046         nonzero exponents with absolute value below 0x1p-128 to +/-
28047         0x1p-128.
28048
28049 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28050
28051         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28052
28053         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28054
28055         * posix/getconf-speclist.c: New file.
28056         * posix/posix-envs.def: Likewise.
28057         * posix/confstr.c (START_ENV_GROUP): New macro.
28058         (END_ENV_GROUP): Likewise.
28059         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28060         (KNOWN_PRESENT_ENV_STRING): Likewise.
28061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28062         (UNKNOWN_ENVIRONMENT): Likewise.
28063         (confstr): Include posix-envs.def instead of handling
28064         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28065         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28066         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28067         (END_ENV_GROUP): Likewise.
28068         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28069         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28070         (UNKNOWN_ENVIRONMENT): Likewise.
28071         (__sysconf): Include posix-envs.def instead of handling associated
28072         cases directly here.
28073         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28074         preprocessing getconf-speclist.c rather than running getconf or
28075         generating empty file.
28076
28077 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28078
28079         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28080
28081 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28082
28083         [BZ #14672]
28084         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28085
28086 2012-11-16  David S. Miller  <davem@davemloft.net>
28087
28088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28089         smaller than LDBL_EPSILON/2.0L, just return xm1.
28090
28091 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28092
28093         * elf/tst-array1.c (init): Set constructor priority to 1000.
28094         (fini): Set destructor priority to 1000.
28095         * elf/tst-array2dep.c: Likewise.
28096
28097 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28098
28099         [BZ #11741]
28100         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28101         (_IO_new_file_xsputn): Also return EOF if none of the input
28102         data was written when overflow failed.
28103         * libio/iopadn.c (_IO_padn): Likewise.
28104         * libio/iowpadn.c (_IO_wpadn): Likewise.
28105         * stdio-common/tst-put-error.c: Add copyright notice.
28106         (do_test): Add case for printing padded string.
28107         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28108         _IO_padn returned error.
28109         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28110         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28111         return EOF.
28112
28113 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28114
28115         * libio/libioP.h: Add comment note that the references to C++
28116         bits are now obsolete.
28117
28118 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28119
28120         * math/libm-test.inc (check_complex): Use asprintf.
28121
28122 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28123
28124         * debug/pcprofiledump.c (print_version): Update copyright year.
28125         * malloc/memusagestat.c (print_version): Likewise.
28126
28127 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28128
28129         [BZ #14831]
28130         * elf/Makefile (tests): Add tst-audit8.
28131         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28132         ($(objpfx)tst-audit8.out): New target.
28133         (tst-audit8-ENV): New variable.
28134         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28135         audit if l_reloc_result is NULL.
28136         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28137         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28138         * elf/tst-audit8.c: New file.
28139
28140 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28141
28142         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28143         * misc/Makefile (CFLAGS-select.c): Define.
28144         * posix/Makefile (CFLAGS-pause.c): Define.
28145
28146 2012-11-13  David S. Miller  <davem@davemloft.net>
28147
28148         * crypt/Makefile: Move test targets after toplevel Rules
28149         inclusion.  Grab any necessary sysdep routines when linking.
28150         * crypt/md5.c (md5_process_block): Remove define, we will always
28151         name it __md5_process_block.
28152         (md5_finish_ctx): Update md5_process_block call.
28153         (md5_stream): Likewise.
28154         (md5_process_bytes): Likewise.
28155         (md5_process_block): Rename to __md5_process_block and move to ...
28156         * crypt/md5-block.c: ... here.
28157         * crypt/sha256.c (sha256_process_block): Move to ...
28158         * crypt/sha256-block.c: ... here.
28159         * crypt/sha512.c (sha512_process_block): Move to ...
28160         * crypt/sha512-block.c: ... here.
28161         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28162         path.
28163         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28164         * sysdeps/sparc/sparc64/multiarch/Makefile
28165         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28166         crypt subdir.
28167         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28169         multiarch changes.
28170         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28171         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28172         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28173         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28174         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28175         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28176         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28177         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28178         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28179         file.
28180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28182         file.
28183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28184
28185 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28186
28187         * timezone/tzselect.ksh: Update from tzcode git revision
28188         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28189         * timezone/zdump.c: Likewise.
28190         * timezone/zic.c: Likewise.
28191         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28192         in TZVERSION setting, not $(PKGVERSION).
28193         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28194         REPORT_BUGS_TO settings.
28195
28196         [BZ #14838]
28197         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28198         macro.
28199
28200 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28201
28202         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28203         detection to immediately after _FP_ROUND().
28204         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28205         bits are 0.
28206
28207 2012-11-11  David S. Miller  <davem@davemloft.net>
28208
28209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28210         inttypes.h
28211         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28212         __close rather than their public counterparts.
28213
28214 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28215
28216         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28217         file.
28218         [UNIX98] (sem_timedwait): Do not expect.
28219         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28220         [XPG4 || UNIX98] (sockatmark): Do not expect.
28221         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28222         (clock_getcpuclockid): Do not expect.
28223         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28224         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28225         Do not expect.
28226         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28227         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28228         [UNIX98] (vwscanf): Likewise.
28229         [UNIX98] (vswscanf): Likewise.
28230
28231 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28232
28233         * timezone/version.h: Remove file.
28234         * timezone/README: Do not refer to version.h.
28235         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28236         $(objpfx)version.h.
28237         ($(objpfx)zdump.o): Likewise.
28238         ($(objpfx)version.h): New target.
28239
28240         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28241         2012i.
28242         * timezone/README: Don't mention modification to tzselect.ksh.
28243         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28244         work on unmodified tzselect.ksh.  Substitute version numbers in
28245         tzselect.ksh.
28246
28247         * Makefile (format-me): Remove.
28248         (INSTALL): Adjust indentation.  Use commands directly instead of
28249         using $(format-me).
28250
28251         * aclocal.m4 (ACX_PKGVERSION): New macro.
28252         (ACX_BUGURL): Likewise.
28253         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28254         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28255         (REPORT_BUGS_TO): Likewise.
28256         * configure: Regenerated.
28257         * config.h.in (PKGVERSION): New macro.
28258         (REPORT_BUGS_TO): Likewise.
28259         * config.make.in (PKGVERSION): New variable.
28260         (PKGVERSION_TEXI): Likewise.
28261         (REPORT_BUGS_TO): Likewise.
28262         (REPORT_BUGS_TEXI): Likewise.
28263         * Makefile (format-me): Use -I$(common-objpfx)manual.
28264         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28265         ($(common-objpfx)manual/%): New target.
28266         (manual/%): Remove target.
28267         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28268         (print_version): Use PKGVERSION.
28269         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28270         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28271         and REPORT_BUGS_TO.
28272         ($(objpfx)xtrace): Likewise.
28273         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28274         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28275         (print_version): Use PKGVERSION.
28276         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28277         (do_version): Use PKGVERSION.
28278         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28279         REPORT_BUGS_TO.
28280         (common-ldd-rewrite): Likewise.
28281         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28282         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28283         (print_version): Use PKGVERSION.
28284         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28285         * elf/pldd.c (argp_program_bug_address): Remove variable.
28286         (more_help): New function.
28287         (argp): Use more_help.
28288         (print_version): Use PKGVERSION.
28289         * elf/sln.c (main): Use PKGVERSION.
28290         (usage): Use REPORT_BUGS_TO.
28291         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28292         (top level): Use PKGVERSION.
28293         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28294         (print_version): Use PKGVERSION.
28295         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28296         (print_version): Use PKGVERSION.
28297         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28298         (print_version): Use PKGVERSION.
28299         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28300         (print_version): Use PKGVERSION.
28301         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28302         (print_version): Use PKGVERSION.
28303         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28304         (print_version): Use PKGVERSION.
28305         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28306         and BUGURL.
28307         ($(objpfx)memusage): Likewise.
28308         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28309         (do_version): Use PKGVERSION.
28310         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28311         (print_version): Use PKGVERSION.
28312         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28313         ($PKGVERSION): New variable.
28314         ($REPORT_BUGS_TO): Likewise.
28315         (usage): Use $REPORT_BUGS_TO.
28316         (top level): Use $PKGVERSION.
28317         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28318         ($(objpfx)pkgvers.texi): New rule.
28319         ($(objpfx)stamp-pkgvers): Likewise.
28320         * manual/install.texi: Include pkgvers.texi.
28321         (--with-pkgversion): Document new configure option.
28322         (--with-bugurl): Likewise.
28323         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28324         than necessarily for this particular distribution.  Use
28325         REPORT_BUGS_TO for where to report bugs.
28326         * INSTALL: Regenerated.
28327         * manual/libc.texinfo: Include pkgvers.texi.
28328         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28329         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28330         (print_version): Use PKGVERSION.
28331         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28332         (print_version): Use PKGVERSION.
28333         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28334         (print_version): Use PKGVERSION.
28335         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28336         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28337         macro.
28338         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28339         (print_version): Use PKGVERSION.
28340         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28341         (print_version): Use PKGVERSION.
28342         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28343         and PKGVERSION.
28344
28345         * timezone/checktab.awk: Update from tzcode 2012i.
28346         * timezone/ialloc.c: Likewise.
28347         * timezone/private.h: Likewise.
28348         * timezone/scheck.c: Likewise.
28349         * timezone/tzfile.h: Likewise.
28350         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28351         (TZVERSION): Hardcode tzcode version number.
28352         * timezone/zdump.c: Update from tzcode 2012i.
28353         * timezone/zic.c: Likewise.
28354         * timezone/version.h: New file.
28355         * timezone/README: Describe version.h.  Update upstream location.
28356
28357         [BZ #14824]
28358         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28359         (mktemp): Enable declaration.
28360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28364         Likewise.
28365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28366         Likewise.
28367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28368         Likewise.
28369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28370         Likewise.
28371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28372         Likewise.
28373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28374         Likewise.
28375
28376         [BZ #14821]
28377         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28378         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28379         for copies of such integer values.
28380         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28381         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28382
28383 2012-11-09  Andreas Jaeger  <aj@suse.de>
28384
28385         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28386         definitions and declarations that are provided by
28387         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28388
28389 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28390
28391         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28392         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28393         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28394         definition.
28395
28396 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28397
28398         * elf/elf.h: Update comment before AArch64 relocations.
28399
28400 2012-11-07  David S. Miller  <davem@davemloft.net>
28401
28402         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28403         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28404         (__start_context): Declare.
28405         (__makecontext_ret): Delete.
28406         (__makecontext): Hook up __start_context instead of
28407         __makecontext_ret.
28408         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28409         (sysdep_routines): Add __start_context when in stdlib.
28410
28411 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28412
28413         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28414         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28415         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28416         hardcoded "nm".
28417         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28418         (READELF): New variable.  Use it instead of hardcoded "readelf".
28419
28420 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28421
28422         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28423         * sysdeps/x86/Makefile: Here.
28424         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28425         * sysdeps/x86/tst-xmmymm.sh: This.
28426
28427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28428
28429         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28430         expectations.
28431         [UNIX98] (pthread_barrier_t): Do not expect.
28432         [UNIX98] (pthread_barrierattr_t): Likewise.
28433         [UNIX98] (pthread_spinlock_t): Likewise.
28434         [UNIX98] (pthread_barrier_destroy): Likewise.
28435         [UNIX98] (pthread_barrier_init): Likewise.
28436         [UNIX98] (pthread_barrier_wait): Likewise.
28437         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28438         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28439         [UNIX98] (pthread_barrierattr_init): Likewise.
28440         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28441         [UNIX98] (pthread_getcpuclockid): Likewise.
28442         [UNIX98] (pthread_mutex_timedlock): Likewise.
28443         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28444         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28445         [UNIX98] (pthread_sigmask): Likewise.
28446         [UNIX98] (pthread_spin_destroy): Likewise.
28447         [UNIX98] (pthread_spin_init): Likewise.
28448         [UNIX98] (pthread_spin_lock): Likewise.
28449         [UNIX98] (pthread_spin_trylock): Likewise.
28450         [UNIX98] (pthread_spin_unlock): Likewise.
28451         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28452         Do not expect.
28453         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28454         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28455         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28456         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28457         [XPG3 || XPG4] (pthread_key_t): Likewise.
28458         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28459         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28460         [XPG3 || XPG4] (pthread_once_t): Likewise.
28461         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28462         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28463         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28464         [XPG3 || XPG4] (pthread_t): Likewise.
28465
28466         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28467         not expect.
28468         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28469
28470         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28471         Change function return type to int.
28472
28473         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28474         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28475         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28476         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28477         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28478         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28479         [!POSIX] (posix_madvise): Likewise.
28480         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28481         && !UNIX98].
28482         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28483         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28484         (mode_t): Likewise.
28485         (posix_mem_offset): Likewise.
28486         (posix_typed_mem_get_info): Likewise.
28487         (posix_typed_mem_open): Likewise.
28488
28489         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28490         Change condition to [XOPEN2K8].
28491
28492         * conform/conformtest.pl: Preprocess allow-header data with -x c
28493         instead of from stdin.
28494         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28495         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28496         [C99-based standards] (cerfc): Likewise.
28497         [C99-based standards] (cexp2): Likewise.
28498         [C99-based standards] (cexpm1): Likewise.
28499         [C99-based standards] (clog10): Likewise.
28500         [C99-based standards] (clog1p): Likewise.
28501         [C99-based standards] (clog2): Likewise.
28502         [C99-based standards] (clgamma): Likewise.
28503         [C99-based standards] (ctgamma): Likewise.
28504         [C99-based standards] (cerff): Likewise.
28505         [C99-based standards] (cerfcf): Likewise.
28506         [C99-based standards] (cexp2f): Likewise.
28507         [C99-based standards] (cexpm1f): Likewise.
28508         [C99-based standards] (clog10f): Likewise.
28509         [C99-based standards] (clog1pf): Likewise.
28510         [C99-based standards] (clog2f): Likewise.
28511         [C99-based standards] (clgammaf): Likewise.
28512         [C99-based standards] (ctgammaf): Likewise.
28513         [C99-based standards] (cerfl): Likewise.
28514         [C99-based standards] (cerfcl): Likewise.
28515         [C99-based standards] (cexp2l): Likewise.
28516         [C99-based standards] (cexpm1l): Likewise.
28517         [C99-based standards] (clog10l): Likewise.
28518         [C99-based standards] (clog1pl): Likewise.
28519         [C99-based standards] (clog2l): Likewise.
28520         [C99-based standards] (clgammal): Likewise.
28521         [C99-based standards] (ctgammal): Likewise.
28522         * conform/data/inttypes.h-data [C99-based standards]: Include
28523         stdint.h-data.  Remove all expectations for stdint.h contents.
28524         [C99-based standards] (PRI*): Do not allow.
28525         [C99-based standards] (SCN*): Likewise.
28526         [C99-based standards] (*_t): Likewise.
28527         [C99-based-standards] (PRId8): Expect macro.
28528         [C99-based-standards] (PRIi8): Likewise.
28529         [C99-based-standards] (PRIo8): Likewise.
28530         [C99-based-standards] (PRIu8): Likewise.
28531         [C99-based-standards] (PRIx8): Likewise.
28532         [C99-based-standards] (PRIX8): Likewise.
28533         [C99-based-standards] (SCNd8): Likewise.
28534         [C99-based-standards] (SCNi8): Likewise.
28535         [C99-based-standards] (SCNo8): Likewise.
28536         [C99-based-standards] (SCNu8): Likewise.
28537         [C99-based-standards] (SCNx8): Likewise.
28538         [C99-based-standards] (PRIdLEAST8): Likewise.
28539         [C99-based-standards] (PRIiLEAST8): Likewise.
28540         [C99-based-standards] (PRIoLEAST8): Likewise.
28541         [C99-based-standards] (PRIuLEAST8): Likewise.
28542         [C99-based-standards] (PRIxLEAST8): Likewise.
28543         [C99-based-standards] (PRIXLEAST8): Likewise.
28544         [C99-based-standards] (SCNdLEAST8): Likewise.
28545         [C99-based-standards] (SCNiLEAST8): Likewise.
28546         [C99-based-standards] (SCNoLEAST8): Likewise.
28547         [C99-based-standards] (SCNuLEAST8): Likewise.
28548         [C99-based-standards] (SCNxLEAST8): Likewise.
28549         [C99-based-standards] (PRIdFAST8): Likewise.
28550         [C99-based-standards] (PRIiFAST8): Likewise.
28551         [C99-based-standards] (PRIoFAST8): Likewise.
28552         [C99-based-standards] (PRIuFAST8): Likewise.
28553         [C99-based-standards] (PRIxFAST8): Likewise.
28554         [C99-based-standards] (PRIXFAST8): Likewise.
28555         [C99-based-standards] (SCNdFAST8): Likewise.
28556         [C99-based-standards] (SCNiFAST8): Likewise.
28557         [C99-based-standards] (SCNoFAST8): Likewise.
28558         [C99-based-standards] (SCNuFAST8): Likewise.
28559         [C99-based-standards] (SCNxFAST8): Likewise.
28560         [C99-based-standards] (PRId16): Likewise.
28561         [C99-based-standards] (PRIi16): Likewise.
28562         [C99-based-standards] (PRIo16): Likewise.
28563         [C99-based-standards] (PRIu16): Likewise.
28564         [C99-based-standards] (PRIx16): Likewise.
28565         [C99-based-standards] (PRIX16): Likewise.
28566         [C99-based-standards] (SCNd16): Likewise.
28567         [C99-based-standards] (SCNi16): Likewise.
28568         [C99-based-standards] (SCNo16): Likewise.
28569         [C99-based-standards] (SCNu16): Likewise.
28570         [C99-based-standards] (SCNx16): Likewise.
28571         [C99-based-standards] (PRIdLEAST16): Likewise.
28572         [C99-based-standards] (PRIiLEAST16): Likewise.
28573         [C99-based-standards] (PRIoLEAST16): Likewise.
28574         [C99-based-standards] (PRIuLEAST16): Likewise.
28575         [C99-based-standards] (PRIxLEAST16): Likewise.
28576         [C99-based-standards] (PRIXLEAST16): Likewise.
28577         [C99-based-standards] (SCNdLEAST16): Likewise.
28578         [C99-based-standards] (SCNiLEAST16): Likewise.
28579         [C99-based-standards] (SCNoLEAST16): Likewise.
28580         [C99-based-standards] (SCNuLEAST16): Likewise.
28581         [C99-based-standards] (SCNxLEAST16): Likewise.
28582         [C99-based-standards] (PRIdFAST16): Likewise.
28583         [C99-based-standards] (PRIiFAST16): Likewise.
28584         [C99-based-standards] (PRIoFAST16): Likewise.
28585         [C99-based-standards] (PRIuFAST16): Likewise.
28586         [C99-based-standards] (PRIxFAST16): Likewise.
28587         [C99-based-standards] (PRIXFAST16): Likewise.
28588         [C99-based-standards] (SCNdFAST16): Likewise.
28589         [C99-based-standards] (SCNiFAST16): Likewise.
28590         [C99-based-standards] (SCNoFAST16): Likewise.
28591         [C99-based-standards] (SCNuFAST16): Likewise.
28592         [C99-based-standards] (SCNxFAST16): Likewise.
28593         [C99-based-standards] (PRId32): Likewise.
28594         [C99-based-standards] (PRIi32): Likewise.
28595         [C99-based-standards] (PRIo32): Likewise.
28596         [C99-based-standards] (PRIu32): Likewise.
28597         [C99-based-standards] (PRIx32): Likewise.
28598         [C99-based-standards] (PRIX32): Likewise.
28599         [C99-based-standards] (SCNd32): Likewise.
28600         [C99-based-standards] (SCNi32): Likewise.
28601         [C99-based-standards] (SCNo32): Likewise.
28602         [C99-based-standards] (SCNu32): Likewise.
28603         [C99-based-standards] (SCNx32): Likewise.
28604         [C99-based-standards] (PRIdLEAST32): Likewise.
28605         [C99-based-standards] (PRIiLEAST32): Likewise.
28606         [C99-based-standards] (PRIoLEAST32): Likewise.
28607         [C99-based-standards] (PRIuLEAST32): Likewise.
28608         [C99-based-standards] (PRIxLEAST32): Likewise.
28609         [C99-based-standards] (PRIXLEAST32): Likewise.
28610         [C99-based-standards] (SCNdLEAST32): Likewise.
28611         [C99-based-standards] (SCNiLEAST32): Likewise.
28612         [C99-based-standards] (SCNoLEAST32): Likewise.
28613         [C99-based-standards] (SCNuLEAST32): Likewise.
28614         [C99-based-standards] (SCNxLEAST32): Likewise.
28615         [C99-based-standards] (PRIdFAST32): Likewise.
28616         [C99-based-standards] (PRIiFAST32): Likewise.
28617         [C99-based-standards] (PRIoFAST32): Likewise.
28618         [C99-based-standards] (PRIuFAST32): Likewise.
28619         [C99-based-standards] (PRIxFAST32): Likewise.
28620         [C99-based-standards] (PRIXFAST32): Likewise.
28621         [C99-based-standards] (SCNdFAST32): Likewise.
28622         [C99-based-standards] (SCNiFAST32): Likewise.
28623         [C99-based-standards] (SCNoFAST32): Likewise.
28624         [C99-based-standards] (SCNuFAST32): Likewise.
28625         [C99-based-standards] (SCNxFAST32): Likewise.
28626         [C99-based-standards] (PRId64): Likewise.
28627         [C99-based-standards] (PRIi64): Likewise.
28628         [C99-based-standards] (PRIo64): Likewise.
28629         [C99-based-standards] (PRIu64): Likewise.
28630         [C99-based-standards] (PRIx64): Likewise.
28631         [C99-based-standards] (PRIX64): Likewise.
28632         [C99-based-standards] (SCNd64): Likewise.
28633         [C99-based-standards] (SCNi64): Likewise.
28634         [C99-based-standards] (SCNo64): Likewise.
28635         [C99-based-standards] (SCNu64): Likewise.
28636         [C99-based-standards] (SCNx64): Likewise.
28637         [C99-based-standards] (PRIdLEAST64): Likewise.
28638         [C99-based-standards] (PRIiLEAST64): Likewise.
28639         [C99-based-standards] (PRIoLEAST64): Likewise.
28640         [C99-based-standards] (PRIuLEAST64): Likewise.
28641         [C99-based-standards] (PRIxLEAST64): Likewise.
28642         [C99-based-standards] (PRIXLEAST64): Likewise.
28643         [C99-based-standards] (SCNdLEAST64): Likewise.
28644         [C99-based-standards] (SCNiLEAST64): Likewise.
28645         [C99-based-standards] (SCNoLEAST64): Likewise.
28646         [C99-based-standards] (SCNuLEAST64): Likewise.
28647         [C99-based-standards] (SCNxLEAST64): Likewise.
28648         [C99-based-standards] (PRIdFAST64): Likewise.
28649         [C99-based-standards] (PRIiFAST64): Likewise.
28650         [C99-based-standards] (PRIoFAST64): Likewise.
28651         [C99-based-standards] (PRIuFAST64): Likewise.
28652         [C99-based-standards] (PRIxFAST64): Likewise.
28653         [C99-based-standards] (PRIXFAST64): Likewise.
28654         [C99-based-standards] (SCNdFAST64): Likewise.
28655         [C99-based-standards] (SCNiFAST64): Likewise.
28656         [C99-based-standards] (SCNoFAST64): Likewise.
28657         [C99-based-standards] (SCNuFAST64): Likewise.
28658         [C99-based-standards] (SCNxFAST64): Likewise.
28659         [C99-based-standards] (PRIdMAX): Likewise.
28660         [C99-based-standards] (PRIiMAX): Likewise.
28661         [C99-based-standards] (PRIoMAX): Likewise.
28662         [C99-based-standards] (PRIuMAX): Likewise.
28663         [C99-based-standards] (PRIxMAX): Likewise.
28664         [C99-based-standards] (PRIXMAX): Likewise.
28665         [C99-based-standards] (SCNdMAX): Likewise.
28666         [C99-based-standards] (SCNiMAX): Likewise.
28667         [C99-based-standards] (SCNoMAX): Likewise.
28668         [C99-based-standards] (SCNuMAX): Likewise.
28669         [C99-based-standards] (SCNxMAX): Likewise.
28670         [C99-based-standards] (PRIdPTR): Likewise.
28671         [C99-based-standards] (PRIiPTR): Likewise.
28672         [C99-based-standards] (PRIoPTR): Likewise.
28673         [C99-based-standards] (PRIuPTR): Likewise.
28674         [C99-based-standards] (PRIxPTR): Likewise.
28675         [C99-based-standards] (PRIXPTR): Likewise.
28676         [C99-based-standards] (SCNdPTR): Likewise.
28677         [C99-based-standards] (SCNiPTR): Likewise.
28678         [C99-based-standards] (SCNoPTR): Likewise.
28679         [C99-based-standards] (SCNuPTR): Likewise.
28680         [C99-based-standards] (SCNxPTR): Likewise.
28681         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28682         allow.
28683         * conform/data/stdint.h-data: Update comments to clarify
28684         requirements.
28685         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28686         type.
28687         [C99-based standards] (INT8_MAX): Likewise.
28688         [C99-based standards] (INT16_MIN): Likewise.
28689         [C99-based standards] (INT16_MAX): Likewise.
28690         [C99-based standards] (INT32_MIN): Likewise.
28691         [C99-based standards] (INT32_MAX): Likewise.
28692         [C99-based standards] (INT64_MIN): Likewise.
28693         [C99-based standards] (INT64_MAX): Likewise.
28694         [C99-based standards] (UINT8_MAX): Likewise.
28695         [C99-based standards] (UINT16_MAX): Likewise.
28696         [C99-based standards] (UINT32_MAX): Likewise.
28697         [C99-based standards] (UINT64_MAX): Likewise.
28698         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28699         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28700         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28701         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28702         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28703         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28704         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28705         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28706         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28707         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28708         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28709         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28710         [C99-based standards] (INT_FAST8_MIN): Likewise.
28711         [C99-based standards] (INT_FAST8_MAX): Likewise.
28712         [C99-based standards] (INT_FAST16_MIN): Likewise.
28713         [C99-based standards] (INT_FAST16_MAX): Likewise.
28714         [C99-based standards] (INT_FAST32_MIN): Likewise.
28715         [C99-based standards] (INT_FAST32_MAX): Likewise.
28716         [C99-based standards] (INT_FAST64_MIN): Likewise.
28717         [C99-based standards] (INT_FAST64_MAX): Likewise.
28718         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28719         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28720         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28721         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28722         [C99-based standards] (INTPTR_MIN): Likewise.
28723         [C99-based standards] (INTPTR_MAX): Likewise.
28724         [C99-based standards] (UINTPTR_MAX): Likewise.
28725         [C99-based standards] (INTMAX_MIN): Likewise.
28726         [C99-based standards] (INTMAX_MAX): Likewise.
28727         [C99-based standards] (UINTMAX_MAX): Likewise.
28728         [C99-based standards] (PTRDIFF_MIN): Likewise.
28729         [C99-based standards] (PTRDIFF_MAX): Likewise.
28730         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28731         [C99-based standards] (SIZE_MAX): Likewise.
28732         [C99-based standards] (WCHAR_MAX): Likewise.
28733         [C99-based standards] (WINT_MAX): Likewise.
28734         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28735         constraint on value.
28736         [C99-based standards] (WCHAR_MIN): Likewise.
28737         [C99-based standards] (WINT_MIN): Likewise.
28738         [C99-based standards] (*_t): Allow.
28739         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28740         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28741         Include math.h-data and complex.h-data.  Remove all expectations
28742         of math.h and complex.h contents.
28743         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28744         at end of line.
28745         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28746         (struct tm): Expect tag.
28747         [C99-based-standards] (wcstof): Expect function.
28748         [C99-based-standards] (wcstold): Likewise.
28749         [C99-based-standards] (wcstoll): Likewise.
28750         [C99-based-standards] (wcstoull): Likewise.
28751         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28752         macro-int-constant.  Specify type.
28753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28754         constraint on value.
28755         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28756         Specify type.
28757         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28758         Specify value.
28759         [ISO C standards]: Do not allow headers.
28760         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28761         wcs[abcdefghijklmnopqrstuvwxyz]*.
28762         [ISO C standards] (*_t): Do not allow.
28763         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28764         Expect function.
28765         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28766         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28767         Specify type.
28768         [ISO C standards]: Do not allow headers.
28769         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28770         is[abcdefghijklmnopqrstuvwxyz]*.
28771         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28772         to[abcdefghijklmnopqrstuvwxyz]*.
28773         [ISO C standards] (*_t): Do not allow.
28774         * conform/data/stdalign.h-data: New file.
28775         * conform/data/stdbool.h-data: Likewise.
28776         * conform/data/stdnoreturn.h-data: Likewise.
28777
28778 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28779
28780         [BZ #14815]
28781         * manual/filesys.texi (Directory Entries): Typo fix.
28782         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28783
28784 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28785
28786         * elf/elf.h (EM_AARCH64): New macro.
28787         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28788         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28789         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28790         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28791         (R_AARCH64_TLSDESC): Likewise.
28792         (NT_ARM_TLS): Likewise.
28793         (NT_ARM_HW_BREAK): Likewise.
28794         (NT_ARM_HW_WATCH): Likewise.
28795
28796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28797
28798         [BZ #14811]
28799         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28800         (__ieee754_powl): Saturate nonzero exponents with absolute value
28801         below 0x1p-79 to +/- 0x1p-79.
28802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28803         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28804         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28805         nonzero exponents with absolute value below 0x1p-32 to +/-
28806         0x1p-32.
28807         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28808         (__ieee754_powl): Saturate nonzero exponents with absolute value
28809         below 0x1p-79 to +/- 0x1p-79.
28810         * math/libm-test.inc (pow_test): Add more tests.
28811
28812 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28813
28814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28815         _dl_s390_cap_flags with kernel. Increase string length.
28816         (_dl_s390_platforms): Add z196 and zEC12.
28817
28818 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28819
28820         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28821         Change XOPEN21K to XOPEN2K.
28822
28823 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28824
28825         * string/memmove.c: Use memcpy when possible.
28826
28827 2012-11-06  Andreas Jaeger  <aj@suse.de>
28828
28829         * po/eo.po: Update from translation team.
28830
28831 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28832
28833         [BZ #14793]
28834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28835         exponent and small x and y exponents, scale x or y up.  Increase
28836         by 2 the exponent used in scaling up.
28837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28839         * math/libm-test.inc (fma_test): Add more tests.
28840         (fma_test_towardzero): Likewise.
28841         (fma_test_downward): Likewise.
28842         (fma_test_upward): Likewise.
28843
28844 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28845
28846         [BZ #14805]
28847         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28848         fenv_t *.
28849
28850         [BZ #14801]
28851         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28852         namespace for names of struct fields.
28853         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28854         fenv_t fields.
28855         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28856         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28857
28858 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28859
28860         [BZ #3665]
28861         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28862
28863 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28864
28865         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28866         PTR_DEMANGLE.
28867
28868         [BZ #5246]
28869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28870         PTR_DEMANGLE.
28871
28872 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28873
28874         [BZ #14797]
28875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28876         definitely overflow as x * y not x * y + z.
28877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28879         * math/libm-test.inc (fma_test): Add more tests.
28880         (fma_test_towardzero): Likewise.
28881         (fma_test_downward): Likewise.
28882         (fma_test_upward): Likewise.
28883
28884 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28885
28886         [BZ #157]
28887
28888         * include/stub-tag.h: Remove file.
28889         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28890         '#include' of it.
28891         * manual/maint.texi (Porting): Don't reference it.
28892         * Makerules ($(objpfx)stubs): Likewise.
28893         * dirent/closedir.c: Don't include <stub-tag.h>.
28894         * dirent/dirfd.c: Likewise.
28895         * dirent/fdopendir.c: Likewise.
28896         * dirent/getdents.c: Likewise.
28897         * dirent/getdents64.c: Likewise.
28898         * dirent/opendir.c: Likewise.
28899         * dirent/readdir.c: Likewise.
28900         * dirent/readdir64.c: Likewise.
28901         * dirent/readdir64_r.c: Likewise.
28902         * dirent/readdir_r.c: Likewise.
28903         * dirent/rewinddir.c: Likewise.
28904         * dirent/seekdir.c: Likewise.
28905         * dirent/telldir.c: Likewise.
28906         * gmon/profil.c: Likewise.
28907         * grp/setgroups.c: Likewise.
28908         * inet/if_index.c: Likewise.
28909         * io/access.c: Likewise.
28910         * io/chdir.c: Likewise.
28911         * io/chmod.c: Likewise.
28912         * io/chown.c: Likewise.
28913         * io/close.c: Likewise.
28914         * io/dup.c: Likewise.
28915         * io/dup2.c: Likewise.
28916         * io/dup3.c: Likewise.
28917         * io/euidaccess.c: Likewise.
28918         * io/faccessat.c: Likewise.
28919         * io/fchdir.c: Likewise.
28920         * io/fchmod.c: Likewise.
28921         * io/fchmodat.c: Likewise.
28922         * io/fchown.c: Likewise.
28923         * io/fchownat.c: Likewise.
28924         * io/fcntl.c: Likewise.
28925         * io/flock.c: Likewise.
28926         * io/fstatfs.c: Likewise.
28927         * io/fstatfs64.c: Likewise.
28928         * io/fstatvfs.c: Likewise.
28929         * io/fstatvfs64.c: Likewise.
28930         * io/futimens.c: Likewise.
28931         * io/fxstat.c: Likewise.
28932         * io/fxstat64.c: Likewise.
28933         * io/fxstatat.c: Likewise.
28934         * io/fxstatat64.c: Likewise.
28935         * io/getcwd.c: Likewise.
28936         * io/isatty.c: Likewise.
28937         * io/lchmod.c: Likewise.
28938         * io/lchown.c: Likewise.
28939         * io/link.c: Likewise.
28940         * io/linkat.c: Likewise.
28941         * io/lseek.c: Likewise.
28942         * io/lseek64.c: Likewise.
28943         * io/lxstat64.c: Likewise.
28944         * io/mkdir.c: Likewise.
28945         * io/mkdirat.c: Likewise.
28946         * io/mkfifo.c: Likewise.
28947         * io/mkfifoat.c: Likewise.
28948         * io/open.c: Likewise.
28949         * io/open64.c: Likewise.
28950         * io/openat.c: Likewise.
28951         * io/openat64.c: Likewise.
28952         * io/pipe.c: Likewise.
28953         * io/pipe2.c: Likewise.
28954         * io/poll.c: Likewise.
28955         * io/posix_fadvise.c: Likewise.
28956         * io/posix_fadvise64.c: Likewise.
28957         * io/posix_fallocate.c: Likewise.
28958         * io/posix_fallocate64.c: Likewise.
28959         * io/read.c: Likewise.
28960         * io/readlink.c: Likewise.
28961         * io/readlinkat.c: Likewise.
28962         * io/rmdir.c: Likewise.
28963         * io/sendfile.c: Likewise.
28964         * io/sendfile64.c: Likewise.
28965         * io/statfs.c: Likewise.
28966         * io/statfs64.c: Likewise.
28967         * io/statvfs.c: Likewise.
28968         * io/statvfs64.c: Likewise.
28969         * io/symlink.c: Likewise.
28970         * io/symlinkat.c: Likewise.
28971         * io/ttyname.c: Likewise.
28972         * io/ttyname_r.c: Likewise.
28973         * io/umask.c: Likewise.
28974         * io/unlink.c: Likewise.
28975         * io/unlinkat.c: Likewise.
28976         * io/utime.c: Likewise.
28977         * io/utimensat.c: Likewise.
28978         * io/write.c: Likewise.
28979         * io/xmknod.c: Likewise.
28980         * io/xmknodat.c: Likewise.
28981         * io/xstat.c: Likewise.
28982         * io/xstat64.c: Likewise.
28983         * login/getpt.c: Likewise.
28984         * login/grantpt.c: Likewise.
28985         * login/unlockpt.c: Likewise.
28986         * math/e_acoshl.c: Likewise.
28987         * math/e_acosl.c: Likewise.
28988         * math/e_asinl.c: Likewise.
28989         * math/e_atan2l.c: Likewise.
28990         * math/e_atanhl.c: Likewise.
28991         * math/e_coshl.c: Likewise.
28992         * math/e_expl.c: Likewise.
28993         * math/e_fmodl.c: Likewise.
28994         * math/e_gammal_r.c: Likewise.
28995         * math/e_hypotl.c: Likewise.
28996         * math/e_j0l.c: Likewise.
28997         * math/e_j1l.c: Likewise.
28998         * math/e_jnl.c: Likewise.
28999         * math/e_lgammal_r.c: Likewise.
29000         * math/e_log10l.c: Likewise.
29001         * math/e_log2l.c: Likewise.
29002         * math/e_logl.c: Likewise.
29003         * math/e_powl.c: Likewise.
29004         * math/e_rem_pio2l.c: Likewise.
29005         * math/e_sinhl.c: Likewise.
29006         * math/e_sqrtl.c: Likewise.
29007         * math/fclrexcpt.c: Likewise.
29008         * math/fedisblxcpt.c: Likewise.
29009         * math/feenablxcpt.c: Likewise.
29010         * math/fegetenv.c: Likewise.
29011         * math/fegetexcept.c: Likewise.
29012         * math/fegetround.c: Likewise.
29013         * math/feholdexcpt.c: Likewise.
29014         * math/fesetenv.c: Likewise.
29015         * math/fesetround.c: Likewise.
29016         * math/feupdateenv.c: Likewise.
29017         * math/fgetexcptflg.c: Likewise.
29018         * math/fraiseexcpt.c: Likewise.
29019         * math/fsetexcptflg.c: Likewise.
29020         * math/ftestexcept.c: Likewise.
29021         * math/k_cosl.c: Likewise.
29022         * math/k_rem_pio2l.c: Likewise.
29023         * math/k_sinl.c: Likewise.
29024         * math/k_tanl.c: Likewise.
29025         * math/s_asinhl.c: Likewise.
29026         * math/s_atanl.c: Likewise.
29027         * math/s_cbrtl.c: Likewise.
29028         * math/s_erfl.c: Likewise.
29029         * math/s_expm1l.c: Likewise.
29030         * math/s_log1pl.c: Likewise.
29031         * math/s_tanhl.c: Likewise.
29032         * misc/acct.c: Likewise.
29033         * misc/brk.c: Likewise.
29034         * misc/chflags.c: Likewise.
29035         * misc/chroot.c: Likewise.
29036         * misc/fchflags.c: Likewise.
29037         * misc/fgetxattr.c: Likewise.
29038         * misc/flistxattr.c: Likewise.
29039         * misc/fremovexattr.c: Likewise.
29040         * misc/fsetxattr.c: Likewise.
29041         * misc/fsync.c: Likewise.
29042         * misc/ftruncate.c: Likewise.
29043         * misc/futimes.c: Likewise.
29044         * misc/futimesat.c: Likewise.
29045         * misc/getdomain.c: Likewise.
29046         * misc/getdtsz.c: Likewise.
29047         * misc/gethostid.c: Likewise.
29048         * misc/gethostname.c: Likewise.
29049         * misc/getloadavg.c: Likewise.
29050         * misc/getpagesize.c: Likewise.
29051         * misc/getsysstats.c: Likewise.
29052         * misc/getxattr.c: Likewise.
29053         * misc/gtty.c: Likewise.
29054         * misc/ioctl.c: Likewise.
29055         * misc/lgetxattr.c: Likewise.
29056         * misc/listxattr.c: Likewise.
29057         * misc/llistxattr.c: Likewise.
29058         * misc/lremovexattr.c: Likewise.
29059         * misc/lsetxattr.c: Likewise.
29060         * misc/lutimes.c: Likewise.
29061         * misc/madvise.c: Likewise.
29062         * misc/mincore.c: Likewise.
29063         * misc/mlock.c: Likewise.
29064         * misc/mlockall.c: Likewise.
29065         * misc/mmap.c: Likewise.
29066         * misc/mprotect.c: Likewise.
29067         * misc/msync.c: Likewise.
29068         * misc/munlock.c: Likewise.
29069         * misc/munlockall.c: Likewise.
29070         * misc/munmap.c: Likewise.
29071         * misc/preadv.c: Likewise.
29072         * misc/preadv64.c: Likewise.
29073         * misc/ptrace.c: Likewise.
29074         * misc/pwritev.c: Likewise.
29075         * misc/pwritev64.c: Likewise.
29076         * misc/readv.c: Likewise.
29077         * misc/reboot.c: Likewise.
29078         * misc/remap_file_pages.c: Likewise.
29079         * misc/removexattr.c: Likewise.
29080         * misc/revoke.c: Likewise.
29081         * misc/select.c: Likewise.
29082         * misc/setdomain.c: Likewise.
29083         * misc/setegid.c: Likewise.
29084         * misc/seteuid.c: Likewise.
29085         * misc/sethostid.c: Likewise.
29086         * misc/sethostname.c: Likewise.
29087         * misc/setregid.c: Likewise.
29088         * misc/setreuid.c: Likewise.
29089         * misc/setxattr.c: Likewise.
29090         * misc/sstk.c: Likewise.
29091         * misc/stty.c: Likewise.
29092         * misc/swapoff.c: Likewise.
29093         * misc/swapon.c: Likewise.
29094         * misc/sync.c: Likewise.
29095         * misc/syncfs.c: Likewise.
29096         * misc/syscall.c: Likewise.
29097         * misc/truncate.c: Likewise.
29098         * misc/ualarm.c: Likewise.
29099         * misc/usleep.c: Likewise.
29100         * misc/ustat.c: Likewise.
29101         * misc/utimes.c: Likewise.
29102         * misc/vhangup.c: Likewise.
29103         * misc/writev.c: Likewise.
29104         * posix/_exit.c: Likewise.
29105         * posix/alarm.c: Likewise.
29106         * posix/execve.c: Likewise.
29107         * posix/fexecve.c: Likewise.
29108         * posix/fork.c: Likewise.
29109         * posix/fpathconf.c: Likewise.
29110         * posix/getaddrinfo.c: Likewise.
29111         * posix/getegid.c: Likewise.
29112         * posix/geteuid.c: Likewise.
29113         * posix/getgid.c: Likewise.
29114         * posix/getgroups.c: Likewise.
29115         * posix/getlogin.c: Likewise.
29116         * posix/getlogin_r.c: Likewise.
29117         * posix/getpgid.c: Likewise.
29118         * posix/getpid.c: Likewise.
29119         * posix/getppid.c: Likewise.
29120         * posix/getresgid.c: Likewise.
29121         * posix/getresuid.c: Likewise.
29122         * posix/getsid.c: Likewise.
29123         * posix/getuid.c: Likewise.
29124         * posix/glob64.c: Likewise.
29125         * posix/nanosleep.c: Likewise.
29126         * posix/pathconf.c: Likewise.
29127         * posix/pause.c: Likewise.
29128         * posix/posix_madvise.c: Likewise.
29129         * posix/pread.c: Likewise.
29130         * posix/pread64.c: Likewise.
29131         * posix/pwrite.c: Likewise.
29132         * posix/pwrite64.c: Likewise.
29133         * posix/sched_getaffinity.c: Likewise.
29134         * posix/sched_getp.c: Likewise.
29135         * posix/sched_gets.c: Likewise.
29136         * posix/sched_primax.c: Likewise.
29137         * posix/sched_primin.c: Likewise.
29138         * posix/sched_rr_gi.c: Likewise.
29139         * posix/sched_setaffinity.c: Likewise.
29140         * posix/sched_setp.c: Likewise.
29141         * posix/sched_sets.c: Likewise.
29142         * posix/sched_yield.c: Likewise.
29143         * posix/setgid.c: Likewise.
29144         * posix/setlogin.c: Likewise.
29145         * posix/setpgid.c: Likewise.
29146         * posix/setresgid.c: Likewise.
29147         * posix/setresuid.c: Likewise.
29148         * posix/setsid.c: Likewise.
29149         * posix/setuid.c: Likewise.
29150         * posix/sleep.c: Likewise.
29151         * posix/spawni.c: Likewise.
29152         * posix/sysconf.c: Likewise.
29153         * posix/times.c: Likewise.
29154         * posix/wait.c: Likewise.
29155         * posix/wait3.c: Likewise.
29156         * posix/wait4.c: Likewise.
29157         * posix/waitpid.c: Likewise.
29158         * resolv/gai_sigqueue.c: Likewise.
29159         * resource/getpriority.c: Likewise.
29160         * resource/getrlimit.c: Likewise.
29161         * resource/getrusage.c: Likewise.
29162         * resource/nice.c: Likewise.
29163         * resource/setpriority.c: Likewise.
29164         * resource/setrlimit.c: Likewise.
29165         * resource/ulimit.c: Likewise.
29166         * rt/aio_cancel.c: Likewise.
29167         * rt/aio_fsync.c: Likewise.
29168         * rt/aio_read.c: Likewise.
29169         * rt/aio_sigqueue.c: Likewise.
29170         * rt/aio_suspend.c: Likewise.
29171         * rt/aio_write.c: Likewise.
29172         * rt/clock_getres.c: Likewise.
29173         * rt/clock_gettime.c: Likewise.
29174         * rt/clock_nanosleep.c: Likewise.
29175         * rt/clock_settime.c: Likewise.
29176         * rt/lio_listio.c: Likewise.
29177         * rt/mq_close.c: Likewise.
29178         * rt/mq_getattr.c: Likewise.
29179         * rt/mq_notify.c: Likewise.
29180         * rt/mq_open.c: Likewise.
29181         * rt/mq_receive.c: Likewise.
29182         * rt/mq_send.c: Likewise.
29183         * rt/mq_setattr.c: Likewise.
29184         * rt/mq_timedreceive.c: Likewise.
29185         * rt/mq_timedsend.c: Likewise.
29186         * rt/mq_unlink.c: Likewise.
29187         * rt/shm_open.c: Likewise.
29188         * rt/shm_unlink.c: Likewise.
29189         * rt/timer_create.c: Likewise.
29190         * rt/timer_delete.c: Likewise.
29191         * rt/timer_getoverr.c: Likewise.
29192         * rt/timer_gettime.c: Likewise.
29193         * rt/timer_settime.c: Likewise.
29194         * setjmp/__longjmp.c: Likewise.
29195         * setjmp/setjmp.c: Likewise.
29196         * signal/kill.c: Likewise.
29197         * signal/killpg.c: Likewise.
29198         * signal/raise.c: Likewise.
29199         * signal/sigaction.c: Likewise.
29200         * signal/sigaltstack.c: Likewise.
29201         * signal/sigblock.c: Likewise.
29202         * signal/sigignore.c: Likewise.
29203         * signal/sigintr.c: Likewise.
29204         * signal/signal.c: Likewise.
29205         * signal/sigpause.c: Likewise.
29206         * signal/sigpending.c: Likewise.
29207         * signal/sigqueue.c: Likewise.
29208         * signal/sigreturn.c: Likewise.
29209         * signal/sigset.c: Likewise.
29210         * signal/sigsetmask.c: Likewise.
29211         * signal/sigstack.c: Likewise.
29212         * signal/sigsuspend.c: Likewise.
29213         * signal/sigtimedwait.c: Likewise.
29214         * signal/sigvec.c: Likewise.
29215         * signal/sigwait.c: Likewise.
29216         * signal/sigwaitinfo.c: Likewise.
29217         * signal/sysv_signal.c: Likewise.
29218         * socket/accept.c: Likewise.
29219         * socket/accept4.c: Likewise.
29220         * socket/bind.c: Likewise.
29221         * socket/connect.c: Likewise.
29222         * socket/getpeername.c: Likewise.
29223         * socket/getsockname.c: Likewise.
29224         * socket/getsockopt.c: Likewise.
29225         * socket/isfdtype.c: Likewise.
29226         * socket/listen.c: Likewise.
29227         * socket/recv.c: Likewise.
29228         * socket/recvfrom.c: Likewise.
29229         * socket/recvmsg.c: Likewise.
29230         * socket/send.c: Likewise.
29231         * socket/sendmsg.c: Likewise.
29232         * socket/sendto.c: Likewise.
29233         * socket/setsockopt.c: Likewise.
29234         * socket/shutdown.c: Likewise.
29235         * socket/sockatmark.c: Likewise.
29236         * socket/socket.c: Likewise.
29237         * socket/socketpair.c: Likewise.
29238         * stdio-common/ctermid.c: Likewise.
29239         * stdio-common/cuserid.c: Likewise.
29240         * stdio-common/remove.c: Likewise.
29241         * stdio-common/rename.c: Likewise.
29242         * stdio-common/renameat.c: Likewise.
29243         * stdio-common/tempname.c: Likewise.
29244         * stdlib/getcontext.c: Likewise.
29245         * stdlib/makecontext.c: Likewise.
29246         * stdlib/setcontext.c: Likewise.
29247         * stdlib/swapcontext.c: Likewise.
29248         * stdlib/system.c: Likewise.
29249         * streams/fattach.c: Likewise.
29250         * streams/fdetach.c: Likewise.
29251         * streams/getmsg.c: Likewise.
29252         * streams/getpmsg.c: Likewise.
29253         * streams/putmsg.c: Likewise.
29254         * streams/putpmsg.c: Likewise.
29255         * sysdeps/unix/bsd/getpt.c: Likewise.
29256         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29257         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29260         Likewise.
29261         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29262         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29263         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29264         * sysvipc/msgctl.c: Likewise.
29265         * sysvipc/msgget.c: Likewise.
29266         * sysvipc/msgrcv.c: Likewise.
29267         * sysvipc/msgsnd.c: Likewise.
29268         * sysvipc/semctl.c: Likewise.
29269         * sysvipc/semget.c: Likewise.
29270         * sysvipc/semop.c: Likewise.
29271         * sysvipc/semtimedop.c: Likewise.
29272         * sysvipc/shmat.c: Likewise.
29273         * sysvipc/shmctl.c: Likewise.
29274         * sysvipc/shmdt.c: Likewise.
29275         * sysvipc/shmget.c: Likewise.
29276         * termios/tcdrain.c: Likewise.
29277         * termios/tcflow.c: Likewise.
29278         * termios/tcflush.c: Likewise.
29279         * termios/tcgetattr.c: Likewise.
29280         * termios/tcgetpgrp.c: Likewise.
29281         * termios/tcsendbrk.c: Likewise.
29282         * termios/tcsetattr.c: Likewise.
29283         * termios/tcsetpgrp.c: Likewise.
29284         * time/adjtime.c: Likewise.
29285         * time/clock.c: Likewise.
29286         * time/getitimer.c: Likewise.
29287         * time/gettimeofday.c: Likewise.
29288         * time/setitimer.c: Likewise.
29289         * time/settimeofday.c: Likewise.
29290         * time/stime.c: Likewise.
29291         * time/time.c: Likewise.
29292
29293 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29294
29295         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29296         /usr/old/bin.
29297
29298         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29299         instead of spaces.
29300         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29301
29302 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29303
29304         [BZ #14796]
29305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29306         FE_TONEAREST before applying Dekker multiplication and Knuth
29307         addition.  Clear inexact exceptions and check for exact zero
29308         results afterwards.
29309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29310         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29312         * math/libm-test.inc (fma_test): Add more tests.
29313         (fma_test_towardzero): Likewise.
29314         (fma_test_downward): Likewise.
29315         (fma_test_upward): Likewise.
29316         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29317         function.
29318         (libc_fesetround): New macro.
29319         (libc_fesetroundf): Likewise.
29320         (libc_fesetroundl): Likewise.
29321         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29322         function.
29323         (libc_fesetround_387): Likewise.
29324         (libc_fesetroundf): New macro.
29325         (libc_fesetround): Likewise.
29326         (libc_fesetroundl): Likewise.
29327         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29328         function.
29329         (libc_fesetroundf): New macro.
29330         (libc_fesetround): Likewise.
29331         (libc_fesetroundl): Likewise.
29332         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29333         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29334         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29335         libm_hidden_ver.
29336         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29337         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29338         libm_hidden_def.
29339         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29340         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29341         libm_hidden_ver.
29342         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29343         libm_hidden_def.
29344
29345         [BZ #3439]
29346         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29347         integer constant usable in #if and use that to give value to enum
29348         constant.
29349         (FE_DIVBYZERO): Likewise.
29350         (FE_UNDERFLOW): Likewise.
29351         (FE_OVERFLOW): Likewise.
29352         (FE_INVALID): Likewise.
29353         (FE_INVALID_SNAN): Likewise.
29354         (FE_INVALID_ISI): Likewise.
29355         (FE_INVALID_IDI): Likewise.
29356         (FE_INVALID_ZDZ): Likewise.
29357         (FE_INVALID_IMZ): Likewise.
29358         (FE_INVALID_COMPARE): Likewise.
29359         (FE_INVALID_SOFTWARE): Likewise.
29360         (FE_INVALID_SQRT): Likewise.
29361         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29362         (FE_TONEAREST): Likewise.
29363         (FE_TOWARDZERO): Likewise.
29364         (FE_UPWARD): Likewise.
29365         (FE_DOWNWARD): Likewise.
29366         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29367         (FE_DIVBYZERO): Likewise.
29368         (FE_OVERFLOW): Likewise.
29369         (FE_UNDERFLOW): Likewise.
29370         (FE_INEXACT): Likewise.
29371         (FE_TONEAREST): Likewise.
29372         (FE_DOWNWARD): Likewise.
29373         (FE_UPWARD): Likewise.
29374         (FE_TOWARDZERO): Likewise.
29375         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29376         (FE_UNDERFLOW): Likewise.
29377         (FE_OVERFLOW): Likewise.
29378         (FE_DIVBYZERO): Likewise.
29379         (FE_INVALID): Likewise.
29380         (FE_TONEAREST): Likewise.
29381         (FE_TOWARDZERO): Likewise.
29382         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29383         (FE_OVERFLOW): Likewise.
29384         (FE_UNDERFLOW): Likewise.
29385         (FE_DIVBYZERO): Likewise.
29386         (FE_INEXACT): Likewise.
29387         (FE_TONEAREST): Likewise.
29388         (FE_TOWARDZERO): Likewise.
29389         (FE_UPWARD): Likewise.
29390         (FE_DOWNWARD): Likewise.
29391         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29392         (FE_DIVBYZERO): Likewise.
29393         (FE_OVERFLOW): Likewise.
29394         (FE_UNDERFLOW): Likewise.
29395         (FE_INEXACT): Likewise.
29396         (FE_TONEAREST): Likewise.
29397         (FE_DOWNWARD): Likewise.
29398         (FE_UPWARD): Likewise.
29399         (FE_TOWARDZERO): Likewise.
29400
29401 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29402
29403         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29404
29405 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29406
29407         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29408         commands.  Quote $PWD.
29409         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29410         -x" by "export".
29411         (remove_newlines): Remove.
29412
29413 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29414
29415         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29416         * stdlib/stdlib.h (atof): Moved to ...
29417         * include/bits/stdlib-float.h: Here.  New file.
29418         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29419         * stdlib/bits/stdlib-float.h: New file.
29420         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29421         -mno-sse -mno-mmx.
29422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29423         <xmmintrin.h>.
29424
29425 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29426
29427         * conform/conformtest.pl (@headers): Add fenv.h.
29428         * conform/data/fenv.h-data: New file.
29429         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29430         include of <math/fenv.h>.
29431
29432         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29433         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29434         && !UNIX98].  Enables tests for XOPEN2K8.
29435         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29436         POSIX2008]: Likewise.
29437
29438         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29439         (struct rusage): Do not expect type or its members.
29440
29441         [BZ #3439]
29442         * math/math.h (FP_NAN): Define macro to integer constant usable in
29443         #if and use that to give value to enum constant.
29444         (FP_INFINITE): Likewise.
29445         (FP_ZERO): Likewise.
29446         (FP_SUBNORMAL): Likewise.
29447         (FP_NORMAL): Likewise.
29448
29449 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29450
29451         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29452         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29453         arguments.
29454
29455 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29456
29457         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29458         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29459         autoconf-time if not.
29460         * configure.in: Remove AC_PREREQ.
29461
29462 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29463
29464         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29465         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29466         of the internal implementation.
29467
29468 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29469
29470         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29471         except include of <misc/sys/syslog.h>.
29472
29473 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29474
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29476         function returns with a NULL context exit with zero.
29477
29478 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29479
29480         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29481
29482 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29483
29484         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29485         (run_program_cmd): This.
29486         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29487         (tst_langinfo): New variable.  Use it.
29488
29489 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29490
29491         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29492         floating point opcodes.
29493
29494 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29495
29496         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29497         variable.
29498
29499         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29500
29501         * sysdeps/mach/hurd/powerpc: Remove directory.
29502         * sysdeps/mach/powerpc: Likewise.
29503
29504 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29505
29506         * scripts/check-local-headers.sh: Ignore c++ headers.
29507
29508 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29509
29510         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29511         __libc_cleanup_region_start argument.
29512
29513 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29514
29515         [BZ #14784]
29516         [BZ #14785]
29517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29518         x * y using scaling, not as x * y + z.
29519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29521         * math/libm-test.inc (fma_test): Add more tests.
29522         (fma_test_towardzero): Likewise.
29523         (fma_test_downward): Likewise.
29524         (fma_test_upward): Likewise.
29525
29526 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29527
29528         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29529
29530 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29531
29532         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29533         New variable.
29534
29535 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29536
29537         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29538
29539 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29540
29541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29542         Fix sort order.
29543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29544         Likewise.
29545
29546 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29547
29548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29549         Fix the order of the list for glibc 2.17.
29550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29551         Likewise.
29552
29553 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29554
29555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29556
29557 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29558
29559         [BZ #14610]
29560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29561         for low part of x being zero before using __atanl (y).
29562         * math/libm-test.inc (atan2_test): Add another test.
29563
29564         * manual/install.texi (Configuring and compiling): Document
29565         general use of test-wrapper and test-wrapper-env.
29566         * INSTALL: Regenerated.
29567
29568         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29569         (__fma): Do not extract and scale down low bits on after-rounding
29570         systems when result rounded to normal precision would have normal
29571         exponent.
29572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29573         (__fmal): Do not extract and scale down low bits on after-rounding
29574         systems when result rounded to normal precision would have normal
29575         exponent.
29576         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29577         (__fmal): Do not extract and scale down low bits on after-rounding
29578         systems when result rounded to normal precision would have normal
29579         exponent.
29580         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29581         macro.
29582         (fma_test): Add more tests.
29583         (fma_test_towardzero): Likewise.
29584         (fma_test_downward): Likewise.
29585         (fma_test_upward): Likewise.
29586
29587 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29588
29589         * sysdeps/i386/tininess.h: Renamed to ...
29590         * sysdeps/x86/tininess.h: This.
29591         * sysdeps/x86_64/tininess.h: Removed.
29592
29593 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29594
29595         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29596         input.  Use $(build-program-cmd).
29597         ($(objpfx)tst-array1-static.out): Likewise.
29598         ($(objpfx)tst-array2.out): Likewise.
29599         ($(objpfx)tst-array3.out): Likewise.
29600         ($(objpfx)tst-array4.out): Likewise.
29601         ($(objpfx)tst-array5.out): Likewise.
29602         ($(objpfx)tst-array5-static.out): Likewise.
29603
29604 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29605
29606         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29607         if defined.
29608
29609         * nss/nsswitch.h (nss_interface_function): Provide new
29610         macro for use with NSS functions.
29611         * grp/initgroups.c: Use new macro.
29612         * nss/getXXbyYY.c: Likewise.
29613         * nss/getXXbyYY_r.c: Likewise.
29614         * nss/getXXent.c: Likewise.
29615         * nss/getXXent_r.c: Likewise.
29616         * sysdeps/posix/getaddrinfo.c: Likewise.
29617
29618 2012-10-30  Andreas Jaeger  <aj@suse.de>
29619
29620         * po/ru.po: Update Russion translation from translation project.
29621
29622 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29623
29624         [BZ #14152]
29625         [BZ #14783]
29626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29627         result and shift together with sticky bit instead of replicating
29628         round-to-nearest rounding.
29629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29631         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29632         missing underflow exceptions.
29633         (fma_test_towardzero): Add more tests.
29634         (fma_test_downward): Likewise.
29635         (fma_test_upward): Likewise.
29636
29637         [BZ #14047]
29638         * sysdeps/generic/tininess.h: New file.
29639         * sysdeps/i386/tininess.h: Likewise.
29640         * sysdeps/sh/tininess.h: Likewise.
29641         * sysdeps/x86_64/tininess.h: Likewise.
29642         * stdlib/tst-strtod-underflow.c: Likewise.
29643         * stdlib/tst-tininess.c: Likewise.
29644         * stdlib/strtod_l.c: Include <tininess.h>.
29645         (round_and_return): Do not set errno for exact underflow cases.
29646         Force an underflow exception when setting errno for underflow.
29647         Determine underflow based on rounding to normal precision if
29648         TININESS_AFTER_ROUNDING.
29649         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29650         ERANGE for exact underflow cases.
29651         * stdlib/Makefile (tests): Add tst-tininess and
29652         tst-strtod-underflow.
29653         ($(objpfx)tst-tininess): Use $(link-libm).
29654         ($(objpfx)tst-strtod-underflow): Likewise.
29655
29656 2012-10-30  Andreas Jaeger  <aj@suse.de>
29657
29658         [BZ#14767]
29659         * elf/Makefile (tests): Remove conditional for have-initfini-array
29660         since this is now always required and the variable does not exist
29661         anymore.
29662         (tests-static): Likewise.
29663         (modules-names): Likewise.
29664
29665         * po/eo.po: Add Esperanto translation from translation project.
29666
29667         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29668         merged with constructor/destructor.
29669         (init_array): Likewise.
29670         * elf/tst-array2dep.c (fini_array): Likewise.
29671         (init_array): Likewise.
29672
29673 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29674
29675         * manual/message.texi: Delete @cartouche tags.
29676
29677 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29678
29679         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29680         EOPNOTSUPP.
29681         * sysdeps/mach/hurd/fsync.c: Likewise.
29682
29683         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29684         [_POSIX_REALTIME_SIGNALS]: Change condition to
29685         [_POSIX_REALTIME_SIGNALS > 0].
29686
29687 2012-10-27  Andreas Jaeger  <aj@suse.de>
29688
29689         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29690         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29692         [__WORDSIZE != 64]: Likewise.
29693
29694 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29695
29696         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29697         *  iconvdata/tst-tables.sh: Likewise.
29698
29699 2012-10-25  David S. Miller  <davem@davemloft.net>
29700
29701         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29702         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29703         of strtoull.
29704
29705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29706         ifunc-impl-list.c
29707         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29708         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29709         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29710         file.
29711
29712 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29713
29714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29715         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29716         __getdirentries.
29717
29718 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29719             Jim Blandy  <jimb@codesourcery.com>
29720
29721         * scripts/cross-test-ssh.sh: New file.
29722         * manual/install.texi (Configuring and compiling): Document use of
29723         cross-test-ssh.sh.
29724         * INSTALL: Regenerated.
29725
29726 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29727
29728         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29729         EOPNOTSUPP.
29730
29731 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29732
29733         * Makeconfig (run-program-prefix): Fix comment.
29734
29735 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29736             Jim Blandy  <jimb@codesourcery.com>
29737
29738         * Makeconfig (test-wrapper): New variable,
29739         (test-wrapper-env): Likewise.
29740         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29741         (run-built-tests): Define to yes.
29742         (run-program-prefix): Use $(test-wrapper).
29743         (built-program-cmd): Likewise.
29744         * Rules (make-test-out): Use $(test-wrapper-env) and
29745         $(host-built-program-cmd).
29746         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29747         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29748         tst-pathopt.sh.
29749         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29750         $(test-wrapper-env) to tst-rtld-load-self.sh.
29751         ($(objpfx)order2.out): Use $(test-wrapper).
29752         ($(objpfx)tst-initorder.out): Likewise.
29753         ($(objpfx)tst-initorder2.out): Likewise.
29754         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29755         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29756         (test_wrapper_env): New variable.  Use it to run ld.so.
29757         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29758         Use it to run ld.so.
29759         (test_wrapper_env): Likewise.
29760         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29761         $(test-wrapper) to run-iconv-test.sh.
29762         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29763         (ICONV): Use $test_wrapper.
29764         * posix/Makefile ($(objpfx)globtest.out): Pass
29765         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29766         globtest.sh, not $(run-program-prefix).
29767         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29768         (test_wrapper): Likewise.
29769         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29770         set together with run_via_rtld_prefix.
29771         (run_program_prefix): Define in terms of test_wrapper and
29772         run_via_rtld_prefix.
29773
29774 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29775
29776         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29777         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29778         Targets removed.
29779
29780         [BZ #14743]
29781         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29782         Declare __clock_getres, __clock_gettime, __clock_settime,
29783         __clock_nanosleep, and __clock_getcpuclockid.
29784         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29785         Remove librt_hidden_def (clock_gettime).
29786         * sysdeps/unix/clock_gettime.c: Likewise.
29787         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29788         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29789         * rt/clock_getres.c: Define __clock_getres as an alias.
29790         * sysdeps/posix/clock_getres.c: Likewise.
29791         * rt/clock_settime.c: Define __clock_settime as an alias.
29792         * sysdeps/unix/clock_settime.c: Likewise.
29793         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29794         * sysdeps/unix/clock_nanosleep.c: Likewise.
29795         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29796         * rt/clock-compat.c: New file.
29797         * rt/Makefile (librt-routines): Add clock-compat and move
29798         $(clock-routines) to ...
29799         (routines): ... here, new variable.
29800         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29801         Don't add get_clockfreq here.
29802         * rt/Versions (libc: GLIBC_2.17): New version set.
29803         Add clock_* symbols here.
29804         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29806         (GLIBC_2.17): Add clock_* symbols.
29807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29811         Likewise.
29812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29813         Likewise.
29814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29818         * NEWS: Mention the move.
29819
29820         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29821         Use __open, __read, __close rather than their public counterparts.
29822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29823         (__get_clockfreq_via_cpuinfo): Likewise.
29824         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29825         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29826
29827         * config.h.in (HAVE_IFUNC): New #undef.
29828         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29829         was successful.
29830         * configure: Regenerated.
29831
29832 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29833
29834         * configure.in: Move READELF check to start of file.
29835         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29836         libc_cv_asm_gnu_indirect_function in the process.
29837         * configure: Regenerated.
29838
29839 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29840
29841         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29842         send the output to /dev/null.
29843         (libc_cv_cc_with_libunwind): Likewise.
29844         (libc_cv_as_noexecstack): Likewise.
29845         * configure: Regenerate.
29846
29847 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29848
29849         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29850
29851         * posix/globtest.sh (TMPDIR): Do not set.
29852         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29853         (testout): Likewise.
29854
29855 2012-10-24  Andreas Jaeger  <aj@suse.de>
29856
29857         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29858         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29859         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29860         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29861         posix_fadvise64, posix_fallocate64.
29862
29863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29864         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29865         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29866         Likewise.
29867         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29868         Likewise.
29869         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29870
29871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29872         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29873         <bits/fcntl-linux.h>.
29874         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29875
29876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29877         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29878         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29879         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29880         [__WORDSIZE != 64]: Likewise.
29881
29882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29883
29884         * Makeconfig (run-built-tests): New variable.
29885         * Rules [$(cross-compiling) = yes]: Change condition to
29886         [$(run-built-tests) = no].
29887         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29888         to [$(run-built-tests) = yes].
29889         * elf/Makefile [$(cross-compiling) = no]: Likewise
29890         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29891         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29892         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29893         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29894         * io/Makefile [$(cross-compiling) = no]: Likewise.
29895         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29896         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29897         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29898         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29899         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29900         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29901         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29902         * string/Makefile [$(cross-compiling) = no]: Likewise.
29903
29904         * posix/Makefile ($(objpfx)globtest.out): Pass
29905         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29906         $(rtld-installed-name).
29907         * posix/globtest.sh (elf_objpfx): Remove variable.
29908         (rtld_installed_name): Likewise.
29909         (library_path): Likewise.
29910         (run_program_prefix): New variable.  Use for running globtest
29911         binary.
29912
29913 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29914             Joseph Myers  <joseph@codesourcery.com>
29915
29916         * Makeconfig (host-built-program-cmd): New variable.
29917         * elf/Makefile (tst-stackguard1-ARGS): Use
29918         $(host-built-program-cmd).
29919         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29920         (tst-spawn-ARGS): Likewise.
29921         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29922
29923 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29924             Jim Blandy  <jimb@codesourcery.com>
29925
29926         * Makeconfig (run-via-rtld-prefix): New variable.
29927         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29928         (built-program-cmd): Likewise.
29929
29930 2012-10-22  Andreas Jaeger  <aj@suse.de>
29931
29932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29933         __O_RSYNC if it exists, otherwise to O_SYNC.
29934
29935 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29936             Joseph Myers  <joseph@codesourcery.com>
29937
29938         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29939         /dev/null.
29940         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29941         from /dev/null
29942         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29943         /dev/null.
29944
29945 2012-10-22  Andreas Jaeger  <aj@suse.de>
29946
29947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29948         Define always.
29949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29950
29951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29952         bits/fcntl-linux.h.
29953
29954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29955         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29956
29957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29958         to __O_LARGEFILE.
29959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29960         to __O_LARGEFILE.
29961
29962 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29963             Joseph Myers  <joseph@codesourcery.com>
29964
29965         * config.make.in (NM): New variable.
29966
29967 2012-10-21  Andreas Jaeger  <aj@suse.de>
29968
29969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29970         definitions and declarations that are provided by
29971         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29972
29973 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29974
29975         [BZ #14683]
29976         * elf/Makefile (tests-static): Add tst-leaks1-static.
29977         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29978         ($(objpfx)tst-leaks1-static): New rule.
29979         ($(objpfx)tst-leaks1-static-mem): Likewise.
29980         (tst-leaks1-static-ENV): New macro.
29981         * elf/dl-open.c (dl_open_worker): Check the main application
29982         only if SHARED is defined.
29983         * elf/tst-leaks1-static.c: New file.
29984
29985 2012-10-20  Andreas Jaeger  <aj@suse.de>
29986
29987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29988         generic values for Linux.
29989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29990         and declarations that are provided by <bits/fcntl-linux.h> and
29991         include <bits/fcntl-linux.h>.
29992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29994
29995 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29996
29997         * io/fcntl.h: Move include of <bits/types.h> to the top and
29998         include it unconditionally.
29999
30000 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30001
30002         * wcsmbs/Makefile (tests-ifunc): New variable.
30003         (tests): Add $(tests-ifunc).
30004         * wcsmbs/test-wcschr-ifunc.c: New file.
30005         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30006         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30007         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30008         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30009         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30010
30011         * string/Makefile (tests-ifunc): New variable.
30012         (tests): Add $(tests-ifunc).
30013         * string/test-memccpy.c (TEST_NAME): New macro.
30014         * string/test-memchr.c (TEST_NAME): Likewise.
30015         * string/test-memcmp.c (TEST_NAME): Likewise.
30016         * string/test-memcpy.c (TEST_NAME): Likewise.
30017         * string/test-memmem.c (TEST_NAME): Likewise.
30018         * string/test-memmove.c (TEST_NAME): Likewise.
30019         * string/test-memset.c (TEST_NAME): Likewise.
30020         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30021         * string/test-stpcpy.c (TEST_NAME): Likewise.
30022         * string/test-stpncpy.c (TEST_NAME): Likewise.
30023         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30024         * string/test-strcasestr.c (TEST_NAME): Likewise.
30025         * string/test-strcat.c (TEST_NAME): Likewise.
30026         * string/test-strchr.c (TEST_NAME): Likewise.
30027         * string/test-strcmp.c(TEST_NAME): Likewise.
30028         * string/test-strcpy.c (TEST_NAME): Likewise.
30029         * string/test-strcspn.c (TEST_NAME): Likewise.
30030         * string/test-strlen.c (TEST_NAME): Likewise.
30031         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30032         * string/test-strncmp.c (TEST_NAME): Likewise.
30033         * string/test-strncpy.c (TEST_NAME): Likewise.
30034         * string/test-strnlen.c (TEST_NAME): Likewise.
30035         * string/test-strpbrk.c (TEST_NAME): Likewise.
30036         * string/test-strrchr.c (TEST_NAME): Likewise.
30037         * string/test-strspn.c (TEST_NAME): Likewise.
30038         * string/test-strstr.c (TEST_NAME): Likewise.
30039         * string/test-bcopy-ifunc.c: New file.
30040         * string/test-bzero-ifunc.c: Likewise.
30041         * string/test-memccpy-ifunc.c: Likewise.
30042         * string/test-memchr-ifunc.c: Likewise.
30043         * string/test-memcmp-ifunc.c: Likewise.
30044         * string/test-memcpy-ifunc.c: Likewise.
30045         * string/test-memmem-ifunc.c: Likewise.
30046         * string/test-memmove-ifunc.c: Likewise.
30047         * string/test-mempcpy-ifunc.c: Likewise.
30048         * string/test-memset-ifunc.c: Likewise.
30049         * string/test-rawmemchr-ifunc.c: Likewise.
30050         * string/test-stpcpy-ifunc.c: Likewise.
30051         * string/test-stpncpy-ifunc.c: Likewise.
30052         * string/test-strcasecmp-ifunc.c: Likewise.
30053         * string/test-strcasestr-ifunc.c: Likewise.
30054         * string/test-strcat-ifunc.c: Likewise.
30055         * string/test-strchr-ifunc.c: Likewise.
30056         * string/test-strchrnul-ifunc.c: Likewise.
30057         * string/test-strcmp-ifunc.c: Likewise.
30058         * string/test-strcpy-ifunc.c: Likewise.
30059         * string/test-strcspn-ifunc.c: Likewise.
30060         * string/test-strlen-ifunc.c: Likewise.
30061         * string/test-strncasecmp-ifunc.c: Likewise.
30062         * string/test-strncat-ifunc.c: Likewise.
30063         * string/test-strncmp-ifunc.c: Likewise.
30064         * string/test-strncpy-ifunc.c: Likewise.
30065         * string/test-strnlen-ifunc.c: Likewise.
30066         * string/test-strpbrk-ifunc.c: Likewise.
30067         * string/test-strrchr-ifunc.c: Likewise.
30068         * string/test-strspn-ifunc.c: Likewise.
30069         * string/test-strstr-ifunc.c: Likewise.
30070
30071         * debug/Makefile (tests-ifunc): New variable.
30072         (tests): Add $(tests-ifunc).
30073         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30074         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30075         * debug/test-stpcpy_chk-ifunc.c: New file.
30076         * debug/test-strcpy_chk-ifunc.c: Likewise.
30077
30078 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079
30080         [BZ #13601]
30081         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30082         header is not read in.
30083
30084 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30085
30086         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30087         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30088         directly.  Pass built executable to script as
30089         $(built-program-cmd).
30090         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30091         $testprogram without using LD_LIBRARY_PATH and $ldso.
30092
30093         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30094         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30095         $(rtld-installed-name).
30096         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30097         (rtld_installed_name): Likewise.
30098         (library_path): Likewise.
30099         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30100         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30101         $(run-program-prefix) to tst-tables.sh.
30102         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30103         it to run tst-table-from and tst-table-to.
30104         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30105         Pass it to tst-table.sh.
30106         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30107         $(run-program-prefix) to tst-gettext.sh.
30108         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30109         tst-translit.sh.
30110         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30111         tst-gettext2.sh.
30112         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30113         to run tst-gettext.
30114         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30115         to run tst-gettext2.
30116         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30117         to run tst-translit.
30118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30119         $(run-program-prefix) to tst-mtrace.sh.
30120         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30121         to run tst-mtrace.
30122         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30123         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30124         $(rtld-installed-name).
30125         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30126         (rtld_installed_name): Likewise.
30127         (run_program_prefix): New variable.  Use it to run wordexp-test.
30128
30129         * Makeconfig (ARCH): Remove all definitions.
30130         (machine): Likewise.
30131         [ARCH]: Remove conditional code.
30132         [!objdir]: Give error.
30133         [!objdir] (objpfx): Remove.
30134         [!objdir] (common-objpfx): Likewise.
30135         [!objdir] (common-objdir): Likewise.
30136         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30137         AC_CONFIG_FILES call.
30138         * configure: Regenerated.
30139
30140         [BZ #13888]
30141         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30142         or TMPDIR.
30143         (testout): Likewise.
30144
30145         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30146         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30147         $(rtld-installed-name).
30148         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30149         (rtld_installed_name): Likwise.
30150         (runit): Remove function.
30151         (run_getconf): New variable,  Use it for running getconf binary.
30152
30153 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30154
30155         [BZ #14716]
30156         * string/test-memmem.c (check_result): New function.
30157         (do_one_test): Use it.
30158         (check1): New function.
30159         (test_main): Use it.
30160
30161 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30162
30163         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30164
30165 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30166
30167         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30168         (_G_LSEEK64): Likewise.
30169         (_G_MMAP64): Likewise.
30170         (_G_FSTAT64): Likewise.
30171         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30172         (_G_LSEEK64): Likewise.
30173         (_G_MMAP64): Likewise.
30174         (_G_FSTAT64): Likewise.
30175         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30176         unconditional.  Call __mmap64 directly.
30177         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30178         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30179         __lseek64 directly.
30180         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30181         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30182         __mmap64 directly.
30183         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30184         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30185         __lseek64 directly.
30186         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30187         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30188         __lseek64 directly.
30189         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30190         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30191         __lseek64 directly.
30192         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30193         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30194         __fxstat64 directly.
30195         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30196         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30197         unconditional.
30198         (freopen64) [!_G_OPEN64]: Remove conditional code.
30199         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30200         unconditional.
30201         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30202         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30203         unconditional.
30204         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30205         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30206         unconditional.
30207         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30208         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30209         unconditional.
30210         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30211         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30212         unconditional.
30213         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30214         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30215         unconditional.
30216         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30217         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30218         unconditional.
30219         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30220
30221 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30222
30223         [BZ #12140]
30224         * manual/memory.texi (Malloc Tunable Parameters): Add note
30225         about free list pointers overwriting some perturb bytes.
30226         Wording suggested by Roland McGrath.
30227
30228 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30229
30230         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30231         (lgamma_test): Likewise.
30232         (tgamma_test): Likewise.
30233
30234 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30235
30236         [BZ #14700]
30237         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30238         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30239
30240 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30241
30242         * NEWS: Mention BZ #14716.
30243         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30244         when removing AVAILABLE1_USES_J macro.
30245
30246 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30247
30248         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30249         (__bswap_64): __uint64_t for unsigned 64-bit int.
30250
30251 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30252
30253         * include/string.h (memmem): Declare libc hidden alias.
30254         * string/memmem.c (memmem): Define libc hidden alias.
30255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30256         __read, __close instead of open, read, close.
30257
30258 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30259
30260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30261         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30262         global and hidden.
30263         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30264         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30265         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30266         Likewise.
30267         (__rawmemchr_sse2): Likewise.
30268         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30269         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30270         (__strchr_sse2): Likewise.
30271         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30272         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30273         (__strcasecmp_sse2): Likewise.
30274         (__strncasecmp_sse2): Likewise.
30275         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30276         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30277         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30278         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30279         (__strrchr_sse2): Likewise.
30280         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30281         ifunc-impl-list.c.
30282         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30290         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30291         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30292         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30293         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30294         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30295         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30296         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30298         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30299         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30300         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30301         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30302         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30303         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30304         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30305         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30306         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30308         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30309         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30310         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30311         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30312
30313         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30314         global and hidden.
30315         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30316         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30317         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30318         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30319         Likewise.
30320         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30321         Likewise.
30322         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30323         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30324         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30325         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30326         ifunc-impl-list.c.
30327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30328         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30337         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30338         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30339         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30340         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30341         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30344         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30345         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30347         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30350         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30352         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30353         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30354         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30355         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30357         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30358         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30359         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30360         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30361         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30363         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30364         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30365         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30366         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30367         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30368
30369         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30370         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30371         * include/ifunc-impl-list.h: New file.
30372         * misc/ifunc-impl-list.c: Likewise.
30373         * misc/Makefile (routines): Add ifunc-impl-list.
30374         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30375         * string/test-string.h: Include <ifunc-impl-list.h>.
30376         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30377         TEST_NAME]: New variables.
30378         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30379         are defined.
30380         (test_init): Call __libc_ifunc_impl_list to initialize
30381         func_list if TEST_IFUNC and TEST_NAME are defined.
30382
30383         * string/Makefile (strop-tests): Add bcopy and bzero.
30384         * string/test-bcopy.c: New file.
30385         * string/test-bzero.c: Likewise.
30386         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30387         defined.
30388         * string/test-memset.c: Support bzero test if TEST_BZERO is
30389         defined.
30390         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30391         __libc_memmove.
30392         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30393         __libc_memset.
30394         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30395         of memset.
30396
30397 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30398
30399         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30400         * configure: Regenerated.
30401
30402         * Makeconfig (+link-static-before-libc): Don't include
30403         $(link-static-libc).
30404
30405         * libio/libio.h (_IO_pos_t): Remove.
30406
30407 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30408
30409         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30410         McGrath.
30411
30412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30413
30414         * crypt/crypt-entry.c: Include fips-private.h.
30415         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30416         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30417         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30418         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30419
30420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30421
30422         * crypt/crypt-private.h: Include stdbool.h.
30423         (_ufc_setup_salt_r): Return bool.
30424         * crypt/crypt-entry.c: Include errno.h.
30425         (__crypt_r): Return NULL with EINVAL for bad salt.
30426         * crypt/crypt_util.c (bad_for_salt): New.
30427         (_ufc_setup_salt_r): Check that salt is long enough and within
30428         the specified alphabet.
30429         * crypt/badsalttest.c: New file.
30430         * crypt/Makefile (tests): Add it.
30431         ($(objpfx)badsalttest): New.
30432
30433 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30434
30435         * NEWS: Add entry for BZ #14602.
30436
30437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30438
30439         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30440         type-generic.
30441         * math/libm-test.inc: Update comment listing what functions and
30442         macros are tested.
30443         (isgreater_test): New function.
30444         (isgreaterequal_test): Likewise.
30445         (isless_test): Likewise.
30446         (islessequal_test): Likewise.
30447         (islessgreater_test): Likewise.
30448         (isunordered_test): Likewise.
30449         (main): Call the new functions.
30450
30451 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30452
30453         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30454         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30455         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30456         * sysdeps/i386/configure: Regenerated.
30457         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30458         * sysdeps/mach/configure: Regenerated.
30459         * sysdeps/mach/hurd/configure: Regenerated.
30460         * sysdeps/powerpc/configure: Regenerated.
30461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30463         * sysdeps/s390/s390-32/configure: Regenerated.
30464         * sysdeps/s390/s390-64/configure: Regenerated.
30465         * sysdeps/sh/configure: Regenerated.
30466         * sysdeps/sparc/configure: Regenerated.
30467         * sysdeps/unix/sysv/linux/configure: Regenerated.
30468         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30469         * sysdeps/x86_64/configure: Regenerated.
30470
30471         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30472         defined.  Don't check if MAP is NULL.
30473
30474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30475
30476         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30477         (_G_stat64): Likewise.
30478         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30479         (_G_stat64): Likewise.
30480         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30481         instead of struct _G_stat64.
30482         * libio/fileops.c (mmap_remap_check): Likewise.
30483         (decide_maybe_mmap): Likewise.
30484         (_IO_new_file_seekoff): Likewise.
30485         (_IO_file_stat): Likewise.
30486         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30487         _G_off64_t.
30488         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30489         instead of struct _G_stat64.
30490         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30491
30492 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30493
30494         [BZ #14602]
30495         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30496         Replace with ...
30497         (CHECK_EOL): New macro.
30498         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30499         CHECK_EOL.
30500         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30501         Replace with CHECK_EOL.
30502         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30503         Replace with CHECK_EOL.
30504
30505 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30506
30507         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30508         type-generic.
30509         * math/libm-test.inc: Update comment listing what functions and
30510         macros are tested.
30511         (finite_test): New function.
30512         (isinf_test): Likewise.
30513         (isnan_test): Likewise.
30514         (fpclassify_test): Test subnormal input.
30515         (isfinite_test): Likewise.
30516         (isnormal_test): Likewise.
30517         (main): Call the new functions.
30518
30519 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30520
30521         [BZ #14660]
30522         * Makerules (%.dynsym): Force C locale when running
30523         $(OBJDUMP) --dynamic-syms.
30524
30525 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30526
30527         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30528         <stdint.h>.
30529
30530 2012-10-06  David S. Miller  <davem@davemloft.net>
30531
30532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30533         upper 32-bits of the length value in %o2 since we use branch-on-register
30534         tests which consider the entire 64-bit register.
30535
30536 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30537
30538         * string/test-strstr.c (check2): Add a test for page boundary.
30539
30540 2012-10-05  David S. Miller  <davem@davemloft.net>
30541
30542         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30543         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30544         file.
30545         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30546         sysdep_routines.
30547         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30548         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30549         and bzero when HWCAP_SPARC_CRYPTO is present.
30550
30551 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30552
30553         [BZ #14602]
30554         * string/test-strstr.c (check2): New function.
30555         (test_main): Call check2.
30556
30557         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30558         and bug-strchr1.
30559         * string/bug-strcasestr1.c (do_test): Moved to ...
30560         * string/test-strcasestr.c (check1): Here.  New function.
30561         (do_one_test): Break out result checking code into ...
30562         (check_result): This.  New function.
30563         (do_one_test): Call check_result.
30564         (test_main): Call check1.
30565         * string/bug-strchr1.c (do_test): Moved to ...
30566         * string/test-strchr.c (check1): Here.  New function.
30567         (do_one_test): Break out result checking code into ...
30568         (check_result): This.  New function.
30569         (do_one_test): Call check_result.
30570         (test_main): Call check1.
30571         * string/bug-strstr1.c (main): Moved to ...
30572         * string/test-strstr.c (check1): Here.  New function.
30573         (do_one_test): Break out result checking code into ...
30574         (check_result): This.  New function.
30575         (do_one_test): Call check_result.
30576         (test_main): Call check1.
30577         * string/bug-strcasestr1.c: Removed.
30578         * string/bug-strchr1.c: Likewise.
30579         * string/bug-strstr1.c: Likewise.
30580
30581         * elf/Makefile (dl-routines): Add hwcaps.
30582         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30583         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30584         (_dl_important_hwcaps): Moved to ...
30585         * elf/dl-hwcaps.c: Here.  New file.
30586         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30587
30588         [BZ #14557]
30589         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30590         if IS_IN_rtld isn't defined.
30591
30592         * elf/dl-support.c (_dl_sysinfo_map): New.
30593         Include "get-dynamic-info.h" and "setup-vdso.h".
30594         (_dl_non_dynamic_init): Call setup_vdso.
30595         * elf/dynamic-link.h: Don't include <assert.h>.
30596         (elf_get_dynamic_info): Moved to ...
30597         * elf/get-dynamic-info.h: Here.  New file.
30598         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30599         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30600         * elf/setup-vdso.h: Here.  New file.
30601         * elf/rtld.c: Include "setup-vdso.h".
30602         (dl_main): Call setup_vdso.
30603
30604 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30605
30606         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30607         creal in comment listing functions tested.  List finite, isinf,
30608         isnan, isless, islessequal, isgreater, isgreaterequal,
30609         islessgreater, isunordered, lgamma_r and pow10 as functions and
30610         macros not tested.  Mention which functions not tested are aliases
30611         for other functions.  Fix typo.  Note that signs of NaNs are not
30612         tested.
30613
30614         * scripts/config.guess: Update from config.git.
30615         * scripts/config.sub: Likewise.
30616
30617 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30618
30619         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30620         * misc/madvise.c (madvise): Renamed to __madvise.
30621         Make madvise a weak alias.
30622         * include/sys/mman.h: Declare __madvise.
30623         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30624         * sysdeps/unix/syscalls.list
30625         (madvise): Make __madvise the strong name, and madvise a weak alias.
30626         * sysdeps/unix/sysv/linux/syscalls.list
30627         (madvise, mmap): Remove redundant entries.
30628         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30629         * malloc/malloc.c (mtrim): Likewise.
30630         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30631
30632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30633
30634         * sysdeps/mach/hurd/dl-cache.c: File removed.
30635         * config.h.in (USE_LDCONFIG): New #undef.
30636         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30637         * configure: Regenerated.
30638         * elf/Makefile (dl-routines): Add dl-cache only under
30639         [$(use-ldconfig) = yes].
30640         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30641         cache on [USE_LDCONFIG].
30642         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30643         [USE_LDCONFIG].
30644         * elf/rtld.c (dl_main): Likewise.
30645
30646 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30647
30648         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30649         _SC_LEVEL4_CACHE_LINESIZE.
30650
30651 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30652
30653         * sysdeps/unix/bsd/confstr.h: File removed.
30654
30655 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30656
30657         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30658         sys/sdt-config.h.
30659
30660 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30661
30662         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30663         Make 'mapoff' field ElfW(Off) rather than off_t.
30664
30665 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30666
30667         * nscd/Makefile: Remove nscd-cflags and all its users.
30668         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30669         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30670
30671         [BZ #10631]
30672         * malloc.c (malloc_printerr): Clarify error message.
30673
30674 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30675
30676         [BZ #14648]
30677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30678         Set bit_FMA_Usable if FMA is supported.
30679         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30680         macro.
30681         (bit_FMA4_Usable): Updated.
30682         (index_FMA_Usable): New macro.
30683         (CPUID_FMA): Likewise
30684         (HAS_FMA): Defined with bit_FMA_Usable.
30685
30686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30687
30688         * bits/types.h (__swblk_t): Type removed.
30689         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30690         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30692         (__SWBLK_T_TYPE): Likewise.
30693         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30694         (__SWBLK_T_TYPE): Likewise.
30695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30696         (__SWBLK_T_TYPE): Likewise.
30697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30698         (__SWBLK_T_TYPE): Likewise.
30699
30700 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30701             Honza Horak <hhorak@redhat.com>
30702
30703         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30704         (xdr_mapname): Use YPMAXMAP as maxsize.
30705         (xdr_peername): Use YPMAXPEER as maxsize.
30706         (xdr_keydat): Use YPAXRECORD as maxsize.
30707         (xdr_valdat): Use YPMAXRECORD as maxsize.
30708
30709 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30710
30711         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30712
30713         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30714         * csu/init-first.c: ... here.
30715         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30716         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30717         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30719         * sysdeps/i386/init-first.c: File removed.
30720         * sysdeps/sh/init-first.c: File removed.
30721
30722 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30723
30724         [BZ #14645]
30725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30726         if x * y might underflow to zero and z is zero.
30727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30729         * math/libm-test.inc (min_subnorm_value): New variable.
30730         (fma_test): Add more tests.
30731         (fma_test_towardzero): Likewise.
30732         (fma_test_downward): Likewise
30733         (fma_test_upward): Likewise.
30734         (initialize): Set min_subnorm_value.
30735
30736 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30737
30738         [BZ #14638]
30739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30740         0 + 0.
30741         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30742         mode for addition resulting in exact zero.
30743         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30745         exact 0 + 0.
30746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30748         * math/libm-test.inc (fma_test): Add more tests.
30749         (fma_test_towardzero): New function.
30750         (fma_test_downward): Likewise.
30751         (fma_test_upward): Likewise.
30752         (main): Call the new functions.
30753
30754 2012-09-28  David S. Miller  <davem@davemloft.net>
30755
30756         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30757
30758 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30759
30760         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30761         instead of SIGALRM.
30762
30763         * sysdeps/gnu/_G_config.h: Moved to ...
30764         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30765         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30766         * sysdeps/generic/_G_config.h: ... here.
30767
30768         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30769
30770         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30771
30772         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30773         Conditionalize target on [libnss_test1.so-version].
30774
30775         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30776
30777         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30778         (elfobjdir): Move out of conditionals.
30779
30780         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30781         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30782         (__nss_lookup_function): Conditionalize label remove_from_tree on
30783         [!DO_STATIC_NSS || SHARED], matching its only use.
30784
30785 2012-09-28  David S. Miller  <davem@davemloft.net>
30786
30787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30788         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30789         file.
30790         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30791         sysdep_routines.
30792         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30794         when HWCAP_SPARC_CRYPTO is present.
30795
30796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30797
30798         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30799
30800 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30801
30802         [BZ #6530]
30803         * stdio-common/vfprintf.c (process_string_arg): Revert
30804         2000-07-22 change.
30805
30806 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30807
30808         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30809         for testcase.
30810         * stdio-common/tst-sprintf.c: Include <locale.h>
30811         (main): Test sprintf's handling of incomplete multibyte
30812         characters.
30813
30814 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30815
30816         * elf/dl-runtime.c (VERSYMIDX): Removed.
30817         * elf/dl-version.c (VERSYMIDX): Likewise.
30818         * elf/do-rel.h (VERSYMIDX): Likewise.
30819         (VALIDX): Likewise.
30820         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30821         * elf/rtld.c (VALIDX): Likewise.
30822         (ADDRIDX): Likewise.
30823         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30824         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30825         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30826         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30827         (VALIDX): Likewise.
30828         (ADDRIDX): Likewise.
30829
30830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30831
30832         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30833
30834 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30835
30836         [BZ #11438]
30837         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30838         to global scope.
30839         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30840         addresses are in the same scope as 192.0.2/24.
30841         * posix/gai.conf: Document new scope table defaults.
30842
30843 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30844
30845         [BZ #5298]
30846         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30847         for ftell.  Compute offsets from write pointers instead.
30848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30849
30850 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851
30852         [BZ #14543]
30853         * libio/Makefile (tests): New test case tst-fseek.
30854         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30855         combination works in wide mode.
30856         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30857         state when the external buffer state changes.
30858
30859 2012-09-27  David S. Miller  <davem@davemloft.net>
30860
30861         [BZ #14376]
30862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30863         pass reloc->r_addend in as the 'high' argument to
30864         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30865
30866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30867
30868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30869
30870         * rt/tst-aio2.c: Include <pthread.h>.
30871         * rt/tst-aio3.c: Likewise.
30872
30873 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30874
30875         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30876
30877 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30878
30879         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30880         contents on [SHARED].
30881
30882 2012-09-26  Marek Polacek  <polacek@redhat.com>
30883
30884         [BZ #14530]
30885         [BZ #13741]
30886         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30887         for C++ and GCC <4.3 as well as for non GCC compilers.
30888
30889 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30890
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30892
30893 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30894
30895         * Makefile.in (all, install): Declare with .PHONY.
30896         Reported by Michael Hope <michael.hope@linaro.org>.
30897
30898 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30899
30900         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30901         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30902         system header.
30903         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30904         Likewise.
30905         (sydep_routines): Add the new and the internal functions.
30906         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30907         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30909         (GLIBC_2.17): Add the new function.
30910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30911         (GLIBC_2.17): Likewise.
30912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30913         (GLIBC_2.17): Likewise.
30914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30915         (GLIBC_2.17): Likewise.
30916         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30917
30918 2012-09-25  Alan Modra  <amodra@gmail.com>
30919
30920         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30921         Add release barrier before setting once_control to say
30922         initialisation is done.  Add hints on lwarx.  Use macro in
30923         place of isync.
30924         (clear_once_control): Add release barrier.
30925
30926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30927
30928         [BZ #13629]
30929         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30930         specially.
30931         * math/s_clog10.c (__clog10): Likewise.
30932         * math/s_clog10f.c (__clog10f): Likewise.
30933         * math/s_clog10l.c (__clog10l): Likewise.
30934         * math/s_clogf.c (__clogf): Likewise.
30935         * math/s_clogl.c (__clogl): Likewise.
30936         * math/Makefile (libm-calls): Add x2y2m1.
30937         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30938         (__x2y2m1): Likewise.
30939         (__x2y2m1l): Likewise.
30940         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30941         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30944         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30945         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30946         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30947         * sysdeps/i386/fpu/libm-test-ulps: Update.
30948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30949
30950         [BZ #14621]
30951         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30952         int as type of variable DEPTH.
30953         (glob): Use size_t instead of int as type of variables NEWCOUNT
30954         and OLD_PATHC.
30955
30956 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30957
30958         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30959         Add s_sincosf-sse2.
30960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30961         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30962         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30963         macros for using routine as __sincosf_ia32.
30964         Use macro for function declaration and weak_alias.
30965         * sysdeps/i386/fpu/libm-test-ulps: Update.
30966
30967         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30969
30970         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30971         subnormal argument.
30972         * math/s_cexpf.c (__cexpf): Likewise.
30973         * math/s_csinf.c (__csinf): Likewise.
30974         * math/s_csinhf.c (__csinhf): Likewise.
30975         * math/s_ctanf.c (__ctanf): Likewise.
30976         * math/s_ctanhf.c (__ctanhf): Likewise.
30977         * math/s_ccosh.c (__ccoshf): Likewise.
30978         * math/s_cexp.c (__cexpl): Likewise.
30979         * math/s_csin.c (__csin): Likewise.
30980         * math/s_csinh.c (__csinh): Likewise.
30981         * math/s_ctan.c (__ctan): Likewise.
30982         * math/s_ctanh.c (ctanh): Likewise.
30983         * math/s_ccoshl.c (__ccoshl): Likewise.
30984         * math/s_cexpl.c (__cexpl): Likewise.
30985         * math/s_csinl.c (__csinl): Likewise.
30986         * math/s_csinhl.c (__csinhl): Likewise.
30987         * math/s_ctanl.c (__ctanl): Likewise.
30988         * math/s_ctanhl.c (__ctanhl): Likewise.
30989
30990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30991
30992         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30993         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30994         (_IO_off_t): Define to __off_t, not _G_off_t.
30995         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30996         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30997         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30998         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30999         type of __dummy and __dummy2 fields.
31000         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31001         (_G_ssize_t): Likewise.
31002         (_G_off_t): Likewise.
31003         (_G_pid_t): Likewise.
31004         (_G_uid_t): Likewise.
31005         (_G_wchar_t): Likewise.
31006         (_G_wint_t): Likewise.
31007         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31008         (_G_ssize_t): Likewise.
31009         (_G_off_t): Likewise.
31010         (_G_pid_t): Likewise.
31011         (_G_uid_t): Likewise.
31012         (_G_wchar_t): Likewise.
31013         (_G_wint_t): Likewise.
31014         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31015         (_G_ssize_t): Likewise.
31016         (_G_off_t): Likewise.
31017         (_G_pid_t): Likewise.
31018         (_G_uid_t): Likewise.
31019         (_G_wchar_t): Likewise.
31020         (_G_wint_t): Likewise.
31021
31022 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31023
31024         * malloc/arena.c: Include malloc-sysdep.h.
31025         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31026         is sufficient to shrink the heap or an unmap is needed.
31027         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31028         new function check_may_shrink_heap.
31029         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31030         new function check_may_shrink_heap.
31031
31032 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31033
31034         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31035         comments.
31036
31037 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31038
31039         * catgets/test-gencat.sh: Add "set -e".
31040         * elf/tst-pathopt.sh: Likewise.
31041         * grp/tst_fgetgrent.sh: Likewise.
31042         * iconvdata/run-iconv-test.sh: Likewise.
31043         * intl/tst-gettext.sh: Likewise.
31044         * intl/tst-gettext2.sh: Likewise.
31045         * intl/tst-gettext4.sh: Likewise.
31046         * intl/tst-gettext6.sh: Likewise.
31047         * intl/tst-translit.sh: Likewise.
31048         * io/ftwtest-sh: Likewise.
31049         * libio/test-freopen.sh: Likewise.
31050         * malloc/tst-mtrace.sh: Likewise.
31051         * posix/globtest.sh: Likewise.
31052         * posix/tst-getconf.sh: Likewise.
31053         * posix/wordexp-tst.sh: Likewise.
31054         * stdio-common/tst-printf.sh: Likewise.
31055         * stdio-common/tst-unbputc.sh: Likewise.
31056         * stdlib/tst-fmtmsg.sh: Likewise.
31057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31058         * catgets/Makefile: Do not specify -e option when running
31059         testsuite shell scripts.
31060         * elf/Makefile: Likewise.
31061         * grp/Makefile: Likewise.
31062         * iconvdata/Makefile: Likewise.
31063         * intl/Makefile: Likewise.
31064         * io/Makefile: Likewise.
31065         * libio/Makefile: Likewise.
31066         * malloc/Makefile: Likewise.
31067         * posix/Makefile: Likewise.
31068         * stdio-common/Makefile: Likewise.
31069         * stdlib/Makefile: Likewise.
31070         * sysdeps/x86_64/Makefile: Likewise.
31071
31072         * io/ftwtest-sh: Add copyright header.
31073         * posix/globtest.sh: Likewise.
31074         * posix/tst-getconf.sh: Likewise.
31075         * posix/wordexp-tst.sh: Likewise.
31076         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31077
31078 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31079
31080         [BZ #13679]
31081         * Makeconfig (+link): Defined as $(+link-static) if
31082         $(build-shared) isn't yes.
31083         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31084         isn't yes.
31085         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31086
31087         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31088
31089         [BZ #14562]
31090         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31091         new chunk size with MALLOC_ALIGN_MASK.
31092
31093 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31094
31095         [BZ #5044]
31096         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31097         <rounding-mode.h>.
31098         (__printf_fphex): Determine rounding using get_rounding_mode and
31099         round_away.
31100         * stdio-common/tst-printf-round.c (struct hex_test): New
31101         structure.
31102         (hex_tests): New variable.
31103         (test_hex_in_one_mode): New function.
31104         (do_test): Also run tests for hex float output.
31105
31106 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31107
31108         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31109         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31110         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31111         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31112         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31113         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31114         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31116
31117 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31118
31119         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31120         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31121         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31122         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31123
31124 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31125
31126         [BZ #14579]
31127         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31128         mode only.
31129         * elf/tst-rtld-load-self.sh: New test.
31130         * elf/Makefile: Run it.
31131
31132 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31133
31134         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31135         (tst-writev-ENV): Remove.
31136         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31137
31138 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31139
31140         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31141
31142 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31143
31144         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31145         unconditional.
31146         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31147         Likewise.
31148         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31149         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31151         Likewise.
31152
31153 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31154
31155         [BZ #14587]
31156         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31157         * config.make.in (have-cpp-asm-debuginfo): Removed.
31158         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31159         * configure: Regenerated.
31160
31161 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31162
31163         [BZ #5044]
31164         * stdio-common/printf_fp.c: Include <stdbool.h> and
31165         <rounding-mode.h>.
31166         (___printf_fp): Determine rounding using get_rounding_mode and
31167         round_away.
31168         * stdio-common/tst-printf-round.c: New file.
31169         * stdio-common/Makefile (tests): Add tst-printf-round.
31170         (link-libm): New variable.
31171         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31172
31173 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31174
31175         [BZ #14576]
31176         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31177         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31178         Likewise.
31179         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31180         Likewise.
31181
31182 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31183
31184         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31185         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31186         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31188
31189 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31190
31191         [BZ #14518]
31192         * include/rounding-mode.h: New file.
31193         * sysdeps/generic/get-rounding-mode.h: Likewise.
31194         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31195         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31196         (MAX_VALUE): New macro.
31197         (MIN_VALUE): Likewise.
31198         (overflow_value): New function.
31199         (underflow_value): Likewise.
31200         (round_and_return): Use overflow_value and underflow_value to
31201         determine return values in overflow and underflow cases.  Use
31202         round_away to determine rounding depending on rounding mode.
31203         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31204         determine return values in overflow and underflow cases.
31205         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31206         (struct test_results): New structure.
31207         (struct test): Use struct test_results to store expected results
31208         for all rounding modes.
31209         (TEST): Include expected results for all rounding modes.
31210         (test_in_one_mode): New function.
31211         (do_test): Use test_in_one_mode to compute and check results.
31212         Check results for all rounding modes.
31213         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31214         $(link-libm).
31215
31216 2012-12-09  Allan McRae  <allan@archlinux.org>
31217
31218         * sysdeps/i386/fpu/libm-test-ulps: Update
31219
31220 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31221
31222         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31223         (_G_int32_t): Likewise.
31224         (_G_uint16_t): Likewise.
31225         (_G_uint32_t): Likewise.
31226         (_G_HAVE_BOOL): Likewise.
31227         (_G_HAVE_ATEXIT): Likewise.
31228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31229         (_G_HAVE_IO_FILE_OPEN): Likewise.
31230         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31231         (_G_int32_t): Likewise.
31232         (_G_uint16_t): Likewise.
31233         (_G_uint32_t): Likewise.
31234         (_G_HAVE_BOOL): Likewise.
31235         (_G_HAVE_ATEXIT): Likewise.
31236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31237         (_G_HAVE_IO_FILE_OPEN): Likewise.
31238         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31239         (_G_int32_t): Likewise.
31240         (_G_uint16_t): Likewise.
31241         (_G_uint32_t): Likewise.
31242         (_G_HAVE_BOOL): Likewise.
31243         (_G_HAVE_ATEXIT): Likewise.
31244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31245         (_G_HAVE_IO_FILE_OPEN): Likewise.
31246
31247 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31248
31249         * csu/libc-tls.c: Update copyright years.
31250
31251 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31252
31253         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31254         [!_G_USING_THUNKS]: Remove conditional code.
31255         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31256         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31257
31258         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31259         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31260         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31261         (_G_VTABLE_LABEL_PREFIX): Likewise.
31262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31263         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31265         (_G_VTABLE_LABEL_PREFIX): Likewise.
31266         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31267         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31269         (_G_VTABLE_LABEL_PREFIX): Likewise.
31270         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31271
31272 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31273
31274         * libio/Makefile: Include ../Makeconfig before tests.
31275         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31276         only if $(build-shared) is yes.
31277
31278         * iconv/gconv_db.c: Update copyright years.
31279
31280 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31281
31282         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31283         unwind info if defined PIC. Fix special cases description.
31284         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31285
31286         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31287         DP_HI_MASK entry.
31288         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31289
31290 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31291
31292         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31293
31294         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31295         is NULL.
31296
31297         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31298         (LDLIBS-tst-chk4): This.
31299         (LDFLAGS-tst-chk5): Renamed to ...
31300         (LDLIBS-tst-chk5): This.
31301         (LDFLAGS-tst-chk6): Renamed to ...
31302         (LDLIBS-tst-chk6): This.
31303         (LDFLAGS-tst-lfschk4): Renamed to ...
31304         (LDLIBS-tst-lfschk4): This.
31305         (LDFLAGS-tst-lfschk5): Renamed to ...
31306         (LDLIBS-tst-lfschk5): This.
31307         (LDFLAGS-tst-lfschk6): Renamed to ...
31308         (LDLIBS-tst-lfschk6): This.
31309
31310         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31311         on $(common-objpfx)soversions.mk.
31312
31313 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31314
31315         [BZ #10014]
31316         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31317         example host name.
31318
31319 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31320
31321         * malloc/arena.c (arena_get_retry): New function that gets
31322         another arena for the caller to try its request on.
31323         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31324         current arena cannot fulfill the request.
31325         (__libc_memalign): Likewise.
31326         (__libc_memalign): Likewise.
31327         (__libc_pvalloc): Likewise.
31328         (__libc_calloc): Likewise.
31329
31330 2012-09-05  John Tobey  <john.tobey@gmail.com>
31331
31332         [BZ #13542]
31333         * manual/arith.texi (Operations on Complex): Fix description
31334         of carg branch cut.
31335
31336 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31337
31338         [BZ #10014]
31339         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31340         host name.
31341
31342         [BZ #10038]
31343         * manual/memory.texi (Memory): Make order of menu items match
31344         order of sections.
31345
31346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31347
31348         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31349         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31350         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31351
31352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31353
31354         * csu/libc-tls.c (static_dtv): Renamed to ...
31355         (_dl_static_dtv): This.  Make it global.
31356         (_dl_initial_dtv): Removed.
31357         (__libc_setup_tls): Updated.
31358         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31359         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31360         DL_INITIAL_DTV.
31361
31362 2012-09-06  Petr Machata  <pmachata@redhat.com>
31363
31364         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31365         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31366         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31367         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31368
31369 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31370
31371         [BZ #14545]
31372         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31373         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31374         freeing dtv[-1].
31375
31376 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31377
31378         [BZ #14544]
31379         * Makeconfig (link-static-before-libc): Replace $(+prector)
31380         with $(+prectorT).
31381         (link-static-after-libc): Replace $(+postctor) with
31382         $(+postctorT).
31383         (link-bounded): Replace $(+prector)/$(+postctor) with
31384         $(+prectorT)/$(+postctorT).
31385         (+prectorT): New macro.
31386         (+postctorT): Likewise.
31387
31388 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31389
31390         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31391         (round_str): Handle values above the maximum for IBM long double
31392         as inexact.
31393         * stdlib/tst-strtod-round.c (tests): Regenerated.
31394
31395 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31396
31397         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31398         assembler flag.
31399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31400         zarch_nohighgprs around the zarch optimized routines.
31401         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31402         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31404         for zarch.
31405
31406 2012-09-05  David S. Miller  <davem@davemloft.net>
31407
31408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31409
31410         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31411         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31412         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31414         entries.
31415
31416 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31417
31418         * malloc/arena.c: Fold copyright years.
31419         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31420
31421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31422
31423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31424
31425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31426
31427         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31428
31429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31430
31431         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31432         change internal state upon failure.
31433
31434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31435
31436         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31437         * malloc/memusage.c (mmap): Likewise.
31438         (mmap64, mremap): Likewise.  Adjust name in comment.
31439
31440 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31441
31442         * libio/fileops.c: Fix typos in comments.
31443         * libio/oldfileops.c: Likewise.
31444         * libio/wfileops.c: Likewise.
31445
31446 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31447
31448         [BZ #1349]
31449         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31450         (tst-malloc-usable-ENV): Set environment for test case.
31451         * malloc/hooks.c (malloc_check_get_size): New function to get
31452         requested size.
31453         * malloc/malloc.c (musable): Use malloc_check_get_size.
31454         * malloc/tst-malloc-usable.c: New test case.
31455
31456 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31457
31458         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31459
31460 2012-09-05  Allan McRae  <allan@archlinux.org>
31461
31462         [BZ #13966]
31463         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31464         determine header location.
31465         * configure: Regenerated.
31466
31467 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31468
31469         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31470         float format.
31471         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31472         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31473         format.
31474         (test): Regenerate.
31475
31476 2012-09-04  David S. Miller  <davem@davemloft.net>
31477
31478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31480         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31481
31482 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31483
31484         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31485         failures.
31486
31487         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31488
31489 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31490
31491         [BZ #9914]
31492         * libio/iogetdelim.c: Include <limits.h>.
31493         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31494         + len + 1 would overflow.
31495
31496 2012-09-03  Andreas Jaeger  <aj@suse.de>
31497
31498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31499         * sysdeps/i386/fpu/libm-test-ulps: Update.
31500
31501 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31502
31503         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31504         Add s_sinf-sse2, s_conf-sse2.
31505
31506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31508         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31509         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31510
31511         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31512         for using routine as __sinf_ia32.
31513         Use macro for function declaration and weak_alias.
31514         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31515         for using routine as __cosf_ia32.
31516         Use macro for function declaration and weak_alias.
31517
31518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31519         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31520
31521         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31522         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31524
31525         * math/libm-test.inc (cos_test): Add more test cases.
31526         (sin_test): Likewise.
31527         (sincos_test): Likewise.
31528
31529 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31530
31531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31532         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31533         hidden.
31534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31535
31536 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31537
31538         [BZ #14538]
31539         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31540         first element of the GOT.
31541         (elf_machine_load_address): Return the difference between
31542         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31543
31544 2012-09-01  Allan McRae  <allan@archlinux.org>
31545
31546         [BZ #13412]
31547         * configure.in (AWK): Require gawk version 3.0 or later.
31548         * configure: Regenerated.
31549
31550 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31551
31552         * sysdeps/unix/sysv/linux/kernel-features.h
31553         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31555         [__NR_clock_getres]: Make code unconditional.
31556         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31557         (clock_getcpuclockid): Remove code left unreachable by removal of
31558         conditionals.
31559         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31560         code unconditional.
31561         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31563         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31564         Make code unconditional.
31565         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31566         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31567         * sysdeps/unix/sysv/linux/clock_settime.c
31568         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31569         conditional code.
31570         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31571         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31572
31573 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31574
31575         [BZ #14476]
31576         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31577         scripts/test-installation.pl.
31578
31579         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31580         and $ld_so_version if it is set.
31581
31582 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31583
31584         [BZ #14516]
31585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31586         failure if reading from procfs failed.
31587         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31588
31589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31590
31591         * sysdeps/unix/sysv/linux/kernel-features.h
31592         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31593         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31594         Remove conditional code.
31595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31596         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31597         Remove conditional code.
31598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31599         * sysdeps/unix/sysv/linux/i386/fxstat.c
31600         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31602         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31603         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31605         * sysdeps/unix/sysv/linux/i386/lxstat.c
31606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31608         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31609         Remove conditional code.
31610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31611         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31612         Remove conditional code.
31613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31614         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31615         <kernel-features.h>.
31616         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31617         Remove.
31618         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31619         Remove conditional code.
31620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31621         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31622         Remove conditional.
31623
31624 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31625
31626         [BZ #5400]
31627         * NEWS: Add fixed bug number.
31628
31629 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31630
31631         [BZ #14519]
31632         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31633         underflowing exponent in case of negative sign.
31634         * stdlib/tst-strtod-round-data: Add more tests.
31635         * stdlib/tst-strtod-round.c (tests): Regenerated.
31636
31637         [BZ #3479]
31638         * stdlib/strtod_l.c (NDIG): Remove.
31639         (HEXNDIG): Likewise.
31640         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31641         smallest representable value.
31642         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31643         lie within an exact representation of 1/2 ulp of the result.
31644         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31645         unconditionally.
31646         (TENS_P9_IDX): Define unconditionally.
31647         (TENS_P9_SIZE): Likewise.
31648         (TENS_P10_IDX): Likewise.
31649         (TENS_P10_SIZE): Likewise.
31650         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31651         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31652         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31653         entries for 10^2^13 and 10^2^14.
31654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31655         (TENS_P13_IDX): Define.
31656         (TENS_P13_SIZE): Likewise.
31657         (TENS_P14_IDX): Likewise.
31658         (TENS_P14_SIZE): Likewise.
31659         (_fpioconst_pow10): Change array size to
31660         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31661         unconditional.
31662         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31663         1024]: Add entries for 10^2^13 and 10^2^14.
31664         [LAST_POW10 > _LAST_POW10]: Remove #error.
31665         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31666         (_fpioconst_pow10): Change array size to
31667         FPIOCONST_POW10_ARRAY_SIZE.
31668         * stdlib/gen-fpioconst.c: New file.
31669         * stdlib/gen-tst-strtod-round.c: Likewise.
31670         * stdlib/tst-strtod-round-data: Likewise.
31671         * stdlib/tst-strtod-round.c: Likewise.
31672         * stdlib/Makefile (tests): Add tst-strtod-round.
31673
31674         [BZ #14459]
31675         * stdlib/strtod_l.c: Include <stdint.h>.
31676         (NDEBUG): Do not define.
31677         (round_and_return): Change EXPONENT parameter to type intmax_t.
31678         Rearrange calculations to avoid internal overflow possibilities.
31679         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31680         Rearrange calculations to avoid internal overflow possibilities.
31681         Assert that number fits inside MPNSIZE limbs.
31682         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31683         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31684         calculations and add assertions to avoid internal overflow
31685         possibilities.  Add casts to avoid signed/unsigned operations.
31686         * stdlib/tst-strtod-overflow.c: New file.
31687         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31688
31689 2012-08-25  Marek Polacek  <polacek@redhat.com>
31690
31691         * time/time.h: Fix some typos in comments.
31692
31693 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31694
31695         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31696         * posix/tst-rfc3484-2.c: Likewise.
31697         * posix/tst-rfc3484-3.c: Likewise.
31698
31699 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31700
31701         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31702         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31703
31704 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31705
31706         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31707         #include of fxstatat64.c.
31708
31709 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31710
31711         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31712         * shadow/getspent_r.c: Likewise.
31713         * shadow/getspnam.c: Likewise.
31714         * shadow/getspnam_r.c: Likewise.
31715         * gshadow/getsgent.c: Likewise.
31716         * gshadow/getsgent_r.c: Likewise.
31717         * gshadow/getsgnam.c: Likewise.
31718         * gshadow/getsgnam_r.c: Likewise.
31719         * inet/getnetbyad.c: Likewise.
31720         * inet/getnetbyad_r.c: Likewise.
31721         * inet/getnetbynm.c: Likewise.
31722         * inet/getnetbynm_r.c: Likewise.
31723         * inet/getnetent.c: Likewise.
31724         * inet/getnetent_r.c: Likewise.
31725         * inet/getproto.c: Likewise.
31726         * inet/getproto_r.c: Likewise.
31727         * inet/getprtent.c: Likewise.
31728         * inet/getprtent_r.c: Likewise.
31729         * inet/getprtname.c: Likewise.
31730         * inet/getprtname_r.c: Likewise.
31731         * inet/getrpcbyname.c: Likewise.
31732         * inet/getrpcbyname_r.c: Likewise.
31733         * inet/getrpcbynumber.c: Likewise.
31734         * inet/getrpcbynumber_r.c: Likewise.
31735         * inet/getrpcent.c: Likewise.
31736         * inet/getrpcent_r.c: Likewise.
31737         * inet/getaliasent.c: Likewise.
31738         * inet/getaliasent_r.c: Likewise.
31739         * inet/getaliasname.c: Likewise.
31740         * inet/getaliasname_r.c: Likewise.
31741         * nscd/getgrgid_r.c: Likewise.
31742         * nscd/getgrnam_r.c: Likewise.
31743         * nscd/gethstbyad_r.c: Likewise.
31744         * nscd/gethstbynm3_r.c: Likewise.
31745         * nscd/getpwnam_r.c: Likewise.
31746         * nscd/getpwuid_r.c: Likewise.
31747         * nscd/getsrvbynm_r.c: Likewise.
31748         * nscd/getsrvbypt_r.c: Likewise.
31749         * nscd/gai.c: Likewise.
31750
31751         * configure.in (build_nscd): New substituted variable, set
31752         by --disable-build-nscd and defaults to $use_nscd.
31753         * configure: Regenerated.
31754         * config.make.in (build-nscd): New substituted variable.
31755         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31756         Change conditional to require [$(build-nscd) = yes] as well.
31757         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31758
31759         [BZ# 13696]
31760         * configure.in (use_nscd): New substituted variable, set by
31761         --disable-nscd.  If enabled, define USE_NSCD.
31762         * configure: Regenerated.
31763         * config.h.in: Add USE_NSCD.
31764         * config.make.in (use-nscd): New substituted variable.
31765         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31766         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31767         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31768         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31769         (CFLAGS-getgrnam_r.c): Likewise.
31770         (CFLAGS-initgroups.c): Likewise.
31771         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31772         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31773         Variables removed.
31774         * inet/getnetgrent_r.c
31775         (nscd_setnetgrent): New function, broken out of ...
31776         (setnetgrent): ... here.  Call it.
31777         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31778         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31779         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31780         * nscd/Makefile (routines, aux): Move definitions after include of
31781         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31782         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31783         Conditionalize on [USE_NSCD].
31784         (is_nscd, nscd_init_cb): Likewise.
31785         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31786         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31787         * nss/nss_db/db-init.c: Likewise.
31788         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31789         [USE_NSCD].
31790         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31791         (make_request): Use it.
31792         (cache_valid_p): New function.
31793         (__check_pf): Use it.
31794         * NEWS: Add item for --disable-nscd.
31795
31796 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31797
31798         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31799         to support sed >= 4.2.1-20-ga9bf076.
31800         * configure: Regenerated.
31801
31802 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31803
31804         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31805         Conditionalize whole body on [IREL].
31806
31807 2012-08-22  Jeff Law <law@redhat.com>
31808
31809         [BZ #14505]
31810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31811         if the family is PF_UNSPEC.
31812
31813 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31814
31815         * Makerules (lib-version): Rename from V.
31816         (install-lib-nosubdir): Change V to lib-version.
31817
31818 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31819
31820         [BZ #14252]
31821         * powerpc32/power6/wcschr.c: New file.
31822         * powerpc32/power6/wcscpy.c: New file.
31823         * powerpc32/power6/wcsrchr.c: New file.
31824         * powerpc64/power6/wcschr.c: New file.
31825         * powerpc64/power6/wcscpy.c: New file.
31826         * powerpc64/power6/wcsrchr.c: New file.
31827
31828 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31829
31830         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31831         (two_way_short_needle): Use it.
31832         * string/strstr.c (AVAILABLE1_USES_J): Define.
31833         * string/strcasestr.c: Likewise.
31834
31835         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31836         array references.
31837         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31838
31839         [BZ #11607]
31840         * NEWS: Add an entry.
31841         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31842         define their defaults.
31843         (two_way_short_needle): Detect end-of-string on-the-fly.
31844         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31845         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31846         * string/bug-strcasestr1.c: New test.
31847         * string/Makefile: Run it.
31848
31849 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31850
31851         [BZ #11607]
31852         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31853         the first character.
31854
31855 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31856
31857         * csu/elf-init.c (__libc_csu_irel): Function removed.
31858         * csu/libc-start.c (apply_irel): New function.
31859         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31860
31861 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31862
31863         * sysdeps/unix/sysv/linux/kernel-features.h
31864         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31865         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31866         <kernel-features.h>.
31867         [__NR_fadvise64_64]: Make code unconditional.
31868         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31869         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31870         !__NR_fadvise64_64)]: Likewise.
31871         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31872         !__NR_fadvise64_64))]: Likewise.
31873         [__NR_fadvise64]: Make code unconditional.
31874         [!__NR_fadvise64]: Remove conditional code.
31875         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31876         <kernel-features.h>.
31877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31878         unconditional.
31879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31880         conditional code.
31881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31882         not include <kernel-features.h>.
31883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31884         unconditional.
31885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31886         conditional code.
31887         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31888         include <kernel-features.h>.
31889         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31890         unconditional.
31891         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31892         conditional code.
31893
31894 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31895
31896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31897         slight instruction rearrangements per scrollpipe analysis.
31898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31899
31900 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31901
31902         * manual/syslog.texi (syslog; vsyslog, closelog):
31903         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31904         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31905
31906         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31907         DSOCAPS to match condition on defining it.
31908
31909 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31910
31911         * sysdeps/unix/sysv/linux/kernel-features.h
31912         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31914         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31915         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31917         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31918         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31922
31923         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31924         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31925
31926         * sysdeps/unix/sysv/linux/kernel-features.h
31927         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31928         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31929         unconditional.
31930         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31931         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31932         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31933         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31934         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31935         Make code unconditional.
31936         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31937         (__mmap64) [!__NR_mmap2]: Likewise.
31938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31939         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31940         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31942         [__NR_mmap2]: Make code unconditional.
31943         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31944         (__mmap64) [!__NR_mmap2]: Likewise.
31945
31946 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31947
31948         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31949
31950 2012-08-18  Andreas Jaeger  <aj@suse.de>
31951
31952         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31953
31954 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31955
31956         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31957         * include/unistd.h (__have_sock_cloexec): Likewise.
31958         (__have_pipe2): Likewise.
31959         (__have_dup3): Likewise.
31960
31961 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31962
31963         [BZ #9685]
31964         * include/unistd.h (__have_pipe2): Change define into an extern int.
31965         (__have_dup3): Likewise.
31966         * socket/have_sock_cloexec.c: Include fcntl.h.
31967         (__have_pipe2): New variable.
31968         (__have_dup3): Likewise.
31969
31970 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31971
31972         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31973
31974 2012-08-17  Marek Polacek  <polacek@redhat.com>
31975
31976         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31977         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31978
31979 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31980
31981         * configure.in: Add AC_SUBST for sysheaders.
31982         * configure: Regenerated.
31983         * config.make.in (sysheaders): New substituted variable.
31984
31985         * sysdeps/unix/mkfifo.c: Moved ...
31986         * sysdeps/posix/mkfifo.c: ... here.
31987         * sysdeps/unix/mkfifoat.c: Moved ...
31988         * sysdeps/posix/mkfifoat.c: ... here.
31989
31990         * sysdeps/unix/utime.c: Moved ...
31991         * sysdeps/posix/utime.c: ... here.
31992
31993         * sysdeps/unix/time.c: Moved ...
31994         * sysdeps/posix/time.c: ... here.
31995         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31996         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31997
31998         * sysdeps/unix/nice.c: Moved ...
31999         * sysdeps/posix/nice.c: ... here.
32000
32001         * sysdeps/unix/alarm.c: Moved ...
32002         * sysdeps/posix/alarm.c: ... here.
32003
32004         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32005
32006 2012-08-17  Jeff Law <law@redhat.com>
32007
32008         * intl/Makefile (codeset_mo): New variable.
32009         ($(codeset_mo)): New target.
32010         (tst-codeset.out): Depend on that.  Remove explicit rule.
32011         (tst-gettext3.out, tst-gettext5.out): Likewise.
32012         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32013         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32014         * intl/tst-codeset.sh: Remove.
32015         * intl/tst-gettext3.sh: Likewise.
32016         * intl/tst-gettext5.sh: Likewise.
32017
32018 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32019
32020         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32021         * sysdeps/unix/syscalls.list: ... here.
32022
32023         * sysdeps/posix/getaddrinfo.c
32024         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32025         (gaiconf_init, gaiconf_reload): Use them.
32026         [!_STATBUF_ST_NSEC]
32027         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32028         Define using time_t rather than struct timespec.
32029
32030         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32031         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32032         Macros removed.
32033         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32034         [!NO_THREADS].
32035         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32036         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32037         Likewise.
32038
32039         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32040         __libc_cleanup_push argument.
32041
32042         * bits/param.h: New file.
32043         * misc/sys/param.h: New file.
32044         * include/sys/param.h: New file.
32045         * misc/Makefile (headers): Add bits/param.h.
32046         * sysdeps/generic/sys/param.h: File removed.
32047         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32048         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32049         * sysdeps/mach/hurd/bits/param.h: New file.
32050         * sysdeps/mach/hurd/sys/param.h: File removed.
32051
32052         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32053         last change.
32054
32055         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32056         [_IO_MTSAFE_IO].
32057         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32058         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32059         New macros.
32060
32061         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32062         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32063         rather than -D_IO_MTSAFE_IO conditionally.
32064         * stdio-common/Makefile (CPPFLAGS): Likewise.
32065         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32066         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32067         Use $(libio-mtsafe).
32068         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32069         of -D_IO_MTSAFE_IO.
32070         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32071         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32072         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32073         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32074         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32075         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32076         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32077         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32078         (CFLAGS-fread_u_chk.c): Likewise.
32079         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32080         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32081         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32082         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32083         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32084         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32085         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32086         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32087         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32088
32089         * libio/Makefile: Test [$(libc-reentrant) = yes]
32090         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32091
32092         * Makeconfig
32093         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32094         * sysdeps/pthread/configure: File removed.
32095         * sysdeps/pthread/Makeconfig: New file.
32096         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32097         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32098
32099 2012-08-16  Gary Benson  <gbenson@redhat.com>
32100
32101         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32102         unmapping the first object in a namespace.
32103
32104 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32105
32106         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32107         (__internal_setnetgrent): ... this.  Add internal_function to
32108         definition.  Add libc_hidden_def.
32109         (setnetgrent): Update caller.
32110         (internal_endnetgrent): Renamed to ...
32111         (__internal_endnetgrent): ... this.  Add internal_function to
32112         definition.  Add libc_hidden_def.
32113         (endnetgrent): Update caller.
32114         (internal_getnetgrent_r): Renamed to ...
32115         (__internal_getnetgrent_r): ... this.  Add internal_function to
32116         definition.  Add libc_hidden_def.
32117         (__getnetgrent_r): Update caller.
32118         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32119
32120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32121
32122         * stdlib/longlong.h: Update from GCC.
32123
32124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32125
32126         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32127         on _QL, which is set by umul_ppmm but never used.
32128         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32129         variables, which are set by GMP macros but never used.
32130         * stdio-common/_itowa.c (_itowa): Likewise.
32131         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32132         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32133
32134 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32135
32136         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32137         struct La_sh_regs is not constant.
32138         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32139         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32140         and struct La_sparc64_regs are not constant.
32141
32142 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32143
32144         * sysdeps/unix/sysv/linux/kernel-features.h
32145         (__ASSUME_POSIX_TIMERS): Remove.
32146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32148         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32149         Make code unconditional.
32150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32151         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32152         Make code unconditional.
32153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32154         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32155         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32157         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32158         Make code unconditional.
32159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32161         (__libc_missing_posix_timers): Remove.
32162
32163 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32164
32165         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32166         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32167
32168         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32169
32170         * elf/dl-sym.c: Include <stdlib.h>.
32171
32172         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32173         constants, which avoids warnings in 32-bit builds.
32174
32175         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32176         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32177
32178         * misc/lseek.c: File moved to ...
32179         * io/lseek.c: ... here.
32180
32181         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32182
32183         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32184         shifting LEN more than 31 bits at once.
32185
32186 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32187
32188         [BZ #14195]
32189         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32190         segmentation fault for a case of two empty input strings.
32191         * string/test-strncasecmp.c (check1): Renamed to...
32192         (bz12205): ...this.
32193         (bz14195): Add new testcase for two empty input strings and N > 0.
32194         (test_main): Call new testcase, adapt for renamed function.
32195
32196 2012-08-15  Andreas Jaeger  <aj@suse.de>
32197
32198         [BZ #14090]
32199         * crypt/md5test2.c: New test, based on test supplied by Serge
32200         Belyshev <belyshev@depni.sinp.msu.ru>.
32201         * crypt/Makefile (xtests): Add md5test-giant..
32202         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32203
32204 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32205
32206         [BZ #14090]
32207         * crypt/md5.c (md5_process_block): Don't assume the buffer
32208         length is less than 2**32.
32209         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32210         length is less than 2**64.
32211
32212 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32213
32214         * string/str-two-way.h: Include <sys/param.h>.
32215         (MAX): Macro removed.
32216
32217         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32218         Move #define and #undef of memmove to just before and after
32219         including <string.h>.
32220
32221         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32222         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32223         and after including <string.h>.  Move declarations of
32224         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32225         to before #include "string/memmove.c".
32226
32227         * include/dirent.h: Declare __getdirentries.
32228
32229         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32230         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32231
32232 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32233
32234         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32235         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32236         * sysdeps/i386/configure: Regenerated.
32237         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32238         STABS_CURRENT_FILE, and STABS_FUN.
32239         (END): Remove call to STABS_FUN_END.
32240         (STABS_CURRENT_FILE1): Delete.
32241         (STABS_CURRENT_FILE): Likewise.
32242         (STABS_FUN): Likewise.
32243         (STABS_FUN_END): Likewise.
32244         (STABS_FUN2): Likewise.
32245         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32246         * sysdeps/x86_64/configure: Regenerated.
32247
32248 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32249
32250         * elf/dl-open.c: Include <atomic.h>.
32251         * elf/dl-lookup.c: Likewise.
32252
32253 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32254
32255         * sysdeps/unix/sysv/linux/kernel-features.h
32256         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32257         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32258         unconditionally.
32259         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32260         unconditionally.
32261         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32262         condition on __ASSUME_CLONE_THREAD_FLAGS.
32263
32264 2012-08-14  Andreas Jaeger  <aj@suse.de>
32265
32266         * sysdeps/i386/fpu/libm-test-ulps: Update.
32267
32268 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32269
32270         * include/atomic.h (atomic_exchange_and_add): Split into ...
32271         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32272         New atomic macros.
32273
32274 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32275
32276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32277
32278 2012-08-13  Jeff Law <law@redhat.com>
32279
32280         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32281         null byte in the output string.
32282
32283 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32284
32285         * sysdeps/unix/sysv/linux/kernel-features.h
32286         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32287         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32288         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32290         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32291         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32292         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32293
32294 2012-08-09  Jeff Law <law@redhat.com>
32295
32296         [BZ #13939]
32297         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32298         When avoid_arena is set, don't retry in the that arena.  Pick the
32299         next one, whatever it might be.
32300         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32301         (arena_lock): Pass in new parameter to arena_get2.
32302         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32303         arena_get2.
32304         (__libc_malloc): Unify retrying after main arena failure with
32305         __libc_memalign version.
32306         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32307
32308 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32309
32310         [BZ #14166]
32311         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32312         to __redirect_strstr.
32313         (__strstr_sse42): Use typeof __redirect_strstr.
32314         (__strstr_ia32): Likewise.
32315         (__libc_strstr): New prototype.
32316         (strstr): Renamed to ...
32317         (__libc_strstr): This.
32318         (strstr): New strong alias of __libc_strstr.
32319         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32320         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32321         __redirect_time.
32322         Include <time.h>.
32323         (__libc_time): New prototype.
32324         (time_ifunc): Replace time with __libc_time.
32325         (time): New strong alias and hidden definition of __libc_time.
32326         (__GI_time): Remove strong alias.
32327         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32328         Include <stddef.h>.
32329         (memmove): Redefined to __redirect_memmove.
32330         (__memmove_sse2): Use typeof __redirect_memmove.
32331         (__memmove_ssse3): Likewise.
32332         (__memmove_ssse3_back): Likewise.
32333         (__libc_memmove): New prototype.
32334         (memmove): Renamed to ...
32335         (__libc_memmove): This.
32336         (memmove): New strong alias of __libc_memmove.
32337
32338 2012-08-08  Mark Salter  <msalter@redhat.com>
32339
32340         * elf/elf.h
32341         (R_MN10300_TLS_GD): Define.
32342         (R_MN10300_TLS_LD): Likewise.
32343         (R_MN10300_TLS_LDO): Likewise.
32344         (R_MN10300_TLS_GOTIE): Likewise.
32345         (R_MN10300_TLS_IE): Likewise.
32346         (R_MN10300_TLS_LE): Likewise.
32347         (R_MN10300_TLS_DTPMOD): Likewise.
32348         (R_MN10300_TLS_DTPOFF): Likewise.
32349         (R_MN10300_TLS_TPOFF): Likewise.
32350         (R_MN10300_SYM_DIFF): Likewise.
32351         (R_MN10300_ALIGN): Likewise.
32352         (R_MN10300_NUM): Update.
32353
32354 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32355
32356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32357         Remove.
32358
32359 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32360
32361         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32362
32363         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32364         sysdeps/unix -> sysdeps/posix move.
32365         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32366
32367 2012-08-07      Allan McRae     <allan@archlinux.org>
32368
32369         [BZ #14303]
32370         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32371         (SUNOS_CPP): Likewise.
32372         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32373         not found.
32374         (open_input): Call CPP using execvp.
32375
32376 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32377
32378         * sysdeps/unix/sysv/linux/kernel-features.h
32379         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32380         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32381         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32382         (__ASSUME_WAITID_SYSCALL): Likewise.
32383         * sysdeps/unix/sysv/linux/dl-execstack.c
32384         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32385         code unconditional.
32386         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32387         conditional code.
32388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32389         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32390         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32391         code.
32392         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32393         unconditional.
32394         [__ASSUME_WAITID_SYSCALL]: Likewise.
32395         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32396
32397 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32398
32399         * sysdeps/unix/closedir.c: Renamed to ...
32400         * sysdeps/posix/closedir.c: ... here.
32401         * sysdeps/unix/dirfd.c: Renamed to ...
32402         * sysdeps/posix/dirfd.c: ... here.
32403         * sysdeps/unix/dirstream.h: Renamed to ...
32404         * sysdeps/posix/dirstream.h: ... here.
32405         * sysdeps/unix/fdopendir.c: Renamed to ...
32406         * sysdeps/posix/fdopendir.c: ... here.
32407         * sysdeps/unix/opendir.c: Renamed to ...
32408         * sysdeps/posix/opendir.c: ... here.
32409         * sysdeps/unix/readdir.c: Renamed to ...
32410         * sysdeps/posix/readdir.c: ... here.
32411         * sysdeps/unix/readdir_r.c: Renamed to ...
32412         * sysdeps/posix/readdir_r.c: ... here.
32413         * sysdeps/unix/rewinddir.c: Renamed to ...
32414         * sysdeps/posix/rewinddir.c: ... here.
32415         * sysdeps/unix/seekdir.c: Renamed to ...
32416         * sysdeps/posix/seekdir.c: ... here.
32417         * sysdeps/unix/telldir.c: Renamed to ...
32418         * sysdeps/posix/telldir.c: ... here.
32419         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32420         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32421         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32422         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32423
32424         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32425         * bits/fcntl.h: ... here.
32426
32427         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32428         not 0.
32429         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32430         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32431         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32432         (struct flock): Move l_start, l_len to the beginning.
32433         Use __pid_t for l_pid.
32434         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32435         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32436         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32437         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32438         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32439         [__USE_LARGEFILE64] (struct flock64): New type.
32440         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32441
32442         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32443         * bits/dirent.h: ... here.
32444
32445         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32446         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32447
32448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32449
32450         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32451         Change from 2.6.0 to 2.6.16.
32452         * sysdeps/unix/sysv/linux/configure: Regenerated.
32453         * sysdeps/unix/sysv/linux/kernel-features.h
32454         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32455         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32456         version.
32457         (__ASSUME_UTIMES): Likewise.
32458         (__ASSUME_CLONE_STOPPED): Remove.
32459         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32460         architectures, not kernel version.
32461         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32464         (__ASSUME_WAITID_SYSCALL): Likewise.
32465         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32466         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32467         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32468         refer to older versions.
32469
32470 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32471
32472         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32473         Define alphasort64 as an alias.
32474         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32475         Define versionsort64 as an alias.
32476         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32477         Define scandir64 as an alias.
32478         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32479         Define scandirat64 as an alias.
32480         * dirent/alphasort64.c (alphasort64):
32481         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32482         * dirent/versionsort64.c: Likewise.
32483         * dirent/scandir64.c: Likewise.
32484         * dirent/scandirat64.c: Likewise.
32485         * sysdeps/wordsize-64/alphasort.c: File removed.
32486         * sysdeps/wordsize-64/alphasort64.c: File removed.
32487         * sysdeps/wordsize-64/scandir.c: File removed.
32488         * sysdeps/wordsize-64/scandir64.c: File removed.
32489         * sysdeps/wordsize-64/scandirat.c: File removed.
32490         * sysdeps/wordsize-64/scandirat64.c: File removed.
32491         * sysdeps/wordsize-64/versionsort.c: File removed.
32492         * sysdeps/wordsize-64/versionsort64.c: File removed.
32493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32500         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32501
32502         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32504         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32506         [defined __arch64__ || defined __sparcv9]
32507         (__INO_T_MATCHES_INO64_T): New macro.
32508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32509         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32510         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32511         * sysdeps/unix/sysv/linux/bits/dirent.h
32512         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32513         (_DIRENT_MATCHES_DIRENT64): New macro.
32514
32515         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32516         Define lockf64 as an alias.
32517         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32518         Define fseeko64 as an alias.
32519         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32520         Define ftello64 as an alias.
32521         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32522         Define _IO_fgetpos64 and fgetpos64 as aliases.
32523         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32524         Define _IO_fsetpos64 and fsetpos64 as aliases.
32525         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32526         Conditionalize body on this.
32527         * libio/fseeko64.c: Likewise.
32528         * libio/ftello64.c: Likewise.
32529         * libio/iofgetpos64.c: Likewise.
32530         * libio/iofsetpos64.c: Likewise.
32531         * sysdeps/wordsize-64/lockf.c: File removed.
32532         * sysdeps/wordsize-64/lockf64.c: File removed.
32533         * sysdeps/wordsize-64/fseeko.c: File removed.
32534         * sysdeps/wordsize-64/fseeko64.c: File removed.
32535         * sysdeps/wordsize-64/ftello.c: File removed.
32536         * sysdeps/wordsize-64/ftello64.c: File removed.
32537         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32538         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32539         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32540         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32548         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32551
32552         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32554         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32556         [defined __arch64__ || defined __sparcv9]
32557         (__OFF_T_MATCHES_OFF64_T): New macro.
32558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32559         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32561         (__OFF_T_MATCHES_OFF64_T): New macro.
32562
32563 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32564
32565         * stdlib/secure-getenv.c (__secure_getenv): Replace
32566         GLIBC_2_16 with GLIBC_2_17.
32567
32568 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32569
32570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32572
32573 2012-08-03  David S. Miller  <davem@davemloft.net>
32574
32575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32576
32577 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32578
32579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32580         Remove.
32581         (__ASSUME_CORRECT_SI_PID): Likewise.
32582         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32583         (__ASSUME_TMPFS_NAME): Likewise.
32584         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32585         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32586         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32587         (HAVE_AUX_SECURE): Make definition unconditional.
32588         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32589         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32590
32591 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32592
32593         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32594         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32595         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32597         __eloop_threshold instead of SYMLOOP_MAX.
32598
32599         * sysdeps/generic/eloop-threshold.h: New file.
32600         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32601         of MAXSYMLINKS.
32602         * elf/chroot_canon.c (chroot_canon): Likewise.
32603
32604 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32605
32606         [BZ #13717]
32607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32608         Change to 2.6.0 everywhere.
32609         * sysdeps/unix/sysv/linux/configure: Regenerated.
32610         * sysdeps/unix/sysv/linux/kernel-features.h
32611         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32612         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32613         kernel versions.
32614         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32615         (__ASSUME_FUTEX_REQUEUE): Remove.
32616         (__ASSUME_STATFS64): Define unconditionally.
32617         (__ASSUME_AT_SECURE): Likewise.
32618         (__ASSUME_CORRECT_SI_PID): Likewise.
32619         (__ASSUME_TGKILL): Define without depending on kernel version for
32620         i386.
32621         (__ASSUME_UTIMES): Likewise.
32622         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32623         kernel version.
32624         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32625         (__ASSUME_TMPFS_NAME): Likewise.
32626         * README: Update reference to Linux kernel versions.
32627
32628 2012-08-02  Marek Polacek  <polacek@redhat.com>
32629
32630         [BZ# 14150]
32631         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32632         libc_cv_asm_type_prefix with %.
32633         * configure: Regenerated.
32634         * include/libc-symbols.h: Remove comment about
32635         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32636         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32637         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32638         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32639         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32640         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32642         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32643         * elf/tst-unique2mod1.c: Likewise.
32644         * elf/tst-unique1mod2.c: Likewise.
32645         * elf/tst-unique1mod1.c: Likewise.
32646         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32647         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32648         Replace ASM_TYPE_DIRECTIVE with .type.
32649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32650         * sysdeps/i386/sysdep.h: Likewise.
32651         * sysdeps/x86_64/sysdep.h: Likewise.
32652         * sysdeps/sh/sysdep.h: Likewise.
32653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32654         Do not define ASM_TYPE_DIRECTIVE.
32655         * sysdeps/powerpc/sysdep.h: Likewise.
32656         * sysdeps/powerpc/powerpc32/sysdep.h:
32657         Replace ASM_TYPE_DIRECTIVE with .type.
32658         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32659         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32660         * sysdeps/i386/fpu/e_powf.S: Likewise.
32661         * sysdeps/i386/fpu/e_expl.S: Likewise.
32662         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32664         * sysdeps/i386/fpu/e_pow.S: Likewise.
32665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32669         * sysdeps/i386/fpu/e_log2.S: Likewise.
32670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32672         * sysdeps/i386/fpu/e_powl.S: Likewise.
32673         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32674         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32675         * sysdeps/i386/fpu/e_logl.S: Likewise.
32676         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32677         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32678         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32680         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32681         * sysdeps/i386/fpu/e_log.S: Likewise.
32682         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32683         * sysdeps/i386/fpu/e_logf.S: Likewise.
32684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32686         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32687         * sysdeps/i386/fpu/e_log10.S: Likewise.
32688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32694         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32695         * sysdeps/i386/i686/strtok.S: Likewise.
32696         * sysdeps/i386/i386-mcount.S: Likewise.
32697         * sysdeps/i386/strtok.S: Likewise.
32698         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32700         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32702         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32704         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32705         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32707         * sysdeps/x86_64/_mcount.S: Likewise.
32708         * sysdeps/x86_64/strtok.S: Likewise.
32709         * sysdeps/sh/_mcount.S: Likewise.
32710
32711 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32712
32713         * libio/iofopen.c: Include <fcntl.h>.
32714         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32715         (_IO_fopen64, fopen64): Define as aliases.
32716         * libio/iofopen64.c: Include <fcntl.h>.
32717         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32718         Conditionalize body on this.
32719         * sysdeps/wordsize-64/iofopen.c: File removed.
32720         * sysdeps/wordsize-64/iofopen64.c: File removed.
32721
32722 2012-08-01  Marek Polacek  <polacek@redhat.com>
32723
32724         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32725         Use dlfcn directly instead of a variable.
32726         (binfmt-subdir): Do not define.
32727         (dlfcn): Likewise.
32728
32729 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32730
32731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32732         Remove all definitions.
32733         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32734         <kernel-features.h>.
32735         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32736         (miss_F_GETOWN_EX): Remove all definitions.
32737         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32738         macro definition.
32739         [!__ASSUME_FCNTL64]: Remove conditional code.
32740         [__ASSUME_FCNTL64]: Make code unconditional.
32741         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32742         <kernel-features.h>.
32743         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32744         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32745         (lockf64) [__NR_fcntl64]: Make code unconditional.
32746         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32747
32748         * sysdeps/unix/sysv/linux/kernel-features.h
32749         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32750         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32751         Make code unconditional.
32752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32755         [__NR_vfork]: Make code unconditional.
32756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32759         [__NR_vfork]: Make code unconditional.
32760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32762
32763 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32764
32765         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32766         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32767
32768         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32769         Define mkstemp64 as an alias.
32770         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32771         Define mkstemps64 as an alias.
32772         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32773         Define mkostemp64 as an alias.
32774         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32775         Define mkostemps64 as an alias.
32776         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32777         Conditionalize body on this.
32778         * misc/mkostemp64.c: Likewise.
32779         * misc/mkostemps64.c: Likewise.
32780         * misc/mkstemps64.c: Likewise.
32781         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32782         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32783         * sysdeps/wordsize-64/mkostemp.c: File removed.
32784         * sysdeps/wordsize-64/mkstemp.c: File removed.
32785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32789
32790         [BZ #14138]
32791         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32792         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32793         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32794         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32795
32796         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32797         compat_symbol macros from <shlib-compat.h> rather than the underlying
32798         default_symbol_version and symbol_version macros, so that DEFAULT
32799         lines in shlib-versions are respected.
32800         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32801
32802 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32803
32804         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32805         Declare with warn_unused_result.
32806         (setgid, setregid, setegid, setresgid): Likewise.
32807         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32808         Likewise.
32809         * WUR-REPORT: Remove set*id functions.
32810
32811 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32812
32813         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32814
32815 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32816
32817         [BZ #10191]
32818         * include/sys/socket.h (__libc_accept, __libc_accept4):
32819         Add attribute_hidden.
32820         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32821
32822         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32823         use of PTR_MANGLE.
32824         * inet/getnetgrent_r.c (setup): Likewise.
32825
32826         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32827
32828 2012-07-31  David S. Miller  <davem@davemloft.net>
32829
32830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32831
32832 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32833
32834         [BZ #13629]
32835         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32836         value between 1.0 and 2.0 and smaller part has absolute value less
32837         than 1.0.
32838         * math/s_clog10.c (__clog10): Likewise.
32839         * math/s_clog10f.c (__clog10f): Likewise.
32840         * math/s_clog10l.c (__clog10l): Likewise.
32841         * math/s_clogf.c (__clogf): Likewise.
32842         * math/s_clogl.c (__clogl): Likewise.
32843         * math/libm-test.inc (clog_test): Add more tests.
32844         (clog10_test): Likewise.
32845         * sysdeps/i386/fpu/libm-test-ulps: Update.
32846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32847
32848 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32849
32850         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32851         Exit with zero in case no suitable GID is found, and write a
32852         message to standard error.
32853
32854 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32855
32856         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32857         rather than to 1.
32858         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32859         (MAXPATHLEN): Removed.
32860         (NOGROUP, NODEV): New macros.
32861         (setbit, clrbit, isset, isclr): New macros.
32862         (howmany, roundup, powerof2): New macros.
32863         (DEV_BSIZE): New macro.
32864
32865         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32866         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32867
32868         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32869         definition on [!__NO_LONG_DOUBLE_MATH].
32870
32871         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32872         PTR_MANGLE and PTR_DEMANGLE.
32873
32874         * socket/accept4.c (accept4): Rename to __libc_accept4.
32875         Define accept4 as a weak alias.
32876
32877         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32878         on [_DIRENT_HAVE_D_TYPE].
32879         * io/ftw.c (ftw_dir): Likewise.
32880
32881         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32882
32883         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32884
32885         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32886         Use the BSD numbers rather than the arbitrary ones we had.
32887         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32888         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32889         (SIGXCPU, SIGXFSZ): New macros.
32890         (_NSIG): Now 32.
32891
32892         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32893         initializer on [_LIBC_REENTRANT].
32894
32895         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32896         definitions inside [_POSIX_MAPPED_FILES].
32897
32898         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32899
32900         * dirent/opendir.c: Include <fcntl.h>.
32901
32902         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32903         (__libc_getspecific): Likewise.
32904         (__libc_key_create): Likewise.
32905
32906         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32907         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32908         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32909         (tmpfile64): Define as alias.
32910         * sysdeps/wordsize-64/tmpfile.c: File removed.
32911         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32913         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32914
32915         * stdio-common/vfscanf.c: Include <stdbool.h>.
32916         * nss/makedb.c: Likewise.
32917         * stdio-common/_i18n_number.h: Likewise.
32918         * argp/argp-help.c: Likewise.
32919         * posix/wordexp.c: Likewise.
32920         * sysdeps/posix/spawni.c: Likewise.
32921         * nss/nss_files/files-initgroups.c: Likewise.
32922         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32923         * nss/nss_files/files-initgroups.c: Likewise.
32924         * nss/nss_db/db-netgrp.c: Likewise.
32925         * nss/nss_db/db-initgroups.c: Likewise.
32926         * io/fchmodat.c: Include <sys/stat.h>.
32927
32928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32929         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32930
32931         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32932         [HAVE_MMAP].
32933
32934         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32935         Add multiple inclusion protection.
32936
32937 2012-07-27  David S. Miller  <davem@davemloft.net>
32938
32939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32940
32941 2012-07-27  Gary Benson  <gbenson@redhat.com>
32942
32943         [BZ #14298]
32944         * elf/rtld.c: Include <stap-probe.h>.
32945         (dl_main): Added static probes "init_start" and "init_complete".
32946         * elf/dl-load.c: Include <stap-probe.h>.
32947         (lose): Take new parameter "nsid".
32948         Added static probe "map_failed".
32949         (_dl_map_object_from_fd): Pass namespace id to lose.
32950         Added static probe "map_start".
32951         (open_verify): Pass namespace id to lose.
32952         * elf/dl-open.c: Include <stap-probe.h>.
32953         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32954         and "reloc_complete".
32955         * elf/dl-close.c: Include <stap-probe.h>.
32956         (_dl_close_worker): Added static probes "unmap_start" and
32957         "unmap_complete".
32958         * elf/rtld-debugger-interface.txt: New file documenting the above.
32959
32960 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32961
32962         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32963         rather than a string variable.
32964         * sunrpc/rpc_main.c (h_output): Likewise.
32965         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32966
32967 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32968
32969         * inet/check_native.c: New file.
32970
32971 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32972
32973         [BZ #13629]
32974         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32975         if larger part has absolute value 1.0.
32976         * math/s_clog10.c (__clog10): Likewise.
32977         * math/s_clog10f.c (__clog10f): Likewise.
32978         * math/s_clog10l.c (__clog10l): Likewise.
32979         * math/s_clogf.c (__clogf): Likewise.
32980         * math/s_clogl.c (__clogl): Likewise.
32981         * math/libm-test.inc (clog_test): Add more tests.
32982         (clog10_test): Likewise.
32983         * sysdeps/i386/fpu/libm-test-ulps: Update.
32984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985
32986         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32987         (pltexit): Likewise.
32988         (La_regs): Likewise.
32989         (La_retval): Likewise.
32990         (int_retval): Likewise.
32991         Update #error for removed macros to refer only to definitions in
32992         tst-audit.h.
32993         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32994         macro.
32995         (pltexit): Likewise.
32996         (La_regs): Likewise.
32997         (La_retval): Likewise.
32998         (int_retval): Likewise.
32999         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33000         macro.
33001         (pltexit): Likewise.
33002         (La_regs): Likewise.
33003         (La_retval): Likewise.
33004         (int_retval): Likewise.
33005         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33006         macro.
33007         (pltexit): Likewise.
33008         (La_regs): Likewise.
33009         (La_retval): Likewise.
33010         (int_retval): Likewise.
33011         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33012         macro.
33013         (pltexit): Likewise.
33014         (La_regs): Likewise.
33015         (La_retval): Likewise.
33016         (int_retval): Likewise.
33017         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33018         macro.
33019         (pltexit): Likewise.
33020         (La_regs): Likewise.
33021         (La_retval): Likewise.
33022         (int_retval): Likewise.
33023         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33024         macro.
33025         (pltexit): Likewise.
33026         (La_regs): Likewise.
33027         (La_retval): Likewise.
33028         (int_retval): Likewise.
33029         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33030         macro definitions in tst-audit.h.
33031         * sysdeps/i386/tst-audit.h: New file.
33032         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33033         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33034         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33035         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33036         * sysdeps/sh/tst-audit.h: Likewise.
33037         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33038         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33039         * sysdeps/x86_64/tst-audit.h: Likewise.
33040
33041 2012-07-26  Andreas Jaeger  <aj@suse.de>
33042
33043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33044         ptrace.
33045
33046         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33047         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33048         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33049         PTRACE_O_MASK.
33050         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33051         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33052         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33053
33054         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33055         value.
33056
33057         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33058         _sigsys.
33059         (si_call_addr, si_syscall, si_arch): Define new macro.
33060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33061         _sigsys.
33062         (si_call_addr, si_syscall, si_arch): Define new marcro.
33063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33064         _sigsys.
33065         (si_call_addr, si_syscall, si_arch): Define new macro.
33066         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33067         _sigsys.
33068         (si_call_addr, si_syscall, si_arch): Define new macro.
33069
33070 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33071
33072         [BZ #13717]
33073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33074         Change to 2.4.21 where previously 2.4.1.
33075         * sysdeps/unix/sysv/linux/configure: Regenerated.
33076         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33077         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33078         Linux kernel version.
33079         (__ASSUME_STD_AUXV): Remove.
33080         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33081         kernel version.
33082         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33083         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33084         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33085         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33086         (__ASSUME_NETLINK_SUPPORT): Likewise.
33087         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33088         (__no_netlink_support): Remove conditional definition.
33089         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33090         Remove.
33091         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33092         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33093         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33094         (if_nameindex_ioctl): Remove.
33095         (if_nameindex_netlink): Do not handle __no_netlink_support.
33096         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33097         code.
33098         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33099         Remove conditional code.
33100         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33101         code.
33102         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33103         unconditional.
33104         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33105         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33106         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33107         Remove.
33108         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33109         [!__ASSUME_STD_AUXV]: Remove conditional code.
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33111         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33112         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33114         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33115         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33116         code.
33117         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33119         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33120         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33121         conditional code.
33122         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33124         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33125         code.
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33127         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33128         conditional code.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33130         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33131         code unconditional.
33132         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33133         conditional code.
33134         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33135         unconditional.
33136         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33137         conditional code.
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33139         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33140         unconditional.
33141         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33142         conditional code.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33144         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33145         code unconditional.
33146         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33147         conditional code.
33148         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33149         unconditional.
33150         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33151         conditional code.
33152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33153         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33154         code unconditional.
33155         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33156         conditional code.
33157         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33158         unconditional.
33159         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33160         conditional code.
33161
33162 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33163
33164         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33165         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33167         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33168         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33169         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33170         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33171         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33172         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33174         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33175         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33176         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33177         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33178         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33179         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33180         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33182         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33184         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33185         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33186         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33187
33188 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33189
33190         * Versions.def: Add GLIBC_2.17.
33191         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33192         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33193         Introduce __libc_secure_getenv.
33194         * stdlib/Versions (2.17): Add secure_getenv
33195         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33196         * stdlib/secure-getenv.c: Rename __secure_getenv to
33197         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33198         symbol __secure_getenv for GLIBC_2.0.
33199         * stdlib/tst-secure-getenv.c: New.
33200         * stdlib/Makefile (tests): Add testcase.
33201         * manual/startup.texi (Environment Access): Document
33202         secure_getenv.
33203         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33204         __libc_secure_getenv.
33205         * inet/ruserpass.c (ruserpass): Likewise.
33206         * malloc/mtrace.c (mtrace): Likewise.
33207         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33208         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33209         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33210         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33211         HAVE_SECURE_GETENV.
33212         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33213         __secure_getenv to __libc_secure_getenv.
33214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33216         Likewise.
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33218         Likewise.
33219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33226
33227 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33228
33229         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33230         (struct La_i86_retval): Likewise.
33231         (struct La_x86_64_regs): Likewise.
33232         (struct La_x86_64_retval): Likewise.
33233         (struct La_x32_regs): Likewise.
33234         (struct La_x32_retval): Likewise.
33235         (struct La_ppc32_regs): Likewise.
33236         (struct La_ppc32_retval): Likewise.
33237         (struct La_ppc64_regs): Likewise.
33238         (struct La_ppc64_retval): Likewise.
33239         (struct La_sh_regs): Likewise.
33240         (struct La_sh_retval): Likewise.
33241         (struct La_s390_32_regs): Likewise.
33242         (struct La_s390_32_retval): Likewise.
33243         (struct La_s390_64_regs): Likewise.
33244         (struct La_s390_64_retval): Likewise.
33245         (struct La_sparc32_regs): Likewise.
33246         (struct La_sparc32_retval): Likewise.
33247         (struct La_sparc64_regs): Likewise.
33248         (struct La_sparc64_retval): Likewise.
33249         (struct audit_ifaces): Remove architecture-specific pltenter and
33250         pltexit members.
33251         * sysdeps/i386/ldsodefs.h: New file.
33252         * sysdeps/powerpc/ldsodefs.h: Likewise.
33253         * sysdeps/s390/ldsodefs.h: Likewise.
33254         * sysdeps/sh/ldsodefs.h: Likewise.
33255         * sysdeps/sparc/ldsodefs.h: Likewise.
33256         * sysdeps/x86_64/ldsodefs.h: Likewise.
33257
33258 2012-07-25  Marek Polacek  <polacek@redhat.com>
33259
33260         [BZ #6808]
33261         * math/libm-test.inc (yn_test): Add another test.
33262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33263         to ERANGE when the result is +-Inf.
33264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33265         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33267         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33268
33269 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33270
33271         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33272         equal to 0.
33273         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33274         clock_t.
33275         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33276
33277 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33278
33279         * configure.in <sysdeps resolving>: Correct printing
33280         Implies_before.
33281         * configure: Regenerate.
33282
33283 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33284
33285         * math/w_ilogb.c: Include <limits.h>.
33286         * math/w_ilogbl.c: Likewise.
33287
33288 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33289
33290         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33291         va_copy.  Document allowing for unavailable va_copy only as
33292         pre-C99 compatibility.
33293         * manual/string.texi (Copying and Concatenation): Use va_copy
33294         instead of __va_copy in concat example.
33295
33296 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33297
33298         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33299         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33300         it if not null.
33301
33302         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33303         with O_NOLINK passed to __file_name_lookup.
33304
33305         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33306         with O_NOLINK passed to __file_name_lookup.
33307
33308         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33309         negative N or less than NGIDS.
33310
33311         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33312         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33313         enough.  Use memcpy instead of strncpy.
33314
33315 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33316
33317         * elf/Makefile (check-data): Remove.
33318         (localplt.data): New vpath directive.
33319         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33320         instead of $(check-data).
33321         * scripts/data/localplt-generic.data: Move to ...
33322         * sysdeps/generic/localplt.data: ... here.
33323         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33324         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33325         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33327         ... here.
33328         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33330         ... here.
33331         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33333         ... here.
33334         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33336         ... here.
33337         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33339         ... here.
33340         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33342         ... here.
33343
33344 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33345
33346         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33347         PPC32 and PPC64 files.
33348         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33349         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33350
33351 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33352
33353         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33354         __makecontext_ret to ...
33355         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33356         ... here and call exit if uc_link is NULL.  New file.
33357         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33358         __makecontext_ret.S.
33359         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33360         __makecontext_ret to ...
33361         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33362         ... here and call exit if uc_link is NULL.  New file.
33363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33364         __makecontext_ret.S.
33365
33366 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33367
33368         * elf/elf.h (R_390_IRELATIVE): New definition.
33369         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33370         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33371         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33373         (elf_machine_lazy_rel): Likewise.
33374         * sysdeps/s390/dl-irel.h: New file.
33375         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33376         * sysdeps/s390/s390-64/memset.S: New asm code.
33377         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33378         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33380         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33381         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33382         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33383         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33384         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33385         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33386         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33387         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33388         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33389         * sysdeps/s390/s390-32/memset.S: New asm code.
33390         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33391
33392 2012-07-17  Marek Polacek  <polacek@redhat.com>
33393
33394         [BZ #14349]
33395         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33396         * sysdeps/s390/s390-64/configure.in: Likewise.
33397         * sysdeps/sparc/configure.in: Likewise.
33398         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33399         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33400         * sysdeps/i386/configure.in: Likewise.
33401         * sysdeps/x86_64/configure.in: Likewise.
33402         * sysdeps/sh/configure.in: Likewise.
33403         * sysdeps/s390/s390-32/configure: Regenerated.
33404         * sysdeps/s390/s390-64/configure: Likewise.
33405         * sysdeps/x86_64/configure: Likewise.
33406         * sysdeps/sh/configure: Likewise.
33407         * sysdeps/powerpc/powerpc64/configure: Likewise.
33408         * sysdeps/powerpc/powerpc32/configure: Likewise.
33409         * sysdeps/sparc/configure: Likwise.
33410         * sysdeps/i386/configure: Likewise.
33411
33412         * elf/dl-open.c: Comment fixes.
33413
33414 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33415
33416         * Makefile [CXX] (check-data): Remove.
33417         [CXX] (c++-types.data): New vpath directive.
33418         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33419         vpath.  Do not allow for C++ type data being missing.
33420         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33421         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33422         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33423         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33424         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33425         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33426         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33428         ... here.
33429         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33431         ... here.
33432         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33434         ... here.
33435         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33437         ... here.
33438         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33440         ... here.
33441         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33443         ... here.
33444         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33446         ... here.
33447         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33449
33450         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33451         definitions to architecture-specific files.
33452         (TLS_IE): Likewise.
33453         (TLS_LD): Likewise.
33454         (TLS_GD): Likewise.
33455         * sysdeps/i386/tls-macros.h: New file.
33456         * sysdeps/powerpc/tls-macros.h: Likewise.
33457         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33458         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33459         * sysdeps/sh/tls-macros.h: Likewise.
33460         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33461         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33462         * sysdeps/x86_64/tls-macros.h: Likewise.
33463
33464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33465
33466         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33467         zero value for regular exit case.
33468
33469         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33470         (__start_context): Preserve zero value for regular exit case.
33471
33472 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33473             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33474
33475         * manual/setjmp.texi (setcontext): Clarify normal process
33476         termination when uc_link is the null pointer.
33477         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33478         exit call.
33479
33480 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33481
33482         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33483         preprocessor.  Test for each exception mask separately.
33484
33485 2012-07-16  Andreas Jaeger  <aj@suse.de>
33486
33487         * po/ru.po: Update from translation team.
33488
33489 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33490
33491         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33492         equal to 0.
33493         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33494         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33495         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33496         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33498
33499 2012-07-13  Andreas Jaeger  <aj@suse.de>
33500
33501         * po/fr.po: Update from translation team.
33502
33503 2012-07-12  Marek Polacek  <polacek@redhat.com>
33504
33505         [BZ #14173]
33506         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33508         loop condition.
33509
33510 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33511
33512         [BZ #13717]
33513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33514         Change to 2.4.1 where previously 2.4.0.
33515         * sysdeps/unix/sysv/linux/configure: Regenerated.
33516         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33517         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33518         version.
33519         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33520         (__ASSUME_AT_CLKTCK): Remove.
33521         (__ASSUME_AT_PAGESIZE): Likewise.
33522         (__ASSUME_AT_XID): Likewise.
33523         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33524         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33525         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33526         unconditionally.
33527         (HAVE_AUX_PAGESIZE): Likewise.
33528         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33529         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33530         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33531
33532 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33533
33534         [BZ #14307]
33535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33536         the temporary buffer used to invoke __gethostbyname2_r,
33537         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33538         host_data / struct gaih_addrtuple.
33539         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33540         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33541         header file nss/nsswitch.h.
33542         * nss/nsswitch.h (global scope): Add definition of implementation
33543         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33544         resolv/nss_dns/dns-host.c).
33545
33546 2012-07-11  Andreas Jaeger  <aj@suse.de>
33547
33548         * po/fr.po: Update from translation team.
33549
33550         * po/sv.po: Update from translation team
33551         * po/fr.po: Another update from translation team.
33552
33553 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33554
33555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33556         for subnormals or multiply small sinh result by itself.
33557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33559
33560 2012-07-11  David S. Miller  <davem@davemloft.net>
33561
33562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33563
33564 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33565
33566         [BZ #14347]
33567         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33568         (INTERNAL_MARK): Shift it here.
33569
33570 2012-07-10  Marek Polacek  <polacek@redhat.com>
33571
33572         [BZ #14151]
33573         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33574         libc_cv_asm_global_directive with .globl.
33575         * configure: Regenerated.
33576         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33577         with .globl.
33578         * sysdeps/i386/configure: Regenerated.
33579         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33580         with .globl.
33581         * sysdeps/x86_64/configure: Regenerated.
33582         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33583         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33584         * elf/tst-unique2mod2.c: Likewise.
33585         * elf/tst-unique2mod1.c: Likewise.
33586         * elf/tst-unique1mod2.c: Likewise.
33587         * elf/tst-unique1mod1.c: Likewise.
33588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33589         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33591         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33592         * sysdeps/mach/sysdep.h: Likewise.
33593         * sysdeps/i386/sysdep.h: Likewise.
33594         * sysdeps/i386/i386-mcount.S: Likewise.
33595         * sysdeps/x86_64/_mcount.S: Likewise.
33596         * sysdeps/x86_64/sysdep.h: Likewise.
33597         * sysdeps/sh/_mcount.S: Likewise.
33598         * sysdeps/sh/sysdep.h: Likewise.
33599         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33600         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33601         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33602         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33603         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33604         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33605         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33606         * locale/localeinfo.h: Likewise.
33607         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33608         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33609
33610 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33611
33612         [BZ #14336]
33613         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33614         system".
33615         * manual/message.texi (The Uniforum approach): Likewise.
33616         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33617         (glibc iconv Implementation): Likewise.
33618
33619 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33620
33621         [BZ #14337]
33622         * math/s_clog.c (__clog): Avoid scaling a value down where that
33623         could result in underflow.
33624         * math/s_clog10.c (__clog10): Likewise.
33625         * math/s_clog10f.c (__clog10f): Likewise.
33626         * math/s_clog10l.c (__clog10l): Likewise.
33627         * math/s_clogf.c (__clogf): Likewise.
33628         * math/s_clogl.c (__clogl): Likewise.
33629         * math/libm-test.inc (clog_test): Add more tests.
33630         (clog10_test): Likewise.
33631         * sysdeps/i386/fpu/libm-test-ulps: Update.
33632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33633
33634 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33635
33636         [BZ #14283]
33637         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33638         by 7 not 8 to examine high bit of fractional part.
33639
33640         [BZ #14042]
33641         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33642         for call to __mcount_internal.
33643         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33644         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33645         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33646
33647 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33648
33649         [BZ #14154]
33650         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33651         approximation for values within 0x1p-13f of an odd multiple of
33652         pi/4.
33653         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33654         exception.  Add more tests.
33655         * sysdeps/i386/fpu/libm-test-ulps: Update.
33656
33657         [BZ #6778]
33658         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33659         inputs and return -1 for them.  Do not check for +Inf in case not
33660         reachable for +Inf.
33661         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33662         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33664         and return -1 for them.  Do not check for +Inf in case not
33665         reachable for +Inf.
33666         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33667         define.
33668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33669         and return -1 for them.  Do not check for +Inf in case not
33670         reachable for +Inf.
33671         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33672         spurious underflow.
33673         * sysdeps/i386/fpu/libm-test-ulps: Update.
33674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33675
33676 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33677
33678         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33679
33680 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33681
33682         [BZ #14157]
33683         [BZ #14331]
33684         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33685         could result in spurious underflow.  Scale down values above
33686         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33687         * math/s_csqrtf.c (__csqrtf): Likewise.
33688         * math/s_csqrtl.c (__csqrtl): Likewise.
33689         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33690         spurious underflow.
33691         * sysdeps/i386/fpu/libm-test-ulps: Update.
33692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33693
33694 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33695
33696         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33697         xopen-msg.sed.
33698         * catgets/xopen-msg.awk: New file.
33699         * catgets/xopen-msg.sed: Removed.
33700
33701         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33702         po2text.sed.
33703         * intl/po2test.awk: New file.
33704         * intl/po2test.sed: Removed.
33705
33706 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33707
33708         [BZ #14328]
33709         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33710         or multiply small sinh result by itself.
33711         * math/s_ctanf.c (__ctanf): Likewise.
33712         * math/s_ctanh.c (__ctanh): Likewise.
33713         * math/s_ctanhf.c (__ctanhf): Likewise.
33714         * math/s_ctanhl.c (__ctanhl): Likewise.
33715         * math/s_ctanl.c (__ctanl): Likewise.
33716         * math/libm-test.inc (ctan_test_tonearest): New function.
33717         (ctan_test_towardzero): Likewise.
33718         (ctan_test_downward): Likewise.
33719         (ctan_test_upward): Likewise.
33720         (ctanh_test_tonearest): Likewise.
33721         (ctanh_test_towardzero): Likewise.
33722         (ctanh_test_downward): Likewise.
33723         (ctanh_test_upward): Likewise.
33724         (main): Call these new functions.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33727
33728 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33729
33730         * .gitignore: Delete /ports entry.
33731
33732 2012-07-03  Andreas Jaeger  <aj@suse.de>
33733
33734         * po/bg.po: Update from translation team.
33735         * po/cs.po: Likewise.
33736         * po/de.po: Likewise.
33737         * po/hr.po: Likewise.
33738         * po/nl.pl: Likewise.
33739         * po/pl.po: Likewise.
33740         * po/vi.po: Likewise.
33741
33742 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33743
33744         * Makeconfig [!+link] (+link-before-libc): New variable.
33745         [!+link] (+link-after-libc): Likewise.
33746         [!+link] (+link-tests): Likewise.
33747         [!+link] (+link): Define in terms of $(+link-before-libc) and
33748         $(+link-after-libc).
33749         [!+link-static] (+link-static-before-libc): New variable.
33750         [!+link-static] (+link-static-after-libc): Likewise.
33751         [!+link-static] (+link-static-tests): Likewise.
33752         [!+link-static] (+link-static): Define in terms of
33753         $(+link-static-before-libc) and $(+link-static-after-libc).
33754         [build-shared] (link-libc-before-gnulib): New variable.
33755         [build-shared] (link-libc-tests): Likewise.
33756         [build-shared] (link-libc): Define in terms of
33757         $(link-libc-before-gnulib).
33758         [!build-shared] (link-libc-tests): New variable.
33759         (link-libc-static-tests): New variable.
33760         [!gnulib] (gnulib-arch): New variable.
33761         [!gnulib] (gnulib-tests): Likewise.
33762         [!gnulib] (static-gnulib-arch): Likewise.
33763         [!gnulib] (static-gnulib-tests): Likewise.
33764         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33765         Define with "=" instead of ":=".
33766         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33767         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33768         * Rules (binaries-all-notests): New variable.
33769         (binaries-all-tests): Likewise.
33770         (binaries-static-notests): Likewise.
33771         (binaries-static-tests): Likewise.
33772         (binaries-all): Define using $(binaries-all-notests) and
33773         $(binaries-all-tests).
33774         (binaries-static): Define using $(binaries-static-notests) and
33775         $(binaries-static-tests).
33776         (binaries-shared-tests): New variable.
33777         (binaries-shared-notests): Likewise.
33778         (binaries-shared): Remove variable.
33779         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33780         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33781         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33782         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33783         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33784         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33785         * elf/Makefile (sln-modules): New variable.
33786         (extra-objs): Add $(sln-modules:=.o).
33787         (ldconfig-modules): Add static-stubs.
33788         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33789         * elf/static-stubs.c: New file.
33790
33791         [BZ #14283]
33792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33793         by 7 not 8 to examine high bit of fractional part.  Use volatile
33794         variables when splitting into final array of floats if
33795         __FLT_EVAL_METHOD__ != 0.
33796         * math/libm-test.inc (cos_test): Add another test.
33797         (sin_test): Likewise.
33798         * sysdeps/i386/fpu/libm-test-ulps: Update.
33799
33800         [BZ #14273]
33801         * math/libm-test.inc (cosh_test): Add more tests.
33802
33803         * version.h (RELEASE): Set to "development".
33804         (VERSION): Set to "2.16.90".
33805
33806 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33807
33808         * NEWS: Update copyright. Remove last-updated date.
33809         Mention math library bug fixes and timezone data changes.
33810         * README: Mention GNU/Hurd, x32, and HPPA support status.
33811
33812 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33813
33814         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33815
33816 2012-06-27  Andreas Jaeger  <aj@suse.de>
33817
33818         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33819
33820 2012-06-25  Andreas Jaeger  <aj@suse.de>
33821
33822         * sysdeps/s390/fpu/libm-test-ulps: Update.
33823
33824 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33825             Thomas Schwinge  <thomas@codesourcery.com>
33826
33827         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33828         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33830         fanotify_mark.
33831
33832 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33833
33834         * sysdeps/mach/start.c: Remove file.
33835         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33836         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33837         * sysdeps/sh/init-first.c: Likewise.
33838
33839         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33840         registers for frame unwinding purposes, add CFI directives.
33841         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33843         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33844         Likewise.
33845
33846         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33847         __fortify_fail returning.
33848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33849
33850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33851         sysdeps/sh/____longjmp_chk.S.
33852         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33853         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33854         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33855         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33856
33857         * sysdeps/sh/abort-instr.h: New file.
33858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33859         process in case exit returns.
33860
33861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33862         initialize the GOT register before use.
33863
33864         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33865         calculation of ARGC > 4.
33866
33867         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33868         meaningful names to some local labels.
33869
33870 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33871             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33872
33873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33874         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33875         (__arch_compare_and_exchange_val_16_acq): Likewise.
33876         (__arch_compare_and_exchange_val_32_acq): Likewise.
33877         (atomic_exchange_and_add): Fix gUSA sequence.
33878         (atomic_add): Likewise.
33879         (atomic_add_negative): Likewise.
33880         (atomic_add_zero): Likewise.
33881         (atomic_bit_test_set): Likewise.
33882
33883 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33884
33885         [BZ #13579]
33886         * include/link.h (struct link_map): Add l_free_initfini.
33887         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33888         l_initfini.
33889         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33890         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33891         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33892         set.
33893
33894 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33895
33896         * configure.in: Use AC_LANG_SOURCE.
33897         * configure: Regenerate.
33898
33899 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33900
33901         * configure.in (libc_cv_localstatedir): New substituted variable.
33902         * configure: Regenerated.
33903         * config.make.in (localstatedir): New variable, substituted from
33904         libc_cv_localstatedir.
33905         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33906         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33907         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33908         * sysdeps/gnu/configure: Regenerated.
33909
33910 2012-06-21  Jeff Law  <law@redhat.com>
33911
33912         [BZ #14277]
33913         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33914         free.  Simplify list management for _LIBC case.
33915
33916 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33917
33918         [BZ #14273]
33919         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33920         Clear sign bit of 64-bit integer value before comparing against
33921         overflow value.
33922
33923         * sysdeps/mach/configure: Regenerated.
33924
33925 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33926
33927         [BZ #14278]
33928         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33929
33930 2012-06-21  Jeff Law  <law@redhat.com>
33931
33932         [BZ #13882]
33933         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33934         uint16_t for elements in the "seen" array to avoid char overflows.
33935         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33936         * elf/dl-open.c (dl_open_worker): Likewise.
33937
33938 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33939
33940         * scripts/list-sources.sh: Scan PORTS for translations.
33941         * po/libc.pot: Regenerated.
33942
33943 2012-06-21  Andreas Jaeger  <aj@suse.de>
33944
33945         [BZ #12194]
33946         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33947         warning.
33948         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33949         * bits/byteswap-16.h (__bswap_16): Likewise.
33950         * bits/byteswap.h (__bswap_constant_16): Likewise.
33951
33952 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33953
33954         [BZ #14117]
33955         * sysdeps/i386/fpu_control.h: Removed.
33956         * sysdeps/x86_64/fpu_control.h: Moved to ...
33957         * sysdeps/x86/fpu_control.h: Here.
33958
33959         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33960         (_FPU_SETCW): Likewise.
33961
33962 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33963
33964         [BZ #14117]
33965         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33966         * sysdeps/x86/fpu/bits/mathinline.h: This.
33967         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33968
33969         [BZ #14050]
33970         [BZ #14117]
33971         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33972         functions if __x86_64__ is defined.
33973
33974 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33975
33976         * string/endian.h: Add !__ASSEMBLER__ condition for including
33977         conversion interfaces.
33978
33979 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33980
33981         [BZ #14241]
33982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33983         of ABS(x) in calculating zero to negative powers other than odd
33984         integers.
33985         * math/libm-test.inc (pow_test): Add more tests.
33986
33987 2012-06-15  Andreas Jaeger  <aj@suse.de>
33988
33989         * manual/contrib.texi (Contributors): Update entry of Liubov
33990         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33991         Machado Filho.
33992
33993 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33994
33995         * string/string.h: Add __wur to GNU version of strerror_r.
33996
33997 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33998
33999         [BZ #14229]
34000         * string/Makefile (tests): Add tst-strtok_r.
34001         * string/tst-strtok_r.c: New file.
34002         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34003         RAX_LP/RDX_LP on SAVE_PTR.
34004
34005 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34006
34007         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34008
34009 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34010
34011         * libm_test.inc (csqrt_test): Allow more spurious underflow
34012         exceptions.
34013         (j0_test): Likewise.
34014         (j1_test): Likewise.
34015         (y0_test): Likewise.
34016         (y1_test): Likewise.
34017
34018 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34019
34020         * po/Makefile (libc.pot): Use UTF-8 charset.
34021
34022 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34023
34024         [BZ #14210]
34025         Suppress sign-conversion warning from FD_SET.
34026         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34027         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34028         not unsigned long int.
34029         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34030
34031 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34032
34033         [BZ #14050]
34034         [BZ #14117]
34035         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34036         __extern_always_inline instead of __extern_inline.
34037         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34038         (__signbit): Likewise.
34039         (__signbitl): Support C++ namespace.
34040         (lrintf): New inline function.
34041         (lrint): Likewise.
34042         (llrintf): Likewise.
34043         (llrint): Likewise.
34044         (fmaxf): Likewise.
34045         (fmax): Likewise.
34046         (fminf): Likewise.
34047         (fmin): Likewise.
34048         (rint): Likewise.
34049         (rintf): Likewise.
34050         (ceil): Likewise.
34051         (ceilf): Likewise.
34052         (floor): Likewise.
34053         (floorf): Likewise.
34054         (nearbyint): Likewise.
34055         (nearbyintf): Likewise.
34056
34057 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34058
34059         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34060         non-default versions.
34061
34062 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34063
34064         [BZ #14218]
34065         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34066
34067 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34068
34069         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34070         (FE_UPWARD, FE_DOWNWARD): Don't define.
34071         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34072         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34073
34074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34075         reading it.
34076         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34077         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34078
34079 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34080
34081         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34083         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34084         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34085
34086 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34087
34088         [BZ #14117]
34089         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34090         * sysdeps/i386/fpu/Implies: New file.
34091         * sysdeps/x86_64/fpu/Implies: Likewise.
34092         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34093         * sysdeps/x86/fpu/bits/fenv.h: This.
34094
34095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34096         __SSE_MATH__.
34097
34098 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34099
34100         [BZ #14134]
34101         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34102         character 0xffff that matches the last element of the
34103         conversion table.
34104
34105 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34106
34107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34108         fmodl commit.
34109
34110 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34111
34112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34113         values higher than 25.6283.
34114
34115 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34116
34117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34118         subnormal exponent extraction and add some __builtin_expect.
34119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34120         Fix for subnormal mantissa calculation.
34121
34122 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34123
34124         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34125         cpu2 is -1 and errno is not ENOSYS.
34126
34127 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34128
34129         [BZ #14117]
34130         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34131         * sysdeps/x86/bits/string.h: This.
34132         * sysdeps/x86_64/bits/string.h: Removed.
34133
34134         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34135         if not compiling for x86-64, but compiling for >= i486.
34136
34137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34138         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34139
34140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34141         New macro from Linux kernel 3.4.0.
34142         (FP_XSTATE_MAGIC2): Likewise.
34143         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34144         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34145         (struct _fpx_sw_bytes): New struct.
34146         (struct _xsave_hdr): Likewise.
34147         (struct _ymmh_state): Likewise.
34148         (struct _xstate): Likewise.
34149
34150         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34151         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34153         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34155         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34156
34157         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34159         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34160         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34161         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34162         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34163
34164 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34165
34166         [BZ #13743]
34167         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34168         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34169         (sysdep_headers): Include sys/platform/ppc.h.
34170         * sysdeps/powerpc/test-gettimebase.c: Test for
34171         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34172         * manual/Makefile (appendices): Include platform.texi.
34173         * manual/contrib.texi (Contributors): Update @node pointers.
34174         * manual/maint.texi (Maintenance): Likewise.
34175         (Platform): New node.
34176         * manual/platform.texi: New file.  Document the new features.
34177
34178 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34179             Jakub Jelinek  <jakub@redhat.com>
34180
34181         [BZ #14188]
34182         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34183         where __builtin_expect is unavailable.
34184
34185 2012-06-03  David S. Miller  <davem@davemloft.net>
34186
34187         * stdlib/longlong.h: Updated from GCC.
34188
34189 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34190
34191         [BZ #14042]
34192         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34193         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34194         __mcount_internal.
34195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34196         (GLIBC_2.16): Likewise.
34197
34198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34199
34200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34201
34202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34203
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34205         (default-abi): New variable.
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34207         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34208         variable.
34209         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34210         Likewise.
34211         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34212         Likewise.
34213         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34214         Likewise.
34215
34216         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34217         definition.  Document in comment.
34218
34219 2012-06-01  David S. Miller  <davem@davemloft.net>
34220
34221         * stdlib/longlong.h: Updated from GCC.
34222
34223 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34224
34225         [BZ #14117]
34226         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34227         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34228         sys/debugreg.h sys/io.h here.
34229         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34230         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34231         sys/io.h.
34232         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34233         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34234         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34235         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34236         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34237         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34238
34239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34240         Define only if __x86_64__ is defined.
34241
34242 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34243
34244         [BZ #14048]
34245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34246         Use int64_t for variable i.
34247         * math/libm-test.inc (fmod_test): Add more tests.
34248
34249         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34250         z computation is not scheduled after fetestexcept.
34251         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34252         Use math_force_eval instead of asm to ensure calculation scheduled
34253         before exception test.
34254         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34255         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34256
34257 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34258
34259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34260         computation is not scheduled after fetestexcept.
34261
34262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34263
34264         [BZ #14117]
34265         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34266         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34267
34268 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34269
34270         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34271         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34272
34273 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34274
34275         [BZ #14117]
34276         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34277         <bits/wordsize.h>.
34278         (__WCHAR_MIN): Support __WORDSIZE == 64.
34279         (__WCHAR_MAX): Likewise.
34280
34281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34283
34284         [BZ #14183]
34285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34286         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34287
34288         [BZ #14117]
34289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34291
34292         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34293         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34294
34295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34296         Defined to 1 if __x86_64__ isn't defined.
34297         (_STAT_VER_LINUX_OLD): New.
34298         (st_atime): Remove duplicate.
34299         (st_mtime): Likewise.
34300         (st_ctime): Likewise.
34301
34302 2012-05-31  David S. Miller  <davem@davemloft.net>
34303
34304         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34305         entries.
34306
34307 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34308
34309         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34310         gen-libm-test.pl.
34311
34312         [BZ #14132]
34313         * elf/dl-reloc.c: Include <_itoa.h>.
34314         (_dl_reloc_bad_type): Remove use of INTUSE.
34315         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34316         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34317         * stdio-common/psiginfo.c (psiginfo): Likewise.
34318         * stdio-common/psignal.c (psignal): Likewise.
34319         * string/strsignal.c (strsignal): Likewise.
34320         * include/signal.h (_sys_siglist): Declare hidden proto.
34321         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34322         INTVARDEF with libc_hidden_data_def.
34323         * stdio-common/itoa-udigits.c: Likewise.
34324         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34325         (_itoa_lower_digits_internal): Remove declaration.
34326         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34327         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34328         (_sys_sigabbrev_internal): Remove aliases.
34329         (_sys_siglist): Define hidden alias.
34330
34331 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34332
34333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34334         bits/sysctl.h.
34335
34336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34337
34338         [BZ #14117]
34339         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34340         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34341
34342         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34343         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34344         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34345         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34346         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34347         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34348
34349         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34350         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34351         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34352
34353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34354         with __addr.
34355         (insw): Likewise.
34356         (insl): Likewise.
34357         (outsb): Likewise.
34358         (outsw): Likewise.
34359         (outsl): Likewise.
34360
34361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34364
34365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34368         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34369         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34371
34372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34373         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34374
34375         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34376         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34377
34378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34380         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34381
34382         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34383         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34384         to ...
34385         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34386
34387         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34388         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34389         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34390
34391         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34392         for x86-64.
34393         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34394
34395 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34396
34397         * math/math.h (M_El): Use two more decimal places.
34398         (M_LOG2El): Likewise.
34399         (M_LOG10El): Likewise.
34400         (M_LN2l): Likewise.
34401         (M_LN10l): Likewise.
34402         (M_PIl): Likewise.
34403         (M_PI_2l): Likewise.
34404         (M_PI_4l): Likewise.
34405         (M_1_PIl): Likewise.
34406         (M_2_PIl): Likewise.
34407         (M_2_SQRTPIl): Likewise.
34408         (M_SQRT2l): Likewise.
34409         (M_SQRT1_2l): Likewise.
34410
34411 2012-05-31  David S. Miller  <davem@davemloft.net>
34412
34413         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34414         values between float registers.
34415         * sysdeps/sparc/sparc64/memset.S: Likewise.
34416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34417
34418 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34419
34420         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34421         -D_FORTIFY_SOURCE=1.
34422         (CPPFLAGS-tst-longjmp_chk.c): Define.
34423         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34424         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34425         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34426         CFLAGS-tst-wchar-h.c.
34427
34428 2012-05-31  Marek Polacek  <polacek@redhat.com>
34429
34430         [BZ #14132]
34431         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34432         __endmntent_internal): Remove declaration.
34433         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34434         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34435         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34436
34437 2012-05-30  David S. Miller  <davem@davemloft.net>
34438
34439         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34440         (___Q_simulate_exceptions): Use real FP ops rather than writing
34441         into the %fsr.
34442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34443         Likewise.
34444
34445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34446
34447         [BZ #14117]
34448         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34449         * sysdeps/x86/bits/xtitypes.h: This.
34450
34451         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34452         * sysdeps/x86/bits/wordsize.h: This.
34453
34454         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34455         * sysdeps/x86/bits/huge_vall.h: This.
34456
34457         * sysdeps/i386/bits/select.h: Removed.
34458         * sysdeps/x86_64/bits/select.h: Renamed to ...
34459         * sysdeps/x86/bits/select.h: This.
34460
34461         * sysdeps/i386/bits/setjmp.h: Removed.
34462         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34463         * sysdeps/x86/bits/setjmp.h: This.
34464
34465         * sysdeps/i386/bits/mathdef.h: Removed.
34466         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34467         * sysdeps/x86/bits/mathdef.h: This.
34468
34469 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34470
34471         [BZ #14132]
34472         * include/sys/socket.h (__connect_internal)
34473         (__libc_sa_len_internal): Remove declaration.
34474         (__connect, __libc_sa_len): Declare hidden_proto.
34475         (SA_LEN): Remove use of INTUSE.
34476         * socket/connect.c: Add libc_hidden_def.
34477         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34478         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34479         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34480         alias.
34481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34483         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34484         of adding _internal alias.
34485
34486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34487
34488         [BZ #14117]
34489         * sysdeps/i386/bits/link.h: Removed.
34490         * sysdeps/i386/bits/linkmap.h: Likewise.
34491         * sysdeps/x86_64/bits/link.h: Renamed to ...
34492         * sysdeps/x86/bits/link.h: This.
34493         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34494         * sysdeps/x86/bits/linkmap.h: This.
34495
34496         * sysdeps/i386/bits/endian.h: Removed.
34497         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34498         * sysdeps/x86/bits/endian.h: This.
34499
34500         * sysdeps/i386/bits/byteswap.h: Removed.
34501         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34502         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34503         * sysdeps/x86/bits/byteswap.h: This.
34504         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34505         * sysdeps/x86/bits/byteswap-16.h: This.
34506         * sysdeps/i386/Implies: Add x86.
34507         * sysdeps/x86_64/Implies: Likewise.
34508
34509 2012-05-30  David S. Miller  <davem@davemloft.net>
34510
34511         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34512         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34514         (FP_TRAPPING_EXCEPTIONS): Define.
34515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34516         (FP_TRAPPING_EXCEPTIONS): Define.
34517         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34518         subnormals only when inexact has been signalled or underflow
34519         exceptions are enabled.
34520         (_FP_PACK_CANONICAL): Likewise.
34521
34522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34523
34524         [BZ #14183]
34525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34526         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34527
34528 2012-05-30  Richard Henderson  <rth@twiddle.net>
34529
34530         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34531         with #ifndef NOT_IN_libc.
34532
34533         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34534         marked to avoid plt entry.
34535
34536 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34537
34538         [BZ #14112]
34539         * Makeconfig (default-abi): New macro.
34540         (abi-includes): Likewise.
34541         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34542         $(abi-$(default-abi)-lib-soname) for soname if defined.
34543         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34544         abi-variants.
34545         * Makefile (installed-stubs): Likewise.
34546         * include/stubs-biarch.h: Removed.
34547         * scripts/lib-names.awk: Only handle one library at a time.
34548         * scripts/soversions.awk: Remove WORDSIZE support.
34549         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34550         entries.
34551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34552         Removed.
34553         (syscall-list-default-condition): Likewise.
34554         (syscall-list-default-condition): Likewise.
34555         (syscall-list-includes): Likewise.
34556         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34557         syscall-list-* with abi-*.  Handle undefined abi-variants.
34558         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34559         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34560         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34561         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34562         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34563         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34564         Removed.
34565         (syscall-list-32-options): Likewise.
34566         (syscall-list-32-condition): Likewise.
34567         (syscall-list-64-options): Likewise.
34568         (syscall-list-64-condition): Likewise.
34569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34570         macro.
34571         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34572         Renamed to ...
34573         (abi-*): This.
34574         (abi-64-ld-soname): New macro.
34575         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34576         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34577         Renamed to ...
34578         (abi-*): This.
34579         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34580         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34581
34582 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34583
34584         * sysdeps/unix/sysv/linux/kernel-features.h
34585         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34586         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34587         include <kernel-features.h>.
34588         [!__NR_ftruncate64]: Remove conditional code.
34589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34590         [__NR_ftruncate64]: Make code unconditional.
34591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34592         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34593         include <kernel-features.h>.
34594         [!__NR_ftruncate64]: Remove conditional code.
34595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34596         [__NR_ftruncate64]: Make code unconditional.
34597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34599         include <kernel-features.h>.
34600         [!__NR_ftruncate64]: Remove conditional code.
34601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34602         [__NR_ftruncate64]: Make code unconditional.
34603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34605         include <kernel-features.h>.
34606         [!__NR_ftruncate64]: Remove conditional code.
34607         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34608         [__NR_ftruncate64]: Make code unconditional.
34609         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34610
34611         * configure.in (libc_cv_fpie): Weaken to a compile test using
34612         LIBC_TRY_CC_OPTION.
34613         * configure: Regenerated.
34614
34615 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34616
34617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34621         Refreshed.
34622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34628         Refreshed.
34629
34630 2012-05-27  David S. Miller  <davem@davemloft.net>
34631
34632         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34633         (___Q_zero): New.
34634         (__Q_simulate_exceptions): Return void.  Change to simulate
34635         exceptions by writing into the %fsr.
34636         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34637         (__Qp_handle_exceptions): Likewise.
34638         (numbers): Delete.
34639         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34640         __Qp_handle_exceptions.
34641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34642         __Qp_handle_exceptions.
34643         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34644         as unused and give dummy FP_RND_NEAREST initializer.
34645         (FP_INHIBIT_RESULTS): Define.
34646         (___Q_simulate_exceptions): Update declaration.
34647         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34648         formatting.
34649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34650         as unused and give dummy FP_RND_NEAREST initializer.
34651         (__Qp_handle_exceptions): Update declaration.
34652         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34653         formatting.
34654
34655 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34656
34657         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34658         the temporary FPU control word.
34659         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34660         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34662         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34664         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34665         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34667         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34668         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34670
34671 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34672
34673         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34674         fields.
34675
34676 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34677
34678         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34679         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34680         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34681         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34682         Likewise.
34683         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34684         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34685         Likewise.
34686
34687 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34688
34689         * po/h.po: Update from translation team.
34690
34691 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34692
34693         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34694
34695         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34696         handling of denormals.
34697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34699         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34700         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34703         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34704         Likewise.
34705
34706 2012-05-26  Marek Polacek  <polacek@redhat.com>
34707
34708         [BZ #14152]
34709         * math/libm-test.inc (fma_test): Don't always expect underflow
34710         exception.
34711
34712 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34713
34714         [BZ #12416]
34715         * elf/tst-execstack.c: Include stackinfo.h.
34716         (do_test): Adjust test case to ensure that pthread_getattr_np
34717         behaviour remains the same after marking stack executable.
34718
34719 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34720
34721         * sysdeps/unix/sysv/linux/kernel-features.h
34722         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34723         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34724         kernel-features.h.
34725         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34726         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34727         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34728         kernel-features.h.
34729         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34730         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34731
34732 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34733
34734         * configure.in: Define the default includes to being none.
34735         * configure: Regenerated.
34736
34737 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34738
34739         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34740         * sysdeps/x86_64/setjmp.S: Likewise.
34741         * sysdeps/i386/bsd-setjmp.S: Likewise.
34742         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34743         * sysdeps/i386/setjmp.S: Likewise.
34744         * sysdeps/i386/__longjmp.S: Likewise.
34745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34747
34748         * include/stap-probe.h: New file.
34749         * configure.in: Handle --enable-systemtap.
34750         * configure: Regenerated.
34751         * config.h.in (USE_STAP_PROBE): New #undef.
34752         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34753         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34754         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34755
34756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34757
34758         [BZ #13717]
34759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34760         to 2.4.0 where earlier.
34761         * sysdeps/unix/sysv/linux/configure: Regenerated.
34762         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
34771         [__ASSUME_32BITUIDS]: Make code unconditional.
34772         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34773         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34774         <kernel-features.h>.
34775         [__ASSUME_32BITUIDS]: Make code unconditional.
34776         [!__ASSUME_32BITUIDS]: Remove conditional code.
34777         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34778         <kernel-features.h>.
34779         [__ASSUME_32BITUIDS]: Make code unconditional.
34780         [!__ASSUME_32BITUIDS]: Remove conditional code.
34781         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34782         <kernel-features.h>.
34783         [__ASSUME_32BITUIDS]: Make code unconditional.
34784         [!__ASSUME_32BITUIDS]: Remove conditional code.
34785         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34786         <kernel-features.h>.
34787         [__ASSUME_32BITUIDS]: Make code unconditional.
34788         [!__ASSUME_32BITUIDS]: Remove conditional code.
34789         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34790         <kernel-features.h>.
34791         [__ASSUME_32BITUIDS]: Make code unconditional.
34792         [!__ASSUME_32BITUIDS]: Remove conditional code.
34793         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34794         <kernel-features.h>.
34795         [__ASSUME_32BITUIDS]: Make code unconditional.
34796         [!__ASSUME_32BITUIDS]: Remove conditional code.
34797         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34798         <kernel-features.h>.
34799         [__ASSUME_32BITUIDS]: Make code unconditional.
34800         [!__ASSUME_32BITUIDS]: Remove conditional code.
34801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34802         <kernel-features.h>.
34803         [__ASSUME_32BITUIDS]: Make code unconditional.
34804         [!__ASSUME_32BITUIDS]: Remove conditional code.
34805         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34806         <kernel-features.h>.
34807         [__ASSUME_32BITUIDS]: Make code unconditional.
34808         [!__ASSUME_32BITUIDS]: Remove conditional code.
34809         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34810         <kernel-features.h>.
34811         [__ASSUME_32BITUIDS]: Make code unconditional.
34812         [!__ASSUME_32BITUIDS]: Remove conditional code.
34813         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34814         <kernel-features.h>.
34815         [__NR_setresgid] (__setresgid): Do not declare.
34816         [__ASSUME_32BITUIDS]: Make code unconditional.
34817         [!__ASSUME_32BITUIDS]: Remove conditional code.
34818         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34819         <kernel-features.h>.
34820         [__NR_setresuid] (__setresuid): Do not declare.
34821         [__ASSUME_32BITUIDS]: Make code unconditional.
34822         [!__ASSUME_32BITUIDS]: Remove conditional code.
34823         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34824         <kernel-features.h>.
34825         [__ASSUME_32BITUIDS]: Make code unconditional.
34826         [!__ASSUME_32BITUIDS]: Remove conditional code.
34827         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34828         <kernel-features.h>.
34829         [__ASSUME_32BITUIDS]: Make code unconditional.
34830         [!__ASSUME_32BITUIDS]: Remove conditional code.
34831         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34832         <kernel-features.h>.
34833         [__ASSUME_32BITUIDS]: Make code unconditional.
34834         [!__ASSUME_32BITUIDS]: Remove conditional code.
34835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34836         <kernel-features.h>.
34837         [__ASSUME_32BITUIDS]: Make code unconditional.
34838         [!__ASSUME_32BITUIDS]: Remove conditional code.
34839         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34840         <kernel-features.h>.
34841         [__ASSUME_32BITUIDS]: Make code unconditional.
34842         [!__ASSUME_32BITUIDS]: Remove conditional code.
34843         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34844         <kernel-features.h>.
34845         [__ASSUME_32BITUIDS]: Make code unconditional.
34846         [!__ASSUME_32BITUIDS]: Remove conditional code.
34847         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34848         <kernel-features.h>.
34849         [__ASSUME_32BITUIDS]: Make code unconditional.
34850         [!__ASSUME_32BITUIDS]: Remove conditional code.
34851         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34852         <kernel-features.h>.
34853         [__ASSUME_32BITUIDS]: Make code unconditional.
34854         [!__ASSUME_32BITUIDS]: Remove conditional code.
34855         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34856         <kernel-features.h>.
34857         [__ASSUME_32BITUIDS]: Make code unconditional.
34858         [!__ASSUME_32BITUIDS]: Remove conditional code.
34859         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34860         <kernel-features.h>.
34861         [__ASSUME_32BITUIDS]: Make code unconditional.
34862         [!__ASSUME_32BITUIDS]: Remove conditional code.
34863         * sysdeps/unix/sysv/linux/kernel-features.h
34864         (__ASSUME_SETRESUID_SYSCALL): Remove.
34865         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34866         (__ASSUME_32BITUIDS): Likewise.
34867         (__ASSUME_LDT_WORKS): Likewise.
34868         (__ASSUME_O_DIRECTORY): Likewise.
34869         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34870         architecture but not kernel version.
34871         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34872         (__ASSUME_MMAP2_SYSCALL): Likewise.
34873         (__ASSUME_STAT64_SYSCALL): Likewise.
34874         (__ASSUME_IPC64): Likewise.
34875         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34876         <kernel-features.h>.
34877         [__ASSUME_32BITUIDS]: Make code unconditional.
34878         [!__ASSUME_32BITUIDS]: Remove conditional code.
34879         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34880         <kernel-features.h>.
34881         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34882         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34883         132096]: Remove conditional code.
34884         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34886         <kernel-features.h>.
34887         [__ASSUME_32BITUIDS]: Make code unconditional.
34888         [!__ASSUME_32BITUIDS]: Remove conditional code.
34889         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34890         <kernel-features.h>.
34891         [__ASSUME_32BITUIDS]: Make code unconditional.
34892         [!__ASSUME_32BITUIDS]: Remove conditional code.
34893         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34894         <kernel-features.h>.
34895         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34896         unconditional.
34897         (__setresgid): Do not declare.
34898         [__ASSUME_32BITUIDS]: Make code unconditional.
34899         [!__ASSUME_32BITUIDS]: Remove conditional code.
34900         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34901         <kernel-features.h>.
34902         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34903         unconditional.
34904         (__setresuid): Do not declare.
34905         [__ASSUME_32BITUIDS]: Make code unconditional.
34906         [!__ASSUME_32BITUIDS]: Remove conditional code.
34907         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34908         <kernel-features.h>.
34909         [__ASSUME_32BITUIDS]: Make code unconditional.
34910         [!__ASSUME_32BITUIDS]: Remove conditional code.
34911         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34912         <kernel-features.h>.
34913         [__ASSUME_32BITUIDS]: Make code unconditional.
34914         [!__ASSUME_32BITUIDS]: Remove conditional code.
34915
34916 2012-05-25  Richard Henderson  <rth@twiddle.net>
34917
34918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34919         dl_hwcap to ifunc resolver.
34920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34921         elf_ifunc_invoke.
34922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34923         dl_hwcap to ifunc resolver.
34924         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34925
34926 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34927
34928         [BZ #14153]
34929         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34930         for |x| <= 2**-26, not 2**-57.
34931         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34932         exception.
34933
34934 2012-05-24  Jeff Law  <law@redhat.com>
34935
34936         * stdio-common/Makefile (tests): Add bug25.
34937         * stdio-common/bug25.c: New test.
34938
34939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34940
34941         [BZ #13576]
34942         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34943         multiple of MALLOC_ALIGNMENT in size.
34944         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34945
34946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34947
34948         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34949         Require >= 256.
34950         (FILENAME_MAX): Use macro-int-constant.
34951         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34952         (_IOFBF): Use macro-int-constant.
34953         (_IOLBF): Likewise.
34954         (_IONBF): Likewise.
34955         (SEEK_CUR): Likewise.
34956         (SEEK_END): Likewise.
34957         (SEEK_SET): Likewise.
34958         (TMP_MAX): Likewise.
34959         (EOF): Use macro-int-constant.  Require < 0.
34960         (NULL): Use macro-constant.  Require == 0.
34961         (stdin): Require type to be FILE *.
34962         (stdout): Likewise.
34963         (stderr): Likewise.
34964         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34965         macro-int-constant.
34966         (EXIT_SUCCESS): Likewise.
34967         (NULL): Use macro-constant.  Require == 0.
34968         (RAND_MAX): Use macro-int-constant.
34969         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34970         [C99-based standards] (strtof): Require function.
34971         [C99-based standards] (strtold): Likewise.
34972         [C99-based standards] (strtoll): Likewise.
34973         [C99-based standards] (strtoull): Likewise.
34974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34975         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34976         [ISO || ISO99 || ISO11] (math.h): Likewise.
34977         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34978         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34980
34981 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34982
34983         [BZ #14132]
34984         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34985         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34986         * intl/dgettext.c (DCGETTEXT): Likewise.
34987         * intl/gettext.c (DCGETTEXT): Likewise.
34988         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34989         * posix/regex_internal.h (gettext): Likewise.
34990         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34991         Remove declaration.
34992         * include/argz.h (__argz_count_internal)
34993         (__argz_stringify_internal): Remove declaration.
34994         (__argz_count, __argz_stringify): Declare hidden proto.
34995         * intl/dcgettext.c: Remove use of INTDEF.
34996         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34997         * string/argz-stringify.c: Likewise.
34998         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34999         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35000         Declare hidden proto.
35001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35003         Declare hidden proto.
35004         * include/stdio.h (__asprintf_internal): Don't declare.
35005         (__asprintf): Don't define as macro.  Declare hidden proto.
35006         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35007         (__fsetlocking): Declare hidden proto.
35008         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35009         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35010         hidden proto.
35011         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35012         (_IO_setlinebuf): Remove use of INTUSE.
35013         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35014         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35015         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35016         Remove declaration.
35017         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35018         (_IO_do_flush): Remove use of INTUSE.
35019         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35020         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35021         (_IO_adjust_column, _IO_least_wmarker)
35022         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35023         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35024         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35025         (_IO_default_doallocate, _IO_wdefault_doallocate)
35026         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35027         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35028         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35029         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35030         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35031         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35032         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35033         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35034         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35035         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35036         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35037         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35038         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35039         proto.
35040         (_IO_flush_all_internal, _IO_adjust_column_internal)
35041         (_IO_default_uflow_internal, _IO_default_finish_internal)
35042         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35043         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35044         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35045         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35046         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35047         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35048         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35049         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35050         (_IO_file_close_internal, _IO_file_close_it_internal)
35051         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35052         (_IO_file_init_internal, _IO_file_attach_internal)
35053         (_IO_file_fopen_internal, _IO_file_read_internal)
35054         (_IO_file_sync_internal, _IO_file_seek_internal)
35055         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35056         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35057         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35058         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35059         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35060         (_IO_list_all_internal, _IO_link_in_internal)
35061         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35062         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35063         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35064         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35065         (_IO_do_write_internal, _IO_padn_internal)
35066         (_IO_getline_info_internal, _IO_getline_internal)
35067         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35068         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35069         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35070         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35071         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35072         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35073         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35074         with libc_hidden_ver, remove use of INTUSE.
35075         * libio/genops.c: Likewise.
35076         * libio/freopen.c: Likewise.
35077         * libio/freopen64.c: Likewise.
35078         * libio/iofclose.c: Likewise.
35079         * libio/iofdopen.c: Likewise.
35080         * libio/iofflush.c: Likewise.
35081         * libio/iofflush_u.c: Likewise.
35082         * libio/iofgets.c: Likewise.
35083         * libio/iofgets_u.c: Likewise.
35084         * libio/iofopen.c: Likewise.
35085         * libio/iofopncook.c: Likewise.
35086         * libio/iofread.c: Likewise.
35087         * libio/iofread_u.c: Likewise.
35088         * libio/ioftell.c: Likewise.
35089         * libio/iofwrite.c: Likewise.
35090         * libio/iogetline.c: Likewise.
35091         * libio/iogets.c: Likewise.
35092         * libio/iogetwline.c: Likewise.
35093         * libio/iopadn.c: Likewise.
35094         * libio/iopopen.c: Likewise.
35095         * libio/ioseekoff.c: Likewise.
35096         * libio/ioseekpos.c: Likewise.
35097         * libio/iosetbuffer.c: Likewise.
35098         * libio/iosetvbuf.c: Likewise.
35099         * libio/ioungetc.c: Likewise.
35100         * libio/ioungetwc.c: Likewise.
35101         * libio/iovdprintf.c: Likewise.
35102         * libio/iovsprintf.c: Likewise.
35103         * libio/iovsscanf.c: Likewise.
35104         * libio/memstream.c: Likewise.
35105         * libio/obprintf.c: Likewise.
35106         * libio/oldfileops.c: Likewise.
35107         * libio/oldiofclose.c: Likewise.
35108         * libio/oldiofdopen.c: Likewise.
35109         * libio/oldiofopen.c: Likewise.
35110         * libio/oldiopopen.c: Likewise.
35111         * libio/oldstdfiles.c: Likewise.
35112         * libio/putc.c: Likewise.
35113         * libio/setbuf.c: Likewise.
35114         * libio/setlinebuf.c: Likewise.
35115         * libio/stdfiles.c: Likewise.
35116         * libio/strops.c: Likewise.
35117         * libio/vasprintf.c: Likewise.
35118         * libio/vscanf.c: Likewise.
35119         * libio/vsnprintf.c: Likewise.
35120         * libio/vswprintf.c: Likewise.
35121         * libio/wfiledoalloc.c: Likewise.
35122         * libio/wfileops.c: Likewise.
35123         * libio/wgenops.c: Likewise.
35124         * libio/wmemstream.c: Likewise.
35125         * libio/wstrops.c: Likewise.
35126         * libio/__fpurge.c: Likewise.
35127         * libio/__fsetlocking.c: Likewise.
35128         * assert/assert.c: Likewise.
35129         * debug/fgets_chk.c: Likewise.
35130         * debug/fgets_u_chk.c: Likewise.
35131         * debug/fread_chk.c: Likewise.
35132         * debug/fread_u_chk.c: Likewise.
35133         * debug/gets_chk.c: Likewise.
35134         * debug/obprintf_chk.c: Likewise.
35135         * debug/vasprintf_chk.c: Likewise.
35136         * debug/vdprintf_chk.c: Likewise.
35137         * debug/vsnprintf_chk.c: Likewise.
35138         * debug/vsprintf_chk.c: Likewise.
35139         * malloc/mtrace.c: Likewise.
35140         * misc/error.c: Likewise.
35141         * misc/syslog.c: Likewise.
35142         * stdio-common/asprintf.c: Likewise.
35143         * stdio-common/fxprintf.c: Likewise.
35144         * stdio-common/getw.c: Likewise.
35145         * stdio-common/isoc99_fscanf.c: Likewise.
35146         * stdio-common/isoc99_scanf.c: Likewise.
35147         * stdio-common/isoc99_vfscanf.c: Likewise.
35148         * stdio-common/isoc99_vscanf.c: Likewise.
35149         * stdio-common/isoc99_vsscanf.c: Likewise.
35150         * stdio-common/printf-prs.c: Likewise.
35151         * stdio-common/printf_fp.c: Likewise.
35152         * stdio-common/printf_fphex.c: Likewise.
35153         * stdio-common/printf_size.c: Likewise.
35154         * stdio-common/putw.c: Likewise.
35155         * stdio-common/scanf.c: Likewise.
35156         * stdio-common/sprintf.c: Likewise.
35157         * stdio-common/tmpfile.c: Likewise.
35158         * stdio-common/vfprintf.c: Likewise.
35159         * stdio-common/vfscanf.c: Likewise.
35160         * stdlib/strfmon_l.c: Likewise.
35161         * sunrpc/openchild.c: Likewise.
35162         * sunrpc/xdr_stdio.c: Likewise.
35163         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35164         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35165
35166 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35167
35168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35169
35170         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35171         in the third column, to generate for the shared library an IFUNC
35172         that uses _dl_vdso_vsym.
35173         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35174         * Makeconfig (object-suffixes-noshared): New variable.
35175
35176         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35177         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35178         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35179         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35180
35181         [BZ #14132]
35182         * include/sys/time.h (__gettimeofday): Remove macro.
35183         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35184         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35185         Remove INTDEF.
35186         (__gettimeofday): Add libc_hidden_def.
35187         (gettimeofday): Add libc_hidden_weak.
35188         * sysdeps/mach/gettimeofday.c: Likewise.
35189         * sysdeps/posix/gettimeofday.c: Likewise.
35190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35193         (__gettimeofday_internal): Remove strong_alias.
35194         (__gettimeofday): Add libc_hidden_def.
35195         (gettimeofday): Add libc_hidden_weak.
35196         * sysdeps/unix/syscalls.list (gettimeofday):
35197         Remove __gettimeofday_internal alias.
35198
35199 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35200             H.J. Lu  <hongjiu.lu@intel.com>
35201
35202         [BZ #12495]
35203         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35204         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35205         (largebin_index_32_big): New.
35206         (largebin_index): Use it for 16-byte alignment.
35207         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35208         correction with front_misalign.
35209
35210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35211
35212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35214         Likewise.
35215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35216         Likewise.
35217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35218         Likewise.
35219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35220         Likewise.
35221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35222         Likewise.
35223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35224         Likewise.
35225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35226         Likewise.
35227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35228         Likewise.
35229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35230         Likewise.
35231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35232         Likewise.
35233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35234         Likewise.
35235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35236         Likewise.
35237
35238         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35239         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35240
35241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35242
35243         [BZ #10846]
35244         [BZ #14036]
35245         * math/libm-test.inc (exp_test): Add test from bug 14036.
35246         (pow_test): Add test from bug 10846.
35247
35248         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35249         and other flags.
35250         (special_function): Do not include flags in test name.
35251         (parse_args): Likewise.
35252         * sysdeps/i386/fpu/libm-test-ulps: Update.
35253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35255         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35257
35258         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35259         exceptions.
35260         * math/libm-test.inc ("Philosophy"): Update comment about
35261         exception testing.
35262         (UNDERFLOW_EXCEPTION): New macro.
35263         (UNDERFLOW_EXCEPTION_OK): Likewise.
35264         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35265         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35266         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35267         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35268         (INVALID_EXCEPTION_OK): Update value.
35269         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35270         (OVERFLOW_EXCEPTION_OK): Likewise.
35271         (IGNORE_ZERO_INF_SIGN): Likewise.
35272         (test_exceptions): Handle underflow exceptions.
35273         (acos_test): Update for underflow exception expectations.
35274         (cexp_test): Likewise.
35275         (clog_test): Likewise.
35276         (clog10_test): Likewise.
35277         (csqrt_test): Likewise.
35278         (ctan_test): Likewise.
35279         (ctanh_test): Likewise.
35280         (exp_test): Likewise.
35281         (exp10_test): Likewise.
35282         (exp2_test): Likewise.
35283         (expm1_test): Likewise.
35284         (fma_test): Likewise.
35285         (j0_test): Likewise.
35286         (jn_test): Likewise.
35287         (nexttoward_test): Likewise.
35288         (pow_test): Likewise.
35289         (scalbn_test): Likewise.
35290         (scalbln_test): Likewise.
35291         (tan_test): Likewise.
35292         (y1_test): Likewise.
35293         * sysdeps/i386/fpu/libm-test-ulps: Update.
35294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35295
35296 2012-05-23  David S. Miller  <davem@davemloft.net>
35297
35298         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35299         (__libc_sigaction): Remove unused local variables.
35300
35301 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35302
35303         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35304
35305 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35306
35307         mktime: avoid signed integer overflow
35308         * time/mktime.c (__mktime_internal): Do not mishandle the case
35309         where diff == INT_MIN.
35310
35311         mktime: simplify computation of average
35312         * time/mktime.c (ranged_convert): Use new time_t_avg function
35313         instead of rolling our own (probably-slower) code.
35314
35315         mktime: do not assume signed right shift propagates sign bit
35316         * time/mktime.c (isdst_differ): New static function.
35317         (__mktime_internal): No need to normalize tm_isdst now.
35318         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35319         tm_isdst values.
35320
35321         mktime: merge another wrapv change from gnulib
35322         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35323         from some compilers.
35324
35325         mktime: remove incorrect attempt at unusual arithmetics
35326         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35327         The code didn't really work on such machines anyway.
35328         (TYPE_MINIMUM): Assume two's complement.
35329         (twos_complement_arithmetic): Verify that long_int and time_t
35330         are two's complement (or unsigned, in the latter case).
35331
35332         mktime: check signed shifts on long_int and time_t, too
35333         * time/mktime.c (SHR): Check that shifts work as desired
35334         on the types long_int and time_t too, as SHR is used on
35335         such types.
35336
35337         mktime: do not assume 'long' is wide enough
35338         * time/mktime.c (verify): Move decl up.
35339         (long_int): New type.
35340         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35341         to remove assumption in the code that 'long' is wide enough to
35342         store year values.  This assumption is not true on x32 and on
35343         some non-glibc platforms.
35344
35345         mktime: merge wrapv change from gnulib
35346         * time/mktime.c (WRAPV): New macro.
35347         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35348         (guess_time_tm, __mktime_internal): Do not assume that signed
35349         integer overflow wraps around; modern compilers generate code
35350         where this assumption is no longer valid.
35351
35352 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35353
35354         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35355         Replace "jmp L(pseudo_end)" with "ret".
35356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35357         Likewise.
35358
35359 2012-05-23  Andreas Jaeger  <aj@suse.de>
35360
35361         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35362         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35363
35364 2012-05-23  Andreas Jaeger  <aj@suse.de>
35365             Maximilian Attems  <max@stro.at>
35366
35367         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35368         New macros.
35369
35370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35371
35372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35373         code so that pseudo_end is just ret and the stack pointer is
35374         correct also for static library in error case.
35375
35376 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35377
35378         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35379         move to syscalls.list.
35380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35384
35385         * manual/install.texi (Running make install): Do not mention Linux
35386         kernel version for which pt_chown is not needed.
35387         (Linux): Do not mention problems with nscd with 2.0 kernels.
35388         * INSTALL: Regenerated.
35389
35390 2012-05-23  Andreas Jaeger  <aj@suse.de>
35391
35392         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35393         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35394         macro.
35395         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35397         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35399         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35405         * sysdeps/unix/sysv/linux/bits/in.h
35406         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35407
35408 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35409
35410         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35411         (PREPARE_VERSION): Just use assert instead, it will be elided
35412         under [NDEBUG] anyway.
35413
35414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35415
35416         * sysdeps/unix/sysv/linux/Makefile: Include
35417         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35418         (sysdep_routines): Remove sysctl.
35419         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35420         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35421         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35422         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35423         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35424
35425 2012-05-22  Andreas Jaeger  <aj@suse.de>
35426
35427         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35428         that pseudo_end is just ret and the stack pointer is correct also
35429         for static library in error case.
35430
35431 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35432
35433         [BZ #14122]
35434         * nss/nsswitch.c (defconfig_entries): New variable.
35435         (__nss_database_lookup): Don't leak defconfig entries.
35436         (nss_parse_service_list): Don't leak on error paths.
35437         (free_database_entries): New function.
35438         (free_defconfig): New function.
35439         (free_mem): Move common code to free_database_entries.
35440
35441 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35442
35443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35444         Add arch_prctl.
35445         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35446
35447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35448         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35450         New macro.
35451         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35452         (INTERNAL_SYSCALL_TYPES): Likewise.
35453         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35454         (LOAD_REGS_TYPES_[1-6]): Likewise.
35455         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35456         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35457
35458 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35459
35460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35461         copysignl for GLIBC_2_0.
35462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35463         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35465         logbl for GLIBC_2_0.
35466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35467         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35468
35469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35470
35471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35472         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35473
35474         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35475         Use "neg %eax".
35476
35477         * time/mktime.c: Update copyright years.
35478
35479 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35480
35481         mktime: merge comment-quoting-style change from gnulib
35482         * time/mktime.c: Quote 'like this' in comments.
35483         The GNU coding standards suggest that we no longer quote `like this',
35484         as "`" and "'" are typically rendered asymmetrically nowadays.
35485         The typical gnulib style is to quote 'like this' when quoting
35486         code, and "like this" when quoting English.
35487
35488         * time/mktime.c (compile-command): Add "-I.".
35489
35490         mktime: merge mktime-internal.h change from gnulib
35491         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35492
35493         mktime: merge time_r change from gnulib
35494         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35495
35496         mktime: merge DEBUG change from gnulib
35497         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35498         case system <time.h> has a #define.
35499
35500         mktime: merge <sys/types.h> change from gnulib
35501         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35502         since <time.t> is now guaranteed to define time_t.
35503
35504         mktime: merge HAVE_CONFIG_H change from gnulib
35505         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35506
35507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35508
35509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35510         Use "neg %eax".
35511
35512         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35513         __rlim_t cast.
35514         (struct rusage): Use anonymous union to pad each field to
35515         __syscall_slong_t.
35516
35517 2012-05-21  David S. Miller  <davem@davemloft.net>
35518
35519         * Makefules (o-iterator): Remove .s cases.
35520         (compile-command.s): Delete.
35521         (COMPILE.s): Delete.
35522         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35523
35524 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35525
35526         * configure.in (libc_cv_predef_stack_protector): Only consider
35527         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35528         * configure: Regenerated.
35529
35530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35531
35532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35533         New macro.  Use R*LP on int and pointer.
35534         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35535         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35536         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35537         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35538
35539         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35540         [__WORDSIZE_TIME64_COMPAT32] instead of
35541         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35542         (struct utmp): Likewise.
35543         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35544         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35545         Renamed to ...
35546         (__WORDSIZE_TIME64_COMPAT32): This.
35547         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35548         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35549         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35550         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35551         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35552         (__WORDSIZE_TIME64_COMPAT32): New macro.
35553
35554 2012-05-21  Andreas Jaeger  <aj@suse.de>
35555
35556         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35557         only if [SHARED]. Add prototype for __wcschr_ia32.
35558
35559 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35560
35561         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35562         of %rbp unmolested in the jmp_buf while mangling the low bits.
35563         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35564         unmolested high bits of %rbp while demangling the low bits.
35565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35566
35567 2012-05-21  Andreas Jaeger  <aj@suse.de>
35568
35569         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35570         * sunrpc/svc_simple.c: Use it for registerrpc.
35571         * sunrpc/xcrypt.c: Use it for passwd2des.
35572
35573         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35574
35575 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35576
35577         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35578         Don't define if [__SYSCALL_WORDSIZE != 32].
35579         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35580         New macro.
35581
35582 2012-05-21  Bruno Haible  <bruno@clisp.org>
35583             Andreas Jaeger  <aj@suse.de>
35584
35585         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35586         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35587         inptr and inend for must_buffer_ch.
35588         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35589         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35590         * stdio-common/Makefile (tests): Remove bug15.
35591         (bug15-ENV): Remove macro.
35592         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35593         anymore.
35594
35595 2012-05-19  Andreas Jaeger  <aj@suse.de>
35596             Roland McGrath  <roland@hack.frob.com>
35597
35598         * manual/contrib.texi: Completely rewritten. It contains now an
35599         alphabetical list of contributors and their contributions.
35600
35601 2012-05-21  Richard Henderson  <rth@twiddle.net>
35602
35603         * misc/getauxval.c (__getauxval): Use unsigned long int.
35604         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35605         (getauxval): Use unsigned long int.
35606
35607 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35608
35609         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35610
35611 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35612
35613         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35614         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35615         __alignof__ (long double).
35616
35617 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35618
35619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35620
35621 2012-05-20  Richard Henderson  <rth@twiddle.net>
35622
35623         * misc/getauxval.c: New file.
35624         * misc/sys/auxv.h: New file.
35625         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35626         (routines): Add getauxval.
35627         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35628         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35629         * elf/dl-sysdep.c (_dl_auxv): Remove.
35630         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35631         * elf/dl-support.c (_dl_auxv): New variable.
35632         (_dl_aux_init): Initialize it.
35633         * manual/startup.texi (Auxiliary Vector): New node.
35634         * sysdeps/generic/bits/hwcap.h: New file.
35635         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35636         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35637         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35638         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35639         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35642         Update.
35643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35651
35652 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35653
35654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35655
35656 2012-05-19  David S. Miller  <davem@davemloft.net>
35657
35658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35659
35660 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35661
35662         [BZ #14123]
35663         * math/s_ccosh.c: Include <float.h>
35664         (__ccosh): Avoid internal overflow calculating sinh and cosh
35665         values before multiplying by sin and cos values.
35666         * math/s_ccoshf.c: Likewise.
35667         * math/s_ccoshl.c: Likewise.
35668         * math/s_csin.c: Likewise.
35669         * math/s_csinf.c: Likewise.
35670         * math/s_csinl.c: Likewise.
35671         * math/s_csinh.c: Likewise.
35672         * math/s_csinhf.c: Likewise.
35673         * math/s_csinhl.c: Likewise.
35674         * math/libm-test.inc (ccos_test): Add more tests.
35675         (ccosh_test): Likewise.
35676         (csin_test): Likewise.
35677         (csinh_test): Likewise.
35678         * sysdeps/i386/fpu/libm-test-ulps: Update.
35679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35680
35681 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35682
35683         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35684         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35685
35686         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35687
35688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35689
35690         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35691         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35692         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35693         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35694         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35695         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35696         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35697         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35698         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35699         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35700         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35701         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35702         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35703         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35704         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35705         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35706         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35707         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35708         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35709         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35710         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35711         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35712         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35713         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35714         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35715         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35716         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35717         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35718         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35719         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35720         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35721
35722 2012-05-18  Andreas Jaeger  <aj@suse.de>
35723
35724         * csu/.gitignore: Delete.
35725
35726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35727
35728         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35729         (timex): Use __syscall_slong_t.
35730
35731 2012-05-18  Andreas Jaeger  <aj@suse.de>
35732             Carlos O'Donell  <carlos_odonell@mentor.com>
35733
35734         * manual/install.texi (Configuring and compiling): Update
35735         description about files modified in the source directory.
35736         * INSTALL: Regenerated.
35737
35738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35739
35740         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35741         value.  Use "or" to set return value to -1.
35742         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35743         negate return value.
35744
35745 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35746
35747         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35748         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35749         failure if the compiler has Graphite support disabled.
35750         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35751         Likewise.
35752         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35753         (CFLAGS-memmove.c): Likewise.
35754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35755         Likewise.
35756
35757 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35758
35759         * sysdeps/x86_64/x32/_itoa.h: New file.
35760
35761         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35762         getdents system call only if kernel and user dirents have the
35763         same d_ino and d_off.
35764
35765         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35766         LLONG_MAX != LONG_MAX.
35767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35768         (_fitoa_word): Likewise.
35769
35770         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35771         years.
35772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35774         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35775
35776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35777         include <bits/wordsize.h>.  Check __x86_64__ instead of
35778         __WORDSIZE.
35779         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35780         if __x86_64__ is defined.  Use anonymous union on fpstate.
35781
35782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35783         anonymous union.
35784
35785 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35786
35787         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35788         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35789         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35790         Refer to _rtld_local_ro instead of _rtld_global_ro.
35791         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35792         Likewise.
35793         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35794         Likewise.
35795         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35796         Likewise.
35797         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35798         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35799         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35800
35801         * sysdeps/powerpc/powerpc32/dl-machine.c
35802         (__elf_machine_runtime_setup) [PROF]: Don't reference
35803         _dl_prof_resolve.
35804
35805 2012-05-18  Andreas Jaeger  <aj@suse.de>
35806
35807         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35808         function only available for GCCs before 3.4 since GCC 3.4
35809         introduced a builtin.
35810         (lrint): Likewise.
35811         (llrintf): Likewise.
35812         (llrint): Likewise.
35813         (fmaxf): Likewise.
35814         (fmax): Likewise.
35815         (fminf): Likewise.
35816         (fmin): Likewise.
35817         (rint): Likewise.
35818         (rintf): Likewise.
35819         (nearbyint): Likewise.
35820         (nearbyintf): Likewise.
35821         (ceil): Likewise.
35822         (ceilf): Likewise.
35823         (floor): Likewise.
35824         (floorf): Likewise.
35825
35826 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35827
35828         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35829         on both fields and cast pointer to __syscall_ulong_t.
35830
35831         * bits/types.h (__fsword_t): New type.
35832         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35833         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35835         (__FSWORD_T_TYPE): Likewise.
35836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35837         (__FSWORD_T_TYPE): Likewise.
35838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35839         (__FSWORD_T_TYPE): Likewise.
35840         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35841         (__FSWORD_T_TYPE): Likewise.
35842         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35843         __SWORD_TYPE with __fsword_t.
35844         (statfs64): Likewise.
35845
35846 2012-05-17  David S. Miller  <davem@davemloft.net>
35847
35848         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35849
35850 2012-05-17  Andreas Jaeger  <aj@suse.de>
35851
35852         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35853         warning.
35854
35855 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35856
35857         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35858
35859 2012-05-17  Andreas Jaeger  <aj@suse.de>
35860
35861         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35862         when it is used.
35863
35864 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35865
35866         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35867
35868 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35869
35870         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35871         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35872
35873 2012-05-17  Andreas Jaeger  <aj@suse.de>
35874             Carlos O'Donell  <carlos_odonell@mentor.com>
35875
35876         [BZ #14059]
35877         * sysdeps/x86_64/multiarch/init-arch.h
35878         (bit_YMM_Usable): Rename to...
35879         (bit_AVX_Usable): ... this.
35880         (bit_FMA4_Usable): New macro.
35881         (bit_XMM_state): New macro.
35882         (bit_YMM_state): New macro.
35883         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35884         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35885         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35886         (CPUID_OSXSAVE): New macro.
35887         (CPUID_AVX): New macro.
35888         (CPUID_FMA4): New macro.
35889         (index_YMM_Usable): Rename to...
35890         (index_AVX_Usable): ... this.
35891         (HAS_AVX): Use HAS_ARCH_FEATURE.
35892         (HAS_FMA4): Likewise.
35893         (HAS_YMM_USABLE): Remove.
35894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35895         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35896         are present.
35897         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35898         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35899         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35900         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35901         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35902
35903 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35904
35905         * math/libm-test.c: Support platforms without multiple rounding modes.
35906         * math/bug-nextafter.c: Support platforms without FP exceptions.
35907         * math/bug-nexttoward.c: Likewise.
35908         * math/test-fenv.c: Likewise.
35909         * math/test-misc.c: Likewise.
35910         * stdlib/bug-getcontext.c: Likewise.
35911
35912 2012-05-17  Andreas Jaeger  <aj@suse.de>
35913
35914         * manual/examples/search.c (critter_cmp): Change signature to
35915         avoid warnings.
35916         * manual/string.texi (Collation Functions): Likewise.
35917
35918 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35919
35920         * bits/types.h: Fold copyright years.
35921         * bits/typesizes.h: Likewise.
35922         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35924         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35926         * time/time.h: Likewise.
35927
35928 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35929
35930         [BZ #208]
35931         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35932         in instead of returning them.  Return void.
35933         (__libc_mallinfo): Accumulate over all arenas.
35934         (__malloc_stats): Adjust for change in int_mallinfo interface.
35935
35936 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35937
35938         [BZ #10375]
35939         * configure.in (NM): Add AC_CHECK_TOOL for it.
35940         (libc_extra_cflags): New substituted variable.
35941         Check for -fstack-protector being used implicitly.
35942         * configure: Regenerated.
35943         * config.make.in (config-extra-cflags): New variable,
35944         gets @libc_extra_cflags@.
35945         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35946
35947         [BZ #10375]
35948         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35949         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35950         * configure: Regenerated.
35951         * config.make.in (CPPUNDEFS): New substituted variable.
35952         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35953         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35954         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35955
35956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35957
35958         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35959         (mq_attr): Use __syscall_slong_t.
35960
35961 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35962
35963         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35964         Check __x86_64__ instead of __WORDSIZE.
35965         (_STAT_VER_LINUX): Likewise.
35966         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35967         __syscall_ulong_t and __syscall_slong_t.
35968         (stat64): Likewise.
35969
35970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35971
35972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35973
35974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35975
35976         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35977
35978 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35979
35980         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35981         __syscall_ulong_t.
35982
35983         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35984         include <bits/wordsize.h>.  Check __x86_64__ instead of
35985         __WORDSIZE.
35986         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35987         defined.
35988         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35989
35990         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35991         include <bits/wordsize.h>.  Check __x86_64__ instead of
35992         __WORDSIZE.
35993         (user_regs_struct): Use "__extension__ unsigned long long"
35994         instead of "unsigned long" if __x86_64__ is defined.
35995         (user): Likewise.  Pad after pointer field if __ILP32__ is
35996         defined.
35997
35998 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35999
36000         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36001         versions 5 to 9.
36002         * configure: Regenerated.
36003         * manual/install.texi (texinfo): Increase version requirement to
36004         4.5 or later.
36005         * INSTALL: Regenerated.
36006
36007         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36008
36009 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36010
36011         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36012
36013         * sysdeps/x86_64/x32/ffs.c: New file.
36014
36015         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36016         __syscall_ulong_t.
36017         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36018         defined.  Use __syscall_ulong_t.
36019         (shminfo): Use __syscall_ulong_t.
36020         (shm_info): Likewise.
36021
36022         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36023         __syscall_ulong_t.
36024
36025         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36026         <bits/wordsize.h>.
36027         (msgqnum_t): Use __syscall_ulong_t.
36028         (msglen_t): Likewise.
36029         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36030         __syscall_ulong_t.
36031
36032         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36033         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36034
36035         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36036
36037         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36038         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36039
36040         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36041         __syscall_slong_t.
36042
36043         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36044         include <bits/wordsize.h>.  Check __x86_64__ instead of
36045         __WORDSIZE.
36046
36047         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36048         "unsigned long long int" if __x86_64__ is defined.
36049         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36050
36051         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36052         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36053         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36054
36055         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36056         <stdint.h>.
36057         (GET_PC): Cast to uintptr_t first.
36058         (GET_FRAME): Likewise.
36059         (GET_STACK): Likewise.
36060
36061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36063         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36064         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36065         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36066         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36067         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36068         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36069         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36070         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36074         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36076         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36077         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36078         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36079         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36080         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36081         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36082         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36084         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36089         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36090
36091 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36092
36093         * Makerules (+depfiles): Also collect depfiles from .oS in
36094         $(extra-objs).
36095         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36096         .oS, $(libnldbl-routines)).
36097
36098         * Makerules (native-compile-mkdep-flags): Define.
36099         * sunrpc/Makefile (extra-objs): Add $(addprefix
36100         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36101         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36102         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36103         calling $(make-target-directory).
36104
36105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36106
36107         * bits/types.h (__snseconds_t): Removed.
36108         * time/time.h (struct timespec): Replace __snseconds_t with
36109         __syscall_slong_t.
36110         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36111         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36112         Likewise.
36113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36114         (__SNSECONDS_T_TYPE): Likewise.
36115         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36116         (__SNSECONDS_T_TYPE): Likewise.
36117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36118         (__SNSECONDS_T_TYPE): Likewise.
36119
36120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36121
36122         * sysdeps/mach/hurd/bits/typesizes.h
36123         (__SYSCALL_SLONG_TYPE): New macro.
36124         (__SYSCALL_ULONG_TYPE): Likewise.
36125
36126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36127
36128         * bits/types.h (__syscall_slong_t): New type.
36129         (__syscall_ulong_t): Likewise.
36130
36131         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36132         (__SYSCALL_ULONG_TYPE): Likewise.
36133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36134         (__SYSCALL_SLONG_TYPE): Likewise.
36135         (__SYSCALL_ULONG_TYPE): Likewise.
36136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36137         (__SYSCALL_SLONG_TYPE): Likewise.
36138         (__SYSCALL_ULONG_TYPE): Likewise.
36139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36140         (__SYSCALL_SLONG_TYPE): Likewise.
36141         (__SYSCALL_ULONG_TYPE): Likewise.
36142
36143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36144
36145         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36146         Add sigaltstack-offsets.sym.
36147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36148         <sigaltstack-offsets.h>.
36149         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36150         longjmp_msg pointer.
36151         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36152         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36153         signal stack.
36154         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36155
36156 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36157
36158         * elf/stackguard-macros.h: Remove file.
36159         * sysdeps/generic/stackguard-macros.h: New file.
36160         * sysdeps/i386/stackguard-macros.h: Likewise.
36161         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36162         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36163         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36164         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36165         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36166         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36167         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36168         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36169         <elf/stackguard-macros.h>.
36170
36171         [BZ #14109]
36172         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36173         __aligned__ in attribute.
36174         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36175         (gregset_t): Likewise.
36176
36177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36178
36179         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36180         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36181         * sysdeps/x86_64/x32/Implies-after: New file.
36182
36183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36184
36185         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36186         and access return value for _dl_profile_fixup.  Use R10_LP to
36187         load frame size.
36188
36189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36190
36191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36192
36193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36194
36195         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36196         * sysdeps/x86_64/x32/sysdep.h: New file.
36197
36198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36199
36200         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36201         * sysdeps/x86_64/setjmp.S: Likewise.
36202
36203 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36204
36205         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36207         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36208         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36209         remove unused global constant.
36210
36211 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36212
36213         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36214         include of <not-cancel.h>.
36215
36216 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36217
36218         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36219
36220 2012-05-15  Jeff Law  <law@redhat.com>
36221             Andreas Jaeger  <aj@suse.de>
36222
36223         [BZ #13594]
36224         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36225         out from...
36226         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36227         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36228         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36229         code changing __hst_map_handle.map.
36230
36231 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36232
36233         * configure.in (sysnames): Look for Implies-before and Implies-after
36234         files.
36235         * configure: Regenerated.
36236
36237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36238
36239         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36240         8-byte data alignment with LP_SIZE alignment.
36241
36242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36243
36244         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36245         into R10_LP.
36246
36247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36248
36249         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36250
36251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36252
36253         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36254         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36255         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36258
36259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36260
36261         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36262         (stackinfo_sub_sp): Likewise.
36263
36264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36265
36266         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36267         RAX_LP.
36268
36269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36270
36271         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36272         into R*_LP.
36273
36274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36275
36276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36277         sizes into R*_LP.
36278
36279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36280
36281         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36282
36283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36284
36285         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36286         into R11_LP and load __x86_64_shared_cache_size_half into
36287         R8_LP.
36288
36289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36290
36291         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36292         R8_LP.
36293
36294 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36295
36296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36297         logb for POWER7.
36298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36299         logbf for POWER7.
36300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36301         logbl for POWER7.
36302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36303         powerpc32/power7/fpu/s_logb.c via #include.
36304         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36305         powerpc32/power7/fpu/s_logbf.c via #include.
36306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36307         powerpc32/power7/fpu/s_logbl.c via #include.
36308
36309 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36310
36311         * README.libm: Remove file.
36312
36313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36314
36315         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36316         count for x32.  Use R*_LP and omit operand-size suffix.
36317
36318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36319
36320         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36321         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36322         * sysdeps/x86_64/x32/shlib-versions: New file.
36323
36324 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36325
36326         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36327         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36328         Use _dl_fatal_printf instead.
36329
36330 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36331
36332         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36333         set if not set by the user.  Do not allow for being unset.
36334         * sysdeps/unix/sysv/linux/configure: Regenerated.
36335
36336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36337
36338         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36339         the `q' suffix from lea and replace .quad with ASM_ADDR.
36340
36341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36342
36343         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36344         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36345         instead of $17.
36346         (PTR_DEMANGLE): Likewise.
36347
36348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36349
36350         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36351         (LP_OP): Likewise.
36352         (ASM_ADDR): Likewise.
36353         (RAX_LP): Likewise.
36354         (RBP_LP): Likewise.
36355         (RBX_LP): Likewise.
36356         (RCX_LP): Likewise.
36357         (RDI_LP): Likewise.
36358         (RSI_LP): Likewise.
36359         (RSP_LP): Likewise.
36360         (R8_LP): Likewise.
36361         (R9_LP): Likewise.
36362         (R10_LP): Likewise.
36363         (R10_LP): Likewise.
36364         (R11_LP): Likewise.
36365         (R12_LP): Likewise.
36366         (R13_LP): Likewise.
36367         (R14_LP): Likewise.
36368         (R15_LP): Likewise.
36369
36370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36371
36372         * sysdeps/x86_64/x32/dl-machine.h: New file.
36373
36374 2012-05-14  Andreas Jaeger  <aj@suse.de>
36375
36376         * manual/Makefile (subdir): Remove export of subdir.
36377         (all): Remove target.
36378         (.PHONY): Remove all from list.
36379         (mkinstalldirs): Remove.
36380         (.PHONY): Remove installdirs from list.
36381         ($(inst_infodir)/libc.info): Use make-target-directory.
36382         (installdirs): Remove.
36383         (subdir_%): Remove.
36384         (glibc-targets): Remove.
36385         (lib): Remove.
36386         (stubs): Remove.
36387         ($(objpfx)stubs ../po/manual.pot): Remove.
36388         ($(objpfx)stamp%): Remove.
36389         (make-target-directory): Remove.
36390         (subdir_install): Remove.
36391         (routines): Remove.
36392         (aux): Remove.
36393         (sources): Remove.
36394         (objects): Remove.
36395         (headers): Remove.
36396
36397         [BZ #13750]
36398         * manual/.gitignore: Remove, it's not needed anymore.
36399         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36400         all files in it.
36401         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36402         directory.
36403         (texis): Renamed to $(objpfx)texis.
36404         (texis-path): New, contains path to generated files.
36405         (chapters.%): Use texis-path for complete path, add extra argument
36406         libc-texinfo.sh.
36407         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36408         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36409         (summary,texi, stamp-summary): Use complete path of
36410         files. Generate files in build dir.
36411         (dir-add.texi): Build in build dir.
36412         (libm-err.texi,stamp-libm-err): Likewise.
36413         (version.texi, stamp-version): Likewise.
36414         (.%c.texi): Likewise.
36415         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36416         (mostlyclean): Remove target.
36417         (realclean): Remove target.
36418         (generated): Add new variable with contents from mostlyclean and
36419         realclean, remove entries duplicated in common-mostlyclean, add
36420         stamp-libm-err and stamp-version.
36421         (generated-dirs): Add libc directory.
36422         ($(inst_infodir)/libc.info): Install files from build dir.
36423
36424         * manual/install.texi (Configuring and compiling): Adjust since
36425         the info files are not part of the tar ball anymore.
36426
36427 2012-05-14  Andreas Jaeger  <aj@suse.de>
36428
36429         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36430         variable.
36431
36432 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36433
36434         [BZ #13717]
36435         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36436         to 2.2.0 where earlier.
36437         * sysdeps/unix/sysv/linux/configure: Regenerated.
36438         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36439         Remove conditional code.
36440         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36441         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36442         Remove conditional code.
36443         [!__NR_lchown]: Likewise.
36444         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36445         [__NR_lchown]: Likewise.
36446         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36447         comment referencing __ASSUME_LCHOWN_SYSCALL.
36448         * sysdeps/unix/sysv/linux/i386/sigaction.c
36449         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36450         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36451         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36452         Remove conditional code.
36453         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36454         (__protocol_available): Remove #if 0 code.
36455         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36456         conditional code.
36457         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36458         * sysdeps/unix/sysv/linux/kernel-features.h
36459         (__ASSUME_GETCWD_SYSCALL): Don't define.
36460         (__ASSUME_REALTIME_SIGNALS): Likewise.
36461         (__ASSUME_PREAD_SYSCALL): Likewise.
36462         (__ASSUME_PWRITE_SYSCALL): Likewise.
36463         (__ASSUME_POLL_SYSCALL): Likewise.
36464         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36465         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36466         non-SPARC.
36467         (__ASSUME_SIOCGIFNAME): Don't define.
36468         (__ASSUME_MSG_NOSIGNAL): Likewise.
36469         (__ASSUME_SENDFILE): Define unconditionally.
36470         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36471         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36472         conditional code.
36473         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36474         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36475         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36476         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36477         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36478         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36479         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36481         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36482         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36487         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36488         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36493         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36494         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36496         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36499         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36500         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36502         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36503         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36504         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36505         Remove conditional code.
36506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36507         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36508         Remove conditional code.
36509         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36510         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36511         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36512         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36513         Remove conditional code.
36514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36515         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36516         Remove conditional code.
36517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36518         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36519         Remove conditional code.
36520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36521         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36522         Remove conditional code.
36523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36524         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36525         Remove conditional code.
36526         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36527         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36528         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36529         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36530         * sysdeps/unix/sysv/linux/sigaction.c
36531         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36532         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36533         * sysdeps/unix/sysv/linux/sigpending.c
36534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36536         * sysdeps/unix/sysv/linux/sigprocmask.c
36537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36539         * sysdeps/unix/sysv/linux/sigsuspend.c
36540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36543         (__libc_missing_rt_sigs): Remove.
36544         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36545         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36546         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36547         Remove conditional code.
36548         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36549         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36550         return 1.
36551         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36552         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36553         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36554         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36555
36556 2012-05-14  Andreas Jaeger  <aj@suse.de>
36557
36558         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36559         it's not used in glibc.
36560         (__coshm1): Likewise.
36561         (__acosh1p): Likewise.
36562         (__sgn): Likewise.
36563
36564         * manual/string.texi (Copying and Concatenation): Add missing
36565         variable in concat example.
36566         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36567
36568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36569
36570         [BZ #14103]
36571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36572         __builtin_clzl with __builtin_clzll.
36573
36574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36575
36576         [BZ #14104]
36577         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36578         libc_freeres_ptr.
36579
36580 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36581
36582         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36583         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36584         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36585         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36586
36587 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36588
36589         * NEWS: Update ia64 info.
36590
36591 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36592
36593         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36594         used as bcopy.
36595
36596 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36597
36598         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36599         * sysdeps/unix/syscalls.list (dup3): Likewise.
36600         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36601         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36602
36603 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36604
36605         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36606         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36607
36608 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36609
36610         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36611         thread pointer.
36612         (TLS_IE): Use mov/add instead of movq/addq to load thread
36613         pointer.
36614         (TLS_GD_PREFIX): New.
36615         (TLS_GD): Use it.
36616
36617 2012-05-11  David S. Miller  <davem@davemloft.net>
36618
36619         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36620         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36621         (_FPU_SETCW): Likewise.
36622
36623 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36624
36625         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36626         is 32-byte aligned.
36627
36628 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36629
36630         [BZ #11837]
36631         * iconvdata/gb18030.c: Update tables.
36632         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36633         characters specially.
36634         (BODY for TO_LOOP): Add encoding of missing ranges.
36635
36636 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36637
36638         [BZ #13673]
36639         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36640         * sysdeps/mach/hurd/dup3.c: Likewise.
36641         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36642         * sysdeps/powerpc/memmove.c:: Likewise.
36643
36644 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36645
36646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36647         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36648
36649 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36650
36651         * elf/elf.h (R_X86_64_RELATIVE64): New.
36652         (R_X86_64_NUM): Updated.
36653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36654         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36655         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36656         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36657         tst-quad1pie tst-quad2pie
36658         (modules-names): Add tst-quadmod1 tst-quadmod2.
36659         ($(objpfx)tst-quad1): New dependency.
36660         ($(objpfx)tst-quad2): Likewise.
36661         ($(objpfx)tst-quad1pie): Likewise.
36662         ($(objpfx)tst-quad2pie): Likewise.
36663         * sysdeps/x86_64/tst-quad1.c: New file.
36664         * sysdeps/x86_64/tst-quad1pie.c: New file.
36665         * sysdeps/x86_64/tst-quad2.c: Likewise.
36666         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36667         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36668         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36669         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36670         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36671
36672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36673
36674         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36675         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36676         * streams/stropts.h (t_scalar_t): Define type.
36677
36678         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36679         (_PATH_PRESERVE): Set to "/var/lib".
36680         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36681
36682         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36683         instead of int.
36684
36685         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36686         if __dir_mkfile succeeded.
36687
36688         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36689         checking for _hurd_dtablesize.  Unlock it right after having
36690         finished _hurd_dtable allocation.
36691
36692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36693
36694         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36695         * sysdeps/mach/hurd/configure: Regenerated.
36696         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36697         special-casing to...
36698         * sysdeps/gnu/configure.in: ... this new file.
36699         * sysdeps/unix/sysv/linux/configure: Regenerated.
36700         * sysdeps/gnu/configure: New generated file.
36701
36702         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36703         for Linux: use nsec instead of usec, as well as:
36704         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36705         members of type struct timespec.
36706         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36707         New macros.
36708         (struct stat64): Likewise.
36709         (_STATBUF_ST_NSEC): New macro.
36710         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36711
36712         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36713         __strtoul_internal rather than strtoul.
36714
36715 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36716
36717         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36718         and reject them.
36719
36720 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36721
36722         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36723         which preserves existing values.
36724         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36725
36726 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36727
36728         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36729         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36730         greater than FD_SETSIZE.
36731
36732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36733
36734         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36735         allocated, call __vm_protect to finish enabling the existing space, and
36736         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36737         allocate the remainder.
36738
36739 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36740
36741         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36742         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36743
36744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36745
36746         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36747         sysdeps/mach/hurd/readlink.c.
36748
36749         * posix/tst-sysconf.c (posix_options): Only use
36750         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36751         _POSIX_SYNCHRONIZED_IO when they are defined
36752         * sysdeps/mach/hurd/bits/posix_opt.h:
36753         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36754         (_XOPEN_REALTIME): Undefine macro.
36755         (_XOPEN_REALTIME_THREADS): Undefine macro.
36756         (_XOPEN_SHM): Undefine macro.
36757         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36758         macro to -1.
36759         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36760         macro to -1.
36761         (_POSIX_ASYNC_IO): Undefine macro.
36762         (_POSIX_PRIORITIZED_IO): Undefine macro.
36763         (_POSIX_SPIN_LOCKS): Define macro to -1.
36764
36765         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36766         SA_NODEFER, SA_RESETHAND.
36767         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36768         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36769         F_DUPFD_CLOEXEC.
36770
36771 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36772
36773         * elf/Makefile (pldd-modules): Define unconditionally.
36774
36775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36776
36777         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36778
36779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36780
36781         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36782         Return ENOENT when name is empty.
36783         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36784
36785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36786
36787         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36788
36789         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36790
36791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36792
36793         Fix mlock in all cases except non-readable pages.
36794         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36795         instead of VM_PROT_ALL as parameter to __vm_wire function.
36796
36797         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36798         (__mkdir): When path is `/', just fail with EEXIST.
36799         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36800
36801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36802
36803         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36804         <sys/uio.h> (for writev).
36805         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36806         and <sys/param.h> (for MIN).
36807
36808 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36809
36810         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36811         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36812         if interrupted.
36813
36814 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36815
36816         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36817         Depend on against $(link-rpcuserlibs).
36818
36819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36820
36821         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36822         (__libc_stack_end): Do not use attribute_relro.
36823         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36824         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36825         to libthread-provided value.
36826         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36827         attribute_relro.
36828
36829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36830
36831         [BZ #3748]
36832         * bits/libc-lock.h (__libc_once_get): New macro.
36833         * sysdeps/mach/bits/libc-lock.h: Likewise.
36834         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36836         instead of using implementation details.
36837
36838         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36839         * libio/freopen.c: Likewise.
36840         * libio/freopen64.c: Likewise.
36841         * misc/syslog.c: Likewise.
36842         * nscd/connections.c: Likewise.
36843         * nscd/netgroupcache.c: Likewise.
36844         * sysdeps/posix/getcwd.c: Likewise.
36845
36846 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36847
36848         * math/w_ilogbf.c: Add #include <limits.h>.
36849
36850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36851
36852         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36853         path instead of returning without unlocking.
36854
36855         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36856         immediate-write ioctls.
36857         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36858
36859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36860
36861         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36862         __builtin_frame_address instead of making assumptions about the
36863         location of the return address relative to DATA.  Force early load of
36864         the return address.
36865         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36866         __builtin_frame_address.
36867
36868         dup3 for GNU Hurd.
36869         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36870         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36871         implement dup3 and do some further code clean-ups.
36872         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36873         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36874
36875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36876
36877         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36878
36879         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36880         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36881         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36882         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36883         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36884         d->port.lock.
36885
36886         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36887         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36888         when handler == SIG_ERR, not when handler != SIG_ERR.
36889
36890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36891
36892         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36893         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36894         definitions.
36895
36896         accept4 for GNU Hurd.
36897         * include/sys/socket.h (__libc_accept4): New prototype.
36898         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36899         to implement __libc_accept4.
36900         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36901         __libc_accept4.
36902         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36903
36904         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36905         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36906         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36907         signal-defines.sym.
36908
36909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36910
36911         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36912
36913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36914
36915         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36916         assertion on O_CLOEXEC flag.
36917         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36918         * hurd/intern-fd.c: Likewise.
36919         * hurd/port2fd.c: Likewise.
36920
36921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36922
36923         [BZ #3906]
36924         * bits/in.h (IPV6_PKTINFO): Define new macro.
36925         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36926
36927 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36928
36929         [BZ #13954]
36930         [BZ #13955]
36931         [BZ #13956]
36932         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36934         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36935         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36937         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36938         * math/libm-test.inc (logb_test) : Additional logb tests.
36939
36940 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36941             Andreas Jaeger  <aj@suse.de>
36942
36943         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36944         * configure: Regenerated.
36945         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36946         * config.make.in (link-obsolete-rpc): New substituted variable.
36947         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36948         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36949         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36950         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36951         so that libc.a contains the symbols.
36952         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36953         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36954         * sunrpc/auth_none.c: Likewise.
36955         * sunrpc/auth_unix.c: Likewise.
36956         * sunrpc/authdes_prot.c: Likewise.
36957         * sunrpc/authuxprot.c: Likewise.
36958         * sunrpc/clnt_gen.c: Likewise.
36959         * sunrpc/clnt_perr.c: Likewise.
36960         * sunrpc/clnt_raw.c: Likewise.
36961         * sunrpc/clnt_simp.c: Likewise.
36962         * sunrpc/clnt_tcp.c: Likewise.
36963         * sunrpc/clnt_udp.c: Likewise.
36964         * sunrpc/clnt_unix.c: Likewise.
36965         * sunrpc/des_crypt.c: Likewise.
36966         * sunrpc/des_soft.c: Likewise.
36967         * sunrpc/get_myaddr.c: Likewise.
36968         * sunrpc/key_call.c: Likewise.
36969         * sunrpc/key_prot.c: Likewise.
36970         * sunrpc/netname.c: Likewise.
36971         * sunrpc/pm_getmaps.c: Likewise.
36972         * sunrpc/pm_getport.c: Likewise.
36973         * sunrpc/pmap_clnt.c: Likewise.
36974         * sunrpc/pmap_prot.c: Likewise.
36975         * sunrpc/pmap_prot2.c: Likewise.
36976         * sunrpc/pmap_rmt.c: Likewise.
36977         * sunrpc/publickey.c: Likewise.
36978         * sunrpc/rpc_cmsg.c: Likewise.
36979         * sunrpc/rpc_common.c: Likewise.
36980         * sunrpc/rpc_dtable.c: Likewise.
36981         * sunrpc/rpc_prot.c: Likewise.
36982         * sunrpc/rpc_thread.c: Likewise.
36983         * sunrpc/rtime.c: Likewise.
36984         * sunrpc/svc.c: Likewise.
36985         * sunrpc/svc_auth.c: Likewise.
36986         * sunrpc/svc_raw.c: Likewise.
36987         * sunrpc/svc_run.c: Likewise.
36988         * sunrpc/svc_tcp.c: Likewise.
36989         * sunrpc/svc_udp.c: Likewise.
36990         * sunrpc/svc_unix.c: Likewise.
36991         * sunrpc/svcauth_des.c: Likewise.
36992         * sunrpc/xcrypt.c: Likewise.
36993         * sunrpc/xdr.c: Likewise.
36994         * sunrpc/xdr_array.c: Likewise.
36995         * sunrpc/xdr_float.c: Likewise.
36996         * sunrpc/xdr_intXX_t.c: Likewise.
36997         * sunrpc/xdr_mem.c: Likewise.
36998         * sunrpc/xdr_rec.c: Likewise.
36999         * sunrpc/xdr_ref.c: Likewise.
37000         * sunrpc/xdr_sizeof.c: Likewise.
37001         * sunrpc/xdr_stdio.c: Likewise.
37002
37003 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37004
37005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37006         change.  Update copyright years.
37007
37008 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37009
37010         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37011
37012 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37013             Joseph Myers  <joseph@codesourcery.com>
37014             Paul Pluzhnikov  <ppluzhnikov@google.com>
37015
37016         [BZ #14012]
37017         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37018         requiring rpcgen.
37019         [cross-compiling] (extra-libs): Likewise.
37020         [cross-compiling] (extra-libs-others): Likewise.
37021         [cross-compiling] (librpcsvc-routines): Likewise.
37022         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37023         [cross-compiling] (omit-deps): Likewise.
37024         (sunrpc-CPPFLAGS): New variable.
37025         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37026         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37027         (cross-rpcgen-objs): New variable.
37028         (extra-objs): Append $(cross-rpcgen-objs).
37029         ($(cross-rpcgen-objs)): New rule.
37030         ($(objpfx)cross-rpcgen): Likewise.
37031         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37032         comment.
37033         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37034         ($(objpfx)x%.stmp): Likewise.
37035         * sunrpc/proto.h [IS_IN_build] (_): Define.
37036         [IS_IN_build] (_libc_intl_domainname): Likewise.
37037
37038 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37039
37040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37041         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37042         and R_X86_64_TPOFF64.
37043
37044 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37045
37046         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37047         sysdeps/unix/sysv/syscalls.list.
37048         (stime): Likewise.
37049         (utime): Likewise.
37050         * sysdeps/unix/sysv/syscalls.list: Remove file.
37051
37052 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37053
37054         [BZ #3440]
37055         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37056         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37057         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37058         (__LC_IDENTIFICATION): Make these macros useful in #if
37059         expressions, as required by C99.
37060
37061 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37062
37063         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37064         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37065         after this.
37066
37067 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37068
37069         * stdlib/longlong.h: Updated from GCC.
37070
37071 2012-05-09  Andreas Jaeger  <aj@suse.de>
37072
37073         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37074         default is first entry.
37075         (run_mode): Set type.
37076         (main): Remove informal message about syslog.
37077         (options): Fix typo.
37078
37079         [BZ #14053]
37080         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37081         to asm.
37082         (lrint): Likewise.
37083         (llrintf): Likewise.
37084         (llrint): Likewise.
37085         (rint): Likewise.
37086         (rintf): Likewise.
37087         (nearbyint): Likewise.
37088         (nearbyintf): Likewise.
37089
37090 2012-05-09  Andreas Jaeger  <aj@suse.de>
37091             Pedro Alves  <palves@redhat.com>
37092
37093         * nscd/nscd.c (run_mode): Use enum.
37094         (main): Cleanup coding style issue.
37095
37096 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37097             Andreas Jaeger  <aj@suse.de>
37098
37099         * nscd/nscd.c (go_background): Replaced with...
37100         (run_mode): ... this.
37101         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37102         (options): Add -F --foreground.
37103         (main): Implement it.
37104         (parse_opt): Parse it.
37105
37106 2012-05-09  Andreas Jaeger  <aj@suse.de>
37107
37108         [BZ #14083]
37109         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37110         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37111         -Wconversion warning.
37112         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37113         Likewise.
37114
37115 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37116
37117         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37118         == 0.
37119         (LC_ALL): Use macro-int-constant.
37120         (LC_COLLATE): Likewise.
37121         (LC_CTYPE): Likewise.
37122         (LC_MESSAGES): Likewise.
37123         (LC_MONETARY): Likewise.
37124         (LC_NUMERIC): Likewise.
37125         (LC_TIME): Likewise.
37126         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37127         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37129         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37130         Specify type.
37131         [C99-based standards] (float_t): Expect type.
37132         [C99-based standards] (double_t): Expect type.
37133         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37134         type.
37135         [C99-based standards] (HUGE_VALL): Likewise.
37136         [C99-based standards] (INFINITY): Likewise.
37137         [C99-based standards] (NAN): Likewise.
37138         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37139         [C99-based standards] (FP_NAN): Likewise.
37140         [C99-based standards] (FP_NORMAL): Likewise.
37141         [C99-based standards] (FP_SUBNORMAL): Likewise.
37142         [C99-based standards] (FP_ZERO): Likewise.
37143         [C99-based standards] (FP_FAST_FMA): Use
37144         optional-macro-int-constant.  Specify type.  Require == 1.
37145         [C99-based standards] (FP_FAST_FMAF): Likewise.
37146         [C99-based standards] (FP_FAST_FMAL): Likewise.
37147         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37148         [C99-based standards] (FP_ILOGBNAN): Likewise.
37149         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37150         Specify type.
37151         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37152         [C99-based standards] (math_errhandling): Specify type.
37153         [ISO99 || ISO11] (signgam): Do not allow.
37154         [non-C99-based standards] (copysignf): Do not allow.
37155         [non-C99-based standards] (exp2f): Likewise.
37156         [non-C99-based standards] (log2f): Likewise.
37157         [non-C99-based standards] (modff): Allow.
37158         [non-C99-based standards] (erff): Do not allow.
37159         [non-C99-based standards] (erfcf): Likewise.
37160         [non-C99-based standards] (gammaf): Likewise.
37161         [non-C99-based standards] (hypotf): Likewise.
37162         [non-C99-based standards] (j0f): Likewise.
37163         [non-C99-based standards] (j1f): Likewise.
37164         [non-C99-based standards] (jnf): Likewise.
37165         [non-C99-based standards] (lgammaf): Likewise.
37166         [non-C99-based standards] (tgammaf): Likewise.
37167         [non-C99-based standards] (y0f): Likewise.
37168         [non-C99-based standards] (y1f): Likewise.
37169         [non-C99-based standards] (ynf): Likewise.
37170         [non-C99-based standards] (isnanf): Likewise.
37171         [non-C99-based standards] (acoshf): Likewise.
37172         [non-C99-based standards] (asinhf): Likewise.
37173         [non-C99-based standards] (atanhf): Likewise.
37174         [non-C99-based standards] (cbrtf): Likewise.
37175         [non-C99-based standards] (expm1f): Likewise.
37176         [non-C99-based standards] (ilogbf): Likewise.
37177         [non-C99-based standards] (log1pf): Likewise.
37178         [non-C99-based standards] (logbf): Likewise.
37179         [non-C99-based standards] (nextafterf): Likewise.
37180         [non-C99-based standards] (remainderf): Likewise.
37181         [non-C99-based standards] (rintf): Likewise.
37182         [non-C99-based standards] (scalbf): Likewise.
37183         [non-C99-based standards] (copysignl): Likewise.
37184         [non-C99-based standards] (exp2l): Likewise.
37185         [non-C99-based standards] (log2l): Likewise.
37186         [non-C99-based standards] (modfl): Allow.
37187         [non-C99-based standards] (erfl): Do not allow.
37188         [non-C99-based standards] (erfcl): Likewise.
37189         [non-C99-based standards] (gammal): Likewise.
37190         [non-C99-based standards] (hypotl): Likewise.
37191         [non-C99-based standards] (j0l): Likewise.
37192         [non-C99-based standards] (j1l): Likewise.
37193         [non-C99-based standards] (jnl): Likewise.
37194         [non-C99-based standards] (lgammal): Likewise.
37195         [non-C99-based standards] (tgammal): Likewise.
37196         [non-C99-based standards] (y0l): Likewise.
37197         [non-C99-based standards] (y1l): Likewise.
37198         [non-C99-based standards] (ynl): Likewise.
37199         [non-C99-based standards] (isnanl): Likewise.
37200         [non-C99-based standards] (acoshl): Likewise.
37201         [non-C99-based standards] (asinhl): Likewise.
37202         [non-C99-based standards] (atanhl): Likewise.
37203         [non-C99-based standards] (cbrtl): Likewise.
37204         [non-C99-based standards] (expm1l): Likewise.
37205         [non-C99-based standards] (ilogbl): Likewise.
37206         [non-C99-based standards] (log1pl): Likewise.
37207         [non-C99-based standards] (logbl): Likewise.
37208         [non-C99-based standards] (nextafterl): Likewise.
37209         [non-C99-based standards] (remainderl): Likewise.
37210         [non-C99-based standards] (rintl): Likewise.
37211         [non-C99-based standards] (scalbl): Likewise.
37212         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37213         [non-C99-based standards] (FP_*): Do not allow.
37214         [C99-based standards] (FP_*): Change to
37215         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37216         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37217         allow.
37218         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37219         (SIG_ERR): Likewise.
37220         [X/Open-based standards] (SIG_HOLD): Likewise.
37221         (SIG_IGN): Likewise.
37222         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37223         positive value.
37224         (SIGFPE): Likewise.
37225         (SIGILL): Likewise.
37226         (SIGINT): Likewise.
37227         (SIGSEGV): Likewise.
37228         (SIGTER): Likewise.
37229         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37230         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37231         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37232         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37233         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37234         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37235         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37236         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37237         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37238         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37239         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37240         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37241         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37242         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37243         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37244         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37245         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37246         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37247         [X/Open-based standards] (SIGTRAP): Likewise.
37248         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37249         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37250         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37251         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37252         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37253         allow.
37254
37255 2012-05-08  Ian Wienand  <ianw@vmware.com>
37256
37257         [BZ #14080]
37258         * time/tzset.c (__tzset_parse_tz): Update default rules for
37259         daylight time changes in the Energy Policy Act of 2005.
37260
37261 2012-05-09  Andreas Jaeger  <aj@suse.de>
37262
37263         [BZ #13983]
37264         * elf/ldconfig.c (parse_conf): Change string to make clear that
37265         ldconfig only issued a warning if ld.so.conf does not exist.
37266
37267 2012-05-08  David S. Miller  <davem@davemloft.net>
37268
37269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37270         movxtod instead of popping the value on the stack.
37271
37272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37273
37274 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37275
37276         * config.h.in: Add HAVE_ARM_PCS_VFP.
37277
37278 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37279
37280         [BZ #13979]
37281         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37282         checking but the checks are disabled for any reason.
37283
37284 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37285
37286         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37287         and ELF64_R_TYPE with ELFW(R_TYPE).
37288
37289 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37290
37291         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37292         (ulimit): Likewise.
37293
37294         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37295         (settimeofday): Likewise.
37296
37297 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37298
37299         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37300         a struct th_u2 inside the union, and move tu_block/tu_code into
37301         a new th_u3 union of tu_block/tu_code inside of that.  Move
37302         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37303         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37304         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37305         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37306         (th_stuff): Change to th_u1.tu_stuff.
37307         (th_data): Define.
37308         (th_msg): Change to th_u1.th_u2.tu_data.
37309
37310 2012-05-07  David S. Miller  <davem@davemloft.net>
37311
37312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37313
37314         [BZ #14074]
37315         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37316         (SETUP_PIC_REG): Use it.
37317         (SETUP_PIC_REG_LEAF): Use it.
37318
37319 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37320
37321         [BZ #13885]
37322         [BZ #13923]
37323         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37324         USE_AS_EXPM1L.
37325         (EXPL_FINITE): Likewise.
37326         (FLDLOG): Likewise.
37327         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37328         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37329         e_expl.S.
37330         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37331         USE_AS_EXPM1L.
37332         (EXPL_FINITE): Likewise.
37333         (FLDLOG): Likewise.
37334         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37335         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37336         e_expl.S.
37337         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37338         test of -max_value argument for long double.
37339         * sysdeps/i386/fpu/libm-test-ulps: Update.
37340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37341
37342 2012-05-06  David S. Miller  <davem@davemloft.net>
37343
37344         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37345         quad soft-float symbols whose references which are compiler
37346         generated.
37347         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37348
37349 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37350
37351         [BZ #13884]
37352         [BZ #13914]
37353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37354         USE_AS_EXP10L.
37355         (EXPL_FINITE): Likewise.
37356         (FLDLOG): Likewise.
37357         (c0): Likewise.
37358         (c1): Likewise.
37359         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37360         Adjust comments for base varying.
37361         (__expl_finite): Change alias to EXPL_FINITE.
37362         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37363         e_expl.S.
37364         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37365         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37366         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37367         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37369         USE_AS_EXP10L.
37370         (EXPL_FINITE): Likewise.
37371         (FLDLOG): Likewise.
37372         (c0): Likewise.
37373         (c1): Likewise.
37374         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37375         Adjust comments for base varying.
37376         (__expl_finite): Change alias to EXPL_FINITE.
37377         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37378         tests for bugs.
37379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37380
37381         [BZ #14064]
37382         * math/libm-test.inc (check_float_internal): Correct ulp
37383         calculation for subnormal expected results.
37384
37385 2012-05-06  Andreas Jaeger  <aj@suse.de>
37386
37387         * Makeconfig (+math-flags): New, set to -frounding-math.
37388         (+cflags): Add +math-flags so that all of glibc gets compiled with
37389         it.
37390
37391         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37392
37393 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37394
37395         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37396         Disable one test.
37397
37398         [BZ #13787]
37399         [BZ #13922]
37400         [BZ #14036]
37401         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37402         (__ieee754_expl): Allow for and saturate large arguments.
37403         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37404         (u_threshold): Likewise.
37405         (__exp): Call __ieee754_exp before checking for overflow and
37406         underflow.
37407         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37408         (u_threshold): Likewise.
37409         (__expf): Call __ieee754_expf before checking for overflow and
37410         underflow.
37411         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37412         (u_threshold): Likewise.
37413         (__expl): Call __ieee754_expl before checking for overflow and
37414         underflow.
37415         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37416         (__ieee754_expl): Allow for and saturate large arguments.
37417         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37418         missing overflow exception on overflow.
37419         (expm1_test): Do not allow missing overflow exception on overflow.
37420
37421         * sysdeps/i386/fpu/e_expl.c: Move to ...
37422         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37423         rather than using inline asm.
37424         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37425         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37426         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37427
37428         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37429         (nice): Likewise.
37430         (poll): Likewise.
37431         (signal): Likewise.
37432         (time): Likewise.
37433         (times): Likewise.
37434
37435 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37436
37437         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37438         sysdeps/unix/common/syscalls.list.
37439         (fchmod): Likewise.
37440         (fchown): Likewise.
37441         (ftruncate): Likewise.
37442         (getrusage): Likewise.
37443         (gettimeofday): Likewise.
37444         (setpgid): Likewise.
37445         (setregid): Likewise.
37446         (setreuid): Likewise.
37447         (sigaction): Likewise.
37448         (truncate): Likewise.
37449         (vhangup): Likewise.
37450         * sysdeps/unix/common/syscalls.list: Remove file.
37451         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37452         * sysdeps/unix/sysv/linux/Implies: Likewise.
37453
37454 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37455
37456         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37458         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37459         Moved to ...
37460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37461         Here.
37462         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37463         to ...
37464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37465         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37466         to ...
37467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37468         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37469         to ...
37470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37471         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37472         to ...
37473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37474         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37475         to ...
37476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37477         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37478         to ...
37479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37480         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37481         to ...
37482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37483         Here.
37484         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37485         to ...
37486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37487         Here.
37488         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37489         to ...
37490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37491         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37492         Moved to ...
37493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37494         Here.
37495         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37496         to ...
37497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37498
37499 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37500
37501         * sysdeps/unix/common/bits/dirent.h: Remove file.
37502         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37503
37504         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37505         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37506         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37507         * sysdeps/unix/bsd/isatty.c: Likewise.
37508         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37509         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37510         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37511
37512 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37513
37514         [BZ #13563]
37515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37516         long double comparison inaccuracies.
37517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37519
37520 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37521
37522         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37524
37525 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37526
37527         [BZ #14049]
37528         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37529         nonzero digits before rounding a hex value.
37530         * stdlib/tst-strtod.c (tests): Add another test.
37531
37532 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37533
37534         * sysdeps/s390/fpu/libm-test-ulps: Update.
37535
37536 2012-05-03  Andreas Jaeger  <aj@suse.de>
37537
37538         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37539         does not get optimized out.
37540         (malloc_opt_barrier): New.
37541
37542 2012-05-03  Andreas Jaeger  <aj@suse.de>
37543             Roland McGrath  <roland@hack.frob.com>
37544
37545         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37546         intermediate file deletion.
37547         (generated): Add .symlist files.
37548
37549 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37550
37551         [BZ #13775]
37552         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37553         Redirect under this condition.
37554         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37555         [__USE_GNU] (__dprintf_chk): Not under this condition.
37556         [__USE_GNU] (__vdprintf_chk): Likewise.
37557         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37558         under this condition.
37559         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37560         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37561         [__USE_XOPEN2K8] (vdprintf): Likewise.
37562         [__USE_GNU] (__dprintf_chk): Not under this condition.
37563         [__USE_GNU] (__vdprintf_chk): Likewise.
37564         [__USE_GNU] (dprintf): Likewise.
37565         [__USE_GNU] (vdprintf): Likewise.
37566
37567 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37568
37569         * elf/Makefile (common-generated): Set this instead of generated for
37570         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37571         $(all-built-dso)-derived lists.
37572
37573 2012-05-03  Andreas Jaeger  <aj@suse.de>
37574
37575         * sysdeps/i386/fpu/libm-test-ulps: Update.
37576
37577         * FAQ: Removed.
37578         * FAQ.in: Likewise.
37579         * scripts/gen-FAQ.pl: Likewise.
37580         * manual/install.texi (Installation): Point to online location of
37581         FAQ.
37582         * Makefile (files-for-dist): Remove FAQ.
37583         (FAQ): Remove.
37584
37585 2012-05-02  Allan McRae  <allan@archlinux.org>
37586
37587         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37588         (LDFLAGS-reldepmod5.so): Likewise.
37589         (LDFLAGS-reldep6mod1.so): Likewise.
37590         (LDFLAGS-reldep6mod4.so): Likewise.
37591         (LDFLAGS-reldep8mod3.so): Likewise.
37592         (LDFLAGS-unload4mod1.so): Likewise.
37593         (LDFLAGS-unload4mod2.so): Likewise.
37594         (LDFLAGS-tst-initorder): Likewise.
37595         (LDFLAGS-tst-initordera2.so): Likewise.
37596         (LDFLAGS-tst-initordera3.so): Likewise.
37597         (LDFLAGS-tst-initordera4.so): Likewise.
37598         (LDFLAGS-tst-initorderb2.so): Likewise.
37599         (LDFLAGS-noload): Likewise.
37600         (LDFLAGS-next): Likewise.
37601         (LDFLAGS-order2mod1.so): Likewise.
37602         (LDFLAGS-order2mod2.so): Likewise.
37603         (LDFLAGS-tst-initorder2): Likewise.
37604         (LDFLAGS-tst-initorder2a.so): Likewise.
37605         (LDFLAGS-tst-initorder2b.so): Likewise.
37606         (LDFLAGS-tst-initorder2c.so): Likewise.
37607         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37608
37609 2012-05-02  David S. Miller  <davem@davemloft.net>
37610
37611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37612
37613 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37614
37615         [BZ #14055]
37616         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37617
37618 2012-05-02  Andreas Jaeger  <aj@suse.de>
37619
37620         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37621         since we manipulate rounding mode.
37622         (CPPFLAGS-test-idouble.c): Likewise.
37623         (CPPFLAGS-test-ifloat.c): Likewise.
37624         (CFLAGS-test-ldouble.c): Likewise.
37625         (CFLAGS-test-double.c): Likewise.
37626         (CFLAGS-test-float.c): Likewise.
37627         (CFLAGS-test-misc.c): Likewise.
37628         (CFLAGS-test-test-fenv.c): Likewise.
37629
37630 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37631
37632         [BZ #2550]
37633         [BZ #2570]
37634         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37635         comparisons to determine direction to adjust input.
37636
37637 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37638
37639         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37640         output to the target.
37641
37642         * scripts/localplt.awk: New file.
37643         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37644         (check-localplt-CFLAGS): Variable removed.
37645         ($(all-built-dso:=.jmprel)): New static pattern rule.
37646         (generated): Add those targets.
37647         (localplt-built-dso): New variable.
37648         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37649
37650         * elf/check-localplt.c: File removed.
37651
37652         * scripts/check-execstack.awk: New file.
37653         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37654         (check-execstack-CFLAGS): Variable removed.
37655         ($(objpfx)check-execstack.h): Target removed.
37656         ($(objpfx)execstack-default): New target.
37657         (generated): Add that instead of check-execstack.h.
37658         ($(all-built-dso:=.phdr)): New static pattern rule.
37659         (generated): Add those targets.
37660         * elf/check-execstack.c: File removed.
37661
37662         * scripts/check-textrel.awk: New file.
37663         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37664         (check-textrel-CFLAGS): Variable removed.
37665         (all-built-dso): Use := to define.o
37666         ($(all-built-dso:=.dyn)): New static pattern rule.
37667         (generated): Add those targets.
37668         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37669         * config.make.in (READELF): New substituted variable.
37670         * elf/check-textrel.c: File removed.
37671
37672 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37673
37674         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37675         allow.
37676         * conform/data/ctype.h-data [C99-based standards] (isblank):
37677         Expect function.
37678         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37679         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37680         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37681         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37682         Specify type.  Require positive value.
37683         (EILSEQ): Likewise.
37684         (ERANGE): Likewise.
37685         [ISO || POSIX] (EILSEQ): Do not expect.
37686         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37687         Specify type.  Require positive value.
37688         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37689         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37690         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37691         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37692         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37693         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37694         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37695         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37696         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37697         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37698         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37699         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37700         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37701         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37702         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37703         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37704         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37705         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37706         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37707         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37708         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37709         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37710         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37711         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37712         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37713         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37714         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37715         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37716         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37717         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37718         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37719         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37720         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37721         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37722         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37723         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37724         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37725         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37726         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37727         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37728         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37729         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37730         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37731         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37732         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37733         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37734         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37735         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37736         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37737         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37738         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37739         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37740         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37741         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37742         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37743         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37744         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37745         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37746         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37747         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37748         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37749         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37750         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37751         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37752         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37753         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37754         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37755         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37756         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37757         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37758         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37759         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37760         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37761         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37762         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37763         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37764         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37765         Require >= 2.
37766         (FLT_ROUNDS): Expect as macro, not constant.
37767         (FLT_MANT_DIG): Use macro-int-constant.
37768         (DBL_MANT_DIG): Likewise.
37769         (LDBL_MANT_DIG): Likewise.
37770         (FLT_DIG): Likewise.
37771         (DBL_DIG): Likewise.
37772         (LDBL_DIG): Likewise.
37773         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37774         (DBL_MIN_EXP): Likewise.
37775         (LDBL_MIN_EXP): Likewise.
37776         (FLT_MAX_EXP): Use macro-int-constant.
37777         (DBL_MAX_EXP): Likewise.
37778         (LDBL_MAX_EXP): Likewise.
37779         (FLT_MAX_10_EXP): Likewise.
37780         (DBL_MAX_10_EXP): Likewise.
37781         (LDBL_MAX_10_EXP): Likewise.
37782         (FLT_MAX): Use macro-constant.
37783         (DBL_MAX): Likewise.
37784         (LDBL_MAX): Likewise.
37785         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37786         (DBL_EPSILON): Likewise.
37787         (LDBL_EPSILON): Likewise.
37788         (FLT_MIN): Likewise.
37789         (DBL_MIN): Likewise.
37790         (LDBL_MIN): Likewise.
37791         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37792         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37793         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37794         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37795         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37796         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37797         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37798         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37799         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37800         [ISO11] (FLT_TRUE_MIN): Likewise.
37801         [ISO11] (LDBL_TRUE_MIN): Likewise.
37802         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37803         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37804         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37805         (SCHAR_MAX): Likewise.
37806         (UCHAR_MAX): Likewise.
37807         (CHAR_MIN): Likewise.
37808         (CHAR_MAX): Likewise.
37809         (MB_LEN_MAX): Use macro-int-constant.
37810         (SHRT_MIN): Use macro-int-constant.  Specify type.
37811         (SHRT_MAX): Likewise.
37812         (USHRT_MAX): Likewise.
37813         (INT_MAX): Likewise.
37814         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37815         bound negative.
37816         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37817         bound with "U".
37818         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37819         bound with "L".
37820         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37821         bound negative.  Suffix upper bound with "L".
37822         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37823         bound with "UL".
37824         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37825         Specify type.
37826         [C99-based standards] (LLONG_MAX): Likewise.
37827         [C99-based standards] (ULLONG_MAX): Likewise.
37828         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37829         == 0.
37830         [ISO11] (max_align_t): Require type.
37831         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37832
37833         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37834         from $CFLAGS, without defining away __attribute__ calls.
37835         (checknamespace): Use $CFLAGS_namespace.
37836
37837         * conform/conformtest.pl (@keywords): Only include C99 keywords
37838         for standards based on C99 or C11.
37839
37840         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37841         Disable tests.
37842         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37843         UNIX98]: Likewise.
37844
37845         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37846         usability of symbols in #if.
37847
37848         * conform/conformtest.pl: If macro or constant types start
37849         "promoted:", expect the symbol to be of the following type
37850         promoted by the integer promotions.
37851
37852         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37853         in one place.  Also handle "macro-constant".
37854
37855         * conform/conformtest.pl: Only accept expected macro values with
37856         "==".  Parse all "macro" lines in one place.
37857         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37858
37859         * conform/conformtest.pl: Handle braced types on "constant" lines
37860         instead of handling "typed-constant".
37861         * conform/data/signal.h-data: Use "constant" instead of
37862         "typed-constant".
37863
37864         * conform/conformtest.pl: Handle "optional-" at start of lines in
37865         one place rather than duplicating several cases.  Handle each
37866         format of "macro" line with initial "optional-".
37867
37868         * conform/conformtest.pl: Only accept expected constant or
37869         optional-constant values with "==".  Parse all "constant" lines in
37870         one place.  Parse all "optional-constant" lines in one place.
37871         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37872         * conform/data/fmtmsg.h-data: Likewise.
37873         * conform/data/netinet/in.h-data: Likewise.
37874         * conform/data/tar.h-data: Likewise.
37875         * conform/data/limits.h-data: Use "==" form on "constant" and
37876         "optional-constant" lines.
37877
37878         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37879         Use -std=c99 for XOPEN2K.
37880         (@knownproblems): Remove.
37881         (newtoken): Don't check %isknown.
37882
37883         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37884         Do not expect macro.
37885         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37886         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37887         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37888         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37889         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37890         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37891         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37892         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37893         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37894         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37895         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37896         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37897         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37898         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37899         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37900         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37901         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37902         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37903         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37904         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37905         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37906         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37907         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37908         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37909         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37910         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37911         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37912         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37913         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37914         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37915         [XPG3] (acosh): Likewise.
37916         [XPG3] (asinh): Likewise.
37917         [XPG3] (atanh): Likewise.
37918         [XPG3] (cbrt): Likewise.
37919         [XPG3] (expm1): Likewise.
37920         [XPG3] (ilogb): Likewise.
37921         [XPG3] (log1p): Likewise.
37922         [XPG3] (logb): Likewise.
37923         [XPG3] (nextafter): Likewise.
37924         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37925         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37926         [XPG3] (remainder): Likewise.
37927         [XPG3] (rint): Likewise.
37928         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37929         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37930         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37931         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37932         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37933         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37934         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37935         [UNIX98 || XOPEN2K] (scalb): Expect.
37936         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37937         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37938         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37939         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37940         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37941         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37942         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37943         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37944         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37945         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37946         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37947         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37948         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37949         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37950         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37951         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37952         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37953         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37954         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37955         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37956         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37957         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37960         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37961         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37964         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37965         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37966         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37967         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37968         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37969         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37970         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37971         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37972         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37975         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37976         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37984         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37985         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37986         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37987         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37988         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37989         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37990         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37991         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37992         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37993         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37994         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37995         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37998         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37999         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38000         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38007         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38008         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38009         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38012         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38013         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38031         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38032         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38033         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38034         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38035         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38036         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38037         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38038         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38041         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38042         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38043         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38044         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38045         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38046         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38047         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38048         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38049         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38050         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38051         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38052         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38054         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38055         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38063         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38064         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38065         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38073
38074         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38075         _XOPEN_SOURCE_EXTENDED for XPG4.
38076
38077         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38078
38079         * Makeconfig (localtime): Remove variable.
38080         (inst_localtime-file): Likewise.
38081
38082 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38083
38084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38085         Update.
38086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38087         Update.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38089         Update.
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38091         Update.
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38093         Update.
38094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38095         Update.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38097         Update.
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38099         Update.
38100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38101         Update.
38102
38103 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38104
38105         [BZ #2550]
38106         [BZ #2570]
38107         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38108         comparisons to determine direction to adjust input.
38109         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38110         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38111         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38112         Likewise.
38113         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38114         Likewise.
38115         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38116         Likewise.
38117         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38118         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38119         Likewise.
38120         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38121         Likewise.
38122         * math/libm-test.inc (nexttoward_test): Add more tests.
38123
38124 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38125
38126         [BZ #14040]
38127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38128         in version GLIBC_2.1, not GLIBC_2.0.
38129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38130         Likewise.
38131
38132 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38133
38134         [BZ #13942]
38135         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38136         (1 - x) * (1 + x).
38137         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38138         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38139         * math/libm-test.inc (acos_test): Add more tests.
38140         (asin_test): Likewise.
38141         * sysdeps/i386/fpu/libm-test-ulps: Update.
38142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38143
38144         [BZ #14034]
38145         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38146         of square root.
38147         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38148         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38149         * math/libm-test.inc (acos_test_tonearest): New function.
38150         (acos_test_towardzero): Likewise.
38151         (acos_test_downward): Likewise.
38152         (acos_test_upward): Likewise.
38153         (asin_test_tonearest): Likewise.
38154         (asin_test_towardzero): Likewise.
38155         (asin_test_downward): Likewise.
38156         (asin_test_upward): Likewise.
38157         (main): Call the new functions.
38158         * sysdeps/i386/fpu/libm-test-ulps: Update.
38159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38160
38161         [BZ #13884]
38162         [BZ #13924]
38163         * math/e_exp10.c: Include <float.h>.
38164         (__ieee754_exp10): Handle underflow here rather than multiplying
38165         large negative argument by M_LN10.
38166         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38167         of __ieee754_expf.
38168         * math/e_exp10l.c: Include <float.h>.
38169         (__ieee754_exp10l): Handle underflow here rather than multiplying
38170         large negative argument by M_LN10l.
38171         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38172         spurious overflow exception on underflow.
38173
38174 2012-04-29  Marek Polacek  <polacek@redhat.com>
38175
38176         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38177         (__fortify_function): New macro.
38178         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38179         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38180         __extern_always_inline.
38181         * libio/bits/stdio2.h: Likewise.
38182         * libio/bits/stdio.h: Likewise.
38183         * string/string.h: Likewise.
38184         * string/bits/string3.h: Likewise.
38185         * include/stdio.h: Likewise.
38186         * stdlib/bits/stdlib.h: Likewise.
38187         * stdlib/stdlib.h: Likewise.
38188         * rt/bits/mqueue2.h: Likewise.
38189         * rt/mqueue.h: Likewise.
38190         * posix/bits/unistd.h: Likewise.
38191         * posix/unistd.h: Likewise.
38192         * io/bits/poll2.h: Likewise.
38193         * io/bits/fcntl2.h: Likewise.
38194         * io/fcntl.h: Likewise.
38195         * io/sys/poll.h: Likewise.
38196         * misc/bits/syslog.h: Likewise.
38197         * misc/bits/syslog-ldbl.h: Likewise.
38198         * misc/sys/syslog.h: Likewise.
38199         * socket/bits/socket2.h: Likewise.
38200         * socket/sys/socket.h: Likewise.
38201         * debug/tst-chk1.c: Likewise.
38202         * wcsmbs/bits/wchar2.h: Likewise.
38203         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38204         * wcsmbs/wchar.h: Likewise.
38205
38206 2012-04-29  Andreas Jaeger  <aj@suse.de>
38207
38208         * Makerules (tests): Remove enable-check-abi protection.
38209         (check-abi-warn): Remove.
38210         (check-abi-%): Remove check-abi-warn usage.
38211
38212         * configure.in: Remove check-abi configure option.
38213         * configure: Regenerated.
38214         * config.make.in (enable-check-abi): Remove.
38215
38216 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38217
38218         [BZ #14033]
38219         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38220         double functions to double *_finite functions.
38221
38222         [BZ #13941]
38223         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38224         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38225         LDBL_MIN_EXP.
38226         * stdio-common/Makefile (tests): Add tst-sprintf3.
38227         * stdio-common/tst-sprintf3.c: New file.
38228
38229         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38230         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38231
38232 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38233
38234         * conform/conformtest.pl: Remove duplicate typed-constant
38235         handling.
38236
38237 2012-04-28  David S. Miller  <davem@davemloft.net>
38238
38239         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38240         (check-abi-%): Remove AWK script prerequisite and explicit
38241         abilist directory.
38242         (check-abi): Rewrite to just diff the symlist with the abilist.
38243         (config-tls, config-abi-config): Delete, no longer used.
38244         (update-abi-%): Remove AWK script and explicit abilist directory.
38245         (update-abi): Rewrite to simply compare and conditionally copy the
38246         symlist and the sysdep abilist file.  Remove update-abi-config
38247         checks.
38248         * abilist/ld.abilist: Remove.
38249         * abilist/libBrokenLocale.abilist: Remove.
38250         * abilist/libanl.abilist: Remove.
38251         * abilist/libcrypt.abilist: Remove.
38252         * abilist/libdl.abilist: Remove.
38253         * abilist/librt.abilist: Remove.
38254         * abilist/libthread_db.abilist: Remove.
38255         * abilist/libutil.abilist: Remove.
38256         * scripts/extract-abilist.awk: Remove.
38257         * scripts/merge-abilist.awk: Remove.
38258         * sysdeps/generic/libcidn.abilist: New file.
38259         * sysdeps/generic/libnss_compat.abilist: New file.
38260         * sysdeps/generic/libnss_db.abilist: New file.
38261         * sysdeps/generic/libnss_dns.abilist: New file.
38262         * sysdeps/generic/libnss_files.abilist: New file.
38263         * sysdeps/generic/libnss_hesiod.abilist: New file.
38264         * sysdeps/generic/libnss_nis.abilist: New file.
38265         * sysdeps/generic/libnss_nisplus.abilist: New file.
38266         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38267         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38268         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38269         file.
38270         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38271         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38272         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38273         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38274         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38275         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38276         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38277         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38278         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38279         file.
38280         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38281         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38282         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38283         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38284         file.
38285         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38286         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38287         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38288         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38289         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38290         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38291         file.
38292         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38293         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38294         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38295         file.
38296         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38298         New file.
38299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38300         New file.
38301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38302         New file.
38303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38304         New file.
38305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38306         New file.
38307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38308         New file.
38309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38310         New file.
38311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38312         New file.
38313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38314         New file.
38315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38316         New file.
38317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38318         New file.
38319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38320         New file.
38321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38322         New file.
38323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38324         file.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38326         New file.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38328         New file.
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38330         file.
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38332         New file.
38333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38334         New file.
38335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38336         file.
38337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38338         New file.
38339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38340         New file.
38341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38342         New file.
38343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38344         New file.
38345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38346         New file.
38347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38348         New file.
38349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38351         file.
38352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38353         New file.
38354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38355         file.
38356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38357         file.
38358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38359         file.
38360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38361         file.
38362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38363         file.
38364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38365         New file.
38366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38367         file.
38368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38369         file.
38370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38371         New file.
38372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38373         file.
38374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38376         file.
38377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38378         New file.
38379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38380         file.
38381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38382         file.
38383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38384         file.
38385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38386         file.
38387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38388         file.
38389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38390         New file.
38391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38392         file.
38393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38394         file.
38395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38396         New file.
38397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38398         file.
38399         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38400         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38401         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38402         file.
38403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38404         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38405         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38406         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38407         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38408         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38409         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38410         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38411         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38412         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38415         file.
38416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38417         New file.
38418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38419         file.
38420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38421         file.
38422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38423         file.
38424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38425         file.
38426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38427         file.
38428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38429         New file.
38430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38431         New file.
38432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38433         file.
38434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38435         New file.
38436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38437         file.
38438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38440         file.
38441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38442         New file.
38443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38444         file.
38445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38446         file.
38447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38448         file.
38449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38450         file.
38451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38452         file.
38453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38454         New file.
38455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38456         New file.
38457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38458         file.
38459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38460         New file.
38461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38462         file.
38463
38464 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38465
38466         * conform/conformtest.pl: Fix typo in handling typed-constant from
38467         allow-header.
38468
38469 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38470
38471         * README: Cut down references to pre-2.6 Linux kernels and
38472         Linuxthreads.  Update lists of configurations in libc and ports
38473         and sort alphabetically.  Say "or newer" with Linux kernel version
38474         requirements.
38475
38476         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38477
38478 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38479
38480         [BZ #887]
38481         * math/libm-test.inc (logb_test_downward): New test to expose
38482         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38483         rounding mode.
38484
38485 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38486
38487         [BZ #14027]
38488         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38489         to be done.
38490         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38491         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38492
38493 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38494
38495         * sysdeps/unix/i386/brk.S: Remove file.
38496         * sysdeps/unix/i386/dl-brk.S: Likewise.
38497         * sysdeps/unix/i386/pipe.S: Likewise.
38498         * sysdeps/unix/i386/sigreturn.S: Likewise.
38499         * sysdeps/unix/i386/syscall.S: Likewise.
38500         * sysdeps/unix/i386/vfork.S: Likewise.
38501         * sysdeps/unix/i386/wait.S: Likewise.
38502
38503         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38504         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38505
38506         * configure.in (arm*-none*): Do not allow without
38507         --enable-hacker-mode.
38508         (netbsd*): Remove case setting base_os.
38509         (386bsd*): Likewise.
38510         (freebsd*): Likewise.
38511         (bsdi*): Likewise.
38512         (osf*): Likewise.
38513         (sunos*): Likewise.
38514         (ultrix*): Likewise.
38515         (newsos*): Likewise.
38516         (dynix*): Likewise.
38517         (*bsd*): Likewise.
38518         (sysv*): Likewise.
38519         (isc*): Likewise.
38520         (esix*): Likewise.
38521         (sco*): Likewise.
38522         (minix*): Likewise.
38523         (irix4*): Likewise.
38524         (irix6*): Likewise.
38525         (solaris[2-9]*): Likewise.
38526         (none): Likewise.
38527         * configure: Regenerated.
38528
38529 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38530
38531         [BZ #11521]
38532         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38533         overflow or cancellation in calculating denominator.
38534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38536         down expression to avoid unexpected rounding in newer GCCs.
38537         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38538
38539 2012-04-26  David S. Miller  <davem@davemloft.net>
38540
38541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38542         long-double compat symbols.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38556
38557 2012-04-25  David S. Miller  <davem@davemloft.net>
38558
38559         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38560         HWCAP_* values only after the memory barriers have been defined.
38561         (atomic_full_barrier): Define.
38562         (atomic_read_barrier): Define.
38563         (atomic_write_barrier): Define.
38564
38565 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38566
38567         * shlib-versions: Add libgcc_s version information.
38568         * sysdeps/generic/libgcc_s.h: Remove.
38569         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38570         libgcc_s.h.
38571         * sysdeps/gnu/unwind-resume.c: Likewise.
38572         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38573
38574 2012-04-25  David S. Miller  <davem@davemloft.net>
38575
38576         * sysdeps/unix/sparc/brk.S: Delete.
38577         * sysdeps/unix/sparc/dl-brk.S: Delete.
38578         * sysdeps/unix/sparc/pipe.S: Delete.
38579         * sysdeps/unix/sparc/sysdep.S: Delete.
38580         * sysdeps/unix/sparc/sysdep.h: Delete.
38581         * sysdeps/unix/sparc/vfork.S: Delete.
38582         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38583         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38584         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38585         (ret_ERRVAL, r0, r1, MOVE): Define.
38586         (JUMPTARGET): Remove.
38587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38588         sysdeps/unix/sparc/sysdep.h
38589         (ENTRY, END): Remove.
38590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38591
38592 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38593
38594         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38595         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38596         -DIS_IN_build.
38597
38598         * timezone/README: Update upstream location and email address for
38599         tzcode and tzdata.
38600         * timezone/zdump.c: Update from tzcode 2012b.
38601         * timezone/zic.c: Likewise.
38602
38603         * configure.in (libc_cv_as_needed): Remove test.
38604         * configure: Regenerated.
38605         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38606         conditional definition.
38607         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38608         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38609         * config.make.in (have-as-needed): Remove variable.
38610
38611 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38612             Paul Pluzhnikov  <ppluzhnikov@google.com>
38613
38614         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38615         strings correctly.
38616
38617 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38618
38619         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38620         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38621         * sysdeps/sh/strlen.S: Likewise.
38622
38623 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38624
38625         * sysdeps/unix/fork.S: Remove file.
38626         * sysdeps/unix/i386/fork.S: Likewise.
38627         * sysdeps/unix/sparc/fork.S: Likewise.
38628
38629         * sysdeps/unix/system.c: Remove file.
38630         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38631
38632         * sysdeps/unix/getegid.S: Remove file.
38633         * sysdeps/unix/geteuid.S: Likewise.
38634
38635 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38636
38637         * scripts/check-localplt.awk: New file.
38638         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38639         of diff.
38640         * scripts/data/localplt-generic.data: Add a comment.
38641
38642         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38643         NODE when __dir_mkfile failed.
38644         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38645         Reported by Ludovic Courtès <ludo@gnu.org>.
38646
38647 2012-04-24  Andreas Jaeger  <aj@suse.de>
38648
38649         * Makerules (common-clean): Also remove gen-as-const-headers
38650         files.
38651
38652 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * Makerules (native-compile): Do not change working directory for
38655         build.  Use $(OUTPUT_OPTION) in command.
38656         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38657
38658 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38659
38660         [BZ #13886]
38661         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38662         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38663         * math/libm-test.inc (floor_test): Add more tests.
38664         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38665
38666 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38667
38668         * sysdeps/unix/getdents.c: Remove file.
38669         * sysdeps/unix/sysv/getdents.c: Likewise.
38670         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38671
38672         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38673         sysdeps/unix/mman/syscalls.list.
38674         (mmap): Likewise.
38675         (mprotect): Likewise.
38676         (msync): Likewise.
38677         (munmap): Likewise.
38678         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38679         * sysdeps/unix/mman/syscalls.list: Remove.
38680         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38681
38682         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38683         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38684         * configure: Regenerated.
38685         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38686         $(libgcc_s_suffix).
38687         * config.make.in (libgcc_s_suffix): Remove variable.
38688
38689 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38690
38691         * sysdeps/unix/sysv/gethostname.c: Move to ...
38692         * sysdeps/posix/gethostname.c: ... here.
38693
38694         * sysdeps/unix/execve.S: Remove file.
38695
38696         * sysdeps/unix/_exit.S: Remove file.
38697
38698 2012-04-23  Andreas Jaeger  <aj@suse.de>
38699
38700         [BZ #13739]
38701         * manual/Makefile: Remove make dist support, there's no
38702         need for a stand-alone documentation tar ball.
38703         (TEXI2DVI): Define always, it's not in Makeconfig.
38704         (dist): Removed.
38705         (tar-it): Removed.
38706         (edition): Removed.
38707         (glibc-doc-$(edition).tar): Removed
38708         (%.Z): Removed.
38709         (%.gz): Removed.
38710         (%.uu): Removed.
38711         (ETAGS): Remove, it's in Makeconfig.
38712         (move-if-change): Remove, it's in Makeconfig.
38713
38714 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38715
38716         [BZ #13970]
38717         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38718         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38719         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38720         (strtod_l, strtof_l, strtold_l): Remove __wur.
38721         It is not necessarily an error to ignore strtol's return value.
38722         One can reliably look at the stored endptr to decide whether
38723         the number had valid syntax.
38724
38725 2012-04-21  Andreas Jaeger  <aj@suse.de>
38726
38727         [BZ #13739]
38728         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38729
38730 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38731
38732         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38733         * sysdeps/unix/sysv/Versions: Remove file.
38734
38735 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38736
38737         [BZ #13927]
38738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38739
38740 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38741
38742         [BZ #7064]
38743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38744         version from __vm86.
38745
38746 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38747
38748         * sysdeps/unix/common/lxstat.c: Remove file.
38749         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38750
38751         * sysdeps/unix/sysv/Makefile: Remove file.
38752
38753         * sysdeps/unix/sysv/direct.h: Remove file.
38754
38755         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38756         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38757         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38758         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38759         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38760         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38761         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38762
38763         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38764
38765         * sysdeps/unix/xmknod.c: Remove file.
38766         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38767
38768         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38769
38770         * sysdeps/unix/sysv/i386/time.S: Remove file.
38771
38772         * sysdeps/unix/fxstat.c: Remove file.
38773         * sysdeps/unix/xstat.c: Likewise.
38774         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38775
38776         * sysdeps/unix/sysv/sigaction.c: Remove file.
38777
38778         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38779         (sysdep_headers): Remove variable.
38780         [termio.h not in sysdep_headers] (generated): Likewise.
38781         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38782         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38783         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38784         * sysdeps/unix/sysv/tcflow.c: Likewise.
38785         * sysdeps/unix/sysv/tcflush.c: Likewise.
38786         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38787         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38788         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38789         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38790         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38791
38792         * sysdeps/unix/siglist.c: Remove file.
38793
38794         * sysdeps/unix/getppid.S: Remove file.
38795
38796         * sysdeps/unix/mkdir.c: Remove file.
38797         * sysdeps/unix/rmdir.c: Likewise.
38798
38799 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38800
38801         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38802         ERR_MAX value.
38803         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38804         errlist-compat value.
38805
38806 2012-04-18  David S. Miller  <davem@davemloft.net>
38807
38808         * sysdeps/generic/memcopy.h (reg_char): Delete.
38809         * debug/strcat_chk.c: Use char, not reg_char.
38810         * debug/strcpy_chk.c: Likewise.
38811         * debug/strncat_chk.c: Likewise.
38812         * debug/strncpy_chk.c: Likewise.
38813         * string/memchr.c: Likewise.
38814         * string/memrchr.c: Likewise.
38815         * string/rawmemchr.c: Likewise.
38816         * string/strcat.c: Likewise.
38817         * string/strchr.c: Likewise.
38818         * string/strchrnul.c: Likewise.
38819         * string/strcmp.c: Likewise.
38820         * string/strcpy.c: Likewise.
38821         * string/strncat.c: Likewise.
38822         * string/strncmp.c: Likewise.
38823         * string/strncpy.c: Likewise.
38824
38825 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38826
38827         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38828         __builtin_memcopy is called when src and dest ranges are known to not
38829         overlap.
38830
38831 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38832
38833         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38834         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38835         fwd_align_merge macro call.
38836         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38837         bwd_align_merge macro call.
38838         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38839
38840 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38841
38842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38843         bwd_align_merge macros.
38844         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38845         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38846         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38847
38848 2012-04-18  David S. Miller  <davem@davemloft.net>
38849
38850         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38851
38852 2012-04-18  Andreas Jaeger  <aj@suse.de>
38853
38854         [BZ# 6794]
38855         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38856         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38857         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38858
38859         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38860         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38862
38863         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38864         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38865         Adjust for changed ldbl-128 files.
38866
38867         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38868         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38869         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38870
38871 2012-04-17  David S. Miller  <davem@davemloft.net>
38872
38873         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38874
38875 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38876
38877         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38878         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38879         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38880         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38881         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38882         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38883
38884 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38885
38886         [BZ #6794]
38887         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38888         * math/libm-test.inc: Add ilogb errno and exception tests.
38889         * math/w_ilogb.c: New file: ilogb wrapper.
38890         * math/w_ilogbf.c: New file: ilogbf wrapper.
38891         * math/w_ilogbl.c: New file: ilogbl wrapper.
38892         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38893         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38894         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38895         exception being thrown with 0.0 as argument.
38896         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38897         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38898         exception being thrown with 0.0 as argument.
38899         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38900         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38901         exception being thrown with 0.0 as argument.
38902         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38903         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38904         exception being thrown with 0.0 as argument.
38905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38906         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38907         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38908         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38909         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38910         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38911         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38912         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38913         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38914
38915 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38916
38917         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38918         with altivec.
38919
38920 2012-04-16  Marek Polacek  <polacek@redhat.com>
38921
38922         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38923
38924 2012-04-16  Marek Polacek  <polacek@redhat.com>
38925
38926         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38927         operands of fdivp instruction.
38928
38929 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38930
38931         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38932         * elf/tst-auditmod3b.c: Likewise.
38933         * elf/tst-auditmod4b.c: Likewise.
38934         * elf/tst-auditmod5b.c: Likewise.
38935         * elf/tst-auditmod6b.c: Likewise.
38936         * elf/tst-auditmod6c.c: Likewise.
38937         * elf/tst-auditmod7b.c: Likewise.
38938         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38939         * sysdeps/x86_64/preconfigure.in: Likewise.
38940         * sysdeps/x86_64/preconfigure: Regenerated.
38941
38942 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38943
38944         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38945         __ILP32__.
38946
38947 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38948
38949         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38950         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38951
38952 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38953
38954         [BZ #13973]
38955         * locale/iso-639.def: Fix gl language name. Spotted by
38956         Yaron Shahrabani.
38957
38958 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38959
38960         [BZ #2074]
38961         * libio/libio.h (__io_write_fn): Update comment.
38962
38963 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38964
38965         [BZ #2074]
38966         * stdio.texi (Hook Functions): The user provided writer function
38967         is not allowed to return -1.
38968
38969 2012-04-11  David S. Miller  <davem@davemloft.net>
38970
38971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38972
38973 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38974
38975         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38976         Add a leading slash to rtkaio.
38977
38978 2012-04-11  Jim Meyering  <meyering@redhat.com>
38979
38980         [BZ #11959]
38981         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38982         It is not necessarily an error to ignore fwrite's return
38983         value.  One can reliably use ferror to test for errors after
38984         the fact.
38985
38986 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38987
38988         * bits/types.h (__snseconds_t): New type.
38989         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38990
38991         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38992         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38993         (__SNSECONDS_T_TYPE): Likewise.
38994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38995         (__SNSECONDS_T_TYPE): Likewise.
38996         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38997         (__SNSECONDS_T_TYPE): Likewise.
38998
38999 2012-04-10  Andreas Jaeger  <aj@suse.de>
39000
39001         [BZ #2636]
39002         * manual/time.texi (Processor Time): Return type of times is
39003         elapsed real time since an arbitrary point in the past.
39004         (CPU Time): Move CLK_TCK from here...
39005         (Processor Time): ...to here.  Correct description.
39006         * manual/conf.texi (Constants for Sysconf): Correct description of
39007         _SC_CLK_TCK.
39008
39009 2012-04-10  David S. Miller  <davem@davemloft.net>
39010
39011         [BZ #13967]
39012         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39013         where the is a gap between DT_REL(A) and DT_JMPREL.
39014
39015 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39016
39017         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39018         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39019         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39020
39021 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39022
39023         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39024         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39025         (dl_main): Handle --inhibit-cache.
39026         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39027         _dl_inhibit_cache.
39028         * elf/dl-load.c (_dl_map_object): Use it.
39029         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39030
39031 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39032
39033         [BZ #13872]
39034         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39035         (__ieee754_powl): Saturate large exponents rather than testing for
39036         overflow of y*log2(x).
39037         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39038         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39039         exceptions.
39040
39041         [BZ #11521]
39042         * math/s_ctan.c: Include <float.h>.
39043         (__ctan): Avoid internal overflow or cancellation in calculating
39044         denominator.
39045         * math/s_ctanf.c: Likewise.
39046         * math/s_ctanl.c: Likewise.
39047         * math/s_ctanh.c: Likewise.
39048         * math/s_ctanhf.c: Likewise.
39049         * math/s_ctanhl.c: Likewise.
39050         * math/libm-test.inc (ctan_test): Add more tests.
39051         (ctanh_test): Likewise.
39052         * sysdeps/i386/fpu/libm-test-ulps: Update.
39053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39054
39055 2012-04-09  Andreas Jaeger  <aj@suse.de>
39056
39057         [BZ #6894]
39058         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39059         is an optional BSD extension.
39060
39061         [BZ #10254]
39062         * manual/stdio.texi (Opening Streams): Document additional fopen
39063         parameters.
39064
39065 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39066
39067         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39068         %eax without telling the compiler.
39069
39070 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39071
39072         [BZ # 13963]
39073         * manual/install.texi: Use sourceware.org.
39074
39075 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39076
39077         [BZ #13873]
39078         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39079         (__ieee754_pow): Generate overflow and underflow using huge*huge
39080         and tiny*tiny rather than just returning constant infinity or zero
39081         for large exponents.
39082         * math/libm-test.inc (pow_test): Require overflow exceptions for
39083         applicable cases of large exponents.
39084
39085         [BZ #706]
39086         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39087         (__ieee754_pow): Use iterative multiplication algorithm only for
39088         integer exponents with absolute value below 1024.  Check for odd
39089         integer exponents when using algorithm for real exponents.
39090         * math/libm-test.inc (pow_test): Add more tests.
39091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39092
39093 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39094
39095         [BZ #13705]
39096         * math/libm-test.inc (exp_test): Do not allow overflow exception
39097         on underflow test.
39098
39099 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39100
39101         [BZ #13705]
39102         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39103         instead of __kernel_standard_f.
39104
39105 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39106
39107         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39108         * sysdeps/x86_64/memset_chk.S: Likewise.
39109
39110 2012-04-08  Andreas Jaeger  <aj@suse.de>
39111
39112         [BZ #10153]
39113         * manual/startup.texi (Environment Access): Describe return value
39114         for putenv and setenv.
39115
39116         [BZ #6895]
39117         * manual/filesys.texi (Directory Entries): Add description for
39118         DT_LNK.
39119
39120         [BZ #6890]
39121         * manual/filesys.texi (Directory Entries): Clarify that it's file
39122         system not operating system in the description of DT_UNKNOWN.
39123
39124         [BZ #6578]
39125         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39126
39127 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39128
39129         [BZ #6649]
39130         * manual/llio.texi (Opening and Closing Files): Add cross
39131         reference to explain mode argument.
39132
39133 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39134
39135         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39136         * sysdeps/x86_64/memset_chk.S: Likewise.
39137
39138 2012-04-07  David S. Miller  <davem@davemloft.net>
39139
39140         * elf/elf.h (R_SPARC_WDISP10): Define.
39141         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39142         R_SPARC_SIZE32.
39143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39144         R_SPARC_SIZE64 and R_SPARC_H34.
39145
39146 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39147
39148         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39149         conditions and remove no longer applicable assertion.
39150
39151 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39152
39153         * bits/byteswap.h: Include <features.h>.
39154         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39155         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39156
39157 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39158
39159         * bits/byteswap.h (__bswap_16): Removed.
39160         Include <bits/byteswap-16.h> to get __bswap_16.
39161         * sysdeps/i386/bits/byteswap.h: Likewise.
39162         * sysdeps/s390/bits/byteswap.h: Likewise.
39163         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39164         * bits/byteswap-16.h: New file.
39165         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39166         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39167         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39168         * string/Makefile (headers): Add bits/byteswap-16.h.
39169
39170 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39171
39172         [BZ #13895]
39173         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39174         extra indirection.
39175         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39176         * nss/tst-nss-static.c: New.
39177
39178 2012-04-06  Robert Millan  <rmh@gnu.org>
39179
39180         [BZ #6486]
39181         * manual/llio.texi (File Position Primitive): lseek
39182         refers to WHENCE when it really means OFFSET.
39183
39184 2012-04-06  Andreas Jaeger  <aj@suse.de>
39185
39186         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39187         strncmp declarations.
39188
39189         * abilist/libc.abilist: Add __poll and __ppoll.
39190
39191 2012-04-05  David S. Miller  <davem@davemloft.net>
39192
39193         * scripts/check-local-headers.sh: Accept a host triplet in the
39194         path matched by the exclude regexp.
39195
39196         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39197         definition.
39198         * sysdeps/powerpc/powerpc32/dl-machine.h
39199         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39200         * sysdeps/s390/s390-32/dl-machine.h
39201         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39202         * sysdeps/sparc/sparc32/dl-machine.h
39203         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39204         * sysdeps/sparc/sparc64/dl-machine.h
39205         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39206
39207         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39208         lazy binding.
39209         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39210         undefined symbol errors.
39211
39212         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39213         DT_NEEDED entries.
39214
39215 2012-04-05  Michael Matz  <matz@suse.de>
39216
39217         [BZ #13592]
39218         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39219
39220 2012-04-05  Andreas Jaeger  <aj@suse.de>
39221
39222         [BZ #13908]
39223         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39224         comment.
39225
39226 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39227
39228         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39229         which ROUND is no valid rounding mode.
39230
39231 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39232
39233         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39234         read again.
39235         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39236
39237 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39238
39239         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39240         an exception using FPU order intentionally.
39241
39242 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39243
39244         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39245         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39246         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39247         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39248
39249 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39250
39251         [BZ #12340]
39252         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39253         EINVAL when BUFLEN is too smal.
39254
39255 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39256
39257         [BZ #13553]
39258         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39259         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39260
39261 2012-04-03  Andreas Jaeger  <aj@suse.de>
39262
39263         [BZ #13938]
39264         * manual/setjmp.texi (System V contexts): Fix sentence.
39265
39266         [BZ #13926]
39267         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39268         New macro for this case.
39269         [!__GNUC__] (__bswap_64): New inline function for this case.
39270         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39271         * bits/byteswap.h: Likewise.
39272         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39273         ull, guard with __GLIBC_HAVE_LONG_LONG.
39274
39275         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39276         __GLIBC_HAVE_LONG_LONG.
39277
39278         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39279         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39280
39281 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39282
39283         [BZ #13691]
39284         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39285         inptr and inend, rather than using last_ch.
39286
39287 2012-04-02  David S. Miller  <davem@davemloft.net>
39288
39289         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39290         * stdio-common/printf-parse.h (read_int): Change return type to
39291         'int', return -1 on INT_MAX overflow.
39292         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39293         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39294         overflows INT_MAX.  Check for overflow of in-format-string precision
39295         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39296         SIZE_MAX not INT_MAX for integer overflow test.
39297         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39298         skip the construct in the format string but do not record anything.
39299         * stdio-common/bug22.c: Adjust to test both width/prevision
39300         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39301         explicitly for proper errno values.
39302
39303 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39304
39305         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39306         CHAR_MAX.
39307         * string/test-strcmp.c [! WIDE]: Likewise.
39308         * time/tst-mktime2.c: Likewise for INT_MAX.
39309         * string/test-string.h: #include <sys/param.h> for MIN.
39310
39311         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39312         * sysdeps/i386/init-first.c (init): Likewise.
39313         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39314         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39315         * sysdeps/sh/init-first.c (init): Likewise.
39316
39317 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39318
39319         * po/ru.po: Update from translation team.
39320         * po/vi.po: Likewise.
39321
39322 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39323
39324         * resolv/nss_dns/dns-host.c: Merge copyright years.
39325
39326 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39327
39328         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39329         Optimize memcpy with prefetch if
39330         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39331         src, dst pointers have unequal 16 byte alignments.
39332
39333 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39334
39335         [BZ #13928]
39336         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39337         from a CNAME entry and return the minimum ttl for the query.
39338         (gaih_getanswer_slice): Likewise.
39339
39340 2012-03-30  Jeff Law  <law@redhat.com>
39341
39342         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39343         due to long keys.
39344         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39345         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39346
39347         * resolv/nss_dns/dns-host.c: Update copyright year.
39348
39349 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39350
39351         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39352         requests to save a system call.  Fix check that all bytes are sent.
39353
39354         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39355         comments for sendmmsg.
39356
39357 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39358
39359         [BZ #13691]
39360         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39361         with only 1 character between 0x0041 and 0x01b0.
39362         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39363         * wcsmbs/tst-mbsnrtowcs.c: New file.
39364
39365 2012-03-29  David S. Miller  <davem@davemloft.net>
39366
39367         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39368         small copies by hand.
39369
39370 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39371
39372         [BZ #13761]
39373         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39374         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39375         group memberships.
39376
39377 2012-03-28  David S. Miller  <davem@davemloft.net>
39378
39379         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39380         that branches into memcpy.
39381         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39384         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39386         bits.
39387         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39388         implementation too.
39389         * sysdeps/sparc/mempcpy.S: New file.
39390
39391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39392         the IFUNC routine in the libc case.
39393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39394
39395         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39396         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39397         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39398         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39399         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39400         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39401         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39402         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39403
39404         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39405         loop to 256 bytes instead of 64 bytes and fix test signedness.
39406
39407         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39408         * sysdeps/sparc/sparc32/Makefile: rather than here...
39409         * sysdeps/sparc/sparc64/Makefile: and here.
39410
39411 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39412
39413         * malloc/mallocbug.c: Avoid warnings about unused variables.
39414
39415 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39416
39417         [BZ #13760]
39418         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39419         in the right place. Discard and retry query if response is
39420         larger than input buffer size.
39421
39422 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39423
39424         [BZ #369]
39425         [BZ #2678]
39426         [BZ #3866]
39427         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39428         x for large integer exponent.
39429         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39430         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39431         sign of result as needed afterwards.
39432         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39433         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39434         result for underflowing pow the same as for overflow.
39435         (__kernel_standard_l): Handle powl overflow and underflow here
39436         rather than calling __kernel_standard.
39437         * math/libm-test.inc (pow_test): Add more tests.
39438
39439         [BZ #3868]
39440         [BZ #13879]
39441         [BZ #13910]
39442         [BZ #13911]
39443         [BZ #13912]
39444         [BZ #13913]
39445         [BZ #13915]
39446         [BZ #13916]
39447         [BZ #13917]
39448         [BZ #13918]
39449         [BZ #13919]
39450         [BZ #13920]
39451         [BZ #13921]
39452         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39453         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39454         (__kernel_standard_l): New function.
39455         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39456         __kernel_standard.
39457         * math/w_acosl.c (__acosl): Likewise.
39458         * math/w_asinl.c (__asinl): Likewise.
39459         * math/w_atan2l.c (__atan2l): Likewise.
39460         * math/w_atanhl.c (__atanhl): Likewise.
39461         * math/w_coshl.c (__coshl): Likewise.
39462         * math/w_exp10l.c (__exp10l): Likewise.
39463         * math/w_exp2l.c (__exp2l): Likewise.
39464         * math/w_fmodl.c (__fmodl): Likewise.
39465         * math/w_hypotl.c (__hypotl): Likewise.
39466         * math/w_j0l.c (__j0l, __y0l): Likewise.
39467         * math/w_j1l.c (__j1l, __y1l): Likewise.
39468         * math/w_jnl.c (__jnl, __ynl): Likewise.
39469         * math/w_lgammal.c (__lgammal): Likewise.
39470         * math/w_log10l.c (__log10l): Likewise.
39471         * math/w_log2l.c (__log2l): Likewise.
39472         * math/w_logl.c (__logl): Likewise.
39473         * math/w_powl.c (__powl): Likewise.
39474         * math/w_remainderl.c (__remainderl): Likewise.
39475         * math/w_scalbl.c (sysv_scalbl): Likewise.
39476         * math/w_sinhl.c (__sinhl): Likewise.
39477         * math/w_sqrtl.c (__sqrtl): Likewise.
39478         * math/w_tgammal.c (__tgammal): Likewise.
39479         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39480         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39481         * math/libm-test.inc (acos_test): Add more tests.
39482         (acosh_test): Likewise.
39483         (asin_test): Likewise.
39484         (atanh_test): Likewise.
39485         (exp_test): Likewise.
39486         (exp10_test): Likewise.
39487         (exp2_test): Likewise.
39488         (expm1_test): Likewise.
39489         (lgamma_test): Likewise.
39490         (log_test): Likewise.
39491         (log10_test): Likewise.
39492         (log1p_test): Likewise.
39493         (log2_test): Likewise.
39494         (pow_test): Do not allow some spurious overflow exceptions.
39495         (sqrt_test): Add more tests.
39496         (tgamma_test): Likewise.
39497         (y0_test): Likewise.
39498         (y1_test): Likewise.
39499         (yn_test): Likewise.
39500
39501 2012-03-27  Anton Blanchard  <anton@samba.org>
39502
39503         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39504         MAP_HUGETLB.
39505         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39506         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39507         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39508
39509 2012-03-27  David S. Miller  <davem@davemloft.net>
39510
39511         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39512
39513         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39514         have-as-vis3 check.
39515
39516 2012-03-27  Andreas Jaeger  <aj@suse.de>
39517
39518         * sysdeps/x86_64/elf/configure.in: Moved to ...
39519         * sysdeps/x86_64/configure.in: ... here.
39520         * sysdeps/x86_64/elf/start.S: Moved to ...
39521         * sysdeps/x86_64/start.S: ... here.
39522         * sysdeps/x86_64/elf/configure: Delete.
39523
39524         * sysdeps/x86_64/configure.in: Merge contents from
39525         sysdeps/i386/configure.in (without i686 check).
39526
39527         * sysdeps/i386/elf/Versions: Merge into ...
39528         * sysdeps/i386/Versions: ... this.
39529         * sysdeps/i386/elf/Versions: Delete file.
39530         * sysdeps/i386/elf/start.S: Moved to ...
39531         * sysdeps/i386/start.S: ...here.
39532         * sysdeps/i386/elf/configure.in: Merge into...
39533         * sysdeps/i386/configure.in: ...here.
39534         * sysdeps/i386/elf/configure.in: Delete file.
39535         * sysdeps/i386/elf/configure: Delete file.
39536
39537         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39538         * debug/backtracesyms.c: ... here.
39539         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39540         * debug/backtracesymsfd.c: ... here.
39541         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39542         * sysdeps/generic/ifunc-sel.h: ... here.
39543
39544         * sysdeps/unix/i386/start.c: Delete file.
39545         * sysdeps/unix/sparc/start.c: Delete file.
39546         * sysdeps/unix/start.c: Delete file.
39547
39548         * sysdeps/sh/elf/configure.in: Moved to ...
39549         * sysdeps/sh/configure.in: ... here.
39550         * sysdeps/sh/elf/start.S: Moved to ...
39551         * sysdeps/sh/start.S: ... here.
39552         * sysdeps/sh/elf/configure: Delete file.
39553
39554         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39555         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39556         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39557         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39558         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39559         * sysdeps/powerpc/powerpc64/start.S: here.
39560         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39561         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39562         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39563         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39564         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39565
39566         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39567         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39568         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39569         * sysdeps/powerpc/powerpc32/start.S: ... here.
39570         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39571         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39572         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39573
39574         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39575         * sysdeps/powerpc/ifunc-sel.h: ... here.
39576         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39577         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39578
39579         * sysdeps/sparc/elf/configure.in: Moved to ...
39580         * sysdeps/sparc/configure.in: ... here.
39581         * sysdeps/sparc/elf/configure: Delete file.
39582         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39583         * sysdeps/sparc/sparc32/start.S: ... here.
39584         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39585         * sysdeps/sparc/sparc64/start.S: ... here.
39586         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39587         * sysdeps/sparc/sparc32/Makefile: ... this.
39588         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39589         * sysdeps/sparc/sparc64/Makefile: ... this.
39590
39591         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39592         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39593         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39594         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39595         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39596         * sysdeps/s390/s390-32/setjmp.S: ... here.
39597         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39598         * sysdeps/s390/s390-32/configure.in: ... here.
39599         * sysdeps/s390/s390-32/elf/configure: Delete file.
39600         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39601         * sysdeps/s390/s390-32/start.S: ... here.
39602
39603         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39604         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39605         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39606         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39607         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39608         * sysdeps/s390/s390-64/setjmp.S: ... here.
39609         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39610         * sysdeps/s390/s390-64/configure.in: ... here
39611         * sysdeps/s390/s390-64/elf/configure: Delete file.
39612         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39613         * sysdeps/s390/s390-64/start.S: ... here.
39614         * sysdeps/s390/s390-64/elf/configure: Delete.
39615
39616         * configure.in: Remove support for elf directories in sysdeps.
39617
39618         * configure: Regenerated.
39619         * sysdeps/i386/configure: Regenerated.
39620         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39621         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39622         * sysdeps/s390/s390-32/configure: Regenerated.
39623         * sysdeps/s390/s390-64/configure: Regenerated.
39624         * sysdeps/sh/configure: Regenerated.
39625         * sysdeps/sparc/configure: Regenerated.
39626         * sysdeps/x86_64/configure: Regenerated.
39627
39628 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39629
39630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39631
39632         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39633         denormal result into account.
39634
39635 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39636
39637         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39638         Reported by Allan McRae <allan@archlinux.org>.
39639
39640 2012-03-23  Jeff Law  <law@redhat.com>
39641
39642         * nss/getnssent.c (__nss_getent): Fix typo.
39643
39644 2012-03-23  David S. Miller  <davem@davemloft.net>
39645
39646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39647
39648 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39649
39650         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39651         to pad to uint64_t for each field.
39652         (dl_tls_index): Replace unsigned long with uint64_t.
39653
39654 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39655         Paul Pluzhnikov  <ppluzhnikov@google.com>
39656
39657         [BZ #6528]
39658         * grp/Makefile (otherlibs): Don't set it.
39659         * inet/Makefile (otherlibs): Likewise.
39660         * login/Makefile (otherlibs): Likewise.
39661         * nscd/Makefile (otherlibs): Likewise.
39662         * posix/Makefile (otherlibs): Likewise.
39663         * pwd/Makefile (otherlibs): Likewise.
39664         * rt/Makefile (otherlibs): Likewise.
39665         * sunrpc/Makefile (otherlibs): Likewise.
39666         * nss/Makefile (otherlibs): Likewise.
39667         Add libnss_files to routines and static-only-routines.
39668         ($(objpfx)getent): Remove rule.
39669         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39670         static-only-routines.
39671
39672 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39673
39674         [BZ #13892]
39675         * math/s_cexp.c: Include <float.h>.
39676         (__cexp): Handle exp result overflowing not necessarily
39677         overflowing both real and imaginary parts of result.
39678         * math/s_cexpf.c: Likewise.
39679         * math/s_cexpl.c: Likewise.
39680         * math/libm-test.inc (cexp_test): Add more tests.
39681         * sysdeps/i386/fpu/libm-test-ulps: Update.
39682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39683
39684 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39685
39686         * include/link.h (ELFW): New macro.
39687         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39688         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39689
39690 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39691
39692         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39693         with uint64_t.
39694
39695 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39696
39697         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39698         declaration.
39699         (struct La_x32_retval): Likewise.
39700
39701 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39702
39703         * sysdeps/x86_64/preconfigure.in: New file.
39704         * sysdeps/x86_64/preconfigure: New generated file.
39705
39706 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39707
39708         [BZ #13824]
39709         * math/e_exp2l.c: Include <float.h>.
39710         (__ieee754_exp2l): Handle overflow and underflow cases
39711         separately.  Only pass fractional part of argument to
39712         __ieee754_expl.
39713         * math/libm-test.inc (exp2_test): Add more tests.
39714
39715         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39716         negating x to take absolute value.
39717         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39718         Likewise.
39719         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39720         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39721         Likewise.
39722         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39723         computing low part if x was negated.
39724         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39725
39726 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39727
39728         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39729         la_x32_gnu_pltexit.
39730         (pltexit): Cast int_retval to ptrdiff_t.
39731         * elf/tst-auditmod3b.c: Likewise.
39732         * elf/tst-auditmod4b.c: Likewise.
39733         * elf/tst-auditmod5b.c: Likewise.
39734         * elf/tst-auditmod6b.c: Likewise.
39735         * elf/tst-auditmod6c.c: Likewise.
39736         * elf/tst-auditmod7b.c: Likewise.
39737
39738         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39739         and x32_gnu_pltexit.
39740
39741         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39742         __ELF_NATIVE_CLASS.
39743         (La_x32_regs): New macro.
39744         (La_x32_retval): Likewise.
39745         (la_x32_gnu_pltenter): New function prototype.
39746         (la_x32_gnu_pltexit): Likewise.
39747
39748 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39749
39750         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39751         exponent.
39752
39753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39754
39755         * configure.in (libc_cv_cc_nofma): Check for option to disable
39756         generation of FMA instructions.
39757         * configure: Regenerate.
39758         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39759         * sysdeps/ieee754/dbl-64/Makefile: New file.
39760         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39761         Remove brandred-fma4.
39762         (CFLAGS-brandred-fma4.c): Remove.
39763         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39765         define.
39766         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39767         define.
39768
39769 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39770
39771         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39772         LLONG_MAX != LONG_MAX.
39773         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39774         (_fitoa_word): Likewise.
39775         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39776         LLONG_MAX != LONG_MAX.
39777         * stdio-common/_itowa.h: Include <_itoa.h>.
39778         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39779         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39780         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39781         only if not defined.
39782         (_ITOA_WORD_TYPE): Likewise.
39783         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39784         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39785
39786 2012-03-21  David S. Miller  <davem@davemloft.net>
39787
39788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39789
39790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39791
39792         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39793         of x86_64 when setting libc_cv_slibdir, libdir and
39794         libc_cv_localedir.
39795         * sysdeps/unix/sysv/linux/configure: Regenerated.
39796
39797 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39798
39799         * manual/lang.texi (Old Varargs): Remove section.
39800         (How Variadic): Update menu.
39801         (va_start): Do not mention varargs.h.
39802
39803 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39804             Joseph Myers  <joseph@codesourcery.com>
39805
39806         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39807         link test.
39808         * configure: Regenerated.
39809
39810 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39811
39812         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39813         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39814         conformtest.pl
39815
39816 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39817
39818         * NOTES: Remove.
39819         * Makefile (files-for-dist): Remove NOTES.
39820         (NOTES): Remove rule.
39821         * README: Don't refer to NOTES.
39822         * manual/creature.texi: Don't include macros.texi.
39823         * manual/intro.texi (creature.texi): Remove comment referring to
39824         NOTES.
39825
39826         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39827         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39828         * configure: Regenerated.
39829         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39830         LIBC_TRY_CC_OPTION.
39831         (libc_cv_as_i686): Likewise.
39832         (libc_cv_cc_avx): Likewise.
39833         (libc_cv_cc_sse2avx): Likewise.
39834         (libc_cv_cc_fma4): Likewise.
39835         (libc_cv_cc_novzeroupper): Likewise.
39836         * sysdeps/i386/configure: Regenerated.
39837
39838         [BZ #13883]
39839         * sysdeps/i386/fpu/s_cexp.S: Remove.
39840         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39841         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39842         * math/libm-test.inc (cexp_test): Add more tests.
39843         * sysdeps/i386/fpu/libm-test-ulps: Update.
39844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39845
39846 2012-03-21  Allan McRae  <allan@archlinux.org>
39847
39848         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39849
39850 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39851
39852         [BZ #13871]
39853         * math/w_exp2.c: Do not include <float.h>.
39854         (o_threshold, u_threshold): Remove.
39855         (__exp2): Calculate result before checking finiteness and calling
39856         __kernel_standard.
39857         * math/w_exp2f.c: Likewise.
39858         * math/w_exp2l.c: Likewise.
39859         * math/libm-test.inc (exp2_test): Require overflow exception for
39860         1e6 input.
39861
39862         [BZ #3866]
39863         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39864         range of signed 64-bit integers before using fistpll.  Remove
39865         checks for whether integers fit in mantissa bits.
39866         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39867         the range of signed 32-bit integers before using fistpl.  Remove
39868         checks for whether integers fit in mantissa bits.
39869         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39870         (__ieee754_powl): Test for y outside the range of signed 64-bit
39871         integers before using fistpll.  Reduce 64-bit values to 63-bit
39872         ones as needed.
39873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39874         divide-by-zero is raised for zero to large negative powers.
39875         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39876         (__ieee754_powl): Test for y outside the range of signed 64-bit
39877         integers before using fistpll.  Reduce 64-bit values to 63-bit
39878         ones as needed.
39879         * math/libm-test.inc (pow_test): Add more tests.
39880
39881 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39882
39883         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39884         <stdio-common/_itoa.h>.
39885         * debug/segfault.c: Likewise.
39886         * elf/dl-cache.c: Likewise.
39887         * elf/dl-minimal.c: Likewise.
39888         * elf/dl-misc.c: Likewise.
39889         * elf/dl-sysdep.c: Likewise.
39890         * elf/dl-version.c: Likewise.
39891         * elf/rtld.c: Likewise.
39892         * hurd/hurdsock.c: Likewise.
39893         * hurd/lookup-retry.c: Likewise.
39894         * malloc/malloc.c: Likewise.
39895         * malloc/mtrace.c: Likewise.
39896         * nscd/nscd_getgr_r.c: Likewise.
39897         * nscd/nscd_getpw_r.c: Likewise.
39898         * nscd/nscd_getserv_r.c: Likewise.
39899         * posix/getopt_init.c: Likewise.
39900         * posix/wordexp.c: Likewise.
39901         * stdio-common/_itoa.c: Likewise.
39902         * stdio-common/printf_fphex.c: Likewise.
39903         * stdio-common/vfprintf.c: Likewise.
39904         * string/_strerror.c: Likewise.
39905         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39906         * sysdeps/i386/i686/hp-timing.h: Likewise.
39907         * sysdeps/mach/_strerror.c: Likewise.
39908         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39909         * sysdeps/mach/hurd/sethostid.c: Likewise.
39910         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39911         * sysdeps/mach/xpg-strerror.c: Likewise.
39912         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39914         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39915         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39916         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39917         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39919         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39920         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39921         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39922         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39923         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39924         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39925         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39926         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39927         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39928         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39929         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39930         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39931         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39932         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39933
39934         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39935
39936         * stdio-common/_itoa.h: Moved to ...
39937         * sysdeps/generic/_itoa.h: Here.
39938
39939         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39940
39941         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39942         instead of "_itoa.h" and "_itowa.h".
39943         * stdio-common/vfprintf.: Likewise.
39944
39945 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39946
39947         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39948         <bits/wordsize.h>.
39949         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39950         (__signbit): Likwise.
39951         (llrintf): Likwise.
39952         (llrint): Likwise.
39953
39954 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39955
39956         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39957         __WORDSIZE != 64.
39958
39959 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39960
39961         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39962         OVERFLOW_EXCEPTION_OK.
39963         * math/libm-test.inc ("Philosophy"): Update comment about
39964         exception testing.
39965         (OVERFLOW_EXCEPTION): Define.
39966         (OVERFLOW_EXCEPTION_OK): Likewise.
39967         (INVALID_EXCEPTION_OK): Renumber.
39968         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39969         (IGNORE_ZERO_INF_SIGN): Likewise.
39970         (test_exceptions): Handle FE_OVERFLOW.
39971         (exp10_test): Expect overflow exceptions.
39972         (exp2_test): Likewise.
39973         (expm1_test): Likewise.
39974         (nextafter_test): Likewise.
39975         (pow_test): Likewise.
39976         (scalbn_test): Likewise.
39977         (scalbln_test): Likewise.
39978
39979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39980
39981         * sysdeps/x86_64/bits/atomic.h
39982         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39983         64bit integer.
39984         (atomic_exchange_acq): Likewise.
39985         (__arch_exchange_and_add_body): Likewise.
39986         (__arch_add_body): Likewise.
39987         (atomic_add_negative): Likewise.
39988         (atomic_add_zero): Likewise.
39989
39990 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39991
39992         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39993         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39994
39995 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39996
39997         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39998         Check __x86_64__ instead of __WORDSIZE.
39999
40000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40001
40002         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40003
40004 2012-03-19  David S. Miller  <davem@davemloft.net>
40005
40006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40007
40008         * sysdeps/sparc/fpu/fenv_private.h: New file.
40009         * sysdeps/sparc/fpu/math_private.h: Use it.
40010         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40011         Remove.
40012         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40013         (libc_feholdexcept_setroundl): Remove.
40014         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40015         Remove.
40016         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40017         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40018
40019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40020
40021         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40022         int64_t instead of long int.
40023         (INSERT_WORDS64): Likwise.
40024
40025 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40026
40027         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40028         _Unwind_GetCFA return to _Unwind_Ptr first.
40029
40030 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40031
40032         [BZ #13629]
40033         * math/s_clog.c: Include <float.h>.
40034         (__clog): Scale large or subnormal inputs.
40035         * math/s_clogf.c: Likewise.
40036         * math/s_clogl.c: Likewise.
40037         * math/s_clog10.c: Include <float.h>.
40038         (M_LOG10_2): Define.
40039         (__clog10): Scale large or subnormal inputs.
40040         * math/s_clog10f.c: Likewise.
40041         * math/s_clog10l.c: Likewise.
40042         * math/libm-test.inc (clog_test): Add more tests.
40043         (clog10_test): Likewise.
40044         * sysdeps/i386/fpu/libm-test-ulps: Update.
40045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40046
40047         [BZ #11451]
40048         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40049         x and y.
40050         * math/libm-test.inc (atan2_test): Add another test.
40051
40052         * Makerules (common-objdir-compile): Remove.
40053         * sysdeps/unix/Makefile (config-generated): Do not add
40054         $(unix-generated) to variable.
40055         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40056         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40057         Remove rule.
40058         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40059         Likewise.
40060         [generic bits/local_lim.h] (before-compile): Do not append to
40061         variable.
40062         [generic bits/local_lim.h] (common-generated): Likewise.
40063         [generic sys/param.h] (before-compile): Do not append to variable.
40064         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40065         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40066         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40067         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40068         include.
40069         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40070         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40071         [generic sys/param.h] ($(addprefix
40072         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40073         [generic sys/param.h] (common-generated): Do not append to
40074         variable.
40075         [generic sys/param.h] (sysdep_headers): Likewise.
40076         [generic bits/errno.h] (before-compile): Do not append to
40077         variable.
40078         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40079         rule.
40080         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40081         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40082         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40083         [generic bits/errno.h] (common-generated): Do not append to
40084         variable.
40085         [generic bits/ioctls.h] (before-compile): Do not append to
40086         variable.
40087         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40088         rule.
40089         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40090         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40091         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40092         rule.
40093         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40094         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40095         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40096         [generic bits/ioctls.h] (common-generated): Do not append to
40097         variable.
40098         [generic sys/syscall.h] (syscall.h): Remove variable.
40099         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40100         rule.
40101         [generic sys/syscall.h] (before-compile): Do not append to
40102         variable.
40103         [generic sys/syscall.h] (common-generated): Likewise.
40104         * sysdeps/unix/errnos-tmpl.c: Remove file.
40105         * sysdeps/unix/errnos.awk: Likewise.
40106         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40107         * sysdeps/unix/ioctls.awk: Likewise.
40108         * sysdeps/unix/mk-local_lim.c: Likewise.
40109         * sysdeps/unix/snarf-ioctls: Likewise.
40110
40111 2012-03-19  Richard Henderson  <rth@twiddle.net>
40112
40113         * sysdeps/i386/fpu/fenv_private.h: New file.
40114         * sysdeps/i386/fpu/math_private.h: Use it.
40115         (math_opt_barrier, math_force_eval): Remove.
40116         (libc_feholdexcept_setround_53bit): Remove.
40117         (libc_feupdateenv_53bit): Remove.
40118         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40119         (math_opt_barrier, math_force_eval): Remove.
40120         (libc_feholdexcept): Remove.
40121         (libc_feholdexcept_setround): Remove.
40122         (libc_fetestexcept, libc_fesetenv): Remove.
40123         (libc_feupdateenv_test): Remove.
40124         (libc_feupdateenv, libc_feholdsetround): Remove.
40125         (libc_feresetround): Remove.
40126
40127         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40128         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40129
40130         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40131         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40132         (libc_feupdateenv_testl): New.
40133         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40134         (libc_feupdateenv_testf): New.
40135         (libc_feupdateenv): Use libc_feupdateenv_test.
40136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40137         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40138
40139         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40140         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40141         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40142         (libc_feresetround_noex): New.
40143         (libc_feresetround_noexf): New.
40144         (libc_feresetround_noexl): New.
40145         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40146         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40147         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40148         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40149         SET_RESTORE_ROUND.
40150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40152         (__cos): Likewise.
40153         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40155         SET_RESTORE_ROUND_NOEX.
40156         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40157         SET_RESTORE_ROUND_NOEXF.
40158         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40159         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40160         (libc_feholdsetroundf): New.
40161         (libc_feresetround, libc_feresetroundf): New.
40162
40163         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40164         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40165         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40166
40167         * sysdeps/generic/math_private.h: Include <fenv.h>.
40168         (default_libc_feholdexcept): New.
40169         (default_libc_feholdexcept_setround): New.
40170         (default_libc_fesetenv, default_libc_feupdateenv): New.
40171         (libc_feholdexcept): Only define if undefined.
40172         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40173         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40174         (libc_feholdexcept_setroundl): Likewise.
40175         (libc_feholdexcept_setround_53bit): Likewise.
40176         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40177         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40178         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40179         (libc_feupdateenv_53bit): Likewise.
40180         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40181         (libc_feholdexcept): Convert from macro to inline function.
40182         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40183         (libc_fesetenv, libc_feupdateenv): Likewise.
40184
40185         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40186         not previously defined.
40187         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40188         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40189         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40190         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40191         * sysdeps/ieee754/flt-32/math_private.h: New file.
40192         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40193         math_private.h below SET_FLOAT_WORD.
40194         (__isnan, __isinf_ns, __finite): Remove.
40195         (__isnanf, __isinf_nsf, __finitef): Remove.
40196
40197 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40198
40199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40200
40201 2012-03-17  David S. Miller  <davem@davemloft.net>
40202
40203         [BZ #6471]
40204         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40205         for 2.16.
40206
40207 2012-03-16  David S. Miller  <davem@davemloft.net>
40208
40209         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40210         warnings.
40211
40212         [BZ #6471]
40213         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40214         properly.
40215         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40216         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40217         sysdep_routines when subdir is sysvipc.
40218         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40219         __getshmlba helper.
40220
40221         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40222
40223 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40224
40225         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40226         [__LP64__].
40227
40228 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40229
40230         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40231         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40232         (__lround): Renamed to ...
40233         (__llround): This.  Replace long int with long long int.
40234         Define lround functions as aliases of llround functions.
40235         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40236
40237 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40238
40239         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40240         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40241         adresses to uintptr_t.  Replace "long int" and "unsigned long
40242         int" with "greg_t" on va_arg.
40243
40244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40245
40246         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40247         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40248
40249         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40250         Move e_machine check before EI_CLASS check.  Handle x32
40251         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40252         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40253         SKIP_EM_IA_64 and include
40254         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40255
40256         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40257         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40258         (add_system_dir): New macro.
40259
40260         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40261         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40262
40263 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40264
40265         [BZ #2551]
40266         [BZ #2552]
40267         [BZ #2553]
40268         [BZ #2554]
40269         [BZ #2562]
40270         [BZ #2563]
40271         [BZ #2565]
40272         [BZ #2566]
40273         [BZ #2576]
40274         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40275         (y0): Likewise.
40276         * math/w_j0f.c (j0f): Likewise.
40277         (y0f): Likewise.
40278         * math/w_j0l.c (__j0l): Likewise.
40279         (__y0l): Likewise.
40280         * math/w_j1.c (j1): Likewise.
40281         (y1): Likewise.
40282         * math/w_j1f.c (j1f): Likewise.
40283         (y1f): Likewise.
40284         * math/w_j1l.c (__j1l): Likewise.
40285         (__y1l): Likewise.
40286         * math/w_jn.c (jn): Likewise.
40287         (yn): Likewise.
40288         * math/w_jnf.c (jnf): Likewise.
40289         (ynf): Likewise.
40290         * math/w_jnl.c (__jnl): Likewise.
40291         (__ynl): Likewise.
40292         * math/libm-test.inc (j0_test): Add more tests.
40293         (j1_test): Likewise.
40294         (jn_test): Likewise.  Add trailing semicolon to existing test.
40295         (y0_test): Likewise.
40296         (y1_test): Likewise.
40297         * sysdeps/i386/fpu/libm-test-ulps: Update.
40298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40299
40300         [BZ #13851]
40301         [BZ #13854]
40302         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40303         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40304         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40305         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40306         (__tanl): Set errno for infinite argument.
40307         * sysdeps/i386/fpu/mptan.c: Remove.
40308         * sysdeps/i386/fpu/s_tan.S: Likewise.
40309         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40310         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40311         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40312         * math/libm-test.inc (tan_test): Add more tests and enable more
40313         tests for double and long double.
40314         * sysdeps/i386/fpu/libm-test-ulps: Update.
40315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40316
40317 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40318
40319         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40320         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40321
40322 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40323
40324         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40325         * configure.in: Use it for both main tree and add-ons.
40326         * configure: Regenerated.
40327
40328 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40329
40330         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40331
40332 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40333
40334         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40335         in comment.
40336
40337         [BZ #13851]
40338         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40339         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40341         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40342         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40343         infinite argument.
40344         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40346         != 0 for prec == 2.
40347         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40348         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40349         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40350         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40351         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40352         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40353         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40354         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40355         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40356         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40357         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40358         * math/libm-test.inc (cos_test): Add more tests and enable more
40359         tests for long double.
40360         (sin_test): Likewise.
40361         (sincos_test): Likewise.
40362         * sysdeps/i386/fpu/libm-test-ulps: Update.
40363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40364
40365 2012-03-16  David S. Miller  <davem@davemloft.net>
40366
40367         * sysdeps/sparc/fpu/math_private.h: New file.
40368
40369 2012-03-15  David S. Miller  <davem@davemloft.net>
40370
40371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40372         file.
40373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40375         file.
40376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40381         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40382         sysdep routines.
40383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40384
40385         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40386         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40387
40388         * sysdeps/sparc/sparc-ifunc.h: New file.
40389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40390         sparc-ifunc.h
40391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40393         Likewise.
40394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40395         Likewise.
40396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40400         Likewise.
40401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40406         Likewise.
40407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40408         Likewise.
40409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40415         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40429         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40431         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40433
40434 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40435
40436         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40437         scaling.
40438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40439
40440 2012-03-15  Andreas Jaeger  <aj@suse.de>
40441
40442         [BZ #13852]
40443         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40444         ieee754/flt-32 implementation for sin, cos and sincos.
40445         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40446         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40447         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40448         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40449         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40450         ieee754/flt-32 implementation for tan.
40451
40452         * math/libm-test.inc (cos_test): Enable some large input tests for
40453         float as well
40454         (sin_test): Likewise.
40455         (sincos_test): Likewise.
40456         (tan_test): Add tests for large input.
40457
40458         * sysdeps/i386/fpu/libm-test-ulps: Update.
40459
40460 2012-03-15  Andreas Jaeger  <aj@suse.de>
40461
40462         [BZ #13658]
40463         * math/libm-test.inc (cos_test): Add more test cases.
40464         (sin_test): Likewise.
40465         (sincos_test): Likewise.
40466
40467 2012-03-15  Andreas Jaeger  <aj@suse.de>
40468
40469         [BZ #13837]
40470         * math/libm-test.inc (cos_test): Add a test case for large input
40471         value.
40472         (sin_test): Likewise.
40473         (sincos_test): Likewise.
40474
40475 2012-03-15  Andreas Jaeger  <aj@suse.de>
40476             Joseph Myers  <joseph@codesourcery.com>
40477
40478         [BZ #13658]
40479         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40480         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40481         * sysdeps/i386/fpu/branred.c: Likewise.
40482         * sysdeps/i386/fpu/dosincos.c: Likewise.
40483         * sysdeps/i386/fpu/mpa.c: Likewise.
40484         * sysdeps/i386/fpu/s_cos.S: Likewise.
40485         * sysdeps/i386/fpu/s_sin.S: Likewise.
40486         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40487         * sysdeps/i386/fpu/sincos32.c: Likewise.
40488
40489         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40490         Define.
40491         (libc_feupdateenv_53bit): Define.
40492         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40493         Define.
40494         (libc_feupdateenv_53bit): Define.
40495
40496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40497         53 bit (without extend i386 double precision).
40498
40499         * math/libm-test.inc (sincos_test): Add tests for large input.
40500         (sin): Likewise.
40501         (cos): Likewise.
40502
40503         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40504
40505 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40506
40507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40508
40509 2012-03-15  David S. Miller  <davem@davemloft.net>
40510
40511         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40512         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40513         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40514         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40527         file.
40528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40530         file.
40531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40533         file.
40534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40536         file.
40537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40539         fmin/fmax sysdep routines.
40540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40541
40542 2012-03-14  David S. Miller  <davem@davemloft.net>
40543
40544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40568         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40573         routines.
40574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40575         file.
40576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40578         file.
40579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40581         file.
40582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40584         file.
40585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40587         file.
40588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40590         file.
40591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40592         file.
40593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40594         file.
40595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40596         file.
40597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40598         New file.
40599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40600         file.
40601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40602         file.
40603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40605         file.
40606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40608         file.
40609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40611         file.
40612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40614         VIS3 routines.
40615
40616         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40617         New file.
40618
40619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40620
40621         * sysdeps/sparc/configure.in: New file.
40622         * sysdeps/sparc/configure: Generate.
40623         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40624         * configure: Regenerate.
40625         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40626         * config.make.in (have-as-vis3): New.
40627         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40628         available use -Av9d instead of -Av9a.
40629         * sysdeps/sparc/sparc64/Makefile: Likewise.
40630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40632         New file.
40633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40634         file.
40635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40636         New file.
40637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40638         file.
40639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40640         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40644
40645         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40646         fzeros/fnegs to load 0x80000000 into a float register instead of
40647         using the stack.
40648         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40649
40650 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40651
40652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40653         bits/syscall.h.
40654         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40655         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40656         ($(inst_includedir)/bits/syscall.h): Remove rule.
40657         ($(objpfx)bits/syscall.d): Include instead of
40658         $(objpfx)syscall-list.d.
40659         (generated): Change syscall-list.h and syscall-list.d to
40660         bits/syscall.h and bits/syscall.d.
40661
40662 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40663
40664         [BZ #13846]
40665         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40666
40667 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40668
40669         [BZ #13841]
40670         * math/s_csqrt.c: Include <float.h>.
40671         (__csqrt): Scale large or subnormal inputs.
40672         * math/s_csqrtf.c: Likewise.
40673         * math/s_csqrtl.c: Likewise.
40674         * math/libm-test.inc (csqrt_test): Add more tests.
40675         * sysdeps/i386/fpu/libm-test-ulps: Update.
40676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40677
40678         [BZ #13840]
40679         * math/libm-test.inc (hypot_test): Add more tests.
40680
40681 2012-03-13  David S. Miller  <davem@davemloft.net>
40682
40683         [BZ #13840]
40684         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40685         double-precision for the calculation instead of scaling.
40686
40687 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40688
40689         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40690         manipulate bits before adding and subtracting TWO52[sx].
40691         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40692         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40693         Likewise.
40694         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40695
40696 2012-03-13  David S. Miller  <davem@davemloft.net>
40697
40698         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40699         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40700         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40701         rtld-global-offsets.h
40702         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40703
40704         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40705         large parameters.
40706
40707         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40708
40709         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40710         'err' in the ifdef scope in which it is actually used.
40711
40712         * nss/nss_db/db-init.c: Include string.h
40713
40714 2012-03-12  David S. Miller  <davem@davemloft.net>
40715
40716         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40717         masking out of the most significant byte of random value used.
40718         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40719         Fix coding style in previous change.
40720
40721         * sysdeps/unix/sysv/linux/kernel-features.h
40722         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40723         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40724         expression.
40725         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40726         later.
40727
40728 2012-03-11  David S. Miller  <davem@davemloft.net>
40729
40730         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40731         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40732         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40733         for 'resultvar' otherwise things get truncated on 64-bit.
40734
40735         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40736         Fix masking out of the most significant byte of random value used.
40737
40738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40739
40740 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40741
40742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40743
40744 2012-03-09  David S. Miller  <davem@davemloft.net>
40745
40746         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40747         variables with appropriate CPP guards.
40748         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40749         from the frame pointer, not the stack pointer.  Correct layout
40750         comments.  Fix test on resulting framesize and the management of
40751         the outregs buffer for pltexit.  Preserve floating point return
40752         values across _dl_call_pltexit call.
40753         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40754         framesize and the management of the outregs buffer for pltexit.
40755         Preserve floating point return values across _dl_call_pltexit
40756         call.
40757         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40758         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40759         (la_sparc64_gnu_pltexit): New functions.
40760         (print_exit): Fix format string for return register value.
40761
40762 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40763
40764         * sunrpc/Makefile (others): Add rpcgen.
40765         ($(objpfx)rpcgen): Remove special build rule and dependency on
40766         libc.
40767         * sunrpc/rpcgen.c: New file.
40768
40769 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40770
40771         [BZ #13673]
40772         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40773         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40774         * sysdeps/i386/crti.S: Likewise.
40775         * sysdeps/i386/crtn.S: Likewise.
40776         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40777         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40778         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40779         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40780         * sysdeps/sh/crti.S: Likewise.
40781         * sysdeps/sh/crtn.S: Likewise.
40782         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40783
40784         [BZ #13673]
40785         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40786         with URL.
40787         * locale/programs/locfile-kw.gperf: Likewise.
40788         * locale/programs/charmap-kw.h: Regenerated.
40789         * locale/programs/locfile-kw.h: Likewise.
40790
40791         [BZ #13673]
40792         * intl/plural.y: Replace FSF snail mail address with URL.
40793         * intl/plural.c: Regenerated.
40794
40795 2012-03-09  Richard Henderson  <rth@twiddle.net>
40796
40797         * include/math_private.h: Remove file.
40798         * math/math_private.h: Move file ...
40799         * sysdeps/generic/math_private.h: ... here.
40800
40801         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40802         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40803         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40804
40805         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40806         and <math_private.h>.
40807         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40808         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40809         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40810         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40811         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40812         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40813         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40814         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40815         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40816         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40818         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40819         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40820         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40821         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40822         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40823         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40824         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40825         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40826         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40827         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40828         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40829         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40831         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40832         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40833         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40834         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40836         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40837         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40839         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40840         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40841         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40842         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40843         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40844         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40845         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40847         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40848         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40849         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40850         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40851         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40852         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40853         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40854         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40855         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40856         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40857         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40858         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40859         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40860         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40861         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40862         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40863         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40864         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40865         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40871         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40873         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40874         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40875         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40876         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40877         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40878         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40881         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40895         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40896         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40897         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40898         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40899         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40900         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40901         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40902         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40903         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40904         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40905         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40906         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40907         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40908         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40909         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40910         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40911         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40912         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40913         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40914         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40915         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40916         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40917         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40918         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40919         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40920         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40921         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40922         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40923         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40924         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40925         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40926         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40927         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40928         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40929         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40930         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40931         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40932         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40933         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40934         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40935         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40936         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40937         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40938         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40939         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40940         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40941         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40942         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40943         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40944         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40945         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40946         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40947         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40948         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40951         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40952         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40953         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40954         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40955         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40956         * sysdeps/ieee754/k_standard.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40990         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41030         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41031         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41072         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41077         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41079         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41084         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41089         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41105         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41106         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41107         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41117         * sysdeps/ieee754/s_lib_version.c: Likewise.
41118         * sysdeps/ieee754/s_matherr.c: Likewise.
41119         * sysdeps/ieee754/s_signgam.c: Likewise.
41120         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41121         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41122         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41123         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41124         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41125         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41126         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41127         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41128         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41129         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41130         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41131         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41132         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41133         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41134         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41135         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41137         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41138         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41141
41142 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41143
41144         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41145         * sunrpc/rpc_main.c: Likewise.
41146         * sunrpc/rpc_svcout.c: Likewise.
41147
41148 2012-03-09  David S. Miller  <davem@davemloft.net>
41149
41150         * include/math_private.h: New file.
41151
41152 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41153
41154         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41155         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41156         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41157         from <bits/socket_type.h>.
41158         (enum __socket_type): Don't define here.
41159         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41161         bits/socket_type.h.
41162
41163         [BZ #13566]
41164         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41165         checking __USE_GNU.
41166
41167         * Makerules ($(inst_includedir)/%.h): New rule.
41168         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41169         (install-others): Remove variable setting.
41170         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41171
41172 2012-03-08  Richard Henderson  <rth@twiddle.net>
41173
41174         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41175         from macro to inline function; merge with the
41176         !__LIBC_INTERNAL_MATH_INLINES version.
41177         (__ieee754_sqrtf): Likewise.
41178
41179         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41180         to inline function.
41181         (__rintf, __floor, __floorf): Likewise.
41182
41183         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41184         macro to inline function.
41185         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41186
41187         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41188         not <math/math_private.h>.
41189
41190 2012-03-08  David S. Miller  <davem@davemloft.net>
41191
41192         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41193         copyright year.
41194         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41195
41196 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41197
41198         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41199         normalization.
41200         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41201         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41202
41203 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41204
41205         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41206         be defined individually, they must be defined as a block.  Define
41207         S for printing a string instead of hidint the different by using a
41208         macro for adding the 'l'.
41209         * stdio-common/tst-fphex-wide.c: Adjust.
41210
41211 2012-03-07  Marek Polacek  <polacek@redhat.com>
41212
41213         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41214
41215 2012-03-08  Marek Polacek  <polacek@redhat.com>
41216
41217         [BZ #13806]
41218         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41219         * stdio-common/tst-fphex.c: Define a few macros to make the
41220         test reusable.  Use them.
41221         * stdio-common/tst-fphex-wide.c: New file.
41222
41223 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41224
41225         [BZ #6911]
41226         * manual/macros.texi (gnusystems): New macro.
41227         (nongnusystems): Likewise.
41228         (gnulinuxhurdsystems): Likewise.
41229         (gnuhurdsystems): Likewise..
41230         (gnulinuxsystems): Likewise.
41231         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41232         variants of the GNU system, not "GNU system".
41233         * manual/conf.texi: Likewise.
41234         * manual/errno.texi: Likewise.  Update example of errno macro
41235         expansion.
41236         * manual/filesys.texi: Likewise.
41237         (getumask): Document as specific to GNU/Hurd.
41238         * manual/install.texi: Likewise.  Reword some references to
41239         GNU/Linux.
41240         * manual/intro.texi: Likewise.
41241         * manual/io.texi: Likewise.
41242         (File Name Portability): Detail which constraints are inapplicable
41243         to all GNU systems and which are only inapplicable to GNU/Hurd.
41244         * manual/job.texi: Likewise.
41245         * manual/llio.texi: Likewise.
41246         (O_NOCTTY): Document as present on GNU/Linux.
41247         * manual/maint.texi: Likewise.
41248         * manual/memory.texi: Likewise.
41249         * manual/pattern.texi: Likewise.
41250         * manual/pipe.texi: Likewise.
41251         * manual/process.texi: Likewise.
41252         * manual/resource.texi: Likewise.
41253         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41254         child on GNU/Hurd.
41255         * manual/setjmp.texi: Likewise.
41256         * manual/signal.texi: Likewise.
41257         * manual/startup.texi: Likewise.
41258         * manual/stdio.texi: Likewise.
41259         * manual/terminal.texi: Likewise.
41260         (ONLCR): Document as POSIX.
41261         (OXTABS): Document availability on GNU/Linux as XTABS.
41262         (ONOEOT): Document availability separately from other bits.
41263         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41264         * manual/time.texi: Likewise.
41265         * manual/users.texi: Likewise.
41266         * INSTALL: Regenerated.
41267         * sysdeps/gnu/errlist.c: Regenerated.
41268
41269         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41270         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41271         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41272         puts.
41273         * configure: Regenerated.
41274
41275 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41276
41277         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41278         default includes instead of AC_HEADER_CHECK.
41279         * sysdeps/i386/configure: Regenerated.
41280
41281         [BZ #10716]
41282         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41283         * math/s_cacoshf.c (__cacoshf): Likewise.
41284         * math/s_cacoshl.c (__cacoshl): Likewise.
41285         * math/s_casinh.c (__casinh): Set signs of result from argument.
41286         * math/s_casinhf.c (__casinhf): Likewise.
41287         * math/s_casinhl.c (__casinhl): Likewise.
41288         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41289         (casinh_test): Add more tests.
41290         * sysdeps/i386/fpu/libm-test-ulps: Update.
41291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41292
41293 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41294
41295         * po/zh_TW.po: Update from translation team.
41296
41297         * login/Makefile (distribute): Remove variable.
41298         * catgets/Makefile: Likewise.
41299         * mach/Makefile: Likewise.
41300         * malloc/Makefile: Likewise.
41301         * misc/Makefile: Likewise.
41302         * iconv/Makefile: Likewise.
41303         * nscd/Makefile: Likewise.
41304         * hurd/Makefile: Likewise.
41305         * manual/Makefile: Likewise.
41306         * locale/Makefile: Likewise.
41307         * intl/Makefile: Likewise.
41308         * conform/Makefile: Likewise.
41309         * nss/Makefile: Likewise.
41310         * time/Makefile: Likewise.
41311         * soft-fp/Makefile: Likewise.
41312         * dirent/Makefile: Likewise.
41313         * gmon/Makefile: Likewise.
41314         * po/Makefile: Likewise.
41315         * rt/Makefile: Likewise.
41316         * socket/Makefile: Likewise.
41317         * math/Makefile: Likewise.
41318         * signal/Makefile: Likewise.
41319         * debug/Makefile: Likewise.
41320         * elf/Makefile: Likewise.
41321         * timezone/Makefile: Likewise.
41322         * stdlib/Makefile: Likewise.
41323         * iconvdata/Makefile: Likewise.
41324         * sunrpc/Makefile: Likewise.
41325         * io/Makefile: Likewise.
41326         * argp/Makefile: Likewise.
41327         * inet/Makefile: Likewise.
41328         * hesiod/Makefile: Likewise.
41329         * grp/Makefile: Likewise.
41330         * csu/Makefile: Likewise.
41331         * wctype/Makefile: Likewise.
41332         * crypt/Makefile: Likewise.
41333         * libio/Makefile: Likewise.
41334         * string/Makefile: Likewise.
41335         * nis/Makefile: Likewise.
41336         * resolv/Makefile: Likewise.
41337         * stdio-common/Makefile: Likewise.
41338         * wcsmbs/Makefile: Likewise.
41339         * dlfcn/Makefile: Likewise.
41340         * posix/Makefile: Likewise.
41341
41342         [BZ #6959]
41343         * timezone/Makefile: Don't install timezone files, just the programs
41344         and scripts.
41345
41346 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41347
41348         * nss/databases.def: Add missing gshadow entry.
41349
41350         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41351
41352 2012-03-06  Marek Polacek  <polacek@redhat.com>
41353
41354         [BZ #13726]
41355         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41356         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41357         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41358         * stdio-common/tst-long-dbl-fphex.c: New file.
41359
41360 2012-03-06  David S. Miller  <davem@davemloft.net>
41361
41362         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41363         (set_obp_int): New function.
41364         (get_obp_int): New function.
41365         (__get_clockfreq_via_dev_openprom): Likewise.
41366         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41367         Avoid unused variable warnings on 'val' and use builtin_expect.
41368         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41369         __builtin_expect.
41370         (INLINE_CLONE_SYSCALL): Likewise.
41371
41372 2012-03-05  David S. Miller  <davem@davemloft.net>
41373
41374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41375
41376 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41377
41378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41379
41380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41381         only for |x| >= 40.
41382         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41383
41384 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41385
41386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41387         Replace gettimeofday with __vdso_gettimeofday.
41388
41389         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41390         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41391         __vdso_clock_gettime and __vdso_getcpu.
41392
41393         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41394         time with __vdso_time.
41395
41396 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41397
41398         * manual/lang.texi (size_t): Note types to which size_t may be
41399         equivalent with the GNU C Library, but do not describe when
41400         differences between them are significant.
41401
41402 2012-03-05  Andreas Jaeger  <aj@suse.de>
41403
41404         * sysdeps/i386/fpu/libm-test-ulps: Update.
41405
41406 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41407
41408         [BZ #3976]
41409         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41410         (__ieee754_pow): Save and restore rounding mode and use
41411         round-to-nearest for main computations.
41412         * math/libm-test.inc (pow_test_tonearest): New function.
41413         (pow_test_towardzero): Likewise.
41414         (pow_test_downward): Likewise.
41415         (pow_test_upward): Likewise.
41416         (main): Call the new functions.
41417         * sysdeps/i386/fpu/libm-test-ulps: Update.
41418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41419
41420         [BZ #3976]
41421         * math/libm-test.inc (cosh_test_tonearest): New function.
41422         (cosh_test_towardzero): Likewise.
41423         (cosh_test_downward): Likewise.
41424         (cosh_test_upward): Likewise.
41425         (sinh_test_tonearest): Likewise.
41426         (sinh_test_towardzero): Likewise.
41427         (sinh_test_downward): Likewise.
41428         (sinh_test_upward): Likewise.
41429         (main): Call the new functions.
41430         * sysdeps/i386/fpu/libm-test-ulps: Update.
41431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41432
41433 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41434
41435         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41436         default stack guard is set in last bytes.
41437         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41438
41439 2012-03-05  Kees Cook  <keescook@chromium.org>
41440
41441         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41442
41443         [BZ #13656]
41444         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41445         possibly allocate from heap instead of stack.
41446         * stdio-common/bug-vfprintf-nargs.c: New file.
41447         * stdio-common/Makefile (tests): Add nargs overflow test.
41448
41449 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41450
41451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41452
41453 2012-03-03  Marek Polacek  <polacek@redhat.com>
41454
41455         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41456         * math/math_private.h: Likewise.
41457         * stdlib/tst-strtod.c: Likewise.
41458         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41459         * sysdeps/x86_64/bits/atomic.h: Likewise.
41460
41461 2012-03-02  David S. Miller  <davem@davemloft.net>
41462
41463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41467         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41468         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41469         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41470         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41471
41472 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41473
41474         [BZ #13792]
41475         * manual/examples/README: New file, says the example source files
41476         can be used under GPL>=2.
41477         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41478         line containing just "*/".
41479         * manual/examples/add.c: Add copyright header (GPL>=2).
41480         * manual/examples/argp-ex1.c: Likewise.
41481         * manual/examples/argp-ex2.c: Likewise.
41482         * manual/examples/argp-ex3.c: Likewise.
41483         * manual/examples/argp-ex4.c: Likewise.
41484         * manual/examples/atexit.c: Likewise.
41485         * manual/examples/db.c: Likewise.
41486         * manual/examples/dir.c: Likewise.
41487         * manual/examples/dir2.c: Likewise.
41488         * manual/examples/execinfo.c: Likewise.
41489         * manual/examples/filecli.c: Likewise.
41490         * manual/examples/filesrv.c: Likewise.
41491         * manual/examples/fmtmsgexpl.c: Likewise.
41492         * manual/examples/genpass.c: Likewise.
41493         * manual/examples/inetcli.c: Likewise.
41494         * manual/examples/inetsrv.c: Likewise.
41495         * manual/examples/isockad.c: Likewise.
41496         * manual/examples/longopt.c: Likewise.
41497         * manual/examples/memopen.c: Likewise.
41498         * manual/examples/memstrm.c: Likewise.
41499         * manual/examples/mkfsock.c: Likewise.
41500         * manual/examples/mkisock.c: Likewise.
41501         * manual/examples/mygetpass.c: Likewise.
41502         * manual/examples/pipe.c: Likewise.
41503         * manual/examples/popen.c: Likewise.
41504         * manual/examples/rprintf.c: Likewise.
41505         * manual/examples/search.c: Likewise.
41506         * manual/examples/select.c: Likewise.
41507         * manual/examples/setjmp.c: Likewise.
41508         * manual/examples/sigh1.c: Likewise.
41509         * manual/examples/sigusr.c: Likewise.
41510         * manual/examples/stpcpy.c: Likewise.
41511         * manual/examples/strdupa.c: Likewise.
41512         * manual/examples/strftim.c: Likewise.
41513         * manual/examples/strncat.c: Likewise.
41514         * manual/examples/subopt.c: Likewise.
41515         * manual/examples/swapcontext.c: Likewise.
41516         * manual/examples/termios.c: Likewise.
41517         * manual/examples/testopt.c: Likewise.
41518         * manual/examples/testpass.c: Likewise.
41519         * manual/examples/timeval_subtract.c: Likewise.
41520
41521         [BZ #13792]
41522         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41523         function to ...
41524         * manual/timeval_subtract.c.texi: ... here, new file.
41525
41526 2012-03-02  David S. Miller  <davem@davemloft.net>
41527
41528         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41529
41530 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41531
41532         [BZ #3976]
41533         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41534         (__sin): Save and restore rounding mode and use round-to-nearest
41535         for all computations.
41536         (__cos): Save and restore rounding mode and use round-to-nearest
41537         for all computations.
41538         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41539         <fenv.h>.
41540         (tan): Save and restore rounding mode and use round-to-nearest for
41541         all computations.
41542         * math/libm-test.inc (cos_test_tonearest): New function.
41543         (cos_test_towardzero): Likewise.
41544         (cos_test_downward): Likewise.
41545         (cos_test_upward): Likewise.
41546         (sin_test_tonearest): Likewise.
41547         (sin_test_towardzero): Likewise.
41548         (sin_test_downward): Likewise.
41549         (sin_test_upward): Likewise.
41550         (tan_test_tonearest): Likewise.
41551         (tan_test_towardzero): Likewise.
41552         (tan_test_downward): Likewise.
41553         (tan_test_upward): Likewise.
41554         (main): Call the new functions.
41555         * sysdeps/i386/fpu/libm-test-ulps: Update.
41556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41557
41558         [BZ #10135]
41559         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41560         small n, then large n, before computing and testing k+n.
41561         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41563         Likewise.
41564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41565         Likewise.
41566         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41567         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41570         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41571         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41572         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41573         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41574         * math/libm-test.inc (scalbn_test): Add more tests.
41575         (scalbln_test): Likewise.
41576
41577         * manual/filesys.texi (mode_t): Describe constraints on size and
41578         signedness, not exact equivalence to a particular type.
41579         (ino_t): Likewise.
41580         (ino64_t): Likewise.
41581         (dev_t): Likewise.
41582         (nlink_t): Likewise.
41583         (blkcnt_t): Likewise.
41584         (blkcnt64_t): Likewise.
41585         * manual/llio.texi (off_t): Likewise.
41586
41587         [BZ #3976]
41588         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41589         (__ieee754_exp): Save and restore rounding mode and use
41590         round-to-nearest for all computations.
41591         * math/libm-test.inc (exp_test_tonearest): New function.
41592         (exp_test_towardzero): Likewise.
41593         (exp_test_downward): Likewise.
41594         (exp_test_upward): Likewise.
41595         (main): Call the new functions.
41596         * sysdeps/i386/fpu/libm-test-ulps: Update.
41597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41598
41599 2012-03-01  Chris Demetriou  <cgd@google.com>
41600
41601         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41602         have predictable order.
41603
41604 2012-03-01  David S. Miller  <davem@davemloft.net>
41605
41606         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41607
41608         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41609         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41610         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41611         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41612
41613         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41614         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41615         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41617         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41618         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41619         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41620         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41621         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41622
41623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41624
41625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41626         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41627         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41628
41629         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41630         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41631         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41632         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41633         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41634         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41635         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41636         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41637         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41638         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41639         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41640         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41642         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41643         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41645         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41646         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41647         * sysdeps/sparc/elf/configure: Regenerated.
41648
41649 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41650
41651         * configure.in (AS, LD): Require binutils 2.20 or later.
41652         * configure: Regenerated.
41653         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41654         as required minimum version.
41655         * INSTALL: Regenerated.
41656
41657         [BZ #2541]
41658         [BZ #4108]
41659         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41660         before squaring exponent.
41661         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41662         bottom long double and 27 bits of top long double before squaring
41663         exponent.
41664         * math/libm-test.inc (erfc_test): Add more tests.
41665         * sysdeps/i386/fpu/libm-test-ulps: Update.
41666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41668
41669 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41670
41671         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41672         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41673         containing bit-fields.
41674         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41675         * soft-fp/single.h (_FP_UNION_S): Likewise.
41676         * soft-fp/double.h (_FP_UNION_D): Likewise.
41677
41678 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41679
41680         [BZ #13786]
41681         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41682         not include ../strcmp.S.
41683         [USE_AS_STRNCASECMP_L]: Likewise.
41684         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41685         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41686         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41687         (__strncasecmp_l_ia32): Define as alias to
41688         __strncasecmp_l_nonascii.
41689
41690         [BZ #5794]
41691         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41692         * sysdeps/i386/fpu/libm-test-ulps: Update.
41693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41694
41695         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41697
41698 2012-02-29  Jeff Law  <law@redhat.com>
41699
41700         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41701         out of bounds read.
41702
41703 2012-02-29  Marek Polacek  <polacek@redhat.com>
41704
41705         [BZ #13706]
41706         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41707         * elf/Makefile: Add rules to run tst-unused-dep.out.
41708
41709 2012-02-28  David S. Miller  <davem@davemloft.net>
41710
41711         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41712         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41713         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41715         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41716         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41717
41718 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41719
41720         * math/libm-test.inc (llround_test): Move one test from
41721         lround_test.  Use TEST_f_L in moved test.
41722         (lround_test): Move misplaced test to llround_test.  Add testcase
41723         from bug 2561.
41724
41725 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41726
41727         * sysdeps/x86_64/fpu/e_expf.S: New file.
41728         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41729
41730 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41731
41732         [BZ #13637]
41733         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41734         of remain_len that may cause incomplete multi-byte character and
41735         false match.
41736         * posix/bug-regex33.c: New file.
41737         * posix/Makefile (tests): Add bug-regex33.
41738
41739 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41740
41741         * manual/macros.texi: New file.
41742         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41743         * manual/libc.texinfo: Include macros.texi.
41744         * manual/creatute.texi: Likewise.
41745         * manual/install.texi: Likewise.
41746         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41747         @glibcadj{} in references to the GNU C Library.
41748         * manual/charset.texi: Likewise.
41749         * manual/conf.texi: Likewise.
41750         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41751         when not using those macros.
41752         * manual/creature.texi: Likewise.
41753         * manual/crypt.texi: Likewise.
41754         * manual/errno.texi: Likewise.
41755         * manual/filesys.texi: Likewise.
41756         * manual/header.texi: Likewise.
41757         * manual/install.texi: Likewise.
41758         * manual/intro.texi: Likewise.
41759         * manual/io.texi: Likewise.
41760         * manual/job.texi: Likewise.
41761         * manual/lang.texi: Likewise.
41762         * manual/libc.texiinfo: Likewise.
41763         * manual/llio.texi: Likewise.
41764         * manual/locale.texi: Likewise.
41765         * manual/maint.texi: Likewise.
41766         * manual/math.texi: Likewise.
41767         * manual/memory.texi: Likewise.
41768         * manual/message.texi: Likewise.
41769         * manual/nss.texi: Likewise.
41770         * manual/pattern.texi: Likewise.
41771         * manual/process.texi: Likewise.
41772         * manual/resource.texi: Likewise.
41773         * manual/search.texi: Likewise.
41774         * manual/setjmp.texi: Likewise.
41775         * manual/signal.texi: Likewise.
41776         * manual/socket.texi: Likewise.
41777         * manual/startup.texi: Likewise.
41778         * manual/stdio.texi: Likewise.
41779         * manual/string.texi: Likewise.
41780         * manual/sysinfo.texi: Likewise.
41781         * manual/syslog.texi: Likewise.
41782         * manual/terminal.texi: Likewise.
41783         * manual/time.texi: Likewise.
41784         * manual/users.texi: Likewise.
41785         * INSTALL: Regenerated.
41786         * NOTES: Regenerated.
41787         * sysdeps/gnu/errlist.c: Regenerated.
41788
41789 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41790
41791         * include/dirent.h: Include <dirstream.h> before
41792         <dirent/dirent.h>.
41793
41794 2012-02-28  David S. Miller  <davem@davemloft.net>
41795
41796         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41797         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41798         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41799         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41800
41801 2012-02-27  David S. Miller  <davem@davemloft.net>
41802
41803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41805         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41806         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41807
41808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41809         frame pointer instead of stack pointer relative arg slot.
41810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41811         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41812         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41813
41814 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41815
41816         [BZ #3992]
41817         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41818
41819 2012-02-27  David S. Miller  <davem@davemloft.net>
41820
41821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41825         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41826         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41827         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41828         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41829
41830 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41831
41832         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41833         later.  Allow versions 5-9.
41834         * configure: Regenerated.
41835         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41836         required minimum version and 4.6 as recommended version.  Do not
41837         mention bugs in GCC 2.7 and 2.8.
41838         * INSTALL: Regenerated.
41839
41840 2012-02-27  David S. Miller  <davem@davemloft.net>
41841
41842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41846         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41847         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41848         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41849         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41850
41851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41852         manipulate bits before adding and subtracting TWO112[sx].
41853         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41854
41855 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41856
41857         [BZ #13775]
41858         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41859         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41860         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41861         being in POSIX, because they are in 1003.1-2008.
41862
41863         * rt/tst-aio.c: Include <fcntl.h>.
41864         * rt/tst-aio7.c: Likewise.
41865         * rt/tst-aio64.c: Likewise.
41866
41867         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41868
41869 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41870
41871         * manual/install.texi (--with-headers): Describe headers as
41872         interface headers, not private headers.
41873         (Specific advice for GNU/Linux systems): Describe use of headers
41874         from "make headers_install", not private headers from older
41875         kernels.
41876         * INSTALL: Regenerated.
41877         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41878         Change to 2.6.19.
41879         * sysdeps/unix/sysv/linux/configure: Regenerated.
41880
41881         * manual/llio.texi (fclean): Remove documentation.
41882
41883         * manual/Makefile (libc-texi-generated): New variable.  Include
41884         version.texi.
41885         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41886         $(libc-texi-generated), not duplicated list of files.
41887         (version.texi, stamp-version): New rules.
41888         (realclean): Remove $(libc-texi-generated), not individual files
41889         from that list.  Do not remove dir-add.texinfo.
41890         * manual/libc.texinfo: Comment out uses of edition numbers and
41891         references to printed manual.  Remove last-updated dates.
41892         (EDITION): Comment out.
41893         (ISBN): Likewise.
41894         (VERSION, UPDATED): Remove.
41895         (version.texi): Include.
41896
41897 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41898
41899         * sysdeps/posix/spawni.c: Include <signal.h>.
41900         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41901         * sysdeps/pthread/aio_fsync.c: Likewise.
41902
41903 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41904
41905         * conform/Makefile (tests): Run only when not cross-compiling and
41906         when fast-check is not defined.
41907
41908         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41909         * conform/data/limits.h-data: Fixes for POSIX2008.
41910         * conform/run-conformtest.sh: Run all tests.
41911         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41912         headers.
41913         * include/bits/dlfcn.h: Likewise.
41914         * include/langinfo.h: Likewise.
41915         * include/monetary.h: Likewise.
41916         * include/sys/poll.h: Likewise.
41917
41918         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41919         for __USE_GNU.
41920         * posix/spawn.h: Define __need_sigset_t.
41921         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41922         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41923         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41924         to get sigevent_t only.
41925         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41926         only for __USE_GNU.
41927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41928         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41929         process_vm_writev only for __USE_GNU.
41930         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41931
41932         * conform/Makefile: For now ignore errors from run-conformtest.
41933         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41934         POSIX to avoid namespace pollution.  Don't prepend headers.
41935         * conform/data/aio.h-data: Fixes for POSIX testing.
41936         * conform/data/fcntl.h-data: Likewise.
41937         * conform/data/glob.h-data: Likewise.
41938         * conform/data/grp.h-data: Likewise.
41939         * conform/data/pthread.h-data: Likewise.
41940         * conform/data/pwd.h-data: Likewise.
41941         * conform/data/signal.h-data: Likewise.
41942         * conform/data/spawn.h-data: Likewise.
41943         * conform/data/stdio.h-data: Likewise.
41944         * conform/data/stdlib.h-data: Likewise.
41945         * conform/data/stropts.h-data: Likewise.
41946         * conform/data/sys/mman.h-data: Likewise.
41947         * conform/data/sys/stat.h-data: Likewise.
41948         * conform/data/sys/types.h-data: Likewise.
41949         * conform/data/sys/wait.h-data: Likewise.
41950         * conform/data/time.h-data: Likewise.
41951         * conform/data/unistd.h-data: Likewise.
41952         * conform/data/utime.h-data: Likewise.
41953
41954         * io/sys/stat.h: fchmod was always in POSIX.
41955         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41956         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41957         * rt/aio.h: Define __need_timespec before including <time.h>.
41958         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41959         struct.  Add forward declaration of pthread_attr_t and use it in
41960         sigevent.
41961         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41963         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41964         always remove CLK_TCK definition.
41965
41966 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41967
41968         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41969
41970 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41971
41972         * conform/run-conformtest.sh: New file.
41973         * conform/Makefile: Run run-conformtest for tests.
41974         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41975         support.
41976
41977         * conform/data/uchar.h-data: New file.
41978         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41979         * conform/data/arpa/inet.h-data: Likewise.
41980         * conform/data/assert.h-data: Likewise.
41981         * conform/data/complex.h-data: Likewise.
41982         * conform/data/cpio.h-data: Likewise.
41983         * conform/data/ctype.h-data: Likewise.
41984         * conform/data/dirent.h-data: Likewise.
41985         * conform/data/dlfcn.h-data: Likewise.
41986         * conform/data/errno.h-data: Likewise.
41987         * conform/data/fcntl.h-data: Likewise.
41988         * conform/data/float.h-data: Likewise.
41989         * conform/data/fmtmsg.h-data: Likewise.
41990         * conform/data/fnmatch.h-data: Likewise.
41991         * conform/data/ftw.h-data: Likewise.
41992         * conform/data/glob.h-data: Likewise.
41993         * conform/data/grp.h-data: Likewise.
41994         * conform/data/iconv.h-data: Likewise.
41995         * conform/data/inttypes.h-data: Likewise.
41996         * conform/data/langinfo.h-data: Likewise.
41997         * conform/data/libgen.h-data: Likewise.
41998         * conform/data/limits.h-data: Likewise.
41999         * conform/data/locale.h-data: Likewise.
42000         * conform/data/math.h-data: Likewise.
42001         * conform/data/monetary.h-data: Likewise.
42002         * conform/data/mqueue.h-data: Likewise.
42003         * conform/data/ndbm.h-data: Likewise.
42004         * conform/data/net/if.h-data: Likewise.
42005         * conform/data/netdb.h-data: Likewise.
42006         * conform/data/netinet/in.h-data: Likewise.
42007         * conform/data/nl_types.h-data: Likewise.
42008         * conform/data/poll.h-data: Likewise.
42009         * conform/data/pthread.h-data: Likewise.
42010         * conform/data/pwd.h-data: Likewise.
42011         * conform/data/regex.h-data: Likewise.
42012         * conform/data/sched.h-data: Likewise.
42013         * conform/data/search.h-data: Likewise.
42014         * conform/data/semaphore.h-data: Likewise.
42015         * conform/data/setjmp.h-data: Likewise.
42016         * conform/data/signal.h-data: Likewise.
42017         * conform/data/spawn.h-data: Likewise.
42018         * conform/data/stdarg.h-data: Likewise.
42019         * conform/data/stdio.h-data: Likewise.
42020         * conform/data/stdlib.h-data: Likewise.
42021         * conform/data/string.h-data: Likewise.
42022         * conform/data/strings.h-data: Likewise.
42023         * conform/data/stropts.h-data: Likewise.
42024         * conform/data/sys/ipc.h-data: Likewise.
42025         * conform/data/sys/mman.h-data: Likewise.
42026         * conform/data/sys/msg.h-data: Likewise.
42027         * conform/data/sys/resource.h-data: Likewise.
42028         * conform/data/sys/select.h-data: Likewise.
42029         * conform/data/sys/sem.h-data: Likewise.
42030         * conform/data/sys/shm.h-data: Likewise.
42031         * conform/data/sys/socket.h-data: Likewise.
42032         * conform/data/sys/stat.h-data: Likewise.
42033         * conform/data/sys/statvfs.h-data: Likewise.
42034         * conform/data/sys/time.h-data: Likewise.
42035         * conform/data/sys/timeb.h-data: Likewise.
42036         * conform/data/sys/times.h-data: Likewise.
42037         * conform/data/sys/types.h-data: Likewise.
42038         * conform/data/sys/uio.h-data: Likewise.
42039         * conform/data/sys/un.h-data: Likewise.
42040         * conform/data/sys/utsname.h-data: Likewise.
42041         * conform/data/sys/wait.h-data: Likewise.
42042         * conform/data/syslog.h-data: Likewise.
42043         * conform/data/tar.h-data: Likewise.
42044         * conform/data/termios.h-data: Likewise.
42045         * conform/data/utime.h-data: Likewise.
42046         * conform/data/utmpx.h-data: Likewise.
42047         * conform/data/varargs.h-data: Likewise.
42048         * conform/data/wchar.h-data: Likewise.
42049         * conform/data/wctype.h-data: Likewise.
42050         * conform/data/wordexp.h-data: Likewise.
42051
42052         * include/stropts.h: New file.
42053         * include/uchar.h: New file.
42054         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42055         * include/assert.h: Likewise.
42056         * include/ctype.h: Likewise.
42057         * include/dirent.h: Likewise.
42058         * include/dlfcn.h: Likewise.
42059         * include/fcntl.h: Likewise.
42060         * include/fnmatch.h: Likewise.
42061         * include/glob.h: Likewise.
42062         * include/grp.h: Likewise.
42063         * include/libio.h: Likewise.
42064         * include/locale.h: Likewise.
42065         * include/math.h: Likewise.
42066         * include/net/if.h: Likewise.
42067         * include/netdb.h: Likewise.
42068         * include/netinet/in.h: Likewise.
42069         * include/pthread.h: Likewise.
42070         * include/pwd.h: Likewise.
42071         * include/regex.h: Likewise.
42072         * include/sched.h: Likewise.
42073         * include/search.h: Likewise.
42074         * include/setjmp.h: Likewise.
42075         * include/signal.h: Likewise.
42076         * include/stdio.h: Likewise.
42077         * include/stdlib.h: Likewise.
42078         * include/string.h: Likewise.
42079         * include/sys/cdefs.h: Likewise.
42080         * include/sys/mman.h: Likewise.
42081         * include/sys/msg.h: Likewise.
42082         * include/sys/resource.h: Likewise.
42083         * include/sys/select.h: Likewise.
42084         * include/sys/socket.h: Likewise.
42085         * include/sys/stat.h: Likewise.
42086         * include/sys/statvfs.h: Likewise.
42087         * include/sys/time.h: Likewise.
42088         * include/sys/times.h: Likewise.
42089         * include/sys/uio.h: Likewise.
42090         * include/sys/utsname.h: Likewise.
42091         * include/sys/wait.h: Likewise.
42092         * include/termios.h: Likewise.
42093         * include/time.h: Likewise.
42094         * include/ulimit.h: Likewise.
42095         * include/unistd.h: Likewise.
42096         * include/utime.h: Likewise.
42097         * include/wchar.h: Likewise.
42098         * include/wctype.h: Likewise.
42099         * include/wordexp.h: Likewise.
42100
42101         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42102
42103         * time/time.h: TIME_UTC must be a macro.
42104         Make timespec_get available for ISO C11 only as well.
42105
42106 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42107
42108         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42109         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42110
42111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42112
42113         * configure.in: Use -o not -a in test for unsupported multi-arch.
42114
42115 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42116
42117         * manual/texinfo.tex: Update to version 2012-01-19.16.
42118
42119 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42120
42121         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42122
42123 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42124
42125         [BZ #13738]
42126         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42127         * manual/fdl-1.3.texi: New file.
42128         * manual/fdl-1.1.texi: File removed.
42129
42130         [BZ #13738]
42131         * manual/libc.texinfo (FDL_VERSION): New @set.
42132         Use it for mention of FDL in cover text.
42133         (Documentation License): Use it in @include file name.
42134
42135 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42136             Roland McGrath  <roland@hack.frob.com>
42137
42138         [BZ #5461]
42139         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42140         (not LONG_LONG_MAX and LONG_LONG_MIN.
42141         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42142         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42143         name.
42144         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42145
42146 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42147
42148         [BZ #2547]
42149         [BZ #11365]
42150         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42151         manipulate bits before adding and subtracting TWO23[sx].
42152         * math/libm-test.inc (nearbyint_test): Add more tests.
42153
42154 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42155
42156         [BZ #2548]
42157         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42158         bits before adding and subtracting TWO23[sx].
42159         * math/libm-test.inc (rint_test): Add more tests.
42160         (rint_test_tonearest): Likewise.
42161         (rint_test_towardzero): Likewise.
42162         (rint_test_downward): Likewise.
42163         (rint_test_upward: Likewise.
42164
42165 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42166
42167         [BZ #10110]
42168         * include/stdc-predef.h: New file.  Extracted from features.h.
42169         * include/features.h: Include stdc-predef.h.
42170         * Makefile (headers): Add stdc-predef.h.
42171         * CONFORMANCE (Compiler limitations): Update.
42172
42173 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42174
42175         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42176
42177 2012-02-21  David S. Miller  <davem@davemloft.net>
42178
42179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42180         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42181
42182 2012-02-20  David S. Miller  <davem@davemloft.net>
42183
42184         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42185         using a normal save/restore sequence, rather than allocating a
42186         dummy stack frame just to store a frame pointer and restore.
42187         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42188
42189 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42190
42191         * manual/install.texi: Fix stray word in line-wrapped comment.
42192
42193 2012-02-20  David S. Miller  <davem@davemloft.net>
42194
42195         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42196         both binutils and gcc support GOTDATA.
42197
42198         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42199         "rd %pc" in the PIC register setup sequences.
42200
42201         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42202         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42203         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42204         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42205         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42207         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42210         (SYSCALL_ERROR_HANDLER): Likewise.
42211         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42212         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42214         (SYSCALL_ERROR_HANDLER): Likewise.
42215
42216         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42217         (HAVE_GCC_GOTDATA): New.
42218         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42219         relocation support in both binutils and gcc.
42220         * sysdeps/sparc/elf/configure: Regenerate.
42221
42222         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42223         * sysdeps/sparc/sparc32/elf/configure: Delete.
42224         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42225         * sysdeps/sparc/sparc64/elf/configure: Delete.
42226         * sysdeps/sparc/elf/configure.in: New file.
42227         * sysdeps/sparc/elf/configure: Generate.
42228
42229         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42230         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42231         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42232         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42233         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42234
42235 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42236
42237         * manual/install.texi: Do not mention specific glibc version
42238         numbers.
42239         * manual/libc.texinfo (VERSION, UPDATED): Update.
42240         (@copying): Use @copyright{} and range of years.
42241
42242 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42243
42244         [BZ #13695]
42245         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42246         [crti.S not in sysdirs] (generated): Do not append.
42247         [crti.S not in sysdirs] (omit-deps): Likewise.
42248         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42249         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42250         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42251         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42252         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42253         Likewise.
42254         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42255         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42256         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42257         * csu/defs.awk: Remove file.
42258         * sysdeps/generic/initfini.c: Likewise.
42259         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42260         variable.
42261         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42262         Likewise.
42263
42264 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42265
42266         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42267         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42268         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42269         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42270         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42271         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42272         <bits/epoll.h>.
42273         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42274         (__EPOLL_PACKED): Define to empty if not defined by
42275         <bits/epoll.h>.
42276         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42278         bits/epoll.h.
42279
42280 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42281
42282         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42283         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42284         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42285         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42286         <bits/timerfd.h>.
42287         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42289         bits/timerfd.h.
42290
42291 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42292
42293         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42294         in C locale.
42295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42296         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42297         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42299
42300 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42301
42302         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42303         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42304
42305 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42306
42307         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42308         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42309         defined.
42310         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42311         Likewise.
42312         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42313         entry for 2.16.
42314
42315 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42316
42317         * math/w_acos.c: Use non-signaling floating-point comparisons.
42318         * math/w_acosf.c: Likewise.
42319         * math/w_acosh.c: Likewise.
42320         * math/w_acoshf.c: Likewise.
42321         * math/w_acoshl.c: Likewise.
42322         * math/w_acosl.c: Likewise.
42323         * math/w_asin.c: Likewise.
42324         * math/w_asinf.c: Likewise.
42325         * math/w_asinl.c: Likewise.
42326         * math/w_atanh.c: Likewise.
42327         * math/w_atanhf.c: Likewise.
42328         * math/w_atanhl.c: Likewise.
42329         * math/w_exp2.c: Likewise.
42330         * math/w_exp2f.c: Likewise.
42331         * math/w_exp2l.c: Likewise.
42332         * math/w_j0.c: Likewise.
42333         * math/w_j0f.c: Likewise.
42334         * math/w_j0l.c: Likewise.
42335         * math/w_j1.c: Likewise.
42336         * math/w_j1f.c: Likewise.
42337         * math/w_j1l.c: Likewise.
42338         * math/w_jn.c: Likewise.
42339         * math/w_jnf.c: Likewise.
42340         * math/w_log.c: Likewise.
42341         * math/w_log10.c: Likewise.
42342         * math/w_log10f.c: Likewise.
42343         * math/w_log10l.c: Likewise.
42344         * math/w_log2.c: Likewise.
42345         * math/w_log2f.c: Likewise.
42346         * math/w_log2l.c: Likewise.
42347         * math/w_logf.c: Likewise.
42348         * math/w_logl.c: Likewise.
42349         * math/w_sqrt.c: Likewise.
42350         * math/w_sqrtf.c: Likewise.
42351         * math/w_sqrtl.c: Likewise.
42352         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42353         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42354         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42355         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42356         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42357
42358 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42359
42360         [BZ #9739]
42361         * manual/string.texi (strnlen): Use correct parameter name in
42362         equivalent expression.
42363
42364 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42365
42366         [BZ #11174]
42367         * manual/users.texi (seteuid): Consistently use neweuid for
42368         argument name.
42369
42370 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42371
42372         [BZ #13704]
42373         * manual/nss.texi (Services in the NSS configuration): Correct
42374         list of services in example configuration file.
42375
42376 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42377
42378         [BZ #11322]
42379         * manual/arith.texi: Remove statements about negative zero
42380         behaving identically to zero.
42381
42382 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42383
42384         [BZ #5993]
42385         * manual/install.texi: Do not document upgrading from libc5.
42386
42387 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42388
42389         [BZ #4596]
42390         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42391
42392 2012-02-18  David S. Miller  <davem@davemloft.net>
42393
42394         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42395         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42396         %o7 across the call.
42397         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42398         instead.
42399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42400         SETUP_PIC_REG_LEAF.
42401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42402         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42403         * sysdeps/sparc/crtn.S: Likewise.
42404
42405 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42406
42407         * aout/Makefile: Remove.
42408
42409 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42410
42411         [BZ #13058]
42412         * manual/examples/argp-ex1.c (main): Format definition in GNU
42413         style.
42414         * manual/examples/argp-ex2.c (main): Likewise.
42415         * manual/examples/argp-ex3.c (main): Likewise.
42416         * manual/examples/argp-ex4.c (main): Likewise.
42417         * manual/examples/longopt.c (main): Use new-style prototype
42418         definition.
42419         * manual/examples/strncat.c (main): Specify return type and use
42420         (void) for arguments.
42421         * manual/examples/subopt.c (main): Use char **argv argument.
42422
42423 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42424
42425         [BZ #5077]
42426         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42427         rounding modes.
42428
42429 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42430
42431         [BZ #6907]
42432         * manual/string.texi (strchr): Change when strchrnul is
42433         recommended.
42434
42435 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42436
42437         [BZ #174]
42438         * manual/locale.texi (setlocale): Document LOCPATH.
42439
42440 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42441
42442         [BZ #10210]
42443         * manual/process.texi (execle): Move @dots{} before last argument.
42444
42445 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42446
42447         [BZ #12047]
42448         * manual/charset.texi (Generic Charset Conversion): Fix typo
42449         (LC_TYPE -> LC_CTYPE).
42450
42451 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42452
42453         [BZ #5805]
42454         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42455         (scalbnf): Likewise.
42456         (scalbnl): Likewise.
42457         (scalbln): Likewise.
42458         (scalblnf): Likewise.
42459         (scalblnl): Likewise.
42460         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42461         (vwarnx): Likewise.
42462         (verr): Likewise.
42463         (verrx): Likewise.
42464         * manual/filesys.texi (telldir): Use braces around return type.
42465         * manual/llio.texi (mmap): Add space after comma.
42466         (mmap64): Likewise.
42467         * manual/math.texi (jn): Use @var{} on parameter names.
42468         (jnf): Likewise.
42469         (jnl): Likewise.
42470         (yn): Likewise.
42471         (ynf): Likewise.
42472         (ynl): Likewise.
42473         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42474         line.
42475         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42476         "...".
42477         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42478         (sched_get_priority_max): Likewise.
42479         * manual/signal.texi (sigvec): Add space after comma.
42480         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42481         names.
42482         (if_indextoname): Likewise.
42483         (if_freenameindex): Likewise.
42484         (sendto): Use ',' instead of '.' in prototype.
42485         * manual/startup.texi (syscall): Use @dots{} instead of literal
42486         "...".
42487         * manual/stdio.texi (__fpending): Separate initial words of
42488         paragraph from @deftypefun line.
42489         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42490         "...".
42491         (vsyslog): Use @var{} on parameter names.
42492         * manual/terminal.texi (stty): Use @var{} on parameter names.
42493         * manual/users.texi (getutmp): Use @var{} on parameter names.
42494         (getutmpx): Likewise.
42495
42496 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42497
42498         [BZ #6884]
42499         * manual/stdio.texi (fopen): Fix typos in description of
42500         ",ccs=STRING".
42501
42502 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42503
42504         [BZ #4026]
42505         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42506         get clock_id definition.
42507
42508 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42509
42510         [BZ #4822]
42511         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42512         (madvise): Cast every argument to void on its own.
42513
42514 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42515
42516         [BZ #9902]
42517         * manual/startup.texi (Exit Status): Fix typo.
42518
42519 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42520
42521         [BZ #10140]
42522         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42523         * manual/examples/argp-ex2.c: Likewise.
42524         * manual/examples/argp-ex3.c: Likewise.
42525
42526 2012-02-16  Richard Henderson  <rth@redhat.com>
42527
42528         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42529         * sysdeps/s390/s390-32/initfini.c: Remove.
42530         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42531         * sysdeps/s390/s390-64/initfini.c: Remove.
42532
42533 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42534
42535         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42536         compiler output for sysdeps/generic/initfini.c.
42537         * sysdeps/sh/elf/initfini.c: Remove file.
42538
42539 2012-02-16  David S. Miller  <davem@davemloft.net>
42540
42541         [BZ #11494]
42542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42543
42544         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42545         * sysdeps/sparc/crti.S: New file.
42546         * sysdeps/sparc/crtn.S: New file.
42547         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42548         * sysdeps/sparc/sparc64/Makefile: Likewise.
42549
42550 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42551
42552         [BZ #3335]
42553         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42554
42555 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42556
42557         [BZ #4822]
42558         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42559
42560         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42561         (write, read, close): Likewise.
42562         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42563
42564 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42565
42566         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42567         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42568         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42569         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42570         <bits/signalfd.h>.
42571         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42573         bits/signalfd.h.
42574
42575 2012-02-14  Marek Polacek  <polacek@redhat.com>
42576
42577         * sysdeps/x86_64/crti.S: New file.
42578         * sysdeps/x86_64/crtn.S: New file.
42579         * sysdeps/x86_64/elf/initfini.c: Remove file.
42580
42581 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42582
42583         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42584         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42585         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42586         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42587         <bits/inotify.h>.
42588         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42590         bits/inotify.h.
42591
42592 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42593
42594         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42595         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42596         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42597         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42598         <bits/eventfd.h>.
42599         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42601         bits/eventfd.h.
42602
42603 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42604
42605         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42606         __feraiseexcept instead of feraiseexcept.
42607
42608         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42609         nanosleep invocations.
42610         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42611         strings, and add error checking for a nanosleep invocations.
42612
42613 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42614
42615         Replace FSF snail mail address with URLs, as per GNU coding standards.
42616         Most of the snail mail addresses were wrong anyway, and omitting
42617         them makes the source code easier to maintain.  Almost all of the
42618         changes are to license notices and to locale LC_IDENTIFICATION
42619         addresses, except for this one:
42620         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42621         not its snail mail address.
42622
42623 2012-02-09  Richard Henderson  <rth@twiddle.net>
42624
42625         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42626         of kernel-features.h.
42627
42628         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42629
42630 2012-02-08  Marek Polacek  <polacek@redhat.com>
42631
42632         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42633         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42634         * sysdeps/gnu/_G_config.h: Likewise.
42635         * sysdeps/generic/_G_config.h: Likewise.
42636
42637 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42638
42639         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42640         tests.
42641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42642
42643         * sysdeps/powerpc/powerpc32/crti.S: New file.
42644         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42645         * sysdeps/powerpc/powerpc64/crti.S: New file.
42646         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42647
42648         * Makeconfig (have-initfini): Don't set.
42649         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42650         * configure.in (nopic_initfini): Don't substitute.
42651         * config.h.in (HAVE_INITFINI): Don't #undef.
42652         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42653         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42654
42655 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42656
42657         Support crti.S and crtn.S provided directly by architectures.
42658         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42659         [crti.S in sysdirs] (omit-deps): Likewise.
42660         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42661         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42662         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42663         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42664         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42665         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42666         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42667         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42668         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42669         compiler output for sysdeps/generic/initfini.c.
42670         * sysdeps/i386/elf/Makefile: Remove file.
42671         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42672
42673 2012-02-07  Marek Polacek  <polacek@redhat.com>
42674
42675         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42676         * sysdeps/gnu/_G_config.h: Likewise.
42677         * sysdeps/mach/hurd/_G_config.h: Likewise.
42678
42679 2012-02-07  Marek Polacek  <polacek@redhat.com>
42680
42681         * math/Makefile (tests): Add tst-CMPLX2.
42682         * math/tst-CMPLX2.c: New file.
42683
42684 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42685
42686         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42687
42688         * math/libm-test.inc (jn_test): Add missing L suffix.
42689
42690 2012-02-06  Marek Polacek  <polacek@redhat.com>
42691
42692         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42693         * sysdeps/i386/fpu/e_powf.S: Likewise.
42694         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42695         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42696         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42697         * sysdeps/i386/fpu/e_pow.S: Likewise.
42698         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42699         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42700         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42701         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42702         * sysdeps/i386/fpu/e_log2.S: Likewise.
42703         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42704         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42705         * sysdeps/i386/fpu/e_powl.S: Likewise.
42706         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42707         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42708         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42709         * sysdeps/i386/fpu/e_logl.S: Likewise.
42710         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42711         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42712         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42713         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42714         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42715         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42716         * sysdeps/i386/fpu/e_log.S: Likewise.
42717         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42718         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42719         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42720         * sysdeps/i386/fpu/e_logf.S: Likewise.
42721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42722         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42723         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42724         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42725         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42726         * sysdeps/i386/fpu/e_log10.S: Likewise.
42727         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42728         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42729         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42730         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42731         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42732         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42733         * sysdeps/i386/asm-syntax.h: Likewise.
42734         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42735         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42736         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42737         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42738         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42739         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42740         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42741         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42742         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42743         * sysdeps/powerpc/sysdep.h: Likewise.
42744         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42745         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42746
42747 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42748
42749         [BZ #411]
42750         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42751
42752 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42753
42754         * sysdeps/i386/sysdep.h: Include <features.h>.
42755         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42756         version.
42757
42758 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42759
42760         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42761         Define.
42762         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42763         LOAD_PIC_REG_STR.
42764
42765 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42766
42767         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42768         (SETUP_PIC_REG): Use GET_PC_THUNK.
42769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42770         macro.
42771
42772 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42773
42774         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42775         for non-PIC compilation.
42776         (SETUP_PIC_REG): Add .p2align directive.
42777         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42778         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42779         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42780         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42781         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42782         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42783         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42784         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42785         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42786         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42787         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42788         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42789         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42790         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42791         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42792         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42793         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42794         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42795         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42796         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42797         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42799         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42800         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42801         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42803         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42804         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42805         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42806         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42807         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42808         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42809         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42810         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42811         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42812         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42813         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42814         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42815         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42816         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42817         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42818
42819 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42820
42821         * math/tst-CMPLX.c: Include <stdio.h>.
42822
42823 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42824
42825         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42826         float.
42827         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42828         * sysdeps/sparc/bits/mathdef.h: Likewise.
42829
42830 2012-01-31  Marek Polacek  <polacek@redhat.com>
42831
42832         * libio/libio.h: Don't define _PARAMS.
42833         * locale/programs/config.h: Don't define PARAMS.
42834         * stdlib/strtol_l.c: Likewise.
42835         (__strtol_l): Remove PARAMS from the prototype.
42836
42837 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42838
42839         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42840         names.  Just use the correct names.  Remove unnecessary wrapper
42841         functions.
42842         * malloc/arena.c: Likewise.
42843         * malloc/hooks.c: Likewise.
42844
42845         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42846         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42847         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42848
42849 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42850
42851         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42852         into tail calls.
42853         (update_get_addr): New function.
42854         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42855         GET_ADDR_MODULE parameter.
42856
42857 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42858
42859         * crypt/cert.c: Remove __STDC__ conditionals.
42860         * crypt/crypt-entry.c: Likewise.
42861         * crypt/crypt_util.c: Likewise.
42862         * libio/filedoalloc.c: Likewise.
42863         * libio/fileops.c: Likewise.
42864         * libio/genops.c: Likewise.
42865         * libio/iofclose.c: Likewise.
42866         * libio/iofdopen.c: Likewise.
42867         * libio/iofopen.c: Likewise.
42868         * libio/iofopen64.c: Likewise.
42869         * libio/iogetdelim.c: Likewise.
42870         * libio/iopopen.c: Likewise.
42871         * libio/obprintf.c: Likewise.
42872         * libio/oldfileops.c: Likewise.
42873         * libio/oldiofclose.c: Likewise.
42874         * libio/oldiofdopen.c: Likewise.
42875         * libio/oldiofopen.c: Likewise.
42876         * libio/oldiopopen.c: Likewise.
42877         * libio/wfiledoalloc.c: Likewise.
42878         * libio/wgenops.c: Likewise.
42879         * locale/programs/xmalloc.c: Likewise.
42880         * misc/syslog.c: Likewise.
42881         * stdio-common/xbug.c: Likewise.
42882         * string/memchr.c: Likewise.
42883         * string/memcmp.c: Likewise.
42884         * string/memrchr.c: Likewise.
42885         * string/rawmemchr.c: Likewise.
42886         * sysdeps/posix/getcwd.c: Likewise.
42887         * time/strftime_l.c: Likewise.
42888
42889 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42890
42891         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42892         * config.make.in (config-cflags-sse2avx): Define.
42893         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42894         Fix typo.
42895
42896 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42897
42898         * scripts/config.guess: Update from upstream config git repository.
42899         * scripts/config.sub: Likewise.
42900
42901 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42902
42903         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42904         (EM_NUM): Update.
42905         (R_TILEPRO_*, R_TILEGX_*): New macros.
42906
42907         * scripts/firstversions.awk: Fix bug in version range handling.
42908
42909         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42910
42911         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42912
42913         * include/sys/epoll.h: New file.
42914         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42915         libc_hidden_def.
42916
42917 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42920         Avoid unnecessary __WORDSIZE == 64 test.
42921         (fmaxf): Use VEX format if possible.
42922         (fmax): Likewise.
42923         (fminf): Likewise.
42924         (fmin): Likewise.
42925
42926         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42927         * math/math_private.h: Remove libc_fegetround* and
42928         libc_fesetround*.
42929         * sysdeps/i386/configure.in: Check for -msse2avx.
42930         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42931         also if SSE2AVX is defined.
42932         Remove libc_fegetround* and libc_fesetround*.
42933         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42934         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42935         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42936         of HAS_YMM_USABLE.
42937         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42938         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42939         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42940         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42941         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42942
42943         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42944
42945 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42946
42947         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42948         size is not set.
42949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42950
42951 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42952
42953         [BZ #13618]
42954         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42955         relocation.
42956         * Makeconfig (libm): Define.
42957         * elf/Makefile: Add rules to build and run tst-relsort1.
42958         * elf/tst-relsort1.c: New file.
42959         * elf/tst-relsort1mod1.c: New file.
42960         * elf/tst-relsort1mod2.c: New file.
42961
42962 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42963
42964         * math/s_ldexp.c: Remove __STDC__ conditionals.
42965         * math/s_ldexpf.c: Likewise.
42966         * math/s_ldexpl.c: Likewise.
42967         * math/s_nextafter.c: Likewise.
42968         * math/s_nexttowardf.c: Likewise.
42969         * math/s_significand.c: Likewise.
42970         * math/s_significandf.c: Likewise.
42971         * math/s_significandl.c: Likewise.
42972         * math/w_jnl.c: Likewise.
42973         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42974         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42975         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42976         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42977         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42978         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42979         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42980         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42981         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42982         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42983         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42984         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42985         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42986         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42992         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42993         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42994         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42995         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42996         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42997         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42998         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42999         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43000         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43001         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43002         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43003         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43004         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43005         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43006         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43007         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43008         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43009         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43010         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43011         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43012         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43013         * sysdeps/ieee754/k_standard.c: Likewise.
43014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43015         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43016         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43018         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43019         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43020         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43021         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43022         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43023         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43024         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43025         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43026         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43027         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43028         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43029         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43032         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43033         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43034         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43035         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43037         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43046         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43047         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43052         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43053         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43062         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43067         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43073         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43075         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43076         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43077         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43079         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43080         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43081         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43082         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43086         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43088         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43089         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43092         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43093         * sysdeps/ieee754/s_matherr.c: Likewise.
43094         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43095         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43098
43099 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43100
43101         * crypt/md5.h: Remove __STDC__ conditionals.
43102         * libio/libioP.h: Likewise.
43103         * locale/programs/config.h: Likewise.
43104         * sysdeps/generic/sysdep.h: Likewise.
43105         * sysdeps/i386/asm-syntax.h: Likewise.
43106         * sysdeps/s390/asm-syntax.h: Likewise.
43107         * sysdeps/unix/sysdep.h: Likewise.
43108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43110
43111 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43112
43113         * libio/libio.h: Remove __STDC__ conditionals.
43114         * malloc/obstack.h: Likewise.
43115         * math/complex.h: Likewise.
43116         * math/math.h: Likewise.
43117         * sysdeps/generic/_G_config.h: Likewise.
43118         * sysdeps/gnu/_G_config.h: Likewise.
43119         * sysdeps/mach/hurd/_G_config.h: Likewise.
43120         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43121         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43122         * sysdeps/sparc/bits/mathdef.h: Likewise.
43123
43124 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43125
43126         [BZ #13583]
43127         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43128         Clean up HAS_* macros.
43129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43130         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43131         possible.
43132         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43133         HAS_AVX.
43134         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43135         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43136         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43137         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43138         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43139
43140 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43141
43142         * elf/tst-unique3.cc (gets): Remove declaration.
43143         * elf/tst-unique3lib.cc (gets): Likewise.
43144         * elf/tst-unique3lib2.cc (gets): Likewise.
43145         * elf/tst-unique4.cc (gets): Likewise.
43146
43147 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43148
43149         * include/stdio.h: Add C++ protection.  Add gets declarations and
43150         definitions.
43151         * debug/tst-chk1.c: Don't declare gets here.
43152         * stdio-common/tst-gets.c: Likewise.
43153
43154 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43155
43156         * posix/glob: Remove directory.
43157
43158 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43159
43160         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43161
43162 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43163
43164         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43165         of the non-standard EPFNOSUPPORT.
43166
43167 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43168
43169         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43170         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43171         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43172
43173 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43174
43175         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43176
43177 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43178
43179         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43180         transient errors.
43181         * nscd/grpcache.c (cache_addgr): Likewise.
43182         * nscd/hstcache.c (cache_addhst): Likewise.
43183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43184         * nscd/pwdcache.c (cache_addpw): Likewise.
43185         * nscd/servicescache.c (cache_addserv): Likewise.
43186
43187 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43188
43189         * malloc/malloc.c: Various cleanups.
43190         * malloc/hooks.c: Likewise.
43191
43192         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43193         * stdlib/bug-fmtmsg1.c: New file.
43194
43195         * stdlib/fmtmsg.c (init): Add missing unlock.
43196         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43197
43198 2012-01-12  Marek Polacek  <polacek@redhat.com>
43199
43200         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43201         and _GNU_SOURCE.
43202
43203 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43204
43205         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43206         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43207         macro to ensure uniqueness of label name.
43208         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43209         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43210
43211 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43212
43213         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43214
43215         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43216         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43217         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43218         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43219
43220 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43221
43222         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43223
43224         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43225         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43226         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43227
43228         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43229
43230         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43231         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43232         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43234
43235         * math/bits/math-finite.h: Add ldexp support.
43236
43237 2012-01-10  Marek Polacek  <polacek@redhat.com>
43238
43239         * locale/programs/localedef.h (show_archive_content): Add noreturn
43240         attribute.
43241
43242 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43243
43244         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43245
43246 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43247
43248         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43249
43250         * io/Makefile (headers): Add bits/poll2.h.
43251
43252 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43253
43254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43255         typo #include statement.
43256
43257 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43258
43259         * include/sys/cdefs.h: Define __attribute_alloc_size.
43260         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43261         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43262         * elf/pldd.c: Likewise.
43263         * iconv/iconv_charmap.c: Likewise.
43264         * iconv/iconvconfig.c: Likewise.
43265         * iconv/strtab.c: Likewise.
43266         * locale/programs/locale.c: Likewise.
43267         * locale/programs/localedef.h: Likewise.
43268         * locale/programs/simple-hash.c: Likewise.
43269         * nscd/nscd.h: Likewise.
43270         * nss/makedb.c: Likewise.
43271         * sysdeps/generic/ldconfig.h: Likewise.
43272         * locale/programs/localedef.c: Remove xmalloc prototype.
43273         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43274
43275 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43276
43277         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43278         appropriate.
43279
43280 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43281
43282         * math/Makefile (tests): Add tst-CMPLX.
43283         * math/tst-CMPLX.c: New file.
43284
43285         * math/complex.h (CMPLXL): Fix typo.
43286
43287         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43288         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43289         GLIBC_2.16.
43290         * debug/tst-chk1.c: Add poll and ppoll tests.
43291         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43292         * include/sys/poll.h: Add hidden proto for ppoll.
43293         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43294         * sysdeps/mach/hurd/ppoll.c: Likewise.
43295         * io/ppoll.c: Likewise.
43296         * debug/poll_chk.c: New file.
43297         * debug/ppoll_chk.c: New file.
43298         * include/bits/poll2.h: New file.
43299         * io/bits/poll2.h: New file.
43300
43301         [BZ #1350]
43302         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43303
43304         * configure.in: static is always set to yes.  Remove.
43305         * config.make.in: Don't set build-static.
43306         * Makeconfig: Remove use of build-static.
43307         * dlfcn/Makefile: Likewise.
43308         * elf/Makefile: Likewise.
43309         * math/Makefile: Likewise.
43310         * misc/Makefile: Likewise.
43311         * nptl/Makefile: Likewise.
43312         * sysdeps/mach/hurd/Makefile: Likewise.
43313
43314         * configure.in: PWD_P is not used anymore.
43315         * config.make.in: Remove PWD_P entry.
43316
43317         * configure.in: Remove last remnants of RANLIB.
43318         No need to check for signed size_t anymore.
43319         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43320         and IA-64.
43321         Remove __builtin_expect test because we require at least gcc 3.4.
43322         * aclocal.m4: Likewise.
43323
43324         * wcsmbs/mbrtoc16.c: Implement using towc function.
43325         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43326         * wcsmbs/wcsmbsload.c: Likewise.
43327         * iconv/gconv_simple.c: Likewise.
43328         * iconv/gconv_int.h: Likewise.
43329         * iconv/gconv_builtin.h: Likewise.
43330         * iconv/iconv_prog.c: Remove CHAR16 handling.
43331
43332         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43333
43334         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43335
43336         * configure.in: Remove --with-elf and --enable-bounded options.
43337         Dont set base_machine for ia64.  More non-ELF conditions removed.
43338         Remove testing and setting of leading underscore information.
43339         * config.make.in (build-bounded): Set to no.
43340         * config.h.in: Remove NO_UNDERSCORES entry.
43341         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43342         them.
43343         * csu/start.c: Remove !NO_UNDERSCORE code.
43344         * locale/localeinfo.h: Likewise.
43345         * sysdeps/generic/machine-gmon.h: Likewise.
43346         * sysdeps/generic/sysdep.h: Likewise.
43347         * sysdeps/i386/sysdep.h: Likewise.
43348         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43349         * sysdeps/mach/sysdep.h: Likewise.
43350         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43351         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43352         * sysdeps/sh/sysdep.h: Likewise.
43353         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43354         * sysdeps/unix/i386/sysdep.S: Likewise.
43355         * sysdeps/unix/sparc/start.c: Likewise.
43356         * sysdeps/unix/sparc/sysdep.S: Likewise.
43357         * sysdeps/unix/sparc/sysdep.h: Likewise.
43358         * sysdeps/unix/start.c: Likewise.
43359         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43360         * sysdeps/x86_64/sysdep.h: Likewise.
43361
43362 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43363
43364         [BZ #13553]
43365         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43366         for non-gcc.
43367         * argp/argp-fmtstream.h: Use const instead __const.
43368         * argp/argp.h: Likewise.
43369         * assert/assert.h: Likewise.
43370         * bits/fenv.h: Likewise.
43371         * bits/sched.h: Likewise.
43372         * bits/sigset.h: Likewise.
43373         * bits/sigthread.h: Likewise.
43374         * catgets/nl_types.h: Likewise.
43375         * conform/data/pthread.h-data: Likewise.
43376         * crypt/crypt-private.h: Likewise.
43377         * crypt/crypt.h: Likewise.
43378         * crypt/crypt_util.c: Likewise.
43379         * ctype/ctype.h: Likewise.
43380         * debug/execinfo.h: Likewise.
43381         * debug/mbsnrtowcs_chk.c: Likewise.
43382         * debug/mbsrtowcs_chk.c: Likewise.
43383         * debug/wcsnrtombs_chk.c: Likewise.
43384         * debug/wcsrtombs_chk.c: Likewise.
43385         * debug/wcstombs_chk.c: Likewise.
43386         * dirent/dirent.h: Likewise.
43387         * dlfcn/dlfcn.h: Likewise.
43388         * elf/neededtest4.c: Likewise.
43389         * grp/grp.h: Likewise.
43390         * gshadow/gshadow.h: Likewise.
43391         * iconv/gconv.h: Likewise.
43392         * iconv/gconv_int.h: Likewise.
43393         * iconv/gconv_simple.c: Likewise.
43394         * iconv/iconv.h: Likewise.
43395         * iconv/loop.c: Likewise.
43396         * iconv/skeleton.c: Likewise.
43397         * include/aio.h: Likewise.
43398         * include/aliases.h: Likewise.
43399         * include/argz.h: Likewise.
43400         * include/arpa/inet.h: Likewise.
43401         * include/assert.h: Likewise.
43402         * include/dirent.h: Likewise.
43403         * include/dlfcn.h: Likewise.
43404         * include/execinfo.h: Likewise.
43405         * include/fcntl.h: Likewise.
43406         * include/fenv.h: Likewise.
43407         * include/glob.h: Likewise.
43408         * include/grp.h: Likewise.
43409         * include/libintl.h: Likewise.
43410         * include/mntent.h: Likewise.
43411         * include/netdb.h: Likewise.
43412         * include/pwd.h: Likewise.
43413         * include/rpc/netdb.h: Likewise.
43414         * include/sched.h: Likewise.
43415         * include/search.h: Likewise.
43416         * include/shadow.h: Likewise.
43417         * include/signal.h: Likewise.
43418         * include/stdio.h: Likewise.
43419         * include/stdlib.h: Likewise.
43420         * include/string.h: Likewise.
43421         * include/sys/socket.h: Likewise.
43422         * include/sys/stat.h: Likewise.
43423         * include/sys/statfs.h: Likewise.
43424         * include/sys/statvfs.h: Likewise.
43425         * include/sys/syslog.h: Likewise.
43426         * include/sys/time.h: Likewise.
43427         * include/sys/uio.h: Likewise.
43428         * include/time.h: Likewise.
43429         * include/unistd.h: Likewise.
43430         * include/utmp.h: Likewise.
43431         * include/wchar.h: Likewise.
43432         * include/wctype.h: Likewise.
43433         * inet/aliases.h: Likewise.
43434         * inet/arpa/inet.h: Likewise.
43435         * inet/netinet/ether.h: Likewise.
43436         * inet/netinet/in.h: Likewise.
43437         * intl/libintl.h: Likewise.
43438         * io/bits/fcntl2.h: Likewise.
43439         * io/fcntl.h: Likewise.
43440         * io/ftw.h: Likewise.
43441         * io/sys/poll.h: Likewise.
43442         * io/sys/stat.h: Likewise.
43443         * io/sys/statfs.h: Likewise.
43444         * io/sys/statvfs.h: Likewise.
43445         * io/utime.h: Likewise.
43446         * libio/bits/stdio.h: Likewise.
43447         * libio/bits/stdio2.h: Likewise.
43448         * libio/libio.h: Likewise.
43449         * libio/libioP.h: Likewise.
43450         * libio/stdio.h: Likewise.
43451         * locale/lc-ctype.c: Likewise.
43452         * locale/locale.h: Likewise.
43453         * login/utmp.h: Likewise.
43454         * malloc/arena.c: Likewise.
43455         * malloc/malloc.c: Likewise.
43456         * malloc/malloc.h: Likewise.
43457         * malloc/mcheck.c: Likewise.
43458         * malloc/mtrace.c: Likewise.
43459         * math/bits/mathcalls.h: Likewise.
43460         * math/fenv.h: Likewise.
43461         * math/math_private.h: Likewise.
43462         * misc/bits/error.h: Likewise.
43463         * misc/bits/syslog.h: Likewise.
43464         * misc/err.h: Likewise.
43465         * misc/error.h: Likewise.
43466         * misc/fstab.h: Likewise.
43467         * misc/mntent.h: Likewise.
43468         * misc/regexp.h: Likewise.
43469         * misc/search.h: Likewise.
43470         * misc/sgtty.h: Likewise.
43471         * misc/sys/mman.h: Likewise.
43472         * misc/sys/syslog.h: Likewise.
43473         * misc/sys/uio.h: Likewise.
43474         * misc/sys/xattr.h: Likewise.
43475         * misc/ttyent.h: Likewise.
43476         * nis/rpcsvc/ypclnt.h: Likewise.
43477         * nss/nss.h: Likewise.
43478         * posix/bits/unistd.h: Likewise.
43479         * posix/fnmatch.h: Likewise.
43480         * posix/glob.h: Likewise.
43481         * posix/sched.h: Likewise.
43482         * posix/spawn.h: Likewise.
43483         * posix/sys/wait.h: Likewise.
43484         * posix/unistd.h: Likewise.
43485         * posix/wordexp.h: Likewise.
43486         * pwd/pwd.h: Likewise.
43487         * resolv/netdb.h: Likewise.
43488         * resource/sys/resource.h: Likewise.
43489         * rt/aio.h: Likewise.
43490         * rt/bits/mqueue2.h: Likewise.
43491         * rt/mqueue.h: Likewise.
43492         * shadow/shadow.h: Likewise.
43493         * signal/signal.h: Likewise.
43494         * socket/send.c: Likewise.
43495         * socket/sendto.c: Likewise.
43496         * socket/sys/socket.h: Likewise.
43497         * stdio-common/printf.h: Likewise.
43498         * stdlib/bits/stdlib.h: Likewise.
43499         * stdlib/fmtmsg.h: Likewise.
43500         * stdlib/monetary.h: Likewise.
43501         * stdlib/stdlib.h: Likewise.
43502         * stdlib/ucontext.h: Likewise.
43503         * streams/stropts.h: Likewise.
43504         * string/argz.h: Likewise.
43505         * string/bits/string2.h: Likewise.
43506         * string/string.h: Likewise.
43507         * string/strings.h: Likewise.
43508         * sunrpc/rpc/auth.h: Likewise.
43509         * sunrpc/rpc/auth_des.h: Likewise.
43510         * sunrpc/rpc/clnt.h: Likewise.
43511         * sunrpc/rpc/netdb.h: Likewise.
43512         * sunrpc/rpc/pmap_clnt.h: Likewise.
43513         * sunrpc/rpc/xdr.h: Likewise.
43514         * sysdeps/generic/inttypes.h: Likewise.
43515         * sysdeps/generic/net/if.h: Likewise.
43516         * sysdeps/generic/sys/swap.h: Likewise.
43517         * sysdeps/gnu/net/if.h: Likewise.
43518         * sysdeps/gnu/utmpx.h: Likewise.
43519         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43520         * sysdeps/i386/i486/bits/string.h: Likewise.
43521         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43522         * sysdeps/s390/bits/string.h: Likewise.
43523         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43524         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43525         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43526         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43527         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43528         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43529         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43530         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43531         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43532         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43533         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43534         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43535         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43536         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43537         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43538         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43539         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43543         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43544         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43545         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43546         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43547         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43548         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43549         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43550         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43551         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43552         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43553         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43554         * sysvipc/sys/ipc.h: Likewise.
43555         * sysvipc/sys/msg.h: Likewise.
43556         * sysvipc/sys/sem.h: Likewise.
43557         * sysvipc/sys/shm.h: Likewise.
43558         * termios/termios.h: Likewise.
43559         * time/sys/time.h: Likewise.
43560         * time/time.h: Likewise.
43561         * wcsmbs/bits/wchar2.h: Likewise.
43562         * wcsmbs/uchar.h: Likewise.
43563         * wcsmbs/wchar.h: Likewise.
43564         * wctype/wctype.h: Likewise.
43565
43566         [BZ #13551]
43567         * Makeconfig: Remove all but ELF support including AIX support.
43568         * Makerules: Likewise.
43569         * config.h.in: Likewise.
43570         * config.make.in: Likewise.
43571         * configure: Likewise.
43572         * configure.in: Likewise.
43573         * csu/Makefile: Likewise.
43574         * csu/version.c: Likewise.
43575         * debug/Makefile: Likewise.
43576         * dlfcn/Makefile: Likewise.
43577         * elf/Makefile: Likewise.
43578         * extra-lib.mk: Likewise.
43579         * iconv/Makefile: Likewise.
43580         * include/libc-symbols.h: Likewise.
43581         * include/shlib-compat.h: Likewise.
43582         * resolv/Makefile: Likewise.
43583         * resolv/res_libc.c: Likewise.
43584         * rt/Makefile: Likewise.
43585         * sysdeps/i386/asm-syntax.h: Likewise.
43586         * sysdeps/i386/sysdep.h: Likewise.
43587         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43588         * sysdeps/mach/sysdep.h: Likewise.
43589         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43590         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43591         * sysdeps/s390/asm-syntax.h: Likewise.
43592         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43593         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43594         * sysdeps/sh/sysdep.h: Likewise.
43595         * sysdeps/unix/sparc/sysdep.h: Likewise.
43596         * sysdeps/wordsize-32/divdi3.c: Likewise.
43597         * sysdeps/x86_64/sysdep.h: Likewise.
43598
43599         * argp/Versions: Remove _argp_unlock_xxx.
43600
43601         [BZ #13559]
43602         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43603         * abilist/libBrokenLocale.abilist: Likewise.
43604         * abilist/libanl.abilist: Likewise.
43605         * abilist/libc.abilist: Likewise.
43606         * abilist/libcrypt.abilist: Likewise.
43607         * abilist/libdl.abilist: Likewise.
43608         * abilist/libm.abilist: Likewise.
43609         * abilist/libnsl.abilist: Likewise.
43610         * abilist/libpthread.abilist: Likewise.
43611         * abilist/libresolv.abilist: Likewise.
43612         * abilist/librt.abilist: Likewise.
43613         * abilist/libthread_db.abilist: Likewise.
43614         * abilist/libutil.abilist: Likewise.
43615         * abilist/libnss_db.abilist: New file.
43616
43617         * scripts/abilist.awk: Add support for indirect functions.
43618
43619         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43620
43621         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43622
43623         * shlib-versions: Remove entries for ports architectures.
43624
43625         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43626         files in ports.
43627         * elf/stackguard-macros.h: Remove support for IA-64.
43628         * elf/tst-auditmod1.c: Likewise.
43629         * sysdeps/generic/ldsodefs.h: Likewise.
43630
43631         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43632         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43633         configure files.
43634
43635         [BZ #13552]
43636         * configure.in: Remove --enable-omitfp support.
43637         * FAQ.in: Adjust.
43638         * config.make.in: Likewise.
43639         * Makeconfig: Likewise.
43640         * manual/install.texi: Likewise.
43641
43642         In case anyone cares, the IA-64 architecture could move to ports.
43643         * sysdeps/ia64/*: Removed.
43644         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43645         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43646
43647         [BZ #13555]
43648         * configure.in: Remove entries for unsupported architectures.
43649
43650         [BZ #13533]
43651         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43652         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43653         routines.
43654         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43655         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43656         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43657         fall back to using wcrtomb.
43658         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43659         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43660         renaming.
43661         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43662         * wcsmbs/tst-c16c32-1.c: New file.
43663
43664         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43665         local variable.
43666
43667         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43668
43669         * elf/tst-unique3.cc: Add explicit declaration of gets.
43670         * elf/tst-unique3lib.cc: Likewise.
43671         * elf/tst-unique3lib2.cc: Likewise.
43672         * elf/tst-unique4.cc: Likewise.
43673
43674         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43675
43676 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43677
43678         [BZ #13566]
43679         * assert/assert.h (static_assert): Don't define for C++.
43680         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43681         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43682
43683 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43684
43685         * iconv/loop.c (single loop): Fix assertion in storing of
43686         remaining bytes.
43687
43688         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43689
43690 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43691
43692         * posix/getconf.c: Update copyright year.
43693         * nss/getent.c: Likewise.
43694         * nss/makedb.c: Likewise.
43695         * iconv/iconvconfig.c: Likewise.
43696         * iconv/iconv_prog.c: Likewise.
43697         * elf/ldconfig.c: Likewise.
43698         * elf/pldd.c: Likewise.
43699         * elf/sotruss.ksh: Likewise.
43700         * catgets/gencat.c: Likewise.
43701         * csu/version.c: Likewise.
43702         * elf/ldd.bash.in: Likewise.
43703         * elf/sprof.c (print_version): Likewise.
43704         * locale/programs/locale.c: Likewise.
43705         * locale/programs/localedef.c: Likewise.
43706         * login/programs/pt_chown.c: Likewise.
43707         * nscd/nscd.c (print_version): Likewise.
43708         * debug/xtrace.sh: Likewise.
43709         * malloc/memusage.sh: Likewise.
43710         * malloc/mtrace.pl: Likewise.
43711         * debug/catchsegv.sh: Likewise.
43712
43713 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43714
43715         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43716         pure attribute.
43717
43718 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43719
43720         [BZ #13533]
43721         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43722         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43723         transformations.
43724         * iconv/gconv_int.h: Likewise.
43725         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43726         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43727         from libc for GLIBC_2.16.
43728         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43729         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43730         * wcsmbs/uchar.h: Really define mbstate_t.
43731         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43732         * wcsmbs/c16rtomb.c: New file.
43733         * wcsmbs/mbrtoc16.c: New file.
43734         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43735         for C/POSIX locale.
43736         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43737         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43738
43739         * wcsmbs/wchar.h: Add missing __restrict.
43740
43741 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43742
43743         [BZ #13532]
43744         * time/Makefile (routines): Add timespec_get.
43745         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43746         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43747         timespec for ISO C11.
43748         * time/timespec_get.c: New file.
43749         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43750         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43751
43752         [BZ #13531]
43753         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43754         * stdlib/stdlib.h: Declare aligned_alloc.
43755         * Versions.def: Add GLIBC_2.16 for libc.
43756         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43757
43758         [BZ 13527]
43759         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43760         ISO C11.
43761
43762         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43763         code.
43764
43765         [BZ #13528]
43766         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43767
43768         [BZ #13529]
43769         * assert/assert.h (static_assert): Define.
43770
43771         * version.h: Update for 2.16 development version.
43772
43773         [BZ #13526]
43774         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43775         _ISOC11_SOURCE.
43776
43777         * version.h (RELEASE): Bump for 2.15 release.
43778         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43779
43780         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43781         Patch by Marek Polacek <mpolacek@redhat.com>.
43782
43783         * bits/byteswap.h: Protect long long constants with __extension__.
43784         * sysdeps/i386/bits/byteswap.h: Likewise.
43785         * sysdeps/ia64/bits/byteswap.h: Likewise.
43786         * sysdeps/s390/bits/byteswap.h: Likewise.
43787         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43788
43789 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43790
43791         [BZ #13540]
43792         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43793         destination buffer.
43794         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43795
43796 2011-12-23  Marek Polacek  <polacek@redhat.com>
43797
43798         * elf/dl-addr.c (determine_info): Add inline keyword.
43799         * elf/tst-auditmod4b.c (check_avx): Likewise.
43800         * elf/tst-auditmod6b.c (check_avx): Likewise.
43801         * elf/tst-auditmod6c.c (check_avx): Likewise.
43802         * elf/tst-auditmod7b.c (check_avx): Likewise.
43803
43804 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43805
43806         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43807         !__SSE_MATH__.
43808
43809 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43810
43811         [BZ #13540]
43812         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43813         processing for last bytes.
43814
43815 2011-08-06  Bruno Haible  <bruno@clisp.org>
43816
43817         [BZ #13061]
43818         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43819         U+0385, not to U+1FEE.
43820
43821         [BZ #13062]
43822         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43823         entry for U+00A5 U+0301.
43824
43825 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43826
43827         [BZ #13166]
43828         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43829         buffer for the output is too small.
43830
43831         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43832         optimization.
43833
43834         [BZ #13185]
43835         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43836         SSE flags if possible.
43837
43838 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43839
43840         [BZ #13540]
43841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43842         processing for last bytes.
43843
43844 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43845
43846         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43847         (syscall-list-default-options, syscall-list-default-condition)
43848         (syscall-list-includes): Define.
43849         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43850         list of ABIs and options and #if conditions for each ABI.  Do not
43851         handle common syscalls between ABIs specially.
43852         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43853         Remove.
43854         (syscall-list-variants, syscall-list-32bit-options)
43855         (syscall-list-32bit-condition, syscall-list-64bit-options)
43856         (syscall-list-64bit-condition): Define.
43857         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43858         (syscall-list-variants, syscall-list-32bit-options)
43859         (syscall-list-32bit-condition, syscall-list-64bit-options)
43860         (syscall-list-64bit-condition): Define.
43861         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43862         Remove.
43863         (syscall-list-variants, syscall-list-32bit-options)
43864         (syscall-list-32bit-condition, syscall-list-64bit-options)
43865         (syscall-list-64bit-condition): Define.
43866         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43867         Remove.
43868         (syscall-list-variants, syscall-list-32bit-options)
43869         (syscall-list-32bit-condition, syscall-list-64bit-options)
43870         (syscall-list-64bit-condition): Define.
43871
43872 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43873
43874         * locale/iso-639.def: Add brx entry.
43875
43876         [BZ #13328]
43877         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43878         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43879
43880         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43881         __feraiseexcept_renamed.
43882
43883 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43884
43885         [BZ #13538]
43886         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43887         EPOLLET with unsigned values.
43888         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43889         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43890
43891         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43892         to large cancellation.
43893         * math/s_cacoshf.c: Likewise.
43894         * math/s_cacoshl.c: Likewise.
43895
43896 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43897
43898         [BZ #13305]
43899         [BZ #12786]
43900         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43901         * math/s_cacoshf.c: Likewise.
43902         * math/s_cacoshl.c: Likewise.
43903
43904 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43905
43906         [BZ #13439]
43907         * iconv/gconv.h: Define __GCONV_SWAP.
43908         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43909         * iconvdata/utf-16.c: Likewise.
43910         * iconvdata/utf-32.c: Likewise.
43911
43912 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43913
43914         [BZ #13524]
43915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43916         numerator after shifting it by one limb.
43917
43918 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43919
43920         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43921         under [__USE_EXTERN_INLINES].
43922
43923 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43924
43925         [BZ #13446]
43926         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43927
43928 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43929
43930         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43931         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43932         optimized code.
43933         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43934         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43935         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43936         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43937         for strncasecmp/strncasecmp_l compilation.
43938         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43939         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43940
43941 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43942
43943         [BZ #13484]
43944         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43945         of __asm__.
43946
43947 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43948
43949         [BZ #13506]
43950         * time/tzfile.c (__tzfile_read): Check values from file header.
43951
43952 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43953
43954         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43955         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43956         * powerpc/powerpc32/dl-start.S: Likewise.
43957         * powerpc/powerpc32/elf/start.S: Likewise.
43958         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43959         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43960         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43961         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43962         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43963         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43964         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43965         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43966         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43967         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43968         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43969         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43970         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43971         * powerpc/powerpc32/memset.S: Likewise.
43972         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43973         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43974         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43975         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43976         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43977         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43978         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43979         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43980         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43981         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43982         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43983         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43984         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43985
43986 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43987
43988         * math/libm-test.inc: Added more nearbyint tests.
43989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43993
43994 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43995
43996         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43997         FD_CLOEXEC.
43998
43999 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44000
44001         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44002         Add wcscpy-ssse3 wcscpy-c.
44003         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44004         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44005         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44006         * sysdeps/x86_64/wcschr.S: New file.
44007         * sysdeps/x86_64/wcsrchr.S: New file.
44008         * string/test-strcmp.c: Remove checking of wcscmp function for
44009         wrong alignments.
44010         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44011         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44012         wcsrchr-sse2 wcsrchr-c.
44013         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44014         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44015         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44016         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44017         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44018         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44019         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44020         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44021         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44022         * wcsmbc/wcschr.c (WCSCHR): New macro.
44023
44024 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44025
44026         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44027         * wcsmbs/test-wcsrchr.c: New file.
44028         * string/test-strrchr.c: Add wcsrchr support.
44029         (WIDE): New macro.
44030         * wcsmbs/test-wcscpy.c: New file.
44031         * string/test-strcpy.c: Add wcscpy support.
44032         (WIDE): New macro.
44033
44034 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44035
44036         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44037         the inner loop.
44038
44039 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44040
44041         [BZ #13472]
44042         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44043
44044 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44045
44046         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44047         Minor optimizations.
44048
44049         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44050         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44051         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44052
44053 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44054
44055         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44056         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44057         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44058         for gcc to avoid warnings.
44059         * inet/Makefile (tests): Add tst-checks.
44060         * inet/tst-checks.c: New file.
44061
44062         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44063         warning.
44064
44065         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44066         __wmemcmp_sse2.
44067
44068         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44069         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44070
44071         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44072
44073 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44074
44075         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44076         problem.
44077
44078         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44079
44080 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44081
44082         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44083         conditional on GCC version.
44084         (__arch_compare_and_exchange_val_8_acq)
44085         (__arch_compare_and_exchange_val_16_acq)
44086         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44087         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44088         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44089
44090 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44091
44092         * sysdeps/sh/backtrace.c: New file.
44093
44094 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44095
44096         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44097         parenthesis.
44098
44099 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44100
44101         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44102         falling back to utime.
44103
44104 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44105
44106         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44107         expectations for float.
44108
44109 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44110
44111         * locale/weight.h (findidx): Add parameter len.
44112         * locale/weightwc.h (findidx): Likewise.
44113         * posix/fnmatch_loop.c (FCT): Adjust caller.
44114         * posix/regcomp.c (build_equiv_class): Likewise.
44115         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44116         * posix/regexec.c (check_node_accept_bytes): Likewise.
44117         * string/strcoll_l.c (STRCOLL): Likewise.
44118         * string/strxfrm_l.c (STRXFRM): Likewise.
44119
44120 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44121
44122         * Makefile.in: Remove CVSOPT handling.
44123         * configure.in: Remove use of AC_REVISION.
44124         * iconvdata/Makefile (distribute): No need to filter out CVS.
44125         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44126         handling.
44127
44128 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44129
44130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44131         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44132         [USE_AS_STRNCASECMP_L]: Likewise.
44133         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44134         NO_TLS_DIRECT_SEG_REFS.
44135         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44136         Fix argument offsets for non-PIC.
44137         [USE_AS_STRNCASECMP_L]: Likewise.
44138         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44139         NO_TLS_DIRECT_SEG_REFS.
44140
44141 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44142
44143         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44144         O_CLOEXEC.
44145         * locale/loadlocale.c (_nl_load_locale): Likewise.
44146
44147 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44148
44149         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44150         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44151         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44152         (SYSCALL_GETTIME): Set errno on error.
44153
44154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44155         count references to noai6ai_cached.
44156
44157 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44158
44159         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44160
44161         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44162         FD_CLOEXEC for /proc/self/maps.
44163
44164         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44165         FD_CLOEXEC for /proc/meminfo.
44166
44167         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44168         gai.conf.
44169
44170         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44171         FD_CLOEXEC for given file.
44172
44173         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44174
44175         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44176         FD_CLOEXEC for /etc/hosts.
44177         (_gethtent): Likewise.
44178
44179         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44180
44181         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44182         cancellation and set FD_CLOEXEC for /etc/netgroup.
44183
44184         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44185         reading /etc/publickey.
44186
44187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44188         allow cancellation when reading /etc/group.
44189
44190         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44191         cancellation.
44192         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44193
44194         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44195         when using data file.
44196
44197         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44198
44199         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44200         (write_nis_obj): Use "c" and "e" in fopen.
44201
44202         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44203
44204         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44205
44206         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44207
44208         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44209
44210         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44211         locale.alias.
44212
44213         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44214
44215         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44216
44217         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44218
44219         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44220         file parsing and set FD_CLOEXEC.
44221
44222 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44223
44224         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44225
44226 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44227
44228         * malloc/arena.c (arena_get2): Don't call reused_arena when
44229         _int_new_arena failed.
44230
44231 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44232
44233         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44234         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44235         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44236         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44237         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44238         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44239         to compile strcasecmp and strncasecmp.
44240         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44241         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44242
44243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44244
44245 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44246
44247         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44248         locale-defines.sym to gen-as-const-headers.
44249         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44250         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44252         to compile strcasecmp and strncasecmp.
44253         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44254         strcasecmp_l and strncasecmp_l.
44255         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44256         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44257         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44258         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44259         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44260         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44261         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44262         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44263         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44264         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44265         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44266
44267 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44268
44269         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44270         result of SYSDEP_GETTIME_CPU to retval.
44271         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44272         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44273
44274         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44275         variable.
44276
44277         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44278         mantissa words.
44279         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44280
44281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44282         from unused variable.
44283
44284         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44285         DWARF definitions.
44286         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44287         for assembling.
44288
44289         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44290         over namespaces.
44291
44292         * sunrpc/rpc_prot.c (rejected): Fix case value.
44293
44294         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44295         unsigned long long int to avoid warnings in shift.
44296
44297         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44298         of use of trans.
44299         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44300         variable tmp.
44301
44302         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44303         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44304         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44305
44306         * nis/nis_table.c (nis_list): Use variable of correct type for
44307         result of __follow_path call.
44308
44309 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44310
44311         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44312         of math functions ceil, trunc, floor, round, and sqrt, when
44313         avaliable on the platform.
44314         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44315         name clash.
44316         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44317         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44318         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44319
44320 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44321
44322         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44323         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44324
44325 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44326
44327         * include/unistd.h: Fix __readlink return type.
44328         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44329
44330 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44331
44332         * stdlib/ucontext.h: Undo last change for makecontext.
44333
44334 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44335
44336         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44337
44338         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44339         * setjmp/setjmp.h: Mark functions as non-leaf.
44340         * setjmp/bits/setjmp2.h: Likewise.
44341         * stdlib/ucontext.h: Likewise.
44342
44343 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44344
44345         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44346         (reused_arena): Don't check arena limit.
44347         (arena_get2): Atomically check arena limit.
44348
44349 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44350
44351         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44352         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44353
44354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44355         instructions.
44356
44357 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44358
44359         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44360         handler when locking.
44361
44362         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44363         Fix size of allocated buffer.
44364
44365 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44366
44367         [BZ #10103]
44368         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44369         declarations for long double functions.
44370         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44371
44372         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44373
44374 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44375
44376         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44377         installed.
44378
44379         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44380         is disabled.
44381
44382 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44383
44384         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44385
44386 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44387
44388         * include/alloca.h (stackinfo_alloca_round): Define.
44389         (extend_alloca): Use it.
44390         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44391         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44392         here.
44393
44394         * scripts/check-local-headers.sh: Ignore libaudit.h.
44395
44396         * nscd/Makefile (extra-objs): Make recursively expanded.
44397
44398 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44399
44400         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44402
44403         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44404         * posix/tst-rfc3484-2.c: Likewise.
44405         * posix/tst-rfc3484-3.c: Likewise.
44406
44407         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44408         process_vm_writev.
44409         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44410         process_vm_writev.
44411         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44412         process_vm_writev from libc using GLIBC_2.15 version.
44413
44414         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44415
44416 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44417
44418         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44419         stack usage.
44420
44421 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44422
44423         [BZ #13367]
44424         * nss/getent.c (initgroups_keys): Show error message in case no group
44425         names are given.
44426
44427         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44428         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44429         __bump_nl_timestamp.
44430         * nscd/connections (nscd_init): When host database is served open
44431         netlink socket and request notification about configuration changes.
44432         (main_loop_poll): Track netlink file descriptor and bump timestamp
44433         in case data becomes available.
44434         (main_loop_epoll): Likewise.
44435         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44436         (database_pers_head): Add extra_data fileds.
44437         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44438         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44439         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44440         Adjust caller.
44441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44442         in6ai data, call __free_in6ai.
44443         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44444         Add -DHAVE_NETLINK.
44445         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44446         interface information.  Reuse previous data if netlink timestamp
44447         is not changed.
44448         (__bump_nl_timestamp): New function.
44449         (__free_in6ai): New function.
44450
44451 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44452
44453         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44454         close_not_cancel_no_status here.
44455         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44456
44457 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44458
44459         [BZ #13276]
44460         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44461         return value.
44462
44463         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44464         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44465         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44466
44467 2011-07-03  Andreas Jaeger  <aj@suse.de>
44468
44469         [BZ #10709]
44470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44471         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44472         * math/libm-test.inc (sin_test): Add test case.
44473
44474 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44475
44476         [BZ #13337]
44477         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44478         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44479
44480         * elf/chroot_canon.c (chroot_canon): Cleanups.
44481
44482         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44483
44484         [BZ #13335]
44485         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44486         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44487
44488         * string/test-strchr.c: Make usable for strchrnul testing.
44489         * string/test-strchrnul.c: New file.
44490         * string/Makefile (strop-tests): Add strchrnul.
44491
44492         * po/it.po: Update from translation team.
44493         * po/es.po: Likewise.
44494
44495 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44496
44497         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44498         the three constants needed as parameters.  Drop the others.
44499         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44500         __m128i_strloadu_tolower.
44501         Create and initialize variable zero and use it in all the places
44502         where _mm_setzero_si128 was used.
44503
44504         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44505         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44506         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44507         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44508         anymore.
44509         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44510         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44511         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44512         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44513         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44514         __mpranred, __mptan.
44515         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44516         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44517         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44518         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44519         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44520         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44521         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44522         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44523         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44524
44525 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44526
44527         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44528         redefine if SHARED.
44529         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44530
44531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44532         wide char related routines to wcsmbs subdir.
44533
44534 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44535
44536         [BZ #13344]
44537         * misc/sys/cdefs.h (__THROWNL): Define.
44538         * posix/unistd.h: Use __THREADNL instead of __THREAD
44539         for memory synchronization functions.
44540
44541 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44542
44543         [BZ #13349]
44544         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44545         doesn't exist.
44546         * manual/stdio.texi (Obstack Streams): Node removed.
44547
44548 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44549
44550         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44551         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44552         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44553
44554         * math/math_private.h (math_force_eval): Allow non-addressable
44555         arguments.
44556         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44557
44558 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44559
44560         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44561         file is not needed.
44562
44563         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44564         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44565         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44566         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44567         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44568         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44569         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44570         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44571         Add AVX variants.
44572         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44573         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44574         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44575         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44576         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44577         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44578         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44579         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44580         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44581         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44582         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44583         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44584         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44585         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44586         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44587         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44588         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44589         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44590         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44591
44592         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44593         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44594
44595         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44596         place.  Use VEX encoding when compiling for AVX.
44597
44598 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44599
44600         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44601         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44602
44603         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44604
44605 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44606
44607         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44608         useless if() expression.
44609         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44610         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44614         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44616         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44618         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44619         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44620         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44621         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44622         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44623         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44624         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44625         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44626         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44627         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44628
44629         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44630
44631 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44632
44633         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44634         condition.
44635         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44636
44637 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44638
44639         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44640         .text section.  Avoid duplicate constants.
44641         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44642         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44643         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44644         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44646         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44647         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44648         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44649         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44650         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44651         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44652         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44653         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44654         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44655         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44656         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44657         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44658         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44660         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44662         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44663         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44664         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44665         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44666         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44667         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44668         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44669         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44670         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44671         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44672         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44673         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44674         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44675         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44676         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44677         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44678         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44679         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44680         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44681         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44682         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44683         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44684         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44685         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44686
44687 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44688
44689         * sysdeps/x86_64/dla.h: Move to ...
44690         * sysdeps/x86_64/fpu/dla.h: ...here.
44691         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44692         situations.  Use __builtin_fma only for gcc 4.6 and up.
44693
44694         * config.make.in: Add have-mfma4 entry.
44695         * configure.in: Substitute libc_cv_cc_fma4.
44696         * math/Makefile (dbl-only-routines): Add sincostab.
44697         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44698         Use __sincostab not sincos.
44699         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44700         name is a macro.
44701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44702         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44705         using __copysign.
44706         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44707         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44708         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44709         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44710         and __inv.
44711         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44712         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44713         __copysign.
44714         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44715         define aliases when function name is a macro.
44716         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44717         sysdeps/ieee754/dbl-64/sincos.tbl.
44718         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44719         fma4-enabled routines.
44720         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44721         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44722         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44723         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44724         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44725         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44727         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44728         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44729         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44730         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44731         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44732         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44733         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44734         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44735         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44736         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44737         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44738         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44739         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44740         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44741         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44742         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44743         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44744         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44745         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44746         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44747         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44748         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44749         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44750
44751         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44752         rename.
44753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44761
44762 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44763
44764         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44765
44766 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44767
44768         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44769
44770         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44771         prediction.
44772         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44773
44774         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44775         Remove unused variable magic_bits.
44776         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44777
44778         * string/strnlen.c: Define and use STRNLEN macro.
44779         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44780         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44781         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44782         * wcsmbs/wcslen.c: Define and use WCSLEN.
44783         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44784         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44785         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44786         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44787         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44788         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44789         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44790
44791 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44792
44793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44794         strnlen-sse2-no-bsf.
44795         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44796         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44797         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44798         Add strnlen support.
44799         (USE_AS_STRNLEN): New macro.
44800         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44801         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44802         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44803         * sysdeps/x86_64/wcslen.S: New file.
44804
44805 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44806
44807         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44808         XMM-moves are used for copying on small sizes.
44809
44810 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44811
44812         * wcsmbs/Makefile (strop-tests): Add wcschr.
44813         * wcsmbs/test-wcschr.c: New file.
44814         * string/test-strchr.c: Update.
44815         Add wcschr support.
44816         (WIDE): New macro.
44817
44818 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44819
44820         * wcsmbs/Makefile (strop-tests): Add wcslen.
44821         * wcsmbs/test-wcslen.c: New file.
44822         * string/test-strlen.c: Update.
44823         Add wcslen support.
44824         (WIDE): New macro.
44825
44826 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44827
44828         * po/it.po: Update from translation team.
44829
44830 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44831
44832         * sysdeps/x86_64/wcscmp.S: Update.
44833         Fix wrong comparison semantics.
44834         wcscmp shall use signed comparison not unsigned.
44835         Don't use substraction to avoid overflow bug.
44836         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44837         * wcsmbc/wcscmp.c: Likewise.
44838         * string/test-strcmp.c: Likewise.
44839         Add new tests to check cases with negative values.
44840
44841 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44842
44843         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44844         * sysdeps/x86_64/dla.h: ...here.  New file.
44845         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44846         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44850         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44851         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44853         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44854
44855 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44856
44857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44858         __ynl_finite aliases.
44859
44860 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44863
44864         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44865         define DLA_FMA.
44866         [DLA_FMA] (EMULV): Use DLA_FMA.
44867         [DLA_FMA] (MUL12): Use EMULV.
44868         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44869         that are not needed.
44870         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44871         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44872         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44873         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44875         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44876         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44877
44878 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44879
44880         * math/s_nan.c: Undef __nan.
44881         * math/s_nanf.c: Undef __nanf.
44882         * math/s_nanl.c: Undef __nanl.
44883         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44884         "math_private.h".
44885
44886 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44887
44888         * math/s_catan.c: Add branch predictions.
44889         * math/s_catanf.c: Likewise.
44890         * math/s_catanh.c: Likewise.
44891         * math/s_catanhf.c: Likewise.
44892         * math/s_catanhl.c: Likewise.
44893         * math/s_catanl.c: Likewise.
44894         * math/s_cexp.c: Likewise.
44895         * math/s_cexpf.c: Likewise.
44896         * math/s_cexpl.c: Likewise.
44897         * math/s_clog.c: Likewise.
44898         * math/s_clog10.c: Likewise.
44899         * math/s_clog10f.c: Likewise.
44900         * math/s_clog10l.c: Likewise.
44901         * math/s_clogf.c: Likewise.
44902         * math/s_clogl.c: Likewise.
44903         * math/s_csqrt.c: Likewise.
44904         * math/s_csqrtf.c: Likewise.
44905         * math/s_csqrtl.c: Likewise.
44906         * math/s_ctanf.c: Likewise.
44907         * math/s_ctanh.c: Likewise.
44908         * math/s_ctanhf.c: Likewise.
44909         * math/s_ctanhl.c: Likewise.
44910         * math/s_ctanl.c: Likewise.
44911
44912         * math/math_private.h: Define __nan, __nanf, __nanl.
44913         * math/s_cacosh.c: Include <math_private.h>.
44914         * math/s_cacoshl.c: Likewise.
44915         * math/s_casinh.c: Likewise.
44916         * math/s_casinhf.c: Likewise.
44917         * math/s_casinhl.c: Likewise.
44918         * math/s_ccos.c: Rely entire on ccosh.
44919         * math/s_ccosf.c: Rely entire on ccoshf.
44920         * math/s_ccosl.c: Rely entirely on ccoshl.
44921         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44922         Remove tests for FE_INVALID.
44923         * math/s_ccoshf.c: Likewise.
44924         * math/s_ccoshl.c: Likewise.
44925         * math/s_csin.c: Likewise.
44926         * math/s_csinf.c: Likewise.
44927         * math/s_csinh.c Likewise.
44928         * math/s_csinhf.c: Likewise.
44929         * math/s_csinhl.c: Likewise.
44930         * math/s_csinl.c: Likewise.
44931         * math/s_ctan.c: Likewise.
44932         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44933         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44934         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44935
44936 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44937
44938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44939         compilation problems.
44940
44941         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44942         __builtin_expect.
44943
44944 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44945
44946         * sysdeps/i386/configure.in: Test for -mfma4 option.
44947         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44948         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44949         COMMON_CPUID_INDEX_80000001.
44950         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44951         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44952         use it if FMA3 is not supported.
44953         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44954
44955         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44956         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44957
44958 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44959
44960         [BZ #12892]
44961         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44962         it would create a cycle with a link time dependency.
44963
44964 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44965
44966         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44967         instruction.
44968         * string/Makefile (strop-tests): Add rawmemchr.
44969         * string/test-rawmemchr.c: New file.
44970
44971         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44972         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44973         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44974         when compiling str{,n}casecmp and when AVX is available.  Hook up
44975         new optimized code in initializers.
44976
44977 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44978
44979         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44980         __feraiseexcept instead of feraiseexcept.
44981
44982 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44983
44984         * math/math_private.h: Define defaults for libc_fetestexcept and
44985         libc_feupdateenv.
44986         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44987         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44988         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44989         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44990         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44991         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44992         libc_fetestexcept and libc_feupdateenv.
44993
44994         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44995         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44996         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44997         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44998         libc_feholdexcept_setround.
44999
45000         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45001         Add s_nearbyint-c and s_nearbyintf-c.
45002         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45003         nearbyintf inlines.
45004         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45005         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45006         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45007         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45008
45009         * math/math_private.h: Define defaults for libc_fegetround,
45010         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45011         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45012         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45013         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45014         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45015         standard functions.
45016         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45017         Remove comments and hacks for old compiler versions.
45018         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45019         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45020         libc_feholdexceptl.
45021
45022 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45023
45024         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45025         (__feraiseexcept_renamed): Add __NTH.
45026         (feraiseexcept): Add __NTH.  Rename local variables to fix
45027         namespace violations.
45028
45029 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45030
45031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45032
45033         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45034
45035         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45036         recently added interfaces.
45037         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45038
45039         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45040         about macro parameter expansion.
45041
45042         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45043         __NO_MATH_INLINES is defined.  Cleanups.
45044
45045         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45046         and __floorf is target has SSE4.1.
45047         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45048         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45049         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45050         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45051
45052         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45053         name.
45054         (floorf): Likewise.
45055
45056         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45057
45058 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45059
45060         * misc/sys/cdefs.h: Fix last change.
45061
45062         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45063         database lookup.
45064
45065 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45066
45067         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45068
45069         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45071         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45074         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45075         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45076         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45077         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45078         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45079         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45080         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45081         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45082         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45083         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45084         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45085         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45086         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45087         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45088         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45089         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45090         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45091
45092         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45093         ceil, ceilf, floor, floorf.
45094
45095         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45096         Perform IRELATIVE relocations last.
45097
45098         * elf/do-rel.h: Add another parameter nrelative, replacing the
45099         local variable with the same name.  Change name of the function
45100         to end in Rel or Rela (uppercase).
45101         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45102         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45103         elf_dynamic_do_##reloc function.
45104
45105 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45106
45107         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45108         is sufficient, at least on modern CPUs.
45109
45110         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45111
45112         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45113         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45114
45115         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45116         __expl_finite.
45117         * math/bits/math-finite.h: Add entries for exp.
45118         * math/e_expl.c: Add __*_finite alias.
45119         * sysdeps/i386/fpu/e_exp.S: Likewise.
45120         * sysdeps/i386/fpu/e_expf.S: Likewise.
45121         * sysdeps/i386/fpu/e_expl.c: Likewise.
45122         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45123         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45126         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45127         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45128         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45129
45130         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45131         is sufficient, at least on modern CPUs.
45132
45133         * ctype/ctype-info.c (__ctype_init): Define.
45134         * include/ctype.h (__ctype_init): Declare.
45135         (__ctype_b_loc): The variable is always initialized.
45136         (__ctype_toupper_loc): Likewise.
45137         (__ctype_tolower_loc): Likewise.
45138         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45139         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45140
45141 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45142
45143         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45144
45145         * configure.in: Also look in $cxxmachine/include for C++ system
45146         headers.
45147
45148 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45149
45150         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45151         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45152         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45153         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45154         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45155         (USE_AS_WMEMCMP): New macro.
45156         Fixing indents.
45157         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45158         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45159         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45160         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45162         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45163         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45164         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45165         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45166         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45167         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45168         (USE_AS_WMEMCMP): New macro.
45169         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45170         * sysdeps/string/test-memcmp.c: Update.
45171         Fix simple_wmemcmp.
45172         Add new tests.
45173         * wcsmbs/wmemcmp.c: Update.
45174         (WMEMCMP): New macro.
45175         Fix overflow bug.
45176
45177 2011-10-12  Andreas Jaeger  <aj@suse.de>
45178
45179         [BZ #13268]
45180         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45181
45182 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45183
45184         * libio/iofwide.c (do_length): Avoid warning.
45185
45186         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45187
45188 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45189
45190         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45191
45192         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45193         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45194         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45195         * sysdeps/i386/i686/fpu/e_log.S: New file.
45196         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45197         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45198
45199         * ctype/ctype.h: Add support for inlined isXXX functions when
45200         compiling C++ code.
45201
45202 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45203
45204         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45205
45206         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45207
45208 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45209
45210         [BZ #13291]
45211         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45212
45213 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45214
45215         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45216         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45217         feraiseexcept.
45218
45219         * sysdeps/x86_64/memrchr.S: Check for zero size.
45220
45221         * string/stratcliff.c: Add memrchr tests.
45222
45223 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45224
45225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45226         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45227         rawmemchr-sse2 rawmemchr-sse2-bsf.
45228         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45229         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45230         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45231         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45232         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45233         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45234         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45235         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45236         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45237         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45238         * string/memrchr.c (MEMRCHR): New macro.
45239
45240 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45241
45242         Add integration with gcc's -ffinite-math-only and optimize wrapper
45243         functions in libm.
45244         * Versions.def: Define GLIBC_2.15 version for libm.
45245         * math/Makefile (headers): Add bits/math-finite.h.
45246         * math/bits/math-finite.h: New file.
45247         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45248         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45249         * math/e_acoshl.c: Add __*_finite alias.
45250         * math/e_acosl.c: Likewise.
45251         * math/e_asinl.c: Likewise.
45252         * math/e_atan2l.c: Likewise.
45253         * math/e_atanhl.c: Likewise.
45254         * math/e_coshl.c: Likewise.
45255         * math/e_exp10.c: Likewise.
45256         * math/e_exp10f.c: Likewise.
45257         * math/e_exp10l.c: Likewise.
45258         * math/e_exp2l.c: Likewise.
45259         * math/e_fmodl.c: Likewise.
45260         * math/e_gammal_r.c: Likewise.
45261         * math/e_hypotl.c: Likewise.
45262         * math/e_j0l.c: Likewise.
45263         * math/e_j1l.c: Likewise.
45264         * math/e_jnl.c: Likewise.
45265         * math/e_lgammal_r.c: Likewise.
45266         * math/e_log10l.c: Likewise.
45267         * math/e_log2l.c: Likewise.
45268         * math/e_logl.c: Likewise.
45269         * math/e_powl.c: Likewise.
45270         * math/e_sinhl.c: Likewise.
45271         * math/e_sqrtl.c: Likewise.
45272         * math/e_scalb.c: Completely rewritten and optimized.
45273         * math/e_scalbf.c: Likewise.
45274         * math/e_scalbl.c: Likewise.
45275         * math/w_acos.c: Likewise.
45276         * math/w_acosf.c: Likewise.
45277         * math/w_acosl.c: Likewise.
45278         * math/w_acosh.c: Likewise.
45279         * math/w_acoshf.c: Likewise.
45280         * math/w_acoshl.c: Likewise.
45281         * math/w_asin.c: Likewise.
45282         * math/w_asinf.c: Likewise.
45283         * math/w_asinl.c: Likewise.
45284         * math/w_atan2.c: Likewise.
45285         * math/w_atan2f.c: Likewise.
45286         * math/w_atan2l.c: Likewise.
45287         * math/w_atanh.c: Likewise.
45288         * math/w_atanhf.c: Likewise.
45289         * math/w_atanhl.c: Likewise.
45290         * math/w_exp10.c: Likewise.
45291         * math/w_exp10f.c: Likewise.
45292         * math/w_exp10l.c: Likewise.
45293         * math/w_fmod.c: Likewise.
45294         * math/w_fmodf.c: Likewise.
45295         * math/w_fmodl.c: Likewise.
45296         * math/w_j0.c: Likewise.
45297         * math/w_j0f.c: Likewise.
45298         * math/w_j0l.c: Likewise.
45299         * math/w_j1.c: Likewise.
45300         * math/w_j1f.c: Likewise.
45301         * math/w_j1l.c: Likewise.
45302         * math/w_jn.c: Likewise.
45303         * math/w_jnf.c: Likewise.
45304         * math/w_log.c: Likewise.
45305         * math/w_logf.c: Likewise.
45306         * math/w_logl.c: Likewise.
45307         * math/w_log10.c: Likewise.
45308         * math/w_log10f.c: Likewise.
45309         * math/w_log10l.c: Likewise.
45310         * math/w_log2.c: Likewise.
45311         * math/w_log2f.c: Likewise.
45312         * math/w_log2l.c: Likewise.
45313         * math/w_pow.c: Likewise.
45314         * math/w_powf.c: Likewise.
45315         * math/w_powl.c: Likewise.
45316         * math/w_remainder.c: Likewise.
45317         * math/w_remainderf.c: Likewise.
45318         * math/w_remainderl.c: Likewise.
45319         * math/w_scalb.c: Likewise.
45320         * math/w_scalbf.c: Likewise.
45321         * math/w_scalbl.c: Likewise.
45322         * math/w_sqrt.c: Likewise.
45323         * math/w_sqrtf.c: Likewise.
45324         * math/w_sqrtl.c: Likewise.
45325         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45326         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45327         used.
45328         * math/math_private.h: Declare __kernel_standard_f.
45329         * math/w_cosh.c: Remove cruft and optimize a bit.
45330         * math/w_coshf.c: Likewise.
45331         * math/w_coshl.c: Likewise.
45332         * math/w_exp2.c: Likewise.
45333         * math/w_exp2f.c: Likewise.
45334         * math/w_exp2l.c: Likewise.
45335         * math/w_hypot.c: Likewise.
45336         * math/w_hypotf.c: Likewise.
45337         * math/w_hypotl.c: Likewise.
45338         * math/w_lgamma.c: Likewise.
45339         * math/w_lgamma_r.c: Likewise.
45340         * math/w_lgammaf.c: Likewise.
45341         * math/w_lgammaf_r.c: Likewise.
45342         * math/w_lgammal.c: Likewise.
45343         * math/w_lgammal_r.c: Likewise.
45344         * math/w_sinh.c: Likewise.
45345         * math/w_sinhf.c: Likewise.
45346         * math/w_sinhl.c: Likewise.
45347         * math/w_tgamma.c: Likewise.
45348         * math/w_tgammaf.c: Likewise.
45349         * math/w_tgammal.c: Likewise.
45350         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45351         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45352         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45353         Minor optimizations.  Pretty printing.  Remove cruft.
45354         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45355         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45356         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45357         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45358         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45359         * sysdeps/i386/fpu/e_asin.S: Likewise.
45360         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45361         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45362         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45363         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45364         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45365         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45366         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45367         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45368         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45369         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45370         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45371         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45372         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45373         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45374         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45375         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45376         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45377         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45378         * sysdeps/i386/fpu/e_log.S: Likewise.
45379         * sysdeps/i386/fpu/e_log10.S: Likewise.
45380         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45381         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45382         * sysdeps/i386/fpu/e_log2.S: Likewise.
45383         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45384         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45385         * sysdeps/i386/fpu/e_logf.S: Likewise.
45386         * sysdeps/i386/fpu/e_logl.S: Likewise.
45387         * sysdeps/i386/fpu/e_pow.S: Likewise.
45388         * sysdeps/i386/fpu/e_powf.S: Likewise.
45389         * sysdeps/i386/fpu/e_powl.S: Likewise.
45390         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45391         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45392         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45393         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45394         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45395         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45396         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45397         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45398         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45403         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45405         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45406         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45407         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45408         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45409         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45410         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45411         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45412         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45413         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45414         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45415         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45416         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45417         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45419         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45420         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45421         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45422         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45423         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45424         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45425         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45426         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45427         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45428         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45429         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45430         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45431         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45432         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45433         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45434         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45435         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45436         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45437         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45438         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45439         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45440         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45441         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45442         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45443         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45445         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45446         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45447         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45448         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45449         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45450         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45451         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45452         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45454         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45455         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45456         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45457         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45458         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45459         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45460         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45461         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45463         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45464         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45465         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45466         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45467         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45468         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45469         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45470         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45471         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45472         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45473         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45475         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45476         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45477         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45478         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45479         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45480         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45481         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45482         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45483         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45484         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45485         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45486         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45487         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45488         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45489         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45490         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45491         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45492         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45493         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45494         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45495         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45496         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45497         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45498         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45499         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45500         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45501         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45502         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45503         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45504         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45505         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45506         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45507         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45508         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45509         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45510         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45511         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45512         (__isnanf): Likewise.
45513         (__isinf_ns): Likewise.
45514         (__isinf_nsf): Likewise.
45515         (__finite): Likewise.
45516         (__finitef): Likewise.
45517         (__ieee754_sqrt): Define as macro.
45518         (__ieee754_sqrtf): Define as macro.
45519         (__ieee754_sqrtl): Define as macro.
45520         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45521         inlined copy.
45522         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45523         __FINITE_MATH_ONLY__ consistent.
45524         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45525
45526 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45527
45528         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45529         of rawmemchr.
45530
45531         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45532
45533 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45534
45535         * po/ja.po: Update from translation team.
45536
45537 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45538
45539         * locale/programs/locarchive.c (prepare_address_space): New function.
45540         (create_archive, enlarge_archive, open_archive): Use it.
45541
45542         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45543         inside [SHARED], where it is used.
45544
45545         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45546
45547         * nss/getent.c (netgroup_keys): Remove unused variable.
45548         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45549
45550 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45551
45552         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45553         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45555         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45556         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45557         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45558         * math/Makefile (libm-calls): Add s_isinf_ns.
45559         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45560         * math/multc3.c: Likewise.
45561         * math/s_casin.c: Likewise.
45562         * math/s_casinf.c: Likewise.
45563         * math/s_casinl.c: Likewise.
45564         * math/s_ccos.c: Likewise.
45565         * math/s_ccosf.c: Likewise.
45566         * math/s_ccosl.c: Likewise.
45567         * math/s_ctan.c: Likewise.
45568         * math/s_ctanf.c: Likewise.
45569         * math/s_ctanh.c: Likewise.
45570         * math/s_ctanhf.c: Likewise.
45571         * math/s_ctanhl.c: Likewise.
45572         * math/s_ctanl.c: Likewise.
45573         * math/w_fmod.c: Likewise.
45574         * math/w_fmodf.c: Likewise.
45575         * math/w_fmodl.c: Likewise.
45576         * math/w_remainder.c: Likewise.
45577         * math/w_remainderf.c: Likewise.
45578         * math/w_remainderl.c: Likewise.
45579         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45580         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45581         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45583         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45584         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45585         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45586         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45587
45588         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45589         of the number.
45590         * stdio-common/printf_fphex.c: Likewise.
45591         * stdio-common/printf_size.c: Likewise.
45592
45593         * math/e_exp10.c: Include math_private.h using <...> not "...".
45594         * math/e_exp10f.c: Likewise.
45595         * math/e_exp10l.c: Likewise.
45596         * math/e_exp2l.c: Likewise.
45597         * math/e_j0l.c: Likewise.
45598         * math/e_j1l.c: Likewise.
45599         * math/e_jnl.c: Likewise.
45600         * math/e_lgammal_r.c: Likewise.
45601         * math/e_rem_pio2l.c: Likewise.
45602         * math/e_scalb.c: Likewise.
45603         * math/e_scalbf.c: Likewise.
45604         * math/e_scalbl.c: Likewise.
45605         * math/k_cosl.c: Likewise.
45606         * math/k_sinl.c: Likewise.
45607         * math/k_tanl.c: Likewise.
45608         * math/s_cacoshf.c: Likewise.
45609         * math/s_catan.c: Likewise.
45610         * math/s_catanf.c: Likewise.
45611         * math/s_catanh.c: Likewise.
45612         * math/s_catanhf.c: Likewise.
45613         * math/s_catanhl.c: Likewise.
45614         * math/s_catanl.c: Likewise.
45615         * math/s_ccosh.c: Likewise.
45616         * math/s_ccoshf.c: Likewise.
45617         * math/s_ccoshl.c: Likewise.
45618         * math/s_cexp.c: Likewise.
45619         * math/s_cexpf.c: Likewise.
45620         * math/s_cexpl.c: Likewise.
45621         * math/s_clog.c: Likewise.
45622         * math/s_clog10.c: Likewise.
45623         * math/s_clog10f.c: Likewise.
45624         * math/s_clog10l.c: Likewise.
45625         * math/s_clogf.c: Likewise.
45626         * math/s_clogl.c: Likewise.
45627         * math/s_csin.c: Likewise.
45628         * math/s_csinf.c: Likewise.
45629         * math/s_csinh.c: Likewise.
45630         * math/s_csinhf.c: Likewise.
45631         * math/s_csinhl.c: Likewise.
45632         * math/s_csinl.c: Likewise.
45633         * math/s_csqrt.c: Likewise.
45634         * math/s_csqrtf.c: Likewise.
45635         * math/s_csqrtl.c: Likewise.
45636         * math/s_ctan.c: Likewise.
45637         * math/s_ctanf.c: Likewise.
45638         * math/s_ctanh.c: Likewise.
45639         * math/s_ctanhf.c: Likewise.
45640         * math/s_ctanhl.c: Likewise.
45641         * math/s_ctanl.c: Likewise.
45642         * math/s_ldexp.c: Likewise.
45643         * math/s_ldexpf.c: Likewise.
45644         * math/s_ldexpl.c: Likewise.
45645         * math/s_significand.c: Likewise.
45646         * math/s_significandf.c: Likewise.
45647         * math/s_significandl.c: Likewise.
45648         * math/w_acos.c: Likewise.
45649         * math/w_acosf.c: Likewise.
45650         * math/w_acosh.c: Likewise.
45651         * math/w_acoshf.c: Likewise.
45652         * math/w_acoshl.c: Likewise.
45653         * math/w_acosl.c: Likewise.
45654         * math/w_asin.c: Likewise.
45655         * math/w_asinf.c: Likewise.
45656         * math/w_asinl.c: Likewise.
45657         * math/w_atan2.c: Likewise.
45658         * math/w_atan2f.c: Likewise.
45659         * math/w_atan2l.c: Likewise.
45660         * math/w_atanh.c: Likewise.
45661         * math/w_atanhf.c: Likewise.
45662         * math/w_atanhl.c: Likewise.
45663         * math/w_cosh.c: Likewise.
45664         * math/w_coshf.c: Likewise.
45665         * math/w_coshl.c: Likewise.
45666         * math/w_dremf.c: Likewise.
45667         * math/w_exp10.c: Likewise.
45668         * math/w_exp10f.c: Likewise.
45669         * math/w_exp10l.c: Likewise.
45670         * math/w_exp2.c: Likewise.
45671         * math/w_exp2f.c: Likewise.
45672         * math/w_fmod.c: Likewise.
45673         * math/w_fmodf.c: Likewise.
45674         * math/w_fmodl.c: Likewise.
45675         * math/w_hypot.c: Likewise.
45676         * math/w_hypotf.c: Likewise.
45677         * math/w_hypotl.c: Likewise.
45678         * math/w_j0.c: Likewise.
45679         * math/w_j0f.c: Likewise.
45680         * math/w_j0l.c: Likewise.
45681         * math/w_j1.c: Likewise.
45682         * math/w_j1f.c: Likewise.
45683         * math/w_j1l.c: Likewise.
45684         * math/w_jn.c: Likewise.
45685         * math/w_jnf.c: Likewise.
45686         * math/w_jnl.c: Likewise.
45687         * math/w_lgamma.c: Likewise.
45688         * math/w_lgamma_r.c: Likewise.
45689         * math/w_lgammaf.c: Likewise.
45690         * math/w_lgammaf_r.c: Likewise.
45691         * math/w_lgammal.c: Likewise.
45692         * math/w_lgammal_r.c: Likewise.
45693         * math/w_log.c: Likewise.
45694         * math/w_log10.c: Likewise.
45695         * math/w_log10f.c: Likewise.
45696         * math/w_log10l.c: Likewise.
45697         * math/w_log2.c: Likewise.
45698         * math/w_log2f.c: Likewise.
45699         * math/w_log2l.c: Likewise.
45700         * math/w_logf.c: Likewise.
45701         * math/w_logl.c: Likewise.
45702         * math/w_pow.c: Likewise.
45703         * math/w_powf.c: Likewise.
45704         * math/w_powl.c: Likewise.
45705         * math/w_remainder.c: Likewise.
45706         * math/w_remainderf.c: Likewise.
45707         * math/w_remainderl.c: Likewise.
45708         * math/w_scalb.c: Likewise.
45709         * math/w_scalbf.c: Likewise.
45710         * math/w_scalbl.c: Likewise.
45711         * math/w_sinh.c: Likewise.
45712         * math/w_sinhf.c: Likewise.
45713         * math/w_sinhl.c: Likewise.
45714         * math/w_sqrt.c: Likewise.
45715         * math/w_sqrtf.c: Likewise.
45716         * math/w_sqrtl.c: Likewise.
45717         * math/w_tgamma.c: Likewise.
45718         * math/w_tgammaf.c: Likewise.
45719         * math/w_tgammal.c: Likewise.
45720
45721         * po/ja.po: Update from translation team.
45722
45723 2011-09-29  Andreas Jaeger  <aj@suse.de>
45724
45725         [BZ #13179]
45726         * sunrpc/netname.c (netname2host): Fix logic.
45727
45728         [BZ #6779]
45729         [BZ #6783]
45730         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45731         correctly.
45732         * math/w_remainder.c (__remainder): Likewise.
45733         * math/w_remainderf.c (__remainderf): Likewise.
45734         * math/libm-test.inc (remainder_test): Add test cases.
45735
45736 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45737
45738         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45739         sdiv_qrnnd.
45740
45741 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45742
45743         * string/test-memcmp.c: Avoid unncessary #defines.
45744         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45745
45746 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45747
45748         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45749         Use new sse2 version for core i3 - i7 as it's faster
45750         than sse42 version.
45751         (bit_Prefer_PMINUB_for_stringop): New.
45752         * sysdeps/x86_64/rawmemchr.S: Update.
45753         Replace with faster SSE2 version.
45754         * sysdeps/x86_64/memrchr.S: New file.
45755         * sysdeps/x86_64/memchr.S: Update.
45756         Replace with faster SSE2 version.
45757
45758 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45759
45760         * elf/dl-load.c (lose): Add cast to avoid warning.
45761
45762 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45763
45764         * po/ca.po: Update from translation team.
45765
45766         * inet/getnetgrent_r.c: Hook up nscd.
45767         * nscd/Makefile (routines): Add nscd_netgroup.
45768         (nscd-modules): Add netgroupcache.
45769         (CFLAGS-netgroupcache.c): Define.
45770         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45771         (cache_search): Add const to second parameter.
45772         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45773         INNETGR.
45774         (dbs): Add netgrdb entry.
45775         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45776         (verify_persistent_db): Handle netgrdb.
45777         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45778         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45779         GETFDNETGR.
45780         (netgroup_response_header): Define.
45781         (innetgroup_response_header): Define.
45782         (datahead): Add netgroup_response_header and innetgroup_response_header
45783         elements.
45784         * nscd/nscd.conf: Add entries for netgroup cache.
45785         * nscd/nscd.h (dbtype): Add netgrdb.
45786         (_PATH_NSCD_NETGROUP_DB): Define.
45787         (netgroup_iov_disabled): Declare.
45788         (xmalloc, xcalloc, xrealloc): Move declarations here.
45789         (cache_search): Adjust prototype.
45790         Add netgroup-related prototypes.
45791         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45792         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45793         (__nscd_innetgr): Declare.
45794         * nscd/selinux.c (perms): Use access_vector_t as element type and
45795         add netgroup-related initializers.
45796         * nscd/netgroupcache.c: New file.
45797         * nscd/nscd_netgroup.c: New file.
45798         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45799         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45800         For four parameters use innetgr.
45801         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45802         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45803         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45804         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45805
45806         * nscd/connections.c (register_traced_file): Don't register file
45807         for disabled databases.
45808
45809 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45810
45811         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45812
45813         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45814         from tree and freeing node.
45815
45816 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45817
45818         * nss/nsswitch.c (__nss_database_lookup): Handle
45819         nss_parse_service_list out of memory case.
45820
45821 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45822
45823         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45824         out of memory case.
45825
45826 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45827
45828         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45829         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45830         pass it down.
45831         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45832         elf_machine_rela, elf_machine_lazy_rel.
45833         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45834         (ELF_DYNAMIC_DO_REL): Likewise.
45835         (ELF_DYNAMIC_DO_RELA): Likewise.
45836         (ELF_DYNAMIC_RELOCATE): Likewise.
45837         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45838         to ELF_DYNAMIC_DO_REL.
45839         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45840         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45841         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45842         elf_machine_rela.
45843         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45844         skip_ifunc, don't call ifunc function if non-zero.
45845         (elf_machine_rela): Likewise.
45846         (elf_machine_lazy_rel): Likewise.
45847         (elf_machine_lazy_rela): Likewise.
45848         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45849         (elf_machine_lazy_rel): Likewise.
45850         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45851         Likewise.
45852         (elf_machine_lazy_rel): Likewise.
45853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45854         Likewise.
45855         (elf_machine_lazy_rel): Likewise.
45856         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45857         (elf_machine_lazy_rel): Likewise.
45858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45859         (elf_machine_lazy_rel): Likewise.
45860         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45861         (elf_machine_lazy_rel): Likewise.
45862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45863         (elf_machine_lazy_rel): Likewise.
45864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45865         (elf_machine_lazy_rel): Likewise.
45866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45867         (elf_machine_lazy_rel): Likewise.
45868
45869 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45870
45871         * nss/nss_files/files-init.c (_nss_files_init): Use static
45872         initialization for all the *_traced_file variables.
45873
45874 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45875
45876         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45877
45878 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45879
45880         [BZ #13226]
45881         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45882
45883 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45884
45885         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45886         Reread the line before reparsing it.
45887
45888 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45889
45890         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45891
45892 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45893             Maxim Kuvyrkov  <maxim@codesourcery.com>
45894             Joseph Myers  <joseph@codesourcery.com>
45895
45896         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45897         if needed for __stack_chk_guard.
45898
45899 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45900
45901         * sysdeps/posix/spawni.c (script_execute): Always define it.
45902         It will be optimized away if unused.
45903         (maybe_script_execute): New function.
45904         (__spawni): Call it.
45905
45906         * Makerules: Don't include tls.make.
45907         (config-tls): Always set to thread.
45908         * tls.make.c: File removed.
45909
45910 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45911
45912         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45913         * config.make.in (CPPFLAGS-config): New substituted variable.
45914
45915 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45916
45917         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45918
45919         [BZ #13192]
45920         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45921         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45922
45923 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45924
45925         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45926         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45927         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45928         (CALL_FAIL): Likewise.
45929         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45930         (CALL_FAIL): Macro removed.
45931         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45932
45933 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45934
45935         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45936         for __FINITE_MATH_ONLY__ == 1.
45937
45938 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45939
45940         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45941         __ieee754_sqrt instead of sqrt.
45942         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45943         __ieee754_sqrtf instead of sqrtf.
45944         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45945         __floorf instead of floorf.
45946         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45947         __floorf, __truncf instead of floorf, truncf.
45948
45949 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45950
45951         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45952
45953         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45954         __extern_always_inline.
45955         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45956         32-bit.
45957
45958 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45959
45960         * elf/rtld.c (dl_main): Also relocate in dependency order when
45961         doing symbol dependency testing.
45962
45963 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45964
45965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45966         Always define `refsym'.
45967
45968 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45969
45970         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45971         (__FD_ELT): Renamed from __FDELT.
45972         * misc/bits/select2.h (__FD_ELT): Likewise.
45973         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45974         __FD_MASK instead of __FDELT, __FDMASK.
45975         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45976         Likewise.
45977         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45978         Likewise.
45979
45980         * elf/Makefile (gen-ldd): Fix pattern.
45981
45982         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45983         (init_tls): Likewise.
45984
45985 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45986
45987         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45988
45989 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45990
45991         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45992         `struct cmsghdr *' instead of `void *'.
45993         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45994         Likewise.
45995
45996 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45997
45998         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45999         if non-absolute.
46000         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46001         ldd_rewrite_script.
46002
46003 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46004
46005         * configure.in: Remove --with-tls option.
46006         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46007         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46008         out in case it is missing.
46009         * sysdeps/ia64/elf/configure.in: Likewise.
46010         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46011         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46012         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46013         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46014         * sysdeps/sh/elf/configure.in: Likewise.
46015         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46016         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46017         * sysdeps/x86_64/elf/configure.in: Likewise.
46018         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46019         * sysdeps/mach/hurd/tls.h: Likewise.
46020
46021         [BZ #13067]
46022         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46023
46024         [BZ #13090]
46025         * configure.in: Fix use of AC_INIT.
46026
46027         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46028
46029 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46030
46031         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46032         __set_errno.
46033         * malloc/hooks.c: Likewise.
46034
46035         [BZ #11929]
46036         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46037         variables statically.
46038         (narenas): Initialize.
46039         (list_lock): Initialize.
46040         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46041         initializtion of main_arena and list_lock.  Small cleanups.
46042         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46043         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46044         Add initializers to main_arena and mp_.
46045         (malloc_state): Remove pagesize member.  Change all users to use
46046         GLRO(dl_pagesize).
46047
46048         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46049         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46050         is always initialized.
46051
46052         * malloc/malloc.c: Removed unused configurations and dead code.
46053         * malloc/arena.c: Likewise.
46054         * malloc/hooks.c: Likewise.
46055         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46056
46057         * include/tls.h: Removed.  USE___THREAD must always be defined.
46058         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46059         * elf/dl-libc.c: Likewise.
46060         * elf/dl-tsd.c: Likewise.
46061         * include/errno.h: Likewise.
46062         * include/netdb.h: Likewise.
46063         * include/resolv.h: Likewise.
46064         * inet/herrno-loc.c: Likewise.
46065         * inet/herrno.c: Likewise.
46066         * malloc/arena.c: Likewise.
46067         * malloc/hooks.c: Likewise.
46068         * malloc/malloc.c: Likewise.
46069         * resolv/res-state.c: Likewise.
46070         * resolv/res_libc.c: Likewise.
46071         * sysdeps/i386/dl-machine.h: Likewise.
46072         * sysdeps/ia64/dl-machine.h: Likewise.
46073         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46074         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46075         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46076         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46077         * sysdeps/sh/dl-machine.h: Likewise.
46078         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46079         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46080         * sysdeps/unix/i386/sysdep.S: Likewise.
46081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46082         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46086         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46087         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46089         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46091         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46092         * sysdeps/x86_64/dl-machine.h: Likewise.
46093         * tls.make.c: Likewise.
46094
46095         * configure.in: Remove --with-__thread option.  Make tests for
46096         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46097         tls_model attribute fail if no support is available.  Remove
46098         USE_IN_LIBIO.
46099         * Makeconfig: Adjust for dropped configure option.  All features are
46100         now mandatory.
46101         * Makerules: Likewise.
46102         * Versions.def: Likewise.
46103         * argp/argp-fmtstream.c: Likewise.
46104         * argp/argp-fmtstream.h: Likewise.
46105         * argp/argp-help.c: Likewise.
46106         * assert/assert.c: Likewise.
46107         * config.h.in: Likewise.
46108         * config.make.in: Likewise.
46109         * configure: Likewise.
46110         * configure.in: Likewise.
46111         * csu/Versions: Likewise.
46112         * csu/init.c: Likewise.
46113         * elf/tst-audit2.c: Likewise.
46114         * elf/tst-tls10.c: Likewise.
46115         * elf/tst-tls10.h: Likewise.
46116         * elf/tst-tls11.c: Likewise.
46117         * elf/tst-tls12.c: Likewise.
46118         * elf/tst-tls14.c: Likewise.
46119         * elf/tst-tlsmod11.c: Likewise.
46120         * elf/tst-tlsmod12.c: Likewise.
46121         * elf/tst-tlsmod13.c: Likewise.
46122         * elf/tst-tlsmod13a.c: Likewise.
46123         * elf/tst-tlsmod14a.c: Likewise.
46124         * elf/tst-tlsmod15b.c: Likewise.
46125         * elf/tst-tlsmod16a.c: Likewise.
46126         * elf/tst-tlsmod16b.c: Likewise.
46127         * elf/tst-tlsmod7.c: Likewise.
46128         * elf/tst-tlsmod8.c: Likewise.
46129         * elf/tst-tlsmod9.c: Likewise.
46130         * gmon/gmon.c: Likewise.
46131         * grp/fgetgrent_r.c: Likewise.
46132         * grp/putgrent.c: Likewise.
46133         * hurd/fopenport.c: Likewise.
46134         * include/libc-symbols.h: Likewise.
46135         * include/tls.h: Likewise.
46136         * intl/gettextP.h: Likewise.
46137         * intl/loadinfo.h: Likewise.
46138         * locale/global-locale.c: Likewise.
46139         * locale/localeinfo.h: Likewise.
46140         * mach/devstream.c: Likewise.
46141         * malloc/arena.c: Likewise.
46142         * malloc/set-freeres.c: Likewise.
46143         * misc/err.c: Likewise.
46144         * misc/getttyent.c: Likewise.
46145         * misc/mntent_r.c: Likewise.
46146         * posix/getopt.c: Likewise.
46147         * posix/wordexp.c: Likewise.
46148         * pwd/fgetpwent_r.c: Likewise.
46149         * resolv/Versions: Likewise.
46150         * resolv/res_hconf.c: Likewise.
46151         * shadow/fgetspent_r.c: Likewise.
46152         * shadow/putspent.c: Likewise.
46153         * stdio-common/printf_fphex.c: Likewise.
46154         * stdio-common/tmpfile.c: Likewise.
46155         * stdlib/abort.c: Likewise.
46156         * stdlib/fmtmsg.c: Likewise.
46157         * sunrpc/auth_unix.c: Likewise.
46158         * sunrpc/clnt_perr.c: Likewise.
46159         * sunrpc/clnt_tcp.c: Likewise.
46160         * sunrpc/clnt_udp.c: Likewise.
46161         * sunrpc/clnt_unix.c: Likewise.
46162         * sunrpc/openchild.c: Likewise.
46163         * sunrpc/svc_simple.c: Likewise.
46164         * sunrpc/svc_tcp.c: Likewise.
46165         * sunrpc/svc_udp.c: Likewise.
46166         * sunrpc/svc_unix.c: Likewise.
46167         * sunrpc/xdr.c: Likewise.
46168         * sunrpc/xdr_array.c: Likewise.
46169         * sunrpc/xdr_rec.c: Likewise.
46170         * sunrpc/xdr_ref.c: Likewise.
46171         * sunrpc/xdr_stdio.c: Likewise.
46172
46173 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46174
46175         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46176
46177 2011-07-03  Andreas Jaeger  <aj@suse.de>
46178
46179         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46180         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46181         regenerate with gen-libm-tests.pl.
46182
46183 2010-05-12  Petr Baudis  <pasky@suse.cz>
46184
46185         [BZ #11589]
46186         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46187         around j0() zero points by switching to j1().
46188         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46189         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46190         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46191         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46192
46193 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46194
46195         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46196         instead of 0.
46197         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46198         instead of 0.
46199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46200         Patch in part by Pavel Roskin <proski@gnu.org>.
46201
46202         [BZ #13138]
46203         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46204         realloc.
46205         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46206         Free memory block if necessary.
46207
46208         [BZ #12847]
46209         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46210         be NULL.  Don't lock in this case.
46211
46212 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46213
46214         * elf/elf.h (ELFOSABI_GNU): New macro.
46215         (ELFOSABI_LINUX): Define to that.
46216
46217 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46218
46219         * string/strncat.c (strncat): Undef the symbol in case it has been
46220         defined in bits/string.h.
46221
46222 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46223
46224         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46225
46226         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46227         link map.
46228
46229 2011-08-17  Andreas Jaeger  <aj@suse.de>
46230
46231         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46232
46233 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46234             Ian Lance Taylor  <iant@google.com>
46235
46236         * math/libm-test.inc (lround_test): New testcase.
46237         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46238
46239 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46240
46241         * Makefile: Remove support for automatic cvs check-ins.
46242         * Makerules: Likewise.
46243         * config.make.in: Likewise.
46244         * configure.in: Likewise.
46245         * intl/Makefile: Likewise.
46246         * locale/Makefile: Likewise.
46247         * po/Makefile: Likewise.
46248         * posix/Makefile: Likewise.
46249         * sysdeps/gnu/Makefile: Likewise.
46250         * sysdeps/mach/hurd/Makefile: Likewise.
46251         * sysdeps/sparc/sparc32/Makefile: Likewise.
46252
46253         [BZ #13118]
46254         * posix/Makefile (bug-regex32-ENV): Define.
46255         Patch by John Stanley <jpsinthemix@verizon.net>.
46256
46257         * misc/Makefile (headers): Add bits/select2.h.
46258         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46259         * misc/bits/select2.h: New file.
46260         * include/bits/select2.h: New file.
46261         * debug/Makefile (routines): Add fdelt_chk.
46262         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46263         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46264         FD_ISSET.
46265         * debug/fdelt_chk.c: New file.
46266
46267         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46268         * wcsmbs/test-wmemcmp.c: Likewise.
46269         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46270         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46271
46272 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46273
46274         * string/Makefile (strop-tests): Add memcmp.
46275         * string/test-wmemcmp.c: New file.
46276         * string/test-memcmp.c: Add wmemcmp support.
46277
46278 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46279
46280         [BZ #13153]
46281         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46282         2011-07-19 change.
46283
46284         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46285         garbage value in a __mach_port_mod_refs call in the cases of the
46286         task-self and thread-self ports.
46287
46288 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46289
46290         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46291
46292 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46293
46294         * elf/dl-load.c (lose): Check for non-null L.
46295
46296 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46297
46298         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46299
46300         * elf/dl-libc.c (dlerror_run): Pass back error code from
46301         dl_catch_error.
46302
46303         [BZ #13123]
46304         * elf/dl-load.c (lose): Free l_origin if it is valid.
46305
46306         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46307         names.
46308         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46309         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46310         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46311         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46312         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46313         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46314
46315 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46316
46317         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46318         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46319         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46320         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46321         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46322         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46323         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46324         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46325         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46326         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46327
46328 2011-08-15  Alan Modra  <amodra@gmail.com>
46329
46330         [BZ #13092]
46331         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46332         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46333         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46334         ppc_mcount to static-only-routines.
46335         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46336         __mcount_internal.
46337         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46338         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46339
46340 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46341
46342         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46343         for finite and infinity parameters.
46344
46345 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46346
46347         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46348         and add nop instructions for throughput optimization.
46349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46350
46351 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46352
46353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46354         aligned copy for power7 with vector-scalar instructions.
46355         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46356
46357 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46358
46359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46360         AVX check.
46361
46362 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46363
46364         [BZ #13144]
46365         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46366         last change.
46367
46368 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46369
46370         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46371         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46372         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46373         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46374         clock_gettime.
46375
46376 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46377
46378         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46379         Forgot to demangle the pointer.
46380
46381         * sysdeps/i386/sysdep.h: Define atom_text_section.
46382         * sysdeps/x86_64/sysdep.h: Likewise.
46383         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46384         section with atom_text_section.
46385         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46386         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46387         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46389         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46390
46391         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46392         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46393         already be defined.  Change to take two parameters and don't assign
46394         result to variable.  Adjust all users.
46395         Define INTERNAL_GETTIME if not already defined.
46396         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46397         call.
46398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46399         HAVE_CLOCK_GETTIME_VSYSCALL.
46400         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46401
46402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46403         gettimeofday vsyscall, just use time.
46404
46405 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46406
46407         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46408         <errno.h>.
46409
46410 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46411
46412         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46413         syscall on x86-64.
46414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46415         syscall.
46416         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46417         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46418         syscall if possible.
46419
46420 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46421
46422         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46423         e_ident.  Don't pass to find_mapsXX.
46424         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46425
46426 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46427
46428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46429         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46430         * sysdeps/x86_64/multiarch/strchr.S: Update.
46431         Check bit_slow_BSF bit.
46432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46433         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46434         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46435
46436 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46437
46438         [BZ #13134]
46439         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46440         before glibc 2.15.
46441         (tryshell): Define.
46442         (__spawni): Change last parameter to be flag.  Test
46443         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46444         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46445         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46446         * posix/spawni.c: Likewise.
46447         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46448         * posix/spawnp.c: Likewise.  Change normal version to use
46449         SPAWN_XFLAGS_USE_PATH.
46450         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46451         SPAWN_XFLAGS_TRY_SHELL.
46452
46453         [BZ #13150]
46454         * posix/glob.h: Remove gcc 1.x support.
46455
46456         [BZ #13068]
46457         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46458
46459 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46460
46461         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46462         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46463         strrchr-sse2-bsf
46464         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46465         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46466         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46467         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46468         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46469         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46470
46471 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46472
46473         * sysdeps/x86_64/wcscmp.S: New file.
46474
46475         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46476         wcscmp-c wcscmp-sse2
46477         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46478         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46479         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46480         * wcsmbs/wcscmp.c: Allow renaming.
46481
46482 2011-09-05  David S. Miller  <davem@davemloft.net>
46483
46484         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46485         stack slot, rather than the struct return pointer slot.
46486         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46487         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46489         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46490
46491 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46492
46493         * po/ja.po: Update from translation team.
46494
46495         [BZ #13144]
46496         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46497         kernel in 64-bit binaries.
46498
46499 2011-09-01  David S. Miller  <davem@davemloft.net>
46500
46501         * elf/elf.h (HWCAP_SPARC_*): Move to..
46502         * sysdeps/sparc/sysdep.h: this new file and add new values.
46503         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46504         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46505         _DL_HWCAP_COUNT to 24.
46506         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46507         entries.
46508         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46509         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46510         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46512         instead of magic constants.
46513         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46514
46515 2011-08-31  David S. Miller  <davem@davemloft.net>
46516
46517         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46518         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46519         Reimplement to do errno handling inline.
46520         (SYSCALL_ERROR_HANDLER): New macro.
46521         (__SYSCALL_STRING): Do not do errno handling in asm.
46522         (__CLONE_SYSCALL_STRING): Delete.
46523         (__INTERNAL_SYSCALL_STRING): Delete.
46524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46525         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46526         (PSEUDO): Reimplement to do errno handling inline.
46527         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46528         (SYSCALL_ERROR_HANDLER): New macro.
46529         (__SYSCALL_STRING): Do not do errno handling in asm.
46530         (__CLONE_SYSCALL_STRING): Delete.
46531         (__INTERNAL_SYSCALL_STRING): Delete.
46532         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46533         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46534         i386.
46535         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46536         (inline_syscall*): Add 'err' argument.
46537         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46538         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46539         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46540         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46541
46542         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46543         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46544
46545 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46546
46547         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46548
46549 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46550
46551         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46552         directive.
46553
46554 2011-08-24  David S. Miller  <davem@davemloft.net>
46555
46556         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46557
46558 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46559
46560         * elf/Makefile: Add rules to build and run unload8 test.
46561         * elf/unload8.c: New file.
46562         * elf/unload8mod1.c: New file.
46563         * elf/unload8mod1x.c: New file.
46564         * elf/unload8mod2.c: New file.
46565         * elf/unload8mod3.c: New file.
46566
46567         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46568         it wasn't used.
46569
46570 2011-08-23  David S. Miller  <davem@davemloft.net>
46571
46572         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46573         subtract stack bias.
46574         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46575         %sp not %fp in calculations.
46576         (_JMPBUF_UNWINDS_ADJ): Likewise.
46577
46578         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46579         (aio_suspend): Call it to force an exception region around the
46580         AIO_MISC_WAIT() invocation.
46581
46582 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46583
46584         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46585         backslash.
46586
46587 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46588
46589         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46590         protection macro.
46591         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46592         and <dl-machine.h>.
46593         (Elf64_FuncDesc): Remove.
46594
46595 2011-08-22  David S. Miller  <davem@davemloft.net>
46596
46597         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46598         sigaltstack check, add missing cfi directives.
46599         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46600         missing cfi directives, and sigaltstack handling.
46601
46602 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46603
46604         [BZ #11724]
46605         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46606         object is seen twice.
46607         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46608
46609         * elf/Makefile (distribute): Add tst-initorder2.c.
46610         (tests): Add tst-initorder2.
46611         (modules-names): Add tst-initorder2a tst-initorder2b
46612         tst-initorder2c tst-initorder2d.  Add rules to build them.
46613         ($(objpfx)tst-initorder2.out): New rule.
46614         * elf/tst-initorder2.c: New file.
46615         * elf/tst-initorder2.exp: New file.
46616
46617 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46618
46619         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46620
46621         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46622         dependencies back to end of function.
46623
46624         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46625         $(elfobjdir)/ld.so.
46626
46627 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46628
46629         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46630         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46632         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46633         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46634         of __vdso_gettimeofday.
46635         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46636         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46637         attribute_hidden.
46638         (_libc_vdso_platform_setup): Remove initialization of
46639         __vdso_gettimeofday and __vdso_time.
46640
46641 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46642
46643         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46644         and fgetc_unlocked.
46645         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46646         getc_unlocked.
46647
46648         * elf/dl-open.c (add_to_global): Report additions to the global scope
46649         for LD_DEBUG=scopes.
46650         (dl_open_worker): Also print scope of newly loaded dependencies.
46651         (_dl_show_scope): Indicate if there is no scope.
46652
46653         [BZ #13114]
46654         * stdio-common/Makefile (tests): Add bug24.
46655         * stdio-common/bug24.c: New file.
46656
46657 2011-08-19  Andreas Jaeger  <aj@suse.de>
46658
46659         [BZ #13114]
46660         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46661         non-existant file when using close-on-exec mode.
46662
46663 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46664
46665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46666         the very first instruction.
46667
46668         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46669         the CFI state in the end.
46670         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46671         inclusion of dl-trampoline.h.
46672         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46673
46674 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46675
46676         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46677         expectations for long double.
46678
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46680         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46681
46682 2011-08-14  David S. Miller  <davem@davemloft.net>
46683
46684         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46685         artificual limit depends upon the system page size.
46686
46687 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46688
46689         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46690         * resolv/Makefile: Define CFLAGS-libresolv.
46691
46692 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46693
46694         * nss/makedb.c (compute_tables): Make variables used in nested
46695         function static.
46696
46697 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46698
46699         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46700         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46701         if buffer was too small.
46702
46703         * elf/pldd.c (main): Attach to all threads in the process.
46704         Rewrite /proc handling to use *at functions.
46705
46706 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46707
46708         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46709         specifies first scope to show.
46710         (dl_open_worker): Update callers.  Move printing scope of new
46711         object to before the relocation.
46712         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46713         * sysdeps/generic/ldsodefs.h: Update declaration.
46714
46715         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46716         string for the scope number.
46717
46718 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46719
46720         * nscd/servicescache.c (cache_addserv): Make sure written is always
46721         initialized.
46722
46723 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46724
46725         * sysdeps/i386/i486/bits/atomic.h
46726         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46727         statement expression, so as to suppress "set but not used" warning.
46728         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46729
46730         * string/strncat.c (STRNCAT): Use prototype definition.
46731
46732         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46733         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46734         -Iprograms here.
46735         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46736         (localedef-modules): Add localedef.
46737         (locale-modules): Add locale.
46738
46739         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46740         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46741         to avoid a warning.
46742
46743 2011-08-14  David S. Miller  <davem@davemloft.net>
46744
46745         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46746         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46747
46748 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46749
46750         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46751         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46752         * elf/rtld.c (dl_main): Set l_name of vDSO.
46753         Call _dl_show_scope when DL_DEBUG_SCOPES.
46754         (process_dl_debug): Recognize scopes flag and also set it for all.
46755         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46756         Declare _dl_show_scope.
46757
46758         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46759         (do_dlopen): Pass caller_dlopen to dl_open.
46760         (__libc_dlopen_mode): Initialize caller_dlopen.
46761
46762         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46763         of libc.  Make tolower call locale-independent.  Optimize a bit by
46764         using isdigit instead of isalnum.
46765         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46766
46767 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46768
46769         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46770         was a dependency or dynamically loaded.
46771
46772 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46773
46774         * intl/l10nflist.c: Allow architecture-specific pop function.
46775         * sysdeps/x86_64/l10nflist.c: New file.
46776
46777         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46778         classification.
46779
46780 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46781
46782         * include/dirent.h: Add libc_hidden_proto for scandirat and
46783         scandirat64.  Don't declare __scandirat64.
46784         * dirent/scandirat.c: Add libc_hidden_def.
46785         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46786         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46787
46788 2011-08-10  David S. Miller  <davem@davemloft.net>
46789
46790         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46791         enum.
46792         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46793         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46794         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46795
46796 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46797
46798         * Versions.def [libc]: Add GLIBC_2.15.
46799         * dirent/Makefile (routines): Add scandirat and scandirat64.
46800         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46801         GLIBC_2.15.
46802         * dirent/dirent.h: Declare scandirat and scandirat64.
46803         * dirent/scandirat.c: New file.
46804         * dirent/scandirat64.c: New file.
46805         * sysdeps/wordsize-64/scandirat.c: New file.
46806         * sysdeps/wordsize-64/scandirat64.c: New file.
46807         * dirent/opendir.c: Define opendirat.
46808         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46809         using scandirat.
46810         * dirent/scandir64.c: Adjust for scandir.c change.
46811         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46812         __scandirat64, and __scandir_cancel_handler.
46813         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46814         additional parameter and use openat instead of open (outside of ld.so).
46815         Add new __opendir as wrapper around __opendirat.
46816         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46817         here without requiring old scandirat implementation.
46818
46819 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46820
46821         * dirent/scandir.c (cancel_handler): Renamed to
46822         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46823         defined.  Adjust users.
46824         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46825         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46826
46827 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46828
46829         * string/test-string.h (IMPL): Use __STRING to expand name and then
46830         stringify it.
46831
46832         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46833         of cleanups.
46834
46835 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46836
46837         * string/Makefile: Update.
46838         (strop-tests): Append strncat.
46839         * string/test-wcscmp.c: New file.
46840         New comprehensive test for wcscmp.
46841         * string/test-strcmp.c: Update.
46842         (WIDE): New define.
46843
46844 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46845
46846         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46847         line.
46848
46849 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46850
46851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46852         encoding to ACE if AI_IDN.
46853
46854 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46855
46856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46857         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46858
46859 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46860
46861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46862         Fix overflow bug in strncat.
46863         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46864
46865         * string/test-strncat.c: Update.
46866         Add new tests for checking overflow bugs.
46867
46868 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46869
46870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46871         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46872         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46873         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46874         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46875         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46876         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46877         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46878         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46879
46880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46881         (USE_AS_STRCAT): Define.
46882         Add strcat and strncat support.
46883         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46884
46885 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46886
46887         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46888         __n bigger than INT_MAX+1.
46889         (__strncmp_g): Likewise.
46890
46891 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46892
46893         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46894         * libio/stido.h: Likewise.
46895
46896         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46897         (AF_NFC): Define.
46898         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46899         (AF_NFC): Define.
46900
46901         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46902         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46904         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46905         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46906
46907         [BZ #13021]
46908         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46909         installed.
46910
46911         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46912         typo.
46913         (_dl_x86_64_save_sse): Likewise.
46914
46915 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46916
46917         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46918         OSXSAVE.
46919         (_dl_x86_64_save_sse): Likewise.
46920
46921         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46922
46923         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46924
46925 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46926
46927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46928         change.
46929         (_dl_x86_64_save_sse): Use correct AVX check.
46930
46931 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46932
46933         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46934         bug in strncpy/strncat.
46935         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46936
46937 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46938
46939         * string/tester.c (test_strcat): Add tests for different alignments
46940         of source and destination.
46941         (test_strncat): Likewise.
46942
46943 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46944
46945         [BZ #12852]
46946         * posix/glob.c (glob): Check passed in values before using them in
46947         expressions to avoid some overflows.
46948         (glob_in_dir): Likewise.
46949
46950         [BZ #13007]
46951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46952         check for AVX enablement so that we don't crash with old kernels and
46953         new hardware.
46954         * elf/tst-audit4.c: Add same checks here.
46955         * elf/tst-audit6.c: Likewise.
46956
46957         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46958
46959 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46960
46961         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46962
46963 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46964
46965         * po/cs.po: Update from translation team.
46966         * po/bg.po: Likewise.
46967
46968 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46969
46970         * misc/sys/cdefs.h: Add support for const attribute.
46971         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46972         to gnu_dev_{major,minor,makedev} functions.
46973
46974 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46975
46976         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46977
46978 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46979
46980         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46981         strlen results.
46982
46983 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46984
46985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46986         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46987         register in order to avoid conflicts with the soft frame pointer
46988         being held in r11 when necessary.
46989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46990         (INTERNAL_VSYSCALL_NCS): Likewise.
46991
46992 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46993
46994         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46995         * elf/dl-fini.c (_dl_fini): Adjust caller.
46996         * elf/dl-close.c (_dl_close_worker): Likewise.
46997         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46998
46999 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47000
47001         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47002         "aux_cache->nlibs < 0".
47003
47004         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47005         in the reload-count case.
47006
47007 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47008
47009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47010         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47011         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47012         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47013         * sysdeps/x86_64/multiarch/strcat.S: New file.
47014         * sysdeps/x86_64/multiarch/strncat.S: New file.
47015         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47016         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47017         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47018         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47019         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47020         (USE_AS_STRCAT): Define.
47021         Add strcat and strncat support.
47022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47023         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47024         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47025         * string/strncat.c: Update.
47026         (USE_AS_STRNCAT): Define.
47027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47028         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47029         and i7.
47030         * sysdeps/x86_64/multiarch/init-arch.h
47031         (bit_Prefer_PMINUB_for_stringop): New.
47032         (index_Prefer_PMINUB_for_stringop): Likewise.
47033         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47034         bit_Prefer_PMINUB_for_stringop.
47035
47036 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47037
47038         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47039         buffer64.
47040         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47041         of casting of buffer.
47042         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47043         buffer32 and buffer64.
47044         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47045         writes instead of casting of buffer.
47046         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47047         buffer32.
47048         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47049         casting of buffer.
47050
47051 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47052
47053         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47054
47055 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47056
47057         * nscd/nscd.c (termination_handler): Don't do anything for a database
47058         if it has not yet been initialized.
47059
47060 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47061
47062         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47063
47064 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47065
47066         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47067
47068 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47069
47070         * po/nl.po: Update from translation team.
47071         * po/sv.po: Likewise.
47072
47073 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47074
47075         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47076         now disallowed by GCC.
47077
47078         * configure.in (use-default-link): Default to yes if a test -shared
47079         link meets our qualifications.
47080         * configure: Regenerated.
47081
47082         * config.make.in (output-format): New variable.
47083         * configure.in: Check for ld --print-output-format support.
47084         * configure: Regenerated.
47085         * Makerules ($(common-objpfx)format.lds)
47086         [$(output-format) != unknown]: Just use $(output-format),
47087         instead of the linker-script munging.
47088
47089 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47090
47091         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47092         of $(common-objpfx)shlib.lds.
47093         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47094
47095         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47096         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47097
47098         * configure.in (-z relro check): Adjust test code to add a large
47099         writable data section after it.
47100         * configure: Regenerated.
47101
47102 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47103
47104         * configure.in (-z relro check): Fix test code to make the variable
47105         truly const.
47106         * configure: Regenerated.
47107
47108 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47109
47110         * nscd/nscd.h (struct traced_file): Define.
47111         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47112         elements.  Add traced_files.
47113         (inotify_fd): Declare.
47114         (register_traced_file): Declare.
47115         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47116         (inotify_fd): Export.
47117         (resolv_conf_descr): Remove.
47118         (nscd_init): Move inotify descriptor creation to main.
47119         Don't register files for notification here.
47120         (register_traced_file): New function.
47121         (invalidate_cache): Don't use reset_res to determine whether to call
47122         res_init, go through the list of registered files.
47123         (main_loop_poll): The inotify descriptors are now stored in the
47124         structures for the traced files.
47125         (main_loop_epoll): Likewise
47126         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47127         to __nss_disable_nscd.
47128         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47129         for a database anymore.  Check the records for all the registered
47130         files instead.
47131         * nss/Makefile (libnss_files-routines): Add files-init.
47132         (libnss_db-routines): Add db-init.
47133         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47134         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47135         * nss/nss_db/db-init.c: New file.
47136         * nss/nss_files/files-init.c: New file.
47137         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47138         __nss_lookup_function.
47139         (__nss_lookup_function): Call nss_load_library.
47140         (nss_load_all_libraries): New function.
47141         (__nss_disable_nscd): Take parameter with callback function for files
47142         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47143         used for the cached services.
47144         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47145         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47146         options for features to all the files in nscd.
47147
47148         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47149
47150 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47151
47152         * csu/elf-init.c (__libc_csu_init): Comment typo.
47153
47154 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47155
47156         * po/pl.po: Update from translation team.
47157         * po/ja.po: Likewise.
47158         * po/ru.po: Likewise.
47159         * po/ko.po: Likewise.
47160         * po/fr.po: Likewise.
47161
47162 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47163
47164         * configure.in (.ctors/.dtors header and trailer check):
47165         Use an empirical test on a built program.
47166         * configure: Regenerated.
47167
47168         * configure.in (-z relro check): Use an empirical test on a built DSO.
47169         Detect, but do not require, on ia64.
47170         * configure: Regenerated.
47171
47172         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47173         Update tests that use readelf to use $READELF instead.
47174         * configure: Regenerated.
47175
47176 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47177
47178         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47179         if the result is not used.
47180
47181 2011-07-05  Andreas Jaeger  <aj@suse.de>
47182
47183         [BZ#9696]
47184         * stdlib/tst-strtod.c: Add testcase.
47185
47186 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47187
47188         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47189         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47190         The latter has a higher limit.  Take additional parameter to pass to
47191         the new function.
47192         (__pathconf): Pass file to __statfs_link_max.
47193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47194         __statfs_link_max.
47195         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47196         __statfs_link_max.
47197
47198         [BZ #12868]
47199         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47200         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47201         Handle Lustre.
47202         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47203         (__statfs_filesize_max): Likewise.
47204         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47205
47206 2011-07-05  Andreas Jaeger  <aj@suse.de>
47207
47208         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47209
47210 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47211
47212         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47213         `status' variable.
47214         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47215         Likewise.
47216
47217 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47218
47219         * Makefile (strop-tests): Add strncat.
47220         * string/test-strncat.c: New file.
47221
47222 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47223
47224         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47225
47226 2011-06-21  Andreas Jaeger  <aj@suse.de>
47227
47228         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47229         Copy rule from iconvdata/Makefile.
47230
47231 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47232
47233         [BZ #12922]
47234         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47235         but no long options are defined, just return 'W'.
47236
47237 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47238
47239         [BZ #9696]
47240         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47241
47242 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47243
47244         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47245         netgroups to read.
47246         (innetgr): Likewise.
47247
47248 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47249
47250         * config.make.in (install_root): Default to $(DESTDIR).
47251
47252 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47253
47254         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47255
47256 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47257
47258         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47259
47260         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47261         containing directory rather than embedding absolute directory names.
47262
47263         * scripts/check-local-headers.sh: Rewritten using awk.
47264         Match by word, not by line.  Print error messages for matches.
47265         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47266
47267         * Makerules [shlib-lds-flags empty]:
47268         ($(common-objpfx)libc_pic.opts): New target.
47269         ($(common-objpfx)libc_pic.os.clean): New target.
47270         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47271
47272         * config.make.in (OBJCOPY): New variable.
47273         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47274         * configure: Regenerated.
47275
47276         * config.make.in (use-default-link): New variable.
47277         * configure.in (use_default_link): Grok --with-default-link to set it.
47278         * configure: Regenerated.
47279         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47280         (shlib-lds, shlib-lds-flags): Define to empty.
47281
47282         * Makerules (shlib-lds): New variable.
47283         (shlib-lds-flags): New variable.
47284         (build-shlib, build-moduile, build-module-asneeded): Use it.
47285         ($(common-objpfx)libc.so): Use $(shlib-lds).
47286         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47287         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47288
47289         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47290         DT_FLAGS/DT_FLAGS_1 with zero flags.
47291
47292         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47293         linker script munging.
47294
47295 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47296
47297         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47298         as 128-bit value.
47299         * crypt/sha512.c (sha512_process_block): Perform total addition using
47300         128-bit if possible.
47301         (__sha512_finish_ctx): Likewise.
47302         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47303         as 64-bit value.
47304         * crypt/sha256.c (SWAP64): Define.
47305         (sha256_process_block): Perform total addition using 64-bit if
47306         possible.
47307         (__sha256_finish_ctx): Likewise.
47308
47309 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47310
47311         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47312         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47313         * nscd/hstcache.c (cache_addhst): Likewise.
47314         * nscd/grpcache.c (cache_addgr): Likewise.
47315         * nscd/aicache.c (addhstaiX): Likewise
47316         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47317
47318 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47319
47320         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47322         * nscd/hstcache.c (cache_addhst): Likewise.
47323         * nscd/grpcache.c (cache_addgr): Likewise.
47324         * nscd/aicache.c (addhstaiX): Likewise
47325
47326 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47327
47328         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47329         domain only when needed.
47330
47331 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47332
47333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47334         is always restored.
47335
47336 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47337
47338         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47339         are re-adding the entry.
47340         * nscd/servicescache.c (cache_addserv): Likewise.
47341
47342 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47343
47344         * sysdeps/generic/dl-irel.h: fix protection against multiple
47345         inclusions.
47346         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47347
47348 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47349
47350         [BZ #12935]
47351         * malloc/memusage.sh: Fix quoting in message.
47352         * debug/xtrace.sh: Likewise.
47353
47354         * configure.in: Remove support for --experimental-malloc option, make
47355         it the default.
47356         * config.make.in: Likewise.
47357         * malloc/Makefile: Likewise.
47358
47359 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47360
47361         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47362         two-byte characters.
47363
47364 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47365
47366         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47367         AC_CACHE_CHECK invocation.
47368         * configure: Regenerated.
47369
47370         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47371
47372 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47373
47374         [BZ #12350]
47375         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47376         bit from old_res_options.
47377
47378         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47379
47380         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47381         value type for setfct.
47382
47383 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47384
47385         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47386         __gettimeofday instead of gettimeofday.
47387
47388 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47389
47390         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47391
47392 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47393
47394         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47395
47396         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47397         info.
47398
47399 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47400
47401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47402         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47403         strcpy-sse2-unaligned strncpy-sse2-unaligned
47404         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47405         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47406         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47407         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47408         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47409         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47410         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47411         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47412         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47413         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47414         (STRCPY): Support SSE2 and SSSE3 versions.
47415
47416 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47417
47418         [BZ #12874]
47419         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47420         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47421         kernels which artificially limit size of requests.
47422
47423 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47424
47425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47426         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47427         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47428         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47429         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47430         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47431         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47432         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47433         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47435         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47436         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47437         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47438         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47439         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47441         Enable unaligned load optimization for Intel Core i3, i5 and i7
47442         processors.
47443         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47444         Define.
47445         (index_Fast_Unaligned_Load): Define.
47446         (HAS_FAST_UNALIGNED_LOAD): Define.
47447
47448 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47449
47450         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47451
47452 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47453
47454         [BZ #12907]
47455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47456         until it is clear that the information is realy needed.
47457         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47458
47459 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47460
47461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47462
47463 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47464
47465         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47466         /sys/devices/system/cpu/online if it is usable.
47467
47468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47469         reading the information from the /proc filesystem to once a second.
47470
47471 2011-06-21  Andreas Jaeger  <aj@suse.de>
47472
47473         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47474         NULL after inclusion of kernel headers.
47475
47476 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47477
47478         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47479         calls to internal_setent.
47480
47481         [BZ #12885]
47482         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47483         addresses using gethostbyname4_r ignore IPv4 addresses.
47484
47485         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47486         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47487
47488         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47489
47490 2011-06-20  David S. Miller  <davem@davemloft.net>
47491
47492         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47493         inclusions.
47494         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47495
47496         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47497         (elf_irel): Use it.
47498         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47499         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47500         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47501         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47502         * sysdeps/x86_64/dl-irel.h: Likewise.
47503
47504         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47505         * elf/dl-sym.c: Likewise.
47506
47507 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47508
47509         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47510         need to dereference resplen2.
47511
47512 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47513
47514         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47515
47516 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47517
47518         * Makeconfig: Define vardbdir and inst_vardbdir.
47519         * nss/Makefile: Add rules to install db-Makefile.
47520
47521         * nss/nss_db/db-XXX.c: Cleanup.
47522
47523         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47524         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47525         GLIBC_PRIVATE.
47526         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47527         * nss/makedb.c: Implement -g option to specify that value strings
47528         are generated and should not be added to table iterated over for
47529         get*ent calls.
47530         * nss/nss_db/db-initgroups.c: New file.
47531
47532         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47533         interface.
47534
47535         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47536         (internal_getgrouplist): Adjust to name change.
47537         Update use_initgroups_entry if this is not the first call.
47538         * nss/databases.def: Add initgroups entry.
47539
47540         * nss/makedb.c (compute_tables): Check result of multiple hash table
47541         sizes to minimize maximum chain length.
47542
47543 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47544
47545         * Versions.def: Add entry for libnss_db.
47546         * shlib-versions: Likewise.
47547         * nss/Makefile: Add rules to build libnss_db.
47548         * nss/Versions: Add libnss_db information.  Organize libnss_files
47549         entries better.
47550         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47551         makedb progra.  Some minor improvements to generate smaller files.
47552         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47553         here from...
47554         * nss/makedb.c: ...here.
47555         Improve database format to be smaller and require less memory at
47556         runtime.
47557         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47558         db anymore.
47559         * nss/nss_db/db-netgrp.c: Likewise.
47560         * nss/nss_db/db-open.c: Likewise.
47561         * nss/nss_files/flies-XXX.x: Adjust comments.
47562         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47563         * nss/nss_files/files-grp.c: Likewise.
47564         * nss/nss_files/files-hosts.c: Likewise.
47565         * nss/nss_files/files-network.c: Likewise.
47566         * nss/nss_files/files-proto.c: Likewise.
47567         * nss/nss_files/files-pwd.c: Likewise.
47568         * nss/nss_files/files-rpc.c: Likewise.
47569         * nss/nss_files/files-service.c: Likewise.
47570         * nss/nss_files/files-sgrp.c: Likewise.
47571         * nss/nss_files/files-spwd.c: Likewise.
47572         * nss/nss_db/db-alias.c: Removed.
47573         * nss/nss_db/dummy-db.h: Removed.
47574
47575 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47576
47577         * nss/makedb.c: Rewritten to not use database library.
47578         * nss/Makefile: Update to build new makedb program.
47579
47580 2011-06-14  Andreas Jaeger  <aj@suse.de>
47581
47582         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47583         memset declaration.
47584
47585 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47586
47587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47588         tmpbuf.
47589
47590 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47591
47592         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47593         * elf/Makefile ($(objpfx)ld.so): Likewise.
47594
47595         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47596         Don't list ld.so twice in dependencies.
47597
47598         * posix/bug-regex31.c: Include <stdlib.h>.
47599
47600         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47601
47602         * nis/nss_compat/compat-spwd.c
47603         (getspent_next_nss_netgr): Remove unused variable.
47604         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47605
47606         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47607         nonmembers" output to use the right array.
47608
47609         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47610
47611         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47612
47613         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47614         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47615         * catgets/gencat.c (read_input_file): Likewise.
47616         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47617
47618         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47619         variable definition inside #if's controlling its use.
47620
47621         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47622
47623         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47624
47625         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47626
47627         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47628         unreachable code.
47629
47630         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47631
47632         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47633         * configure: Regenerated.
47634
47635         * Makerules: Revert last change.
47636         * elf/Makefile: Likewise.
47637
47638 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47639
47640         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47641         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47642         (reloc-link): Likewise.
47643
47644 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47645
47646         * elf/Makefile: Add rules to build pldd.
47647         * elf/pldd.c: New file.
47648         * elf/pldd-xx.c: New file.
47649
47650 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47651
47652         * version.h: Update for 2.15 development version.
47653
47654 2011-06-07  David S. Miller  <davem@davemloft.net>
47655
47656         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47657         ifuncs.
47658         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47659         elf_machine_lazy_rel): Likewise.
47660         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47662         elf_machine_lazy_rel): Likewise.
47663         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47664         dl_hwcap via passed in argument.
47665         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47666         Likewise.
47667
47668 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47669
47670         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47671
47672 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47673
47674         [BZ #12849]
47675         * manual/fdl-1.1.texi: New file, verbatim from:
47676         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47677         * manual/lgpl-2.1.texi: New file, verbatim from:
47678         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47679         * manual/Makefile (licenses): New variable, list those new file names.
47680         (texis): Use it.
47681         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47682
47683         * manual/fdl.texi: File removed.
47684         * manual/lesser.texi: File removed.
47685         * manual/libc.texinfo (Copying, Documentation License):
47686         Use new @include file names, put @appendix directive before @include.
47687
47688 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47689
47690         [BZ #12841]
47691         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47692         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47693         (mq_open): Add __NTH.
47694
47695 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47696
47697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47698         Assume Intel Core i3/i5/i7 processor if AVX is available.
47699
47700 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47701
47702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47703         typo.
47704
47705 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47706
47707         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47708         memory.  Use alloca_account.  Fix memory leak when retrying.
47709
47710 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47711
47712         * version.h (RELEASE): Bump for 2.14 release.
47713         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47714
47715         * config.make.in (RANLIB): Remove entry.
47716
47717 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47718
47719         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47720         (libc.pot): Work around missing support for .ksh extension in xgettext.
47721
47722         [BZ #12684]
47723         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47724         if both request failed.
47725         (send_dg): In case of server errors clear resplen or *resplen2.
47726
47727         [BZ #12454]
47728         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47729         when there are multiple maps.
47730         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47731         (_dl_fini): Remove test here.
47732
47733         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47734
47735 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47736
47737         [BZ #12350]
47738         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47739         bit from old_res_options.
47740         (gaih_inet): Likewise.
47741
47742         [BZ #11099]
47743         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47744         as signed.
47745
47746         * resolv/res_init.c (res_setoptions): Make the code more compact.
47747
47748         [BZ #11558]
47749         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47750         set RES_USEVC.
47751
47752         [BZ #11634]
47753         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47754
47755         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47756
47757         [BZ #11781]
47758         * malloc/malloc.h: Declare malloc hook variables as volatile.
47759
47760         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47761         in last patch.
47762
47763         [BZ #11799]
47764         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47765         raise in the comment.
47766         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47768         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47769
47770 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47771
47772         [BZ #12811]
47773         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47774         grow the buffers more if it already has to be sufficient.
47775         (build_wcs_upper_buffer): Likewise.
47776         * posix/regexec.c (check_matching): Likewise.
47777         (clean_state_log_if_needed): Likewise.
47778         (extend_buffers): Don't enlarge buffers beyond size of the input
47779         buffer.
47780         Patches mostly by Emil Wojak <emil@wojak.eu>.
47781         * posix/bug-regex32.c: New file.
47782         * posix/Makefile (tests): Add bug-regex32.
47783
47784         * locale/findlocale.c (_nl_find_locale): Return right away if
47785         _nl_explode_name failed.
47786         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47787
47788         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47789
47790         * debug/xtrace.sh: Unify messages.
47791         * malloc/memusage.sh: Likewise.
47792
47793         [BZ #12813]
47794         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47795         time symbol from vDSO.  Substitute with vsyscall if not available.
47796         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47797         __vdso_time.
47798
47799         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47800         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47801         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47802         Add sendmmsg and internal_sendmmsg.
47803         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47804         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47805         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47806
47807         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47808         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47809         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47810
47811 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47812
47813         [BZ #12813]
47814         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47815         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47816         available.
47817         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47818         __vdso_getcpu.
47819
47820         [BZ #12814]
47821         * iconvdata/Makefile (tests): Add bug-iconv9.
47822         * iconvdata/bug-iconv9.c: New file.
47823
47824 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47825
47826         [BZ #12814]
47827         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47828
47829 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47830
47831         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47832         (struct user_regs_struct): Change intcs field back to cs.
47833
47834 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47835
47836         * po/ja.po: Update from translation team.
47837
47838 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47839
47840         [BZ #12795]
47841         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47842         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47843
47844 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47845
47846         * stdlib/longlong.h: Update from GCC.
47847
47848 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47849
47850         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47851         parameter name.
47852         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47853         Add parameter name.
47854         (__sysconf): Pass it down.
47855
47856 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47857
47858         [BZ #12671]
47859         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47860         some situations.
47861         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47862         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47863         add in in __libc_use_alloca calls.  Adjust callers.
47864         (glob): Use malloc in some situations.
47865
47866         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47867         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47868         pltexit.
47869
47870 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47871
47872         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47873         and CLOCK_BOOTTIME_ALARM.
47874
47875         [BZ #12782]
47876         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47877         is returned.
47878
47879         * string/_strerror.c (__strerror_r): Print negative errors as signed
47880         numbers.
47881
47882         [BZ #12777]
47883         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47884         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47885         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47886
47887         * configure.in: Fix typo in redirection and correct removal of test
47888         files in two cases.
47889
47890         [BZ #12788]
47891         * locale/setlocale.c (new_composite_name): Fix test to check for
47892         identical name of all categories.
47893
47894         [BZ #12792]
47895         * libio/filedoalloc.c (local_isatty): New function.
47896         (_IO_file_doallocate): Use local_isatty.
47897         * stdio-common/perror.c (perror): In case a new stream is used
47898         forward the stream error.
47899         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47900         error flag.
47901
47902 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47903
47904         [BZ #11869]
47905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47906         alloca.
47907         * include/alloca.h (extend_alloca_account): Define.
47908
47909         [BZ #11857]
47910         * posix/regex.h: Fix comments with documentation of user-accessible
47911         fields after compilation and describe correct free'ing of pattern
47912         after re_compile_pattern.
47913         Patch by Reuben Thomas <rrt@sc3d.org>.
47914
47915 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47916
47917         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47918         and -mno-altivec to prevent the compiler from using Altivec and/or
47919         VSX instructions when the corresponding registers are not available.
47920
47921 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47922
47923         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47924
47925 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47926
47927         * libio/freopen.c (freopen): Use __dup2, not dup2.
47928         * libio/freopen64.c (freopen64): Likewise.
47929
47930 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47931
47932         [BZ #12775]
47933         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47934         * math/Makefile (tests): Add test-powl.
47935         (CFLAGS-test-powl.c): Define.
47936         * math/test-powl.c: New file.
47937
47938 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47939
47940         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47941
47942 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47943
47944         [BZ #11837]
47945         * iconvdata/gb18030.c: Update to GB18020-2005.
47946
47947 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47948
47949         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47950         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47951         Patch by Aharon Robbins <arnold@skeeve.com>.
47952
47953         [BZ #11892]
47954         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47955         on the stack.
47956
47957         [BZ #11895]
47958         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47959         through underflows.
47960
47961         [BZ #12766]
47962         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47963         point to strings before performing equality test for error_one_per_line
47964         mode.
47965
47966         [BZ #11697]
47967         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47968
47969         [BZ #11820]
47970         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47971         (struct user_fpregs_struct): Avoid __uint*_t types.
47972
47973         [BZ #6420]
47974         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47975         symbol info.  Use it instead of calling _dl_addr locally.
47976         (lock_and_info): New function.
47977         (tr_freehook): Call lock_and_info and pass symbol info as additional
47978         parameter to tr_where.
47979         (tr_mallochook): Likewise.
47980         (tr_reallochook): Likewise.
47981         (tr_memalignhook): Likewise.
47982
47983         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47984         used and couldn't be at all thread-safe.
47985
47986 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47987
47988         * libio/freopen.c (freopen): Don't close old file descriptor
47989         before the new one is opened.  Instead dup the new file descriptor
47990         to the old one after the new stream is created.
47991         * libio/freopen64.c (freopen64): Likewise.
47992         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47993         * libio/fileops.c (_IO_new_file_close_it): Handle new
47994         _IO_FLAGS2_NOCLOSE flag.
47995         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47996         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47997         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47998         _IO_FLAGS2_NOCLOSE flag.
47999         * include/unistd.h: Add hidden_proto for dup3.
48000         Define __have_dup3.
48001         * io/dup3.c: Define hidden symbol.
48002         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48003
48004         [BZ #7101]
48005         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48006         when an incomplete long option is used.
48007         * posix/tst-getopt_long1.c: New file.
48008         * posix/Makefile (tests): Add tst-getopt_long1.
48009
48010         [BZ #10138]
48011         * scripts/config.guess: Update from autoconf-2.68.
48012         * scripts/config.sub: Likewise.
48013
48014         [BZ #10157]
48015         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48016         tests into ...
48017         (has_cpuclock): ...this.  New function.
48018         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48019         macro here based on has_cpuclock code.
48020
48021         [BZ #10149]
48022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48023         First byte (not low byte) is now always NUL.
48024         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48025
48026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48027         Use non-cancelable interfaces.
48028
48029         [BZ #9809]
48030         * locale/iso-639.def: Add entry for Sorani.
48031
48032         [BZ #11901]
48033         * include/stdlib.h: Move include protection to the right place.
48034         Define abort_msg_s.  Declare __abort_msg with it.
48035         * stdlib/abort.c (__abort_msg): Adjust type.
48036         * assert/assert.c (__assert_fail_base): New function.  Majority
48037         of code from __assert_fail.  Allocate memory for __abort_msg with
48038         mmap.
48039         (__assert_fail): Now call __assert_fail_base.
48040         * assert/assert-perr.c: Remove bulk of implementation.  Use
48041         __assert_fail_base.
48042         * include/assert.hL Declare __assert_fail_base.
48043         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48044         mmap.
48045         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48046
48047 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48048
48049         [BZ #11952]
48050         [BZ #12453]
48051         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48052         until all modules are registered in the DTV.
48053         * elf/Makefile: Add rules to build and run tst-tls19.
48054         * elf/tst-tls19.c: New file.
48055         * elf/tst-tls19mod1.c: New file.
48056         * elf/tst-tls19mod2.c: New file.
48057         * elf/tst-tls19mod3.c: New file.
48058         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48059
48060         [BZ #12083]
48061         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48062         correctly.
48063
48064         [BZ #12601]
48065         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48066         two-byte sequence errors.
48067         * iconvdata/Makefile (tests): Add bug-iconv8.
48068         * iconvdata/bug-iconv8.c: New file.
48069
48070         [BZ #12626]
48071         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48072         buf2 definition.
48073
48074         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48075
48076         [BZ #12432]
48077         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48078         (dummy_getcfa): New function.
48079         (init): Get _Unwind_GetCFA address, use dummy if not found.
48080         (backtrace_helper): In recursion check, also check whether CFA changes.
48081         (__backtrace): Completely initialize arg.
48082
48083         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48084         storing incomplete byte sequence in state object.  Avoid testing for
48085         guaranteed too small input if we know there is enough data available.
48086
48087 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48088
48089         * Makeconfig (+link-pie): Indent.
48090         * Rules (binaries-pie): Define if $(have-fpie) and
48091         $(build-shared).
48092         (binaries-shared): Also filter out $(binaries-pie).
48093         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48094         * nscd/Makefile (others-pie): Add nscd.
48095         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48096         ($(objpfx)nscd): Remove command override.
48097         * login/Makefile (others-pie): Add pt_chown.
48098         ($(objpfx)pt_chown): Remove command override.
48099         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48100         remove command overrides.
48101
48102 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48103
48104         * libio/tst_putwc.c: Fix error messages.
48105
48106         [BZ #12724]
48107         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48108         currently writing and seek to current position when not.
48109         * libio/Makefile (tests): Add bug-fclose1.
48110         * libio/bug-fclose1.c: New file.
48111
48112 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48113
48114         [BZ #12511]
48115         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48116         don't set DF_1_NODELETE here.
48117         (do_lookup_x): When entering new entry test for copy relocation
48118         and if necessary set DF_1_NODELETE flag.
48119         * elf/tst-unique4.cc: New file.
48120         * elf/tst-unique4.h: New file.
48121         * elf/tst-unique4lib.cc: New file.
48122         * elf/Makefile: Add rules to build and run tst-unique4.
48123         Patch by Piotr Bury <pbury@goahead.com>.
48124
48125 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48126
48127         [BZ #12052]
48128         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48129
48130         [BZ #12625]
48131         * misc/mntent_r.c (addmntent): Flush the stream after the output
48132
48133         [BZ #12393]
48134         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48135         (is_trusted_path_normalize): Skip initial colon.  Append slash
48136         to empty buffer.  Duplicate is_trusted_path code but allow
48137         constructed patch to be prefix.
48138         (is_dst): Allow $ORIGIN followed by /.
48139         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48140         Correct testing of result of is_trusted_path_normalize
48141         (decompose_rpath): Fix warning.
48142
48143 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48144
48145         [BZ #11257]
48146         * grp/initgroups.c (internal_getgrouplist): When we found the service
48147         list through the initgroups entry in nsswitch.conf do not always
48148         continue on a successful lookup.  Don't always use the
48149         __nss_group_database value if it is set.
48150         * nss/nsswitch.conf (initgroups): Change action for successful db
48151         lookup to continue for compatibility.
48152
48153 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48154
48155         [BZ #11532]
48156         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48157         and CP774 modules.
48158         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48159         and CP774 modules.
48160         * iconvdata/tst-tables.sh: Likewise.
48161         * iconvdata/cp770.c: New file.
48162         * iconvdata/cp771.c: New file.
48163         * iconvdata/cp772.c: New file.
48164         * iconvdata/cp773.c: New file.
48165         * iconvdata/cp774.c: New file.
48166         * iconvdata/testdata/CP770: New file.
48167         * iconvdata/testdata/CP770..UTF8: New file.
48168         * iconvdata/testdata/CP771: New file.
48169         * iconvdata/testdata/CP771..UTF8: New file.
48170         * iconvdata/testdata/CP772: New file.
48171         * iconvdata/testdata/CP772..UTF8: New file.
48172         * iconvdata/testdata/CP773: New file.
48173         * iconvdata/testdata/CP773..UTF8: New file.
48174         * iconvdata/testdata/CP774: New file.
48175         * iconvdata/testdata/CP774..UTF8: New file.
48176
48177         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48178         END CHARMAP line.
48179         * iconvdata/gen-8bit-gap.sh: Likewise.
48180         * iconvdata/gen-8bit.sh: Likewise.
48181
48182         * locale/iso-639.def: Add ary entry.
48183
48184         [BZ #11258]
48185         * locale/C-translit.h.in: Add U20A1 transliteration.
48186
48187         [BZ #12178]
48188         * locale/iso-639.def: Add wae entry.
48189         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48190
48191         [BZ #12545]
48192         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48193         for n.
48194
48195         [BZ #12711]
48196         * locale/C-translit.h.in: Add entry for U20B9.
48197         Patch by pravin.d.s@gmail.com.
48198
48199 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48200
48201         [BZ #12713]
48202         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48203         ENAMETOOLONG use generic getcwd.
48204         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48205         in rtld.  Use *stat64.
48206         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48207         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48208         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48209         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48210         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48211         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48212         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48213         __fstatat64 macros.
48214         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48215         * dirent/rewinddir.c: Add libc_hidden_def.
48216         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48217         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48218
48219         * include/dirent.h (__alloc_dir): Add flags parameter.
48220         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48221         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48222         __alloc_dir.
48223         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48224         from fdopendir if O_CLOEXEC is already set.
48225
48226 2011-03-15  Alan Modra  <amodra@gmail.com>
48227
48228         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48229         l_tls_firstbyte_offset non-zero.  Save padding offset in
48230         l_tls_firstbyte_offset for later use.
48231         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48232         freeing static tls block.
48233
48234 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48235
48236         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48237         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48238         being defined by the kernel headers.
48239
48240 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48241
48242         [BZ #12734]
48243         * resolv/resolv.h: Define RES_NOTLDQUERY.
48244         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48245         no-tld-query and set RES_NOTLDQUERY.
48246         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48247         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48248         modern BIND to search name as TLD unless forbidden.
48249
48250 2011-05-07  Petr Baudis  <pasky@suse.cz>
48251             Ulrich Drepper  <drepper@gmail.com>
48252
48253         [BZ #12393]
48254         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48255         (is_trusted_path): ...to here.
48256         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48257         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48258         using is_trusted_path_normalize() in setuid scripts.
48259
48260 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48261
48262         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48263         __BEGIN/__END_DECLS.
48264
48265 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48266
48267         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48268         NSS_STATUS_NOTFOUND if no record was found.
48269
48270 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48271
48272         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48273         (headers-not-in-tirpc): Remove rpc/netdb.h
48274         * resolv/netdb.h: Revert last change.
48275
48276 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48277
48278         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48279         circular dependency between libgcc.a and libc.a.
48280
48281 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48282
48283         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48284         * nis/Makefile: Don't install rpcsvc/*.
48285         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48286         instead of <rpc/types.h>.
48287         (MAXHOSTNAMELEN): Define.
48288
48289 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48290
48291         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48292
48293 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48294
48295         [BZ #12714]
48296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48297         gethostbyname4_r when IPv6 results are possible.
48298
48299 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48300
48301         [BZ #12723]
48302         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48303         _PC_PIPE_BUF handling.
48304
48305 2011-04-30  Bruno Haible  <bruno@clisp.org>
48306
48307         [BZ #12717]
48308         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48309         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48310         to 'int'.
48311         * inet/getnameinfo.c (getnameinfo): Likewise.
48312
48313 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48314
48315         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48316         to groups setting in database lookup.
48317         * nss/nsswitch.conf: Add initgroups entry.
48318
48319 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48320
48321         [BZ #12685]
48322         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48323         mode string.
48324         Patch by Eric Blake <eblake@redhat.com>.
48325
48326 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48327
48328         * sunrpc/Makefile (need-export-routines): Add svc_run.
48329         (routines): Remove svc_run.
48330         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48331         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48332         * sunrpc/svc_run.c (svc_run): Likewise.
48333         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48334
48335 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48336
48337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48338         problem in reallocation in last patch.
48339
48340 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48341
48342         * sunrpc/Makefile: Move inclusion of Rules.
48343
48344 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48345
48346         * nss/nss_files/files-initgroups.c: New file.
48347         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48348         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48349         _nss_files_initgroups_dyn.
48350
48351 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48352
48353         * elf/elf.h (R_ARM_IRELATIVE): Define.
48354
48355 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48356
48357         * po/ru.po: Update from translation team.
48358
48359 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48360
48361         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48362         dependencies.
48363
48364 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48365
48366         [BZ #12653]
48367         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48368         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48369         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48370         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48371         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48372
48373 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48374
48375         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48376         differing bytes.
48377         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48379         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48380
48381 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48382
48383         [BZ #12420]
48384         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48385         storing it.
48386         * stdlib/bug-getcontext.c: New file.
48387         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48388
48389 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48390
48391         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48392         instructions into .machine "z9-109".
48393         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48394         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48395
48396 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48397
48398         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48399         between environment variables and auxiliary vector.
48400
48401 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48402
48403         * Makefile: Add rules to build linkobj/libc.so.
48404         * include/libc-symbols.h: Define libc_hidden_nolink.
48405         * include/rpc/auth.h: Mark functions which are to be hidden.
48406         * include/rpc/auth_des.h: Likewise.
48407         * include/rpc/auth_unix.h: Likewise.
48408         * include/rpc/clnt.h: Likewise.
48409         * include/rpc/des_crypt.h: Likewise.
48410         * include/rpc/key_prot.h: Likewise.
48411         * include/rpc/pmap_clnt.h: Likewise.
48412         * include/rpc/pmap_prot.h: Likewise.
48413         * include/rpc/pmap_rmt.h: Likewise.
48414         * include/rpc/rpc_msg.h: Likewise.
48415         * include/rpc/svc.h: Likewise.
48416         * include/rpc/svc_auth.h: Likewise.
48417         * include/rpc/xdr.h: Likewise.
48418         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48419         * nss/Makefile: Likewise.
48420         * sunrpc/Makefile: Don't install headers.  Build library with normal
48421         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48422         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48423         for the compat linking library.  Remove use of INTDEF/INTUSE.
48424         * sunrpc/auth_none.c: Likewise.
48425         * sunrpc/auth_unix.c: Likewise.
48426         * sunrpc/authdes_prot.c: Likewise.
48427         * sunrpc/authuxprot.c: Likewise.
48428         * sunrpc/clnt_gen.c: Likewise.
48429         * sunrpc/clnt_perr.c: Likewise.
48430         * sunrpc/clnt_raw.c: Likewise.
48431         * sunrpc/clnt_simp.c: Likewise.
48432         * sunrpc/clnt_tcp.c: Likewise.
48433         * sunrpc/clnt_udp.c: Likewise.
48434         * sunrpc/clnt_unix.c: Likewise.
48435         * sunrpc/des_crypt.c: Likewise.
48436         * sunrpc/des_soft.c: Likewise.
48437         * sunrpc/get_myaddr.c: Likewise.
48438         * sunrpc/key_call.c: Likewise.
48439         * sunrpc/key_prot.c: Likewise.
48440         * sunrpc/netname.c: Likewise.
48441         * sunrpc/pm_getmaps.c: Likewise.
48442         * sunrpc/pm_getport.c: Likewise.
48443         * sunrpc/pmap_clnt.c: Likewise.
48444         * sunrpc/pmap_prot.c: Likewise.
48445         * sunrpc/pmap_prot2.c: Likewise.
48446         * sunrpc/pmap_rmt.c: Likewise.
48447         * sunrpc/publickey.c: Likewise.
48448         * sunrpc/rpc_cmsg.c: Likewise.
48449         * sunrpc/rpc_common.c: Likewise.
48450         * sunrpc/rpc_dtable.c: Likewise.
48451         * sunrpc/rpc_prot.c: Likewise.
48452         * sunrpc/rpc_thread.c: Likewise.
48453         * sunrpc/rtime.c: Likewise.
48454         * sunrpc/svc.c: Likewise.
48455         * sunrpc/svc_auth.c: Likewise.
48456         * sunrpc/svc_authux.c: Likewise.
48457         * sunrpc/svc_raw.c: Likewise.
48458         * sunrpc/svc_run.c: Likewise.
48459         * sunrpc/svc_simple.c: Likewise.
48460         * sunrpc/svc_tcp.c: Likewise.
48461         * sunrpc/svc_udp.c: Likewise.
48462         * sunrpc/svc_unix.c: Likewise.
48463         * sunrpc/svcauth_des.c: Likewise.
48464         * sunrpc/xcrypt.c: Likewise.
48465         * sunrpc/xdr.c: Likewise.
48466         * sunrpc/xdr_array.c: Likewise.
48467         * sunrpc/xdr_float.c: Likewise.
48468         * sunrpc/xdr_intXX_t.c: Likewise.
48469         * sunrpc/xdr_mem.c: Likewise.
48470         * sunrpc/xdr_rec.c: Likewise.
48471         * sunrpc/xdr_ref.c: Likewise.
48472         * sunrpc/xdr_sizeof.c: Likewise.
48473         * sunrpc/xdr_stdio.c: Likewise.
48474
48475 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48476
48477         [BZ #12650]
48478         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48479         * sysdeps/ia64/dl-tls.h: Likewise.
48480         * sysdeps/powerpc/dl-tls.h: Likewise.
48481         * sysdeps/s390/dl-tls.h: Likewise.
48482         * sysdeps/sh/dl-tls.h: Likewise.
48483         * sysdeps/sparc/dl-tls.h: Likewise.
48484         * sysdeps/x86_64/dl-tls.h: Likewise.
48485         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48486
48487 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48488
48489         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48490         rpath element also skip the following colon.
48491         (expand_dynamic_string_token): Add is_path parameter and pass
48492         down to DL_DST_REQUIRED and _dl_dst_substitute.
48493         (decompose_rpath): Call expand_dynamic_string_token with
48494         non-zero is_path.  Ignore empty rpaths.
48495         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48496         with zero is_path.
48497
48498 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48499
48500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48501         Make cancelable.
48502
48503 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48504
48505         [BZ #12655]
48506         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48507         Patch by Filipe David Manana <fdmanana@apache.org>.
48508
48509 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48510
48511         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48512         Maintain aligned stack.
48513         (CHECK_RSP): Remove unused macro.
48514
48515 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48516
48517         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48518         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48519
48520 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48521
48522         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48523
48524         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48525
48526 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48527
48528         [BZ #12518]
48529         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48530         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48531         * sysdeps/x86_64/memmove.c: New file.
48532         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48533         (memcpy): Renamed to ...
48534         (__new_memcpy): This.
48535         (memcpy): Provide GLIBC_2_14 memcpy.
48536         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48537         (memcpy): Provide GLIBC_2_2_5 memcpy.
48538
48539 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48540
48541         [BZ #12631]
48542         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48543
48544 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48545
48546         * misc/syncfs.c: New file.
48547         * misc/Makefile (routines): Add syncfs.
48548         * posix/unistd.h: Declare syncfs.
48549         * sysdeps/unix/syscalls.list: Add syncfs.
48550
48551 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48552
48553         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48554         open_by_handle_at.
48555         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48556         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48558         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48560         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48562
48563 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48564
48565         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48566         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48567         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48569         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48571         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48572
48573         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48574         sync_file_range.c with -fexceptions.
48575         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48576         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48577         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48578         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48580         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48581         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48582         sync_file_range as cancellation point
48583         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48584         now a wrapper around __call_sync_file_range with cancellation handling.
48585         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48586         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48587         function name to __call_sync_file_range.
48588         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48589         Add call_sync_file_range.
48590
48591 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48592
48593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48594         bits/timex.h.
48595
48596 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48597
48598         * iconv/iconv.h: Fix typo in comment.
48599         * io/fcntl.h: Likewise.
48600         * libio/stdio.h: Likewise.
48601         * posix/spawn.h: Likewise.
48602         * posix/unistd.h: Likewise.
48603         * stdlib/stdlib.h: Likewise.
48604         * time/time.h: Likewise.
48605         * wcsmbs/wchar.h: Likewise.
48606
48607         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48608         open_by_handle): Add.
48609         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48610         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48611         Augment a few comments.
48612         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48614         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48616         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48617         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48618         open_by_handle.
48619
48620         * io/fcntl.h (AT_EMPTY_PATH): Define.
48621
48622 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48623
48624         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48625         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48626         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48627         to...
48628         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48629         * Versions.def: Add GLIBC_2.14.
48630         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48631         Export.
48632
48633 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48634
48635         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48636         round counter.
48637         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48638
48639 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48640
48641         [BZ #12597]
48642         * string/test-strncmp.c (do_page_test): New function.
48643         (check2): Likewise.
48644         (test_main): Call check2.
48645         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48646
48647 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48648
48649         [BZ #12587]
48650         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48651         Handle cache information in CPU leaf 4.
48652         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48653
48654 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48655
48656         [BZ #12583]
48657         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48658         character representation.
48659         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48660
48661 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48662
48663         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48664         END(__isnan) to END(__isnanf) to match function entry point/label
48665         EALIGN(__isnanf,...).
48666
48667 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48668
48669         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48670
48671 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48672
48673         [BZ #12510]
48674         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48675         copy from the symbol referenced in the relocation to initialize the
48676         used variable.
48677         Patch by Piotr Bury <pbury@goahead.com>.
48678         * elf/Makefile: Add rules to build and tst-unique3.
48679         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48680         * elf/tst-unique3.cc: New file.
48681         * elf/tst-unique3.h: New file.
48682         * elf/tst-unique3lib.cc: New file.
48683         * elf/tst-unique3lib2.cc: New file.
48684
48685         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48686
48687 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48688
48689         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48690         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48691         to _start.
48692
48693 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48694
48695         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48696         to-be-loaded object along a path to loader is ld.so.
48697
48698 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48699             Ulrich Drepper  <drepper@gmail.com>
48700
48701         * sysdeps/x86_64/memset.S: After aligning destination, code
48702         branches to different locations depending on the value of
48703         misalignment, when multiarch is enabled. Fix this.
48704
48705 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48706
48707         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48708         Set _x86_64_preferred_memory_instruction for AMD processsors.
48709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48710         Set bit_Prefer_SSE_for_memop for AMD processors.
48711
48712 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48713
48714         * libio/fmemopen.c (fmemopen): Optimize a bit.
48715
48716 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48717
48718         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48719
48720 2011-03-03  Roland McGrath  <roland@redhat.com>
48721
48722         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48723
48724 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48725
48726         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48727         __bzero_ultra1 instead of __memset_ultra1.
48728
48729 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48730             Ulrich Drepper  <drepper@gmail.com>
48731
48732         [BZ #12509]
48733         * include/link.h (struct link_map): Add l_orig_initfini.
48734         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48735         returning unsuccessfully.
48736         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48737         close of a file loaded at startup, restore the original l_initfini
48738         list.
48739         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48740         list, store the pointer.
48741         * elf/Makefile ($(objpfx)noload-mem): New rule.
48742         (noload-ENV): Define.
48743         (tests): Add $(objpfx)noload-mem.
48744         * elf/noload.c: Include <memcheck.h>.
48745         (main): Call mtrace.  Close all opened handles.
48746
48747 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48748
48749         [BZ #12454]
48750         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48751         dependencies are missing.
48752
48753 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48754
48755         Fix __if_freereq crash: Unlike the generic version which uses free,
48756         Hurd needs munmap.
48757         * sysdeps/mach/hurd/ifreq.h: New file.
48758
48759 2011-01-27  Petr Baudis  <pasky@suse.cz>
48760             Ulrich Drepper  <drepper@gmail.com>
48761
48762         [BZ 12445]#
48763         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48764         to extend_alloca().
48765         * stdio-common/bug23.c: New file.
48766         * stdio-common/Makefile (tests): Add bug23.
48767
48768 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48769             Ulrich Drepper  <drepper@gmail.com>
48770
48771         [BZ #12489]
48772         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48773         before performing relro protection.  At old place add assertion
48774         to make sure nothing changed.
48775
48776 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48777             Glauber de Oliveira Costa  <glommer@gmail.com>
48778
48779         * elf/elf.h: Add new ARM TLS relocs.
48780
48781 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48782
48783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48784         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48785         cast from r3.
48786         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48787         'tests' variable.
48788         * sysdeps/wordsize-64/tst-writev.c: New file.
48789
48790 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48791
48792         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48793         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48794         insns in _dl_start to prevent a TOC reference before relocs are
48795         resolved.
48796
48797 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48798
48799         [BZ #12469]
48800         * Makeconfig: Remove RANLIB definition.
48801         * Makerules: Don't use RANLIB.
48802         * aclocal.m4: Remove ranlib test.
48803         * configure.in: No need to check for ranlib.
48804         * elf/rtld-Rules: Don't use RANLIB.
48805
48806 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48807
48808         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48809         protection macro.
48810         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48811         inclusion protection macro.
48812
48813         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48814         SIGRTMIN and SIGRTMAX and print information in that case only when
48815         SIGRTMIN is defined.
48816
48817 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48818
48819         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48820         arginfo fn returning -1.
48821
48822         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48823         and thousands string is zero terminated.
48824
48825 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48826
48827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48828         sysdeps/unix/sysv/linux/bits/socket.h.
48829
48830 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48831
48832         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48833         (__CPU_COUNT): Remove old macros.
48834         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48835         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48836         (__CPU_ALLOC, __CPU_FREE): Add macros.
48837         (__sched_cpualloc, __sched_cpufree): Add declarations.
48838
48839 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48840
48841         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48842         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48843         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48844         (readdhstai): Return value of addhstaiX call.
48845         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48846         (addgrbyX): Return value returned by cache_addgr.
48847         (readdgrbyname): Return value returned by addgrbyX.
48848         (readdgrbygid): Likewise.
48849         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48850         (addpwbyX): Return value returned by cache_addpw.
48851         (readdpwbyname): Return value returned by addhstbyX.
48852         (readdpwbyuid): Likewise.
48853         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48854         (addservbyX): Return value returned by cache_addserv.
48855         (readdservbyname): Return value returned by addservbyX:
48856         (readdservbyport): Likewise.
48857         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48858         (addhstbyX): Return value returned by cache_addhst.
48859         (readdhstbyname): Return value returned by addhstbyX.
48860         (readdhstbyaddr): Likewise.
48861         (readdhstbynamev6): Likewise.
48862         (readdhstbyaddrv6): Likewise.
48863         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48864         (readdinitgroups): Return value returned by addinitgroupsX.
48865         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48866         (prune_cache): Keep track of timeout value of re-added entries.
48867         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48868         * nscd/nscd.h: Adjust prototypes of readd* functions.
48869
48870 2011-02-04  Roland McGrath  <roland@redhat.com>
48871
48872         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48873         (nis_stats): Likewise.
48874         * nis/nis_modify.c (nis_modify): Likewise.
48875         * nis/nis_remove.c (nis_remove): Likewise.
48876         * nis/nis_add.c (nis_add): Likewise.
48877
48878         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48879
48880         * posix/fnmatch_loop.c: Add some consts.
48881
48882         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48883
48884 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48885
48886         [BZ #12460]
48887         * config.make.in (config-cflags-novzeroupper): Define.
48888         * configure.in: Substitute libc_cv_cc_novzeroupper.
48889         * elf/Makefile (AVX-CFLAGS): Define.
48890         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48891         (CFLAGS-tst-auditmod4a.c): Likewise.
48892         (CFLAGS-tst-auditmod4b.c): Likewise.
48893         (CFLAGS-tst-auditmod6b.c): Likewise.
48894         (CFLAGS-tst-auditmod6c.c): Likewise.
48895         (CFLAGS-tst-auditmod7b.c): Likewise.
48896         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48897
48898 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48899
48900         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48901         function to the callback.
48902         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48903
48904 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48905
48906         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48907         of errno.
48908
48909 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48910
48911         [BZ #11724]
48912         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48913         of constructors.
48914         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48915         of destructors.
48916         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48917
48918         [BZ #11724]
48919         * elf/Makefile: Add rules to build and run new test.
48920         * elf/tst-initorder.c: New file.
48921         * elf/tst-initorder.exp: New file.
48922         * elf/tst-initordera1.c: New file.
48923         * elf/tst-initordera2.c: New file.
48924         * elf/tst-initordera3.c: New file.
48925         * elf/tst-initordera4.c: New file.
48926         * elf/tst-initorderb1.c: New file.
48927         * elf/tst-initorderb2.c: New file.
48928         * elf/tst-order-a1.c: New file.
48929         * elf/tst-order-a2.c: New file.
48930         * elf/tst-order-a3.c: New file.
48931         * elf/tst-order-a4.c: New file.
48932         * elf/tst-order-b1.c: New file.
48933         * elf/tst-order-b2.c: New file.
48934         * elf/tst-order-main.c: New file.
48935         New test case by George Gensure <werkt0@gmail.com>.
48936
48937 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48938
48939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48940         decoding ACE if AI_CANONIDN.
48941
48942 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48943
48944         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48945
48946 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48947
48948         * version.h (RELEASE): Bump for 2.13 release.
48949         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48950
48951         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48952
48953         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48954         MADV_NOHUGEPAGE.
48955         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48957         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48958         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48959         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48960         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48961
48962         * posix/getconf.c: Update copyright year.
48963         * catgets/gencat.c: Likewise.
48964         * csu/version.c: Likewise.
48965         * debug/catchsegv.sh: Likewise.
48966         * debug/xtrace.sh: Likewise.
48967         * elf/ldconfig.c: Likewise.
48968         * elf/ldd.bash.in: Likewise.
48969         * elf/sprof.c (print_version): Likewise.
48970         * iconv/iconv_prog.c: Likewise.
48971         * iconv/iconvconfig.c: Likewise.
48972         * locale/programs/locale.c: Likewise.
48973         * locale/programs/localedef.c: Likewise.
48974         * malloc/memusage.sh: Likewise.
48975         * malloc/mtrace.pl: Likewise.
48976         * nscd/nscd.c (print_version): Likewise.
48977         * nss/getent.c: Likewise.
48978
48979         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48980         PF_CAIF, and PF_ALG.
48981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48982
48983 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48984
48985         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48986         (modules-names): Use them.
48987         (ifunc-test-modules, ifunc-pie-tests): Define.
48988         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48989         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48990         (test-extras): Likewise.
48991         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48992         $(compile-command.c).
48993         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48994         (all-built-dso): Define.
48995         (check-textrel.out, check-execstack.out): Depend on it.
48996
48997         * configure.in: Don't override --enable-multi-arch.
48998
48999 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49000
49001         [BZ #6812]
49002         * nscd/hstcache.c (tryagain): Define.
49003         (cache_addhst): Return tryagain not notfound for temporary errors.
49004         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49005         failed.
49006
49007 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49008
49009         [BZ #10563]
49010         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49011         to make the syscall.
49012         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49013
49014         [BZ #12378]
49015         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49016         and fall back to matching as normal character if the string ends before
49017         the matching ']' is found.  This is what POSIX requires.
49018         * posix/testfnm.c: Adjust test result.
49019         * posix/globtest.sh: Adjust test result.  Add new test.
49020         * posix/tst-fnmatch.input: Likewise.
49021         * posix/tst-fnmatch2.c: Add new test.
49022
49023 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49024
49025         * elf/Makefile (check-execstack): Revert last change.  Depend on
49026         check-execstack.h.
49027         (check-execstack.h): New target.
49028         (generated): Add check-execstack.h.
49029         * elf/check-execstack.c: Include "check-execstack.h".
49030         (main): Revert last change.
49031         (handle_file): Return zero if GNU_STACK is absent and
49032         DEFAULT_STACK_PERMS doesn't include PF_X.
49033
49034 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49035
49036         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49037         in child fails because the descriptor is already closed.
49038         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49039         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49040         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49041
49042         [BZ #12397]
49043         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49044         syscall.
49045
49046         [BZ #10484]
49047         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49048         temporary buffer used to handle multi lookups locally.
49049         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49050
49051 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49052
49053         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49054         loader is ld.so.
49055
49056 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49057
49058         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49059         alignment for SSE2.
49060
49061 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49062
49063         [BZ #12394]
49064         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49065         characters.  When rounding increased number of integer digits recompute
49066         number of groups.
49067         * stdio-common/tst-grouping.c: New file.
49068         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49069
49070 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49071
49072         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49073         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49074
49075         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49076         void.
49077         * bits/select.h: Likewise.
49078
49079 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49080
49081         * po/ja.po: Update from translation team.
49082
49083 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49084
49085         [BZ #11155]
49086         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49087         implementation just like for lxstat, fxstatat, et al.
49088
49089 2010-12-27  Jim Meyering  <meyering@redhat.com>
49090
49091         [BZ #12348]
49092         * posix/regexec.c (build_trtable): Return failure indication upon
49093         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49094
49095 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49096
49097         [BZ #12201]
49098         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49099         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49100         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49101         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49102
49103         [BZ #12207]
49104         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49105
49106         [BZ #12204]
49107         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49108         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49109
49110 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49111
49112         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49113         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49114         script has SORT_BY_INIT_PRIORITY.
49115         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49116         NO_CTORS_DTORS_SECTIONS is defined.
49117         * elf/soinit.c: Likewise.
49118         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49119         NO_CTORS_DTORS_SECTIONS is defined.
49120         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49121         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49122         * sysdeps/sh/init-first.c: Likewise.
49123         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49124
49125 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49126
49127         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49128         always use the slow path.
49129
49130 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49131
49132         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49133         similar rule which adds the sysdep directories to the header search in
49134         order to pick up the correct platform stackinfo.h.
49135         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49136         perform test if it is, otherwise return successfully without testing.
49137         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49138         DEFAULT_STACK_PERMS define in stackinfo.h.
49139         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49140         defined in stackinfo.h.
49141         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49142         DEFAULT_STACK_PERMS defined in stackinfo.h.
49143         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49144         * sysdeps/ia64/stackinfo.h: Likewise.
49145         * sysdeps/s390/stackinfo.h: Likewise.
49146         * sysdeps/sh/stackinfo.h: Likewise.
49147         * sysdeps/sparc/stackinfo.h: Likewise.
49148         * sysdeps/x86_64/stackinfo.h: Likewise.
49149         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49150         PF_X for powerpc64.  Retain PF_X for powerpc32.
49151
49152 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49153
49154         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49155         accurately.
49156         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49157         GETDENTS_64BIT_ALIGNED.
49158
49159 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49160
49161         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49162
49163 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49164
49165         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49166         _GNU_SOURCE.
49167
49168         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49169         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49170         Remove __restrict.
49171         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49172         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49173
49174 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49175
49176         [BZ #11655]
49177         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49178         are initialized.
49179
49180 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49181
49182         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49183
49184 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49185
49186         * po/it.po: Update from translation team.
49187
49188 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49189
49190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49191         unused codes.
49192
49193 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49194
49195         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49196
49197 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49198
49199         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49200         specially.
49201         (gaih_getanswer_slice): Likewise.
49202
49203 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49204
49205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49206
49207 2010-05-31  Petr Baudis  <pasky@suse.cz>
49208
49209         [BZ #11149]
49210         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49211         silently even in the chroot mode.
49212
49213 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49214
49215         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49216         last patch a bit.  Pretty printing
49217
49218 2010-05-31  Petr Baudis <pasky@suse.cz>
49219
49220         [BZ #10085]
49221         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49222         initialization of skip_initgroups_dyn.
49223
49224 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49225
49226         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49227         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49228
49229 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49230
49231         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49232
49233 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49234
49235         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49236         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49237         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49238         ($(objpfx)tst-fnmatch-mem): New rule.
49239         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49240         * posix/tst-fnmatch.c (main): Call mtrace.
49241
49242 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49243
49244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49245         Support Intel processor model 6 and model 0x2c.
49246
49247 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49248
49249         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49250           signed comparison.
49251
49252 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49253
49254         [BZ #12205]
49255         * string/test-strncasecmp.c (check_result): New function.
49256         (do_one_test): Use it.
49257         (check1): New function.
49258         (test_main): Use it.
49259         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49260         Support strcasecmp and strncasecmp.
49261
49262 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49263
49264         [BZ #12194]
49265         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49266         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49267
49268 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49269
49270         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49271         IFUNC support.
49272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49273         memset-x86-64.
49274         * sysdeps/x86_64/multiarch/bzero.S: New file.
49275         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49276         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49277         * sysdeps/x86_64/multiarch/memset.S: New file.
49278         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49280         Set bit_Prefer_SSE_for_memop for Intel processors.
49281         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49282         Define.
49283         (index_Prefer_SSE_for_memop): Define.
49284         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49285
49286 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49287
49288         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49289         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49290
49291 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49292
49293         [BZ #12191]
49294         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49295         (__x86_64_raw_data_cache_size_half): Likewise.
49296         (__x86_64_raw_shared_cache_size): Likewise.
49297         (__x86_64_raw_shared_cache_size_half): Likewise.
49298
49299         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49300         (__x86_64_raw_data_cache_size_half): Likewise.
49301         (__x86_64_raw_shared_cache_size): Likewise.
49302         (__x86_64_raw_shared_cache_size_half): Likewise.
49303         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49304         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49305         and __x86_64_raw_shared_cache_size_half.  Round
49306         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49307         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49308         to multiple of 256 bytes.
49309
49310 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49311
49312         [BZ #12167]
49313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49314         of inacessible symlinks.  Verify result of symlink before returning it.
49315         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49316         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49317
49318 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49319
49320         * math/math.h (isinf): Fix typo in comment.
49321
49322 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49323
49324         * po/da.po: Update from translation team.
49325
49326 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49327
49328         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49329         is added to the list.
49330
49331 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49332             Ulrich Drepper  <drepper@gmail.com>
49333
49334         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49335         the global list here.  Move code to...
49336         (_dl_add_to_namespace_list): ...here.  New function.
49337         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49338         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49339         * elf/dl-load.c (lose): Don't remove the element from the list.
49340         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49341         (_dl_map_object): Likewise.
49342
49343 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49344
49345         [BZ #12159]
49346         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49347         into all bytes of SSE register.
49348         Patch by Richard Li <richardpku@gmail.com>.
49349
49350 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49351
49352         [BZ #12140]
49353         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49354         perturbing.
49355
49356 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49357
49358         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49359         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49360         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49361         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49363         submachine.
49364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49365
49366 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49367
49368         * include/dlfcn.h (__RTLD_SECURE): Define.
49369         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49370         mode & __RTLD_SECURE instead.
49371         (open_path): Rename preloaded parameter to secure.
49372         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49373         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49374         * elf/dl-deps.c (openaux): Likewise.
49375         * elf/rtld.c (struct map_args): Remove is_preloaded.
49376         (map_doit): Don't use it.
49377         (dl_main): Likewise.
49378         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49379         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49380
49381 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49382
49383         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49384         (sysd-rules-targets): Remove duplicates.
49385         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49386         rtld-%.$o dependency.
49387
49388 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49389
49390         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49391         _dl_map_object do it.
49392
49393 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49394
49395         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49396         fast fma builtins, define the macros in the C99 standard.
49397         (FP_FAST_FMAF): Likewise.
49398         (FP_FAST_FMAL): Likewise.
49399         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49400
49401         * bits/mathdef.h: Update copyright year.
49402         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49403
49404 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49405
49406         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49407         builtins, define the macros in the C99 standard.
49408         (FP_FAST_FMAF): Likewise.
49409         (FP_FAST_FMAL): Likewise.
49410         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49411         multiply/add.
49412         (FP_FAST_FMAF): Likewise.
49413
49414 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49415
49416         [BZ #3268]
49417         * math/libm-test.inc (fma_test): Some new testcases.
49418         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49419         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49420         y and infinite z.  Do multiplication by C already in long double.
49421         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49423         y and infinite z.  Do bitwise or of inexact bit into u.d.
49424         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49425         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49426         * sysdeps/i386/fpu/s_fma.S: Removed.
49427         * sysdeps/i386/fpu/s_fmal.S: Removed.
49428
49429 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49430
49431         [BZ #3268]
49432         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49434         computation is not scheduled after fetestexcept.  Fix value
49435         of minimum denormal long double.
49436
49437 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49438
49439         [BZ #3268]
49440         * math/libm-test.inc (fma_test): Add some more tests.
49441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49442         correctly.
49443
49444 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49445
49446         * scripts/data/localplt-s390-linux-gnu.data: New file.
49447         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49448
49449 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49450
49451         [BZ #3268]
49452         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49453         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49454         instead of dbl-64.
49455         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49456         inlines.
49457         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49459         if one of x and y is very large and the other is subnormal.
49460         * sysdeps/s390/fpu/s_fmaf.c: New file.
49461         * sysdeps/s390/fpu/s_fma.c: New file.
49462         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49463         * sysdeps/powerpc/fpu/s_fma.S: New file.
49464         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49465         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49466         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49467
49468 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49469
49470         [BZ #3268]
49471         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49472         fma tests.
49473         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49474         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49475         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49476         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49477         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49478         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49479         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49480
49481 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49482
49483         [BZ #12078]
49484         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49485         * posix/bug-regex31.input: Add test case.
49486
49487 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49488
49489         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49490         * posix/bug-regex31.input: New file.
49491
49492         [BZ #12078]
49493         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49494         (parse_sub_exp): Fix last change, use postorder.
49495
49496         * posix/bug-regex31.c: New file.
49497         * posix/Makefile: Add rules to build and run bug-regex31.
49498
49499         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49500
49501         [BZ #12078]
49502         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49503
49504         [BZ #12108]
49505         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49506         to have entries in sys_siglist.
49507
49508         [BZ #12093]
49509         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49510         be NULL.
49511
49512 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49513
49514         [BZ #3268]
49515         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49516         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49517         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49518         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49519         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49520         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49521         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49522         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49523         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49524         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49525         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49526         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49527         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49528         * math/ftestexcept.c (fetestexcept): Likewise.
49529         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49530         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49531         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49532         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49533         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49534         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49535         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49536
49537 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49538
49539         [BZ #12107]
49540         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49541         newline.
49542
49543 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49544
49545         * string/bug-strstr1.c: New file.
49546         * string/Makefile: Add rules to build and run bug-strstr1.
49547
49548 2010-10-05  Eric Blake  <eblake@redhat.com>
49549
49550         [BZ #12092]
49551         * string/str-two-way.h (two_way_long_needle): Always clear memory
49552         when skipping input due to the shift table.
49553
49554 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49555
49556         [BZ #12005]
49557         * malloc/mcheck.c: Handle large requests.
49558
49559         [BZ #12077]
49560         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49561         for strncmp and strncasecmp.
49562         * string/stratcliff.c: Add tests for strcmp and strncmp.
49563         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49564
49565 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49566
49567         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49568         __set_fpscr.
49569
49570 2010-09-30  Andreas Jaeger  <aj@suse.de>
49571
49572         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49573         (CGROUP_SUPER_MAGIC): Define.
49574         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49575         Handle btrfs and cgroup file systems.
49576         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49577         Likewise.
49578
49579 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49580
49581         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49582         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49583
49584 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49585
49586         [BZ #12067]
49587         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49588         trying to locate the ELF header.
49589
49590 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49591
49592         [BZ #11611]
49593         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49594         Mask out sign-bit copies when constructing f_fsid.
49595
49596 2010-09-24  Petr Baudis <pasky@suse.cz>
49597
49598         * debug/stack_chk_fail_local.c: Add missing licence exception.
49599         * debug/warning-nop.c: Likewise.
49600
49601 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49602
49603         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49604         implementing getdents64 using getdents syscall, set d_type if
49605         __ASSUME_GETDENTS32_D_TYPE.
49606
49607 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49608
49609         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49610         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49611
49612 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49613
49614         [BZ #12037]
49615         * posix/unistd.h: Undo change of feature selection for ftruncate from
49616         2010-01-11.
49617
49618 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49619
49620         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49621         detection.
49622
49623 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49624
49625         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49626         fanotify_mark.
49627         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49628
49629 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49630
49631         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49632         variables after CHECK_SP call.
49633         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49634
49635 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49636             Ulrich Drepper  <drepper@redhat.com>
49637
49638         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49639         re-relocationg ld.so.
49640         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49641         _dl_init_paths call.
49642         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49643         here anymore.
49644
49645 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49646
49647         * resolv/res_init.c (__res_vinit): Count the default server we added.
49648
49649 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49650             Ulrich Drepper  <drepper@redhat.com>
49651
49652         [BZ #11968]
49653         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49654         (____longjmp_chk): Use %ebx for saving value across system call.
49655         Add unwind info.
49656
49657 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49658
49659         * manual/Makefile: Don't mix pattern rules with normal rules.
49660
49661 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49662
49663         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49664         operation.
49665         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49666         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49667         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49668         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49670         Likewise.
49671
49672 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49673
49674         [BZ #11979]
49675         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49676         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49677
49678 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49679
49680         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49681         * sysdeps/x86_64/addmul_1.S: Likewise.
49682         * sysdeps/x86_64/lshift.S: Likewise.
49683         * sysdeps/x86_64/mul_1.S: Likewise.
49684         * sysdeps/x86_64/rshift.S: Likewise.
49685         * sysdeps/x86_64/sub_n.S: Likewise.
49686         * sysdeps/x86_64/submul_1.S: Likewise.
49687
49688 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49689
49690         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49691         Define __sched_param instead of SCHED_* and sched_param when
49692         <bits/sched.h> is included with __need_schedparam defined.
49693         * bits/sched.h [__need_schedparam]
49694         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49695         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49696         (__defined_schedparam): Define to 1.
49697         (__sched_param): New structure, identical to sched_param.
49698         (__need_schedparam): Undefine.
49699
49700 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49701
49702         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49703         (epoll_create1): Declare.
49704
49705         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49706
49707 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49708
49709         [BZ #7066]
49710         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49711         shifting retval into place.
49712
49713 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49714
49715         * nis/rpcsvc/nis.h: Update copyright notice.
49716         * nis/rpcsvc/nis.x: Likewise.
49717         * nis/rpcsvc/nis_callback.h: Likewise.
49718         * nis/rpcsvc/nis_callback.x: Likewise.
49719         * nis/rpcsvc/nis_object.x: Likewise.
49720         * nis/rpcsvc/nis_tags.h: Likewise.
49721         * nis/rpcsvc/yp.h: Likewise.
49722         * nis/rpcsvc/yp.x: Likewise.
49723         * nis/rpcsvc/ypupd.h: Likewise.
49724         * nis/yp_xdr.c: Likewise.
49725         * nis/ypupdate_xdr.c: Likewise.
49726
49727         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49728         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49729         (pmap_getport): Use __libc_rpc_getport.
49730         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49731         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49732         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49733
49734 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49735
49736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49737         fanotify_mark.
49738
49739 2010-08-27  Roland McGrath  <roland@redhat.com>
49740
49741         * sysdeps/i386/i686/multiarch/Makefile
49742         (CFLAGS-varshift.c): New variable.
49743
49744 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49745
49746         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49747         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49748
49749         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49750
49751         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49752
49753 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49754
49755         * sysdeps/x86_64/strlen.S: Unroll the loop.
49756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49757         strlen-sse2 strlen-sse2-bsf.
49758         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49759         __strlen_no_bsf if bit_Slow_BSF is set.
49760         (__strlen_sse42): Removed.
49761         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49762         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49763
49764 2010-08-25  Roland McGrath  <roland@redhat.com>
49765
49766         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49767         * sysdeps/x86_64/multiarch/varshift.c: New file.
49768         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49769         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49770         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49771         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49772
49773 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49774
49775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49776         strlen-sse2 strlen-sse2-bsf.
49777         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49778         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49779         (__strlen_sse2): Removed.
49780         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49781         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49783         bit_Slow_BSF for Atom.
49784         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49785         (index_Slow_BSF): Define.
49786         (HAS_SLOW_BSF): Define.
49787
49788 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49789
49790         [BZ #10851]
49791         * resolv/res_init.c (__res_vinit): When no server address at all
49792         is given default to loopback.
49793
49794 2010-08-24  Roland McGrath  <roland@redhat.com>
49795
49796         * configure.in: Remove config-name.h generation.
49797         * configure: Regenerated.
49798         * config-name.in: File removed.
49799         * scripts/config-uname.sh: New file.
49800         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49801         ($(objdir)config-name.h): New target.
49802
49803         * sunrpc/rpc_parse.h: Avoid nested comment.
49804
49805 2010-08-24  Richard Henderson  <rth@redhat.com>
49806             Ulrich Drepper  <drepper@redhat.com>
49807             H.J. Lu  <hongjiu.lu@intel.com>
49808
49809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49811         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49812         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49813         _mm_alignr_epi8 with _mm_loadu_si128.
49814         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49815         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49816         (__m128i_shift_right): Removed.
49817         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49818         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49819         * sysdeps/x86_64/multiarch/varshift.h: New file.
49820         * sysdeps/x86_64/multiarch/varshift.S: New file.
49821
49822 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49823
49824         * configure.in: Move assembler checks to before sysdep dir checking.
49825
49826 2010-08-20  Petr Baudis  <pasky@suse.cz>
49827
49828         * LICENSES: Sync the sunrpc license.
49829
49830 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49831
49832         * sunrpc/auth_des.c: Update copyright notice once again.
49833         * sunrpc/auth_none.c: Likewise.
49834         * sunrpc/auth_unix.c: Likewise.
49835         * sunrpc/authdes_prot.c: Likewise.
49836         * sunrpc/authuxprot.c: Likewise.
49837         * sunrpc/bindrsvprt.c: Likewise.
49838         * sunrpc/clnt_gen.c: Likewise.
49839         * sunrpc/clnt_perr.c: Likewise.
49840         * sunrpc/clnt_raw.c: Likewise.
49841         * sunrpc/clnt_simp.c: Likewise.
49842         * sunrpc/clnt_tcp.c: Likewise.
49843         * sunrpc/clnt_udp.c: Likewise.
49844         * sunrpc/clnt_unix.c: Likewise.
49845         * sunrpc/des_crypt.c: Likewise.
49846         * sunrpc/des_soft.c: Likewise.
49847         * sunrpc/get_myaddr.c: Likewise.
49848         * sunrpc/getrpcport.c: Likewise.
49849         * sunrpc/key_call.c: Likewise.
49850         * sunrpc/key_prot.c: Likewise.
49851         * sunrpc/openchild.c: Likewise.
49852         * sunrpc/pm_getmaps.c: Likewise.
49853         * sunrpc/pm_getport.c: Likewise.
49854         * sunrpc/pmap_clnt.c: Likewise.
49855         * sunrpc/pmap_prot.c: Likewise.
49856         * sunrpc/pmap_prot2.c: Likewise.
49857         * sunrpc/pmap_rmt.c: Likewise.
49858         * sunrpc/rpc/auth.h: Likewise.
49859         * sunrpc/rpc/auth_unix.h: Likewise.
49860         * sunrpc/rpc/clnt.h: Likewise.
49861         * sunrpc/rpc/des_crypt.h: Likewise.
49862         * sunrpc/rpc/key_prot.h: Likewise.
49863         * sunrpc/rpc/netdb.h: Likewise.
49864         * sunrpc/rpc/pmap_clnt.h: Likewise.
49865         * sunrpc/rpc/pmap_prot.h: Likewise.
49866         * sunrpc/rpc/pmap_rmt.h: Likewise.
49867         * sunrpc/rpc/rpc.h: Likewise.
49868         * sunrpc/rpc/rpc_des.h: Likewise.
49869         * sunrpc/rpc/rpc_msg.h: Likewise.
49870         * sunrpc/rpc/svc.h: Likewise.
49871         * sunrpc/rpc/svc_auth.h: Likewise.
49872         * sunrpc/rpc/types.h: Likewise.
49873         * sunrpc/rpc/xdr.h: Likewise.
49874         * sunrpc/rpc_clntout.c: Likewise.
49875         * sunrpc/rpc_cmsg.c: Likewise.
49876         * sunrpc/rpc_common.c: Likewise.
49877         * sunrpc/rpc_cout.c: Likewise.
49878         * sunrpc/rpc_dtable.c: Likewise.
49879         * sunrpc/rpc_hout.c: Likewise.
49880         * sunrpc/rpc_main.c: Likewise.
49881         * sunrpc/rpc_parse.c: Likewise.
49882         * sunrpc/rpc_parse.h: Likewise.
49883         * sunrpc/rpc_prot.c: Likewise.
49884         * sunrpc/rpc_sample.c: Likewise.
49885         * sunrpc/rpc_scan.c: Likewise.
49886         * sunrpc/rpc_scan.h: Likewise.
49887         * sunrpc/rpc_svcout.c: Likewise.
49888         * sunrpc/rpc_tblout.c: Likewise.
49889         * sunrpc/rpc_util.c: Likewise.
49890         * sunrpc/rpc_util.h: Likewise.
49891         * sunrpc/rpcinfo.c: Likewise.
49892         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49893         * sunrpc/rpcsvc/key_prot.x: Likewise.
49894         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49895         * sunrpc/rpcsvc/mount.x: Likewise.
49896         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49897         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49898         * sunrpc/rpcsvc/rex.x: Likewise.
49899         * sunrpc/rpcsvc/rstat.x: Likewise.
49900         * sunrpc/rpcsvc/rusers.x: Likewise.
49901         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49902         * sunrpc/rpcsvc/spray.x: Likewise.
49903         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49904         * sunrpc/rtime.c: Likewise.
49905         * sunrpc/svc.c: Likewise.
49906         * sunrpc/svc_auth.c: Likewise.
49907         * sunrpc/svc_authux.c: Likewise.
49908         * sunrpc/svc_raw.c: Likewise.
49909         * sunrpc/svc_run.c: Likewise.
49910         * sunrpc/svc_simple.c: Likewise.
49911         * sunrpc/svc_tcp.c: Likewise.
49912         * sunrpc/svc_udp.c: Likewise.
49913         * sunrpc/svc_unix.c: Likewise.
49914         * sunrpc/svcauth_des.c: Likewise.
49915         * sunrpc/xcrypt.c: Likewise.
49916         * sunrpc/xdr.c: Likewise.
49917         * sunrpc/xdr_array.c: Likewise.
49918         * sunrpc/xdr_float.c: Likewise.
49919         * sunrpc/xdr_mem.c: Likewise.
49920         * sunrpc/xdr_rec.c: Likewise.
49921         * sunrpc/xdr_ref.c: Likewise.
49922         * sunrpc/xdr_sizeof.c: Likewise.
49923         * sunrpc/xdr_stdio.c: Likewise.
49924
49925         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49926         handling.
49927
49928 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49929
49930         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49931
49932 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49933
49934         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49935         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49936         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49937         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49938         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49939         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49940         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49941         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49942         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49943         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49944         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49946         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49947         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49948
49949 2010-07-26  Anton Blanchard  <anton@samba.org>
49950
49951         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49952         * malloc/arena.c (heap_trim): Likewise.
49953
49954 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49955
49956         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49957         here.  Not...
49958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49959         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49960
49961 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49962
49963         * sysdeps/i386/elf/Makefile: New file.
49964
49965 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49966
49967         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49968         from fanotify_init.
49969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49971
49972 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49973
49974         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49975         of strncasecmp_l.
49976         * sysdeps/multiarch/strcmp.S: Likewise.
49977
49978 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49979
49980         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49981         strncase_l-nonascii.
49982         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49983         Add strncase_l-ssse3.
49984         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49985         * sysdeps/x86_64/strcmp.S: Likewise.
49986         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49987         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49988         * sysdeps/x86_64/strncase.S: New file.
49989         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49990         * sysdeps/x86_64/strncase_l.S: New file.
49991         * string/Makefile (strop-tests): Add strncasecmp.
49992         * string/test-strncasecmp.c: New file.
49993
49994         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49995         warning.
49996
49997         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49998         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49999
50000 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50001
50002         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50003
50004 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50005
50006         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50007         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50008         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50009
50010 2010-05-01  Alan Modra  <amodra@gmail.com>
50011
50012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50013         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50014         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50015         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50016         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50017         tidying.  Don't tail-call __sigjmp_save for static lib.
50018         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50019         save location.
50020         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50021         (CALL_MCOUNT): Add eh info, and nop after bl.
50022         (TAIL_CALL_SYSCALL_ERROR): New macro.
50023         (PSEUDO_RET): Use it.
50024         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50025         Correct save location of integer regs and cr.
50026         (_dl_profile_resolve): Correct cr save location.  Delete nops
50027         after bl when SHARED.  Reduce cfi size a little by better
50028         placement of cfi directives.
50029         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50030         make a stack frame.  Instead use parm save area as a temp.
50031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50032         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50034         Don't make a stack frame for parent, use parm save area.
50035         Increase child stack frame to 112 bytes.  Don't save unused reg,
50036         and adjust reg usage.  Set up cfi on error recovery and
50037         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50039         (__makecontext): Add dummy nop after jump to exit.
50040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50041         Use correct parm save area and cr save, reduce stack frame.
50042         Correct cfi for possible PSEUDO_RET frame setup.
50043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50044         Branch to local label emitted by PSEUDO_RET rather than
50045         __syscall_error.
50046
50047 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50048
50049         [BZ #11904]
50050         * locale/programs/locale.c (print_assignment): New function.
50051         (show_locale_vars): Use it.
50052
50053 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50054
50055         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50056         field.
50057         (struct statfs64): Likewise.
50058         (_STATFS_F_FLAGS): Define.
50059         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50061         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50062         (ST_VALID): Define locally.
50063         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50064         __statvfs_getflags, use the provided value.
50065         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50066         __ASSUME_STATFS_F_FLAGS.
50067
50068         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50069
50070         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50071         Add sys/fanotify.h.
50072         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50073         fanotify_mask for GLIBC_2.13.
50074         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50075         fanotify_init and fanotify_mark.
50076         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50077         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50078
50079         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50080         Add prlimit.
50081         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50082         prlimit64 for GLIBC_2.13.
50083         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50084         prlimit64.
50085         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50086         syscall.
50087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50088         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50089         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50090         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50092         add prlimit alias.
50093         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50094
50095         [BZ #11903]
50096         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50097         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50098
50099         * nss/Makefile: Add rules to build and run tst-nss-test1.
50100         * shlib-versions: Add entry for libnss_test1.
50101         * nss/nss_test1.c: New file.
50102         * nss/tst-nss-test1.c: New file.
50103
50104         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50105         (__nss_configure_lookup): Set appropriate entry in
50106         __nss_configure_lookup to true.
50107         * nss/nsswitch.h: Define enum with indeces of databases in
50108         databases and __nss_database_custom arrays.  Declare
50109         __nss_database_custom.
50110         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50111         to avoid using nscd when custom rules are installed.
50112         * nss/getXXbyYY_r.c: Likewise.
50113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50114
50115         * nss/nss_files/files-parse.c: Whitespace fixes.
50116
50117 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50118
50119         [BZ #11883]
50120         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50121         * posix/fnmatch_loop.c: Likewise.
50122
50123 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50124
50125         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50126         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50127         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50128         * Versions.def [GLIBC_2.13]: Add.
50129
50130 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50131
50132         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50133         Also fail if tpwd after pwuid call is NULL.
50134
50135 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50136
50137         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50138         when converting to ms.
50139
50140 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50141
50142         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50143         EOPNOTSUPP errors with ENOTTY.
50144         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50145         EOPNOTSUPP errors with ENOTTY.
50146
50147 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50148
50149         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50150         Add strcasecmp_l-ssse3.
50151         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50152         strcasecmp.
50153         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50154         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50155         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50156
50157 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50158
50159         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50160
50161         * string/Makefile (strop-tests): Add strcasecmp.
50162         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50163         strcasecmp_l-nonascii.
50164         (gen-as-const-headers): Add locale-defines.sym.
50165         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50166         * sysdeps/x86_64/strcasecmp.S: New file.
50167         * sysdeps/x86_64/strcasecmp_l.S: New file.
50168         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50169         * sysdeps/x86_64/locale-defines.sym: New file.
50170         * string/test-strcasecmp.c: New file.
50171
50172         * string/test-strcasestr.c: Test both ends of the range of characters.
50173         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50174
50175 2010-07-29  Roland McGrath  <roland@redhat.com>
50176
50177         [BZ #11856]
50178         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50179
50180 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50181
50182         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50183         for ld.so.
50184
50185 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50186
50187         * manual/memory.texi (Malloc Tunable Parameters): Document
50188         M_PERTURB.
50189
50190 2010-07-26  Roland McGrath  <roland@redhat.com>
50191
50192         [BZ #11840]
50193         * configure.in (-fgnu89-inline check): Set and substitute
50194         gnu89_inline, not libc_cv_gnu89_inline.
50195         * configure: Regenerated.
50196         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50197
50198 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50199
50200         * string/test-strnlen.c: New file.
50201         * string/Makefile (strop-tests): Add strnlen.
50202         * string/tester.c (test_strnlen): Add a few more test cases.
50203         * string/tst-strlen.c: Better error reporting.
50204
50205         * sysdeps/x86_64/strnlen.S: New file.
50206
50207 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50208
50209         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50210         lower-latency instructions.
50211
50212 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50213
50214         * string/test-strcasestr.c: New file.
50215         * string/test-strstr.c: New file.
50216         * string/Makefile (strop-tests): Add strstr and strcasestr.
50217         * string/str-two-way.h: Don't undefine MAX.
50218         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50219
50220 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50221
50222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50223         strcasestr-nonascii.
50224         (CFLAGS-strcasestr-nonascii.c): Define.
50225         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50227         Remove unused attribute.
50228
50229 2010-07-20  Roland McGrath  <roland@redhat.com>
50230
50231         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50232         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50233         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50234         like LD_HWCAP_MASK can disable hwcaps.
50235
50236 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50237
50238         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50239
50240 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50241
50242         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50243         call in strcasestr.
50244         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50245         __strcasestr_sse42_nonascii.
50246         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50247         strcasestr-nonascii.c.
50248         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50249
50250 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50251
50252         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50253         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50254         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50255         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50256
50257 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50258
50259         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50260         fcntl.
50261
50262 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50263
50264         [BZ #11577]
50265         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50266         dl_signal_cerror.
50267
50268 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50269
50270         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50271         _PC_PIPE_BUF using F_GETPIPE_SZ.
50272
50273 2010-07-05  Roland McGrath  <roland@redhat.com>
50274
50275         * manual/arith.texi (Rounding Functions): Fix rint description
50276         implicit in round description.
50277
50278 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50279
50280         * elf/Makefile: Fix linking for a few tests to make recent linker
50281         happy.
50282
50283 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50284
50285         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50286         $(common-objpfx)libc_nonshared.a.
50287
50288 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50289
50290         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50291         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50292         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50293         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50294         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50295         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50296         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50297         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50312         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50313         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50314         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50315         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50316         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50317         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50318         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50319         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50320         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50321         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50322         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50323         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50338
50339 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50340
50341         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50342         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50343         * string/memmove.c (memmove): Renamed to ...
50344         (MEMMOVE): ...this.  Default to memmove.
50345         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50346         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50347         (END_CHK): Define.
50348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50349         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50350         mempcpy-ssse3-back memmove-ssse3-back.
50351         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50352         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50353         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50354         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50355         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50356         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50357         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50358         * sysdeps/x86_64/multiarch/memmove.c: New file.
50359         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50360         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50361         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50362         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50363         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50364         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50365         Define.
50366         (index_Fast_Copy_Backward): Define.
50367         (HAS_ARCH_FEATURE): Define.
50368         (HAS_FAST_REP_STRING): Define.
50369         (HAS_FAST_COPY_BACKWARD): Define.
50370
50371 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50372
50373         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50374         Restore proper fallback handling.
50375
50376 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50377
50378         [BZ #11701]
50379         * posix/group_member.c (__group_member): Correct checking loop.
50380
50381         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50382         OOM in getpwuid_r correctly.  Return error number when the caller
50383         should return, otherwise -1.
50384         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50385         call returning > 0 value.
50386         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50387
50388 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50389
50390         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50391         libc_nonshared.a from targets in modules-names.
50392
50393 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50394
50395         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50396         requires it.
50397
50398 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50399
50400         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50401         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50404
50405 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50406
50407         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50408
50409 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50410
50411         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50412         and F_GETPIPE_SZ.
50413         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50414         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50415         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50418         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50419
50420 2010-06-14  Roland McGrath  <roland@redhat.com>
50421
50422         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50423
50424 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50425
50426         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50427         __REDIRECT followed by __THROW.
50428         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50429         * posix/getopt.h (getopt): Likewise.
50430
50431 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50432
50433         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50434         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50435         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50436         in AT_FLAGS.
50437         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50438         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50439
50440 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50441
50442         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50443
50444 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50445
50446         [BZ #11640]
50447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50448         Properly check family and model.
50449
50450 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50451
50452         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50453
50454 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50455
50456         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50457
50458 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50459
50460         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50461         symbol reference.
50462
50463 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50464
50465         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50466         symbol reference.
50467
50468 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50469
50470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50471         and internal_recvmmsg.
50472         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50473         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50474         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50475         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50476
50477         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50478         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50479         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50480
50481 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50482
50483         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50484
50485 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50486
50487         POWER7 optimizations.
50488         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50489         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50490
50491 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50492
50493         * version.h: Update for 2.13 development version.
50494
50495 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50496
50497         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50498         exceptions.  Return 0.
50499
50500 2010-05-07  Roland McGrath  <roland@redhat.com>
50501
50502         * elf/ldconfig.c (main): Add a const.
50503
50504 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50505
50506         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50507         (args_options): Add no-idn option.
50508         (ahosts_keys_int): Add idn_flags to ai_flags.
50509         (parse_option): Handle 'i' option to clear idn_flags.
50510
50511         * malloc/malloc.c (_int_free): Possible race in the most recently
50512         added check.  Only act on the data if no current modification
50513         happened.
50514
50515 See ChangeLog.17 for earlier changes.