Move some chown / lchown / fchown definitions to syscalls.list (bug 14138).
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #14138]
4         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10         (fchown): Likewise.
11         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12         (fchown): Likewise.
13         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14         Likewise.
15
16 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17
18         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23         Likewise.
24         (__old_sem_post): Likewise.
25
26 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27
28         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32         Use INLINE_VSYSCALL macro.
33         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34         __vdso_clock_gettime.
35         * sysdeps/unix/sysv/linux/tile/init-first.c
36         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38         __vdso_clock_gettime.
39
40         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41         to set up frame more cleanly.
42
43         * sysdeps/tile/memcmp.c: New file.
44
45         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46
47         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
48         * sysdeps/tile/tilegx/strcasestr.c: New file.
49         * sysdeps/tile/tilegx/strnlen.c: New file.
50         * sysdeps/tile/tilegx/strstr.c: New file.
51
52         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
53
54 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
55
56         * nptl/tst-setuid3.c: Write errors to stdout.
57
58 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
59
60         * elf/dl-deps.c
61         (preload): New functions broken out of _dl_map_object_deps.
62         (_dl_map_object_deps):  Remove a nested function. Update call sites.
63
64 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
65
66         [BZ #14138]
67         * sysdeps/unix/sysv/linux/execve.c: Remove file.
68         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
69
70 2014-10-01  Steve Ellcey  <sellcey@mips.com>
71
72         * sysdeps/mips/strcmp.S: New.
73
74 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
75
76         [BZ #14138]
77         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
78         (linkat): Likewise.
79         (mkdirat): Likewise.
80         (readlinkat): Likewise.
81         (renameat): Likewise.
82         (symlinkat): Likewise.
83         (unlinkat): Likewise.
84         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
85         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
86         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
87         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
88         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
89         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
90         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
91
92 2014-09-30  Will Newton  <will.newton@linaro.org>
93
94         * math/math.h: Define long double math functions if
95         _LIBC_TEST is defined.
96         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
97
98         * localedata/Makefile: Move assignment to tests-special
99         into an ifdef testing run-built-tests.
100         * timezone/Makefile: Likewise.
101
102 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
103
104         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
105         with $(BASH) not $(SHELL).
106
107 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
108             Matthew LeGendre  <legendre1@llnl.gov>
109
110         [BZ #17411]
111         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
112         l_reloc_result.
113
114 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
115
116         * stdio-common/printf_fp.c
117         (hack_digit): New function, broken out of ...
118         (__printf_fp): ... local function here.  Update call sites.
119         hack_digit now takes an additional parameter that is a pointer
120         to a struct of the referenced locals.  Those locals moved inside
121         the struct and references updated.
122
123 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
124
125         * aclocal.m4: Require autoconf 2.69.
126         * configure: Regenerated.
127         * sysdeps/aarch64/configure: Likewise.
128         * sysdeps/alpha/configure: Likewise.
129         * sysdeps/arm/armv7/configure: Likewise.
130         * sysdeps/arm/configure: Likewise.
131         * sysdeps/ia64/configure: Likewise.
132         * sysdeps/mach/configure: Likewise.
133         * sysdeps/mips/configure: Likewise.
134         * sysdeps/s390/configure: Likewise.
135         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
137
138         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
139         file.
140         * sysdeps/ia64/configure.ac: Likewise.
141
142 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
143
144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
145         specify symbol version for ld.so.  Do not include entry for
146         libpthread.
147         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
148         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
149         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
150
151         [BZ #14171]
152         * Makeconfig [$(build-shared) = yes]
153         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
154         makefiles.
155         [$(build-shared) = yes && $(soversions.mk-done) = t]
156         ($(common-objpfx)gnu/lib-names.h): Remove rule.
157         [$(build-shared) = yes && $(soversions.mk-done) = t]
158         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
159         to Makerules.
160         [$(build-shared) = yes && $(soversions.mk-done) = t]
161         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
162         here.
163         [$(build-shared) = yes && $(soversions.mk-done) = t]
164         (common-generated): Don't append gnu/lib-names.h and
165         gnu/lib-names.stmp here.
166         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
167         (lib-names-h-abi): New variable.
168         [$(build-shared) = yes && $(soversions.mk-done) = t]
169         (lib-names-stmp-abi): Likewise.
170         [$(build-shared) = yes && $(soversions.mk-done) = t &&
171         abi-variants] (before-compile): Append
172         $(common-objpfx)$(lib-names-h-abi).
173         [$(build-shared) = yes && $(soversions.mk-done) = t &&
174         abi-variants] (common-generated): Append gnu/lib-names.h.
175         [$(build-shared) = yes && $(soversions.mk-done) = t &&
176         abi-variants] (install-others-nosubdir): Depend on
177         $(inst_includedir)/$(lib-names-h-abi).
178         [$(build-shared) = yes && $(soversions.mk-done) = t &&
179         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
180         [$(build-shared) = yes && $(soversions.mk-done) = t]
181         ($(common-objpfx)$(lib-names-h-abi)): New rule.
182         [$(build-shared) = yes && $(soversions.mk-done) = t]
183         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
184         [$(build-shared) = yes && $(soversions.mk-done) = t]
185         (common-generated): Append $(lib-names-h-abi) and
186         $(lib-names-stmp-abi).
187         * scripts/lib-names.awk: Do not handle multi being set.
188         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
189         Remove variable.
190         (abi-lp64_be-ld-soname): Likewise.
191         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
192         Likewise.
193         (abi-hard-ld-soname): Likewise.
194         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
195         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
196         Remove variable.
197         (abi-o32_hard-ld-soname): Likewise.
198         (abi-o32_soft_2008-ld-soname): Likewise.
199         (abi-o32_hard_2008-ld-soname): Likewise.
200         (abi-n32_soft-ld-soname): Likewise.
201         (abi-n32_hard-ld-soname): Likewise.
202         (abi-n32_soft_2008-ld-soname): Likewise.
203         (abi-n32_hard_2008-ld-soname): Likewise.
204         (abi-n64_soft-ld-soname): Likewise.
205         (abi-n64_hard-ld-soname): Likewise.
206         (abi-n64_soft_2008-ld-soname): Likewise.
207         (abi-n64_hard_2008-ld-soname): Likewise.
208         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
209         Likewise.
210         (abi-64-v2-ld-soname): Likewise.
211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
212         ld.so entries.
213         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
214         variable.
215         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
216         entry.
217         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
218         variable.
219         (abi-64-ld-soname): Likewise.
220         (abi-x32-ld-soname): Likewise.
221         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
222         entry.
223         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
224
225 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
226
227         [BZ #14138]
228         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
229         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
230         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
232         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
233         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
234         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
235         syscall entry for GLIBC_2.2 symbol version.
236         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
237         Likewise.
238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
239         (setrlimit): Likewise.
240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
241         Likewise.
242
243 2014-09-23  Will Newton  <will.newton@linaro.org>
244
245         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
246         _LINUX_ARM_SYSDEP_H include guard too.
247         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
248         define.
249
250 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
251
252         * sysdeps/unix/sysv/linux/eventfd.c:
253         Make first argument unsigned.
254         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
255         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
256
257 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
258
259         * socket/recvmmsg.c (recvmmsg): Drop const argument.
260         * socket/sys/socket.h: Likewise
261         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
262
263 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
264
265         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
266
267 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
268
269         * time/tst-ftime.c: New test.
270         * time/Makefile (tests): Add tst-ftime.
271
272 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
273
274         * soft-fp/extended.h: Fix comment formatting.
275         * soft-fp/op-1.h: Likewise.
276         * soft-fp/op-2.h: Likewise.
277         * soft-fp/op-4.h: Likewise.
278         * soft-fp/op-8.h: Likewise.
279         * soft-fp/op-common.h: Likewise.
280         * soft-fp/soft-fp.h: Likewise.
281
282         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
283
284 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
285
286         [BZ #6652]
287         * Makeconfig (soversions-default-setname): Remove variable.
288         ($(common-objpfx)soversions.i): Don't pass default_setname to
289         soversions.awk.
290         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
291         oldest_abi to abi-versions.awk.
292         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
293         * config.make.in (oldest-abi): Remove variable.
294         * configure.ac (--enable-oldest-abi): Remove configure option.
295         * configure: Regenerated.
296         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
297         text.
298         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
299         * scripts/soversions.awk: Do not handle default_setname variable.
300         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
301         variable.
302         * sysdeps/mach/hurd/configure: Regenerated.
303         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
304         variable.
305         * sysdeps/unix/sysv/linux/configure: Regenerated.
306
307 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
308
309         * elf/Makefile (CFLAGS-interp.c): Remove.
310         ($(elf-objpfx)runtime-linker.h): Generate header with linker
311         path string.
312         * elf/interp.c: Include generated runtime-linker.h
313
314         * Makerules (lib%.so): Don't include $(+interp) in
315         prerequisites.
316         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
317         * dlfcn/eval.c: Remove file.
318
319         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
320         macros.
321
322         [BZ #17266]
323         * misc/sys/cdefs.h: Define __extern_always_inline for clang
324         4.2 and newer.
325
326         [BZ #17370]
327         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
328
329 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
330             Jakub Jelinek  <jakub@redhat.com>
331
332         [BZ #17266]
333         * libio/stdio.h: Check definition of __fortify_function
334         instead of __extern_always_inline to include bits/stdio2.h.
335         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
336         check if __extern_always_inline is defined.
337         [__USE_MISC || __USE_XOPEN]: Likewise.
338         [__USE_ISOC99] Likewise.
339         * misc/sys/cdefs.h (__fortify_function): Define only if
340         __extern_always_inline is defined.
341         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
342         __extern_always_inline and __extern_inline only for g++-4.3
343         and newer or a compatible gcc.
344
345 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
346
347         [BZ #17371]
348         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
349         last change to handle zero prefix length.
350
351 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
352
353         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
354         _SC_REGEX_VERSION.
355
356         * posix/getconf.c (vars): Add _POSIX_IPV6 and
357         _POSIX_RAW_SOCKETS.
358
359 2014-09-13  Allan McRae  <allan@archlinux.org>
360
361         * po/ru.po: Update Russian translation from translation project.
362
363 2014-09-12  Roland McGrath  <roland@hack.frob.com>
364
365         * locale/programs/locale.c (show_locale_vars): Inline local function
366         into its sole call site.  Clean up some style nits.
367         (print_item): New function, broken out of ...
368         (show_info): ... local function here.  Clean up style nits.
369
370         * locale/programs/ld-ctype.c (set_one_default): New function, broken
371         out of ...
372         (set_class_defaults): ... local function set_default here.
373         Define set_default as a macro locally to pass constant parameters.
374         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
375         rather than a shared local.
376
377         * stdlib/rpmatch.c (try): New function, broken out of ...
378         (rpmatch): ... local function here.  Also, prototypify definition.
379
380 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
381
382         * scripts/soversions.awk: Do not handle configuration names.
383         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
384         vendor and os variables to soversions.awk.
385         * configure.ac: Do not modify gnu-* host_os.
386         * configure: Regenerated
387         * shlib-versions: Remove first column with configuration names.
388         * nptl/shlib-versions: Likewise.
389         * nptl_db/shlib-versions: Likewise.
390         * sysdeps/hppa/shlib-versions: Likewise.
391         * sysdeps/m68k/shlib-versions: Likewise.
392         * sysdeps/mach/hurd/shlib-versions: Likewise.
393         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
394         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
395         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
396         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
397         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
398         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
399         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
400         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
402         Likewise.
403         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
404         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
405         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
407         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
408         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
409         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
410         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
411
412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
413         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
415         Regenerated.
416         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
418         Condition symbol version definitions on [HAVE_ELFV2_ABI].
419
420         * shlib-versions: Remove OS-specific entries.  Moved to files in
421         sysdeps.
422         * sysdeps/mach/hurd/shlib-versions: New file.
423         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
424
425         * nptl/shlib-versions: Remove architecture-specific entries.
426         Moved to files in sysdeps.
427         * shlib-versions: Likewise.
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
429         file.
430         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
431         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
432         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
433         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
434
435         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
436         (UDP_NO_CHECK6_RX): Likewise.
437
438 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
439
440         * sysdeps/posix/sysconf.c (__sysconf): Spell
441         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
442
443 2014-08-12  Florian Weimer  <fweimer@redhat.com>
444
445         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
446         loading.
447         * iconv/Versions (__gconv_transliterate): Export for use from
448         gconv modules.
449         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
450         (struct __gconv_trans_data, __gconv_trans_fct,
451         __gconv_trans_context_fct, __gconv_trans_query_fct,
452         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
453         definitions.
454         (struct __gconv_step_data): Remove __trans member.
455         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
456         longer hidden.  Remove unused trans_data argument.
457         * iconv/gconv_int.h (struct trans_struct): Remove definition.
458         (__gconv_translit_find): Remove declaration.
459         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
460         prototype.
461         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
462         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
463         trans_data argument.  Add hidden definition.
464         (__gconv_translit_find): Remove.
465         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
466         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
467         * iconv/skeleton.c: Remove transliteration initialization.
468         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
469         __gconv_step_data initialization.
470         * libio/iofwide.c (__libio_translit_): Remove.
471         (_IO_fwide): Adjust struct __gconv_step_data initialization.
472         * wcsmbs/btowc.c (__btowc): Likewise.
473         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
474         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
475         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
476         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
477         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
478         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
479         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
480         * wcsmbs/wctob.c (wctob): Likewise.
481
482 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
483
484         [BZ #16194]
485         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
486         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
487         register usage.
488         * sysdeps/x86/Makefile: Adjust.
489
490 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
491             Roland McGrath  <roland@hack.frob.com>
492
493         * locale/weight.h: Add include guard.
494         (findidx): Make static rather than auto; take new parameters
495         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
496         * locale/weightwc.h: Likewise.
497         * posix/fnmatch_loop.c
498         (FCT): Change type of EXTRA from int32_t to wint_t.
499         Don't include either header inside the function.
500         Call FINDIDX rather than findidx, and pass new arguments.
501         #undef FINDIDX at the end of the file.
502         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
503         FINDIDX before including fnmatch_loop.c for the non-wide version.
504         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
505         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
506         for the wide version.
507         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
508         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
509         Pass new arguments to findidx.
510         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
511         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
512         Don't #include it inside the function.  Pass new arguments to findidx.
513         * posix/regex_internal.h
514         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
515         (re_string_elem_size_at): Don't #include it inside the function.
516         Pass new arguments to findidx.
517         * string/strcoll_l.c: #include WEIGHT_H at top level.
518         (get_next_seq): Don't #include it inside the function.
519         Pass new arguments to findidx.
520         (get_next_seq_nocache): Likewise.
521         * string/strxfrm_l.c: #include WEIGHT_H at top level.
522         (STRXFRM): Don't #include it inside the function.
523         Pass new arguments to findidx.
524
525 2014-09-11  Florian Weimer  <fweimer@redhat.com>
526
527         [BZ #17344]
528         * malloc/malloc.c (unlink): Turn asserts into a call to
529         malloc_printerr.
530
531 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
532
533         [BZ #17370]
534         * libio/wfileops (do_ftell_wide): Free OUT.
535
536 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
537
538         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
539
540 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
541
542         [BZ #17363]
543         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
544         group if the current group is empty.
545
546 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
547
548         * benchtests/bench-memset.c (test_main): Add more test from size
549         from 32 to 512 bytes.
550         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
551         Add POWER8 memset object.
552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
553         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
554         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
555         implementation.
556         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
557         Likewise.
558         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
559         multiarch POWER8 memset optimization.
560         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
561         POWER8 memset optimization.
562
563         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
564         Remove bzero multiarch objects.
565         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
566         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
567         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
568         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
569         Remove define.
570         [__bzero]: Redefine to specific name.
571         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
572         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
573         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
574         define.
575         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
576         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
577
578 2014-09-10  Florian Weimer  <fweimer@redhat.com>
579
580         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
581         warnings into errors.
582
583         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
584         __cxa_thread_atexit_impl prototype.
585
586 2014-09-09  Steve Ellcey  <sellcey@mips.com>
587
588         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
589         Fix capitalization of error message.
590
591 2014-09-09  Steve Ellcey  <sellcey@mips.com>
592
593         * sysdeps/mips/preconfigure: Modify ABI tests.
594
595 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
596
597         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
598
599 2014-09-07  Roland McGrath  <roland@hack.frob.com>
600             Carlos O'Donell  <carlos@systemhalted.org>
601
602         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
603         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
604         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
605         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
606         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
607         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
608         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
609         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
610         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
611         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
613         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
614         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
615         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
617         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
620         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
621         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
622         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
623         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
624         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
625         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
626         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
627         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
628         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
629         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
630         Deconditionalize the code that was previously under [RESET_PID].
631         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
632         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
633         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
634         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
635         include sysdep.h.
636
637 2014-09-08  Allan McRae  <allan@archlinux.org>
638
639         * version.h (RELEASE): Set to "development".
640         (VERSION): Set to "2.20.90"
641
642 2014-09-07  Allan McRae  <allan@archlinux.org
643
644         * version.h (RELEASE): Set to "stable".
645         (VERSION): Set to "2.20"
646         * include/features.h (__GLIBC_MINOR__): Set to 20.
647
648         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
649         Liebler.
650
651         * po/ko.po: Update Korean translation from translation project.
652
653 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
654
655         [BZ #17354]
656         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
657         macro for handling signed relocations.
658
659 2014-09-03  Florian Weimer  <fweimer@redhat.com>
660
661         [BZ #17325]
662         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
663         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
664         assert.
665         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
666         * iconvdata/ibm935.c (BODY): Likewise.
667         * iconvdata/ibm937.c (BODY): Likewise.
668         * iconvdata/ibm939.c (BODY): Likewise.
669         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
670         assert.
671         * iconvdata/Makefile (iconv-test.out): Pass module list to test
672         script.
673         * iconvdata/run-iconv-test.sh: New test loop for checking for
674         decoder crashers.
675
676 2014-09-02  Khem Raj  <raj.khem@gmail.com>
677
678         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
679         libm_hidden_ver.
680
681 2014-09-01  Allan McRae  <allan@archlinux.org>
682
683         * po/eo.po: Update Esperanto translation from translation project.
684
685         * po/ca.po: Update Catalan translation from translation project.
686
687 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
688
689         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
690         __proc_dostop call.
691
692 2014-08-27  Mark Wielaard  <mjw@redhat.com>
693
694         [BZ #17319]
695         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
696         to call set_thread_area instead of hand written asm.
697         (__NR_set_thread_area): Removed define.
698         (TLS_FLAG_WRITABLE): Likewise.
699         (__ASSUME_SET_THREAD_AREA): Remove check.
700         (TLS_EBX_ARG): Remove define.
701         (TLS_LOAD_EBX): Likewise.
702
703 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
704
705         Simplify atomicity of socket creation in bind.
706
707         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
708         looking up the name after linking the file.
709
710 2014-08-27  Allan McRae  <allan@archlinux.org>
711
712         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
713
714 2014-08-26  Florian Weimer  <fweimer@redhat.com>
715
716         [BZ #17187]
717         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
718         trans_compare, open_translit, __gconv_translit_find):
719         Remove module loading code.
720
721 2014-08-26  Allan McRae  <allan@archlinux.org>
722
723         * po/vi.po: Update Vietnamese translation from translation project.
724
725         * po/uk.po: Update Ukrainian translation from translation project.
726
727         * po/fr.po: Update French translation from translation project.
728
729         * po/ru.po: Update Russian translation from translation project.
730
731         * po/pl.po: Update Polish translation from translation project.
732
733         * po/cs.po: Update Czech translation from translation project.
734
735         * po/de.po: Update German translation from translation project.
736
737         * po/bg.po: Update Bulgarian translation from translation project.
738
739         * po/sv.po: Update Sweedish translation from translation project.
740
741         * po/nl.po: Update Dutch translation from translation project.
742
743         * po/es.po: Update Spanish translation from translation project.
744
745 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
746
747         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
748
749         * catgets/Makefile (CPPFLAGS-gencat): Remove.
750         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
751         (CPPFLAGS-iconvconfig): Likewise.
752         * timezone/Makefile (CPPFLAGS-zic): Likewise.
753
754         * include/libc-symbols.h: Remove unnecessary check for
755         NOT_IN_libc.
756         * nptl/pthreadP.h: Likewise.
757         * sysdeps/aarch64/setjmp.S: Likewise.
758         * sysdeps/alpha/setjmp.S: Likewise.
759         * sysdeps/arm/sysdep.h: Likewise.
760         * sysdeps/i386/setjmp.S: Likewise.
761         * sysdeps/m68k/setjmp.c: Likewise.
762         * sysdeps/posix/getcwd.c: Likewise.
763         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
765         * sysdeps/s390/s390-32/setjmp.S: Likewise.
766         * sysdeps/s390/s390-64/setjmp.S: Likewise.
767         * sysdeps/sh/sh3/setjmp.S: Likewise.
768         * sysdeps/sh/sh4/setjmp.S: Likewise.
769         * sysdeps/unix/alpha/sysdep.h: Likewise.
770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
771         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
772         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
773         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
776         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
777         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
778         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
781         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
783         * sysdeps/x86_64/setjmp.S: Likewise.
784
785 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
786
787         [BZ #17263]
788         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
789         <stdint.h>.
790         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
791         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
792
793 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
794
795         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
796
797         [BZ #17262]
798         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
799         and __x86_64__ when disabling x87 inline functions.
800
801 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
802
803         [BZ #17259]
804         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
805         asm statement with __cpuid_count.
806
807 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
808
809         * configure.ac: Change __ehdr_start code to dereference the struct.
810         Run readelf on the output to look for relocations.
811         * configure: Regenerated.
812
813 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
814
815         [BZ #17261]
816         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
817         value to 0.
818         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
819
820 2014-08-12  Roland McGrath  <roland@hack.frob.com>
821
822         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
823
824 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
825
826         [BZ #16892]
827         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
828         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
829
830 2014-08-12  Sean Anderson  <seanga2@gmail.com>
831
832         * malloc/malloc.c: Fix typo in comment.
833
834 2014-08-09  Allan McRae  <allan@archlinux.org>
835
836         * Regenerate libc.po.
837
838 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
839
840         * intl/tst-gettext2.sh: Check every lang file for creation.
841
842 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
843
844         * sysdeps/aarch64/fpu/math_private.h
845         (libc_feholdsetround_noex_aarch64_ctx): New function.
846
847 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
848
849         * sysdeps/arm/armv6/strcpy.S (strcpy):
850         Fix performance issue in misaligned cases.
851
852 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853
854         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
855         Move definition from termios.h.
856         (struct termio): Likewise.
857         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
858         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
859         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
860         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
861         Likewise.
862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
863         Move definition to ioctl-types.h
864         (struct termio): Likewise.
865         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
866         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
867         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
868         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
869         Likewise.
870
871 2014-08-05  Richard Henderson  <rth@redhat.com>
872
873         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
874         exceptions.
875         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
876         Add fraiseexcpt.
877         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
878         Use __feraiseexcept.
879         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
880         Protect libm symbols with IS_IN_libm.
881
882         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
883
884 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
885
886         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
887
888 2014-08-04  Will Newton  <will.newton@linaro.org>
889
890         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
891         file.
892
893 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
894
895         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
896         variants for each function.
897
898 2014-08-04  Roland McGrath  <roland@hack.frob.com>
899
900         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
901         appended ...
902         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
903         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
904         appended ...
905         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
906         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
907         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
908         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
909         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
910         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
911         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
912         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
913         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
914         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
915         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
916         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
917         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
918         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
919         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
920         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
921         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
922         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
923         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
924         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
925         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
926         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
927         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
928         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
929         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
930         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
931         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
932         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
933         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
934         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
935         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
936         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
937         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
938         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
939         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
940         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
941         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
942         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
943         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
944         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
945         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
946         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
947         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
948         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
949         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
951         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
953         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
955         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
956         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
957         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
958         Update #include.
959         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
960         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
961
962 2014-08-04  Roland McGrath  <roland@hack.frob.com>
963
964         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
965         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
966         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
967         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
968         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
969         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
970
971 2014-08-04  Roland McGrath  <roland@hack.frob.com>
972
973         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
974         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
975         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
976         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
977
978 2014-08-04  Roland McGrath  <roland@hack.frob.com>
979
980         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
981         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
982         (__libc_vfork): Define function under this name.
983         (__vfork): Define as an alias.
984         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
985         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
986
987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
988
989         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
990         that was previously under [RESET_PID].
991         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
992
993 2014-08-04  Andreas Schwab  <schwab@suse.de>
994
995         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
996
997 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
998
999         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1000         (main): Likewise.
1001
1002 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1003
1004         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1005
1006 2014-08-01  Richard Henderon  <rth@redhat.com>
1007
1008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1009         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1010         typo in exact zero test.
1011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1014
1015 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1016
1017         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1018         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1019         * sysdeps/arm/sysdep.h: ... here.
1020         [!__ASSEMBLER__]: Include <stdint.h>.
1021
1022 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1023
1024         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1025         (HAVE_WCTYPE_H): Likewise.
1026         (HAVE_ISWCTYPE): Likewise.
1027         (ENABLE_NLS): Likewise.
1028         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1029         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1030
1031         * posix/regex_internal.c: Check if DEBUG is defined and is
1032         set.
1033
1034         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1035         (HAVE_MBSRTOWCS): Likewise.
1036         * posix/fnmatch.c: Include string.h unconditionally.
1037
1038 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1039
1040         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1041         reversal.
1042
1043 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1044
1045         * sysdeps/generic/safe-fatal.h: New file.
1046         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1047         * nptl/forward.c: Include it.
1048         (__pthread_unwind): Use __safe_fatal as default action, rather
1049         than a bogus use of INTERNAL_SYSCALL that could never work.
1050
1051         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1052         * configure.ac (libc_cv_builtin_trap): New test.
1053         * configure: Regenerated.
1054         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1055         (ABORT_INSTRUCTION): Define using __builtin_trap.
1056
1057         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1058         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1059         * sysdeps/nptl/nptl-signals.h: New file.
1060         * nptl/pthreadP.h: Include <nptl-signals.h>.
1061
1062 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1063
1064         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1065         (ONE_DIRECTION): Define.
1066         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1067         (ONE_DIRECTION): Define.
1068         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1069         (ONE_DIRECTION): Define.
1070
1071 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1072
1073         * sysdeps/s390/Makefile: Delete file.
1074         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1075         * sysdeps/s390/__longjmp.c: Delete file.
1076         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1077         Remove fields __flags and __reserved.
1078         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1079         and add versioning.
1080         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1081         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1082         * sysdeps/s390/rtld-setjmp.S: Likewise.
1083         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1084         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1085         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1086         * sysdeps/s390/s390-32/setjmp.S: ... here.
1087         Add versioning.
1088         (__sigsetjmp): Remove setting __flags field.
1089         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1090         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1091         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1092         * sysdeps/s390/s390-64/setjmp.S: ... here.
1093         Add versioning.
1094         (__sigsetjmp): Remove setting __flags field.
1095         * sysdeps/s390/setjmp.S: Delete file.
1096         * sysdeps/s390/sigjmp.c: Likewise.
1097         * sysdeps/s390/v1-longjmp.c: Likewise.
1098         * sysdeps/s390/v1-setjmp.h: Likewise.
1099         * sysdeps/s390/v1-sigjmp.c: Likewise.
1100         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1101         Remove v1-longjmp_chk.
1102         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1103         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1104         Include debug/longjmp_chk.c and add versioning.
1105         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1106         Include nptl/pt-longjmp.c and add versioning.
1107         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1108         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1109         Include __longjmp.c.
1110         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1111         Move to ...
1112         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1113         (__getcontext): Remove setting __flags field.
1114         Add versioning.
1115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1116         Don't restore upper high grps.
1117         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1118         Likewise.
1119         (__swapcontext): Remove setting uc_flags field.
1120         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1121         Delete file.
1122         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1123         Include __longjmp.c.
1124         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1125         Move to ...
1126         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1127         (__getcontext): Remove setting __flags field.
1128         Add versioning.
1129         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1130         (__swapcontext): Remove setting uc_flags field.
1131         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1133         Remove fields uc_high_gprs and __reserved.
1134         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1135         New file with reverted content.
1136         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1137         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1138         Regenerated.
1139         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1140         Regenerated.
1141
1142 2014-07-31  Andreas Schwab  <schwab@suse.de>
1143
1144         * config.h.in (HAVE_IFUNC): Define to 0.
1145         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1146         definedness.
1147
1148 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1149
1150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1151         memmove-avx-unaligned, memcpy-avx-unaligned and
1152         mempcpy-avx-unaligned.
1153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1154         Add tests for AVX memcpy functions.
1155         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1156         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1157         memcpy_chk.
1158         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1159         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1160         memmove_chk.
1161         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1162         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1163         mempcpy_chk.
1164         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1165         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1166         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1167
1168 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1169
1170         [BZ #17213]
1171         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1172         powerpc64le.
1173
1174 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1175
1176         [BZ #16839]
1177         * manual/llio.texi: Add section about open file description locks.
1178         * manual/examples/ofdlocks.c: Example of open file description
1179         lock usage.
1180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1181         F_OFD_SETLK, and F_OFD_SETLKW.
1182
1183 2014-07-23  Allan McRae  <allan@archlinux.org>
1184
1185         * po/es.po: Update Spanish translation from translation project.
1186
1187 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1188
1189         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1190
1191 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1192
1193         [BZ #17078]
1194         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1195         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1196         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1197
1198 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1199
1200         [BZ #17088]
1201         * math/fesetenv.c (__fesetenv)
1202         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1203         * math/feupdateenv.c (__feupdateenv)
1204         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1205
1206         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1207         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1208         (__ASSUME_SOCKETCALL): Do not define.
1209
1210         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1211         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1212         (__ASSUME_SOCKETCALL): Do not define.
1213         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1214         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1215         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1216         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1217         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1218         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1219         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1220         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1221
1222         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1223         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1224         (__ASSUME_SOCKETCALL): Do not define.
1225         (__ASSUME_IPC64): Define unconditionally.
1226         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1227         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1228         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1230         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1232         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1233         Likewise.
1234
1235         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1236         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1237         (__ASSUME_SOCKETCALL): Do not define.
1238         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1239         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1240         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1241         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1242         (__ASSUME_REQUEUE_PI): Define unconditionally.
1243         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1244         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1245         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1246         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1247         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1248         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1249
1250         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1251         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1252         (__ASSUME_SOCKETCALL): Do not define.
1253         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1254         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1255         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1256         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1257         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1258         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1259
1260         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1261         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1262         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1263         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1264         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1265         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1267         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1268         (__ASSUME_GETCPU_SYSCALL): Likewise.
1269
1270         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1271         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1272         cases for individual architectures.
1273         * sysdeps/gnu/configure: Regenerated.
1274         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1275         LIBC_SLIBDIR_RTLDDIR.
1276         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1277         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1278         LIBC_SLIBDIR_RTLDDIR.
1279         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1281         LIBC_SLIBDIR_RTLDDIR.
1282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1283         Regenerated.
1284         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1285         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1286         file.
1287         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1288         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1289         file.
1290         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1291         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1292         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1293         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1294
1295         * sysdeps/aarch64/shlib-versions: Move to ...
1296         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1297         * sysdeps/alpha/shlib-versions: Move to ...
1298         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1299         * sysdeps/arm/shlib-versions: Move to ...
1300         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1301         * sysdeps/hppa/shlib-versions: Move all contents except for
1302         libgcc_s entry to ...
1303         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1304         entry from ...
1305         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1306         * sysdeps/ia64/shlib-versions: Move to ...
1307         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1308         entry from ...
1309         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1310         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1311         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1312         * sysdeps/microblaze/shlib-versions: Move to ...
1313         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1314         * sysdeps/mips/shlib-versions: Move to ...
1315         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1316         entry from ...
1317         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1318         * sysdeps/tile/shlib-versions: Move to ...
1319         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1321         from ...
1322         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1323         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1324         entry from ...
1325         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1326
1327 2014-07-17  Will Newton  <will.newton@linaro.org>
1328
1329         * sysdeps/arm/bits/atomic.h
1330         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1331         (__arch_compare_and_exchange_bool_16_int): Likewise.
1332         (__arch_compare_and_exchange_bool_64_int): Likewise.
1333
1334         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1335         into an #else block.
1336
1337 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1338
1339         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1340         just Linux configurations.  Test empirically that the compiler sets
1341         __ARM_EABI__, rather than using the tuple to decide.
1342         * sysdeps/arm/preconfigure: Regenerated.
1343         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1344         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1345         contents appended ...
1346         * sysdeps/arm/configure.ac: ... here.
1347         * sysdeps/arm/configure: Regenerated.
1348
1349 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1350
1351         * nptl/pthread_kill.c: New file.
1352         * nptl/pthread_sigmask.c: New file.
1353         * nptl/pthread_sigqueue.c: New file.
1354
1355         * sysdeps/nptl/lowlevellock.h: New file.
1356         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1357         * sysdeps/nptl/lowlevellock-futex.h: New file.
1358
1359         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1360         Remove dead declarations.
1361
1362 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1363
1364         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1365         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1366         config-cflags-avx2.
1367         * sysdeps/x86_64/configure.ac: Likewise.
1368         * sysdeps/i386/configure: Regenerated.
1369         * sysdeps/x86_64/configure: Likewise.
1370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1371         memset-avx2 only if config-cflags-avx2 is yes.
1372         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1373         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1374         defined.
1375         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1376         only if HAVE_AVX2_SUPPORT is defined.
1377         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1378
1379 2014-07-14  Alan Modra  <amodra@gmail.com>
1380
1381         [BZ #17153]
1382         * elf/elf.h (DT_PPC64_NUM): Correct value.
1383         * NEWS: Add to fixed bug list.
1384
1385 2014-07-13  Jim Meyering  <meyering@fb.com>
1386
1387         [BZ 17150]
1388         regex: don't deref NULL upon heap allocation failure
1389         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1390         failure in one more place.
1391         To trigger the segfault, configure grep -with-included-regex,
1392         build it, and run these commands:
1393         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1394
1395 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1396
1397         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1398
1399 2014-07-11  Richard Henderson  <rth@redhat.com>
1400
1401         * sysdeps/aarch64/libm-test-ulps: Update.
1402
1403 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1404
1405         [BZ #17135]
1406         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1407         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1408         (__nptl_setxid): Initialize error member.  Call
1409         __nptl_setxid_error.
1410         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1411         * nptl/descr.h (struct xid_command): Add error member.
1412         * nptl/tst-setuid3.c: New file.
1413         * nptl/Makefile (tests): Add it.
1414
1415 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1416
1417         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1418         New define.
1419         (__lll_trylock): Use __lll_base_trylock.
1420         (__lll_cond_trylock): Likewise.
1421
1422 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1423
1424         * nptl/pthread_create.c (start_thread): Use atomic_or and
1425         lll_futex_wake directly rather than lll_robust_dead.
1426         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1427         (lll_robust_dead): Macro removed.
1428         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1429         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1430         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1431         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1432         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1433         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1434         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1435         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1436         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1438         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1440         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1441         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1443
1444         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1445         Use atomic_compare_and_exchange_val_acq directly rather than
1446         lll_robust_trylock.
1447         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1448         (__lll_robust_trylock, lll_robust_trylock): Removed.
1449         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1450         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1451         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1452         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1453         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1454         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1455         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1456         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1457         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1458         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1459         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1460         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1461         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1462         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1463
1464 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1465
1466         * manual/locale.texi (Locale Names): New section documenting
1467         locale name syntax.  Adjust menu and node chaining accordingly.
1468         (Choosing Locale): Reference Locale Names, Locale Categories.
1469         Mention setting LC_ALL=C.  Reflect that name syntax is now
1470         documented.
1471         (Locale Categories): New section title.  Reference Locale Names.
1472         LC_ALL is an environment variable, but not a category.
1473         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1474         description, now in Locale Name.  Reference that section.  Locale
1475         name syntax is now documented.
1476
1477 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1478
1479         [BZ #17137]
1480         * locale/findlocale.c (name_present, valid_locale_name): New
1481         functions.
1482         (_nl_find_locale): Use the loc_name variable to store name
1483         candidates.  Call name_present and valid_locale_name to check and
1484         validate locale names.  Return an error if the locale is invalid.
1485
1486 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1487
1488         * locale/setlocale.c (setlocale): Use strdup for allocating
1489         composite name copy.
1490
1491 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1492
1493         Sync up with gnulib.
1494         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1495         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1496         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1497         and _GL_ARG_NONNULL.
1498         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1499         [!_LIBC]: Include code for Windows and Cygwin.
1500         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1501         Include prototype for int strerror_r.
1502         [!_LIBC] (is_open): New function.
1503         (flush_stdout): New function.
1504         (print_errno_message): Use it.
1505         (error): Likewise.
1506         (error_at_line): Likewise.
1507         (error_tail) Add function attribute macros.  Use
1508         __builtin_expect.
1509
1510         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1511
1512         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1513
1514         * io/ftw.c: Include sys/param.h unconditionally.
1515
1516         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1517
1518         [BZ #17125]
1519         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1520         libc_freeres_ptr.
1521         (freecache): New function to free CACHE on exit.
1522
1523         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1524         initialization.
1525
1526 2014-07-09  David S. Miller  <davem@davemloft.net>
1527
1528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1529
1530         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1531         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1532         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1533         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1534         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1535         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1536         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1537         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1538         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1539         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1540         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1541         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1542         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1543
1544 2014-07-09  Andreas Schwab  <schwab@suse.de>
1545
1546         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1547         output.
1548         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1549         (do_test): Likewise.
1550
1551         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1552
1553 2014-07-09  Will Newton  <will.newton@linaro.org>
1554
1555         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1556         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1557         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1558         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1559         * sysdeps/hppa/start.S (_start): Likewise.
1560
1561 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1562
1563         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1564
1565         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1566         defined.
1567
1568 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1569
1570         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1571         after checking that it is non-NULL.
1572
1573         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1574
1575 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1576
1577         * sysdeps/powerpc/memmove.c: Remove file.
1578         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1579         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1580         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1581         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1582         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1583         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1584         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1585         string memmove instead of removed powerpc one.
1586
1587         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1588         [weak_alias]: Fix compiler warning due trailing data.
1589         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1590         [weak_alias]: Likewise.
1591         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1592         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1593
1594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1595         (__libc_ifunc_impl_list): Add memmove functions.
1596
1597 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1598
1599         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1600         Remove code.
1601         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1602         Likewise
1603         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1604         Likewise
1605         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1606         Likewise
1607         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1608         Likewise
1609         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1610         Likewise
1611         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1612         Likewise
1613         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1614         Likewise
1615         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1616         Likewise
1617         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1618         Likewise
1619         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1620         Likewise
1621         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1622         Likewise
1623         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1624         Likewise
1625         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1626         Likewise
1627         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1628         Likewise
1629         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1630         Likewise
1631         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1632         Likewise
1633
1634 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1635
1636         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1637         to avoid alignment traps in non-cacheable memory.
1638         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1639
1640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1641         multiarch objects.
1642         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1643         file: multiarch power7 memmove.
1644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1645         multiarch default memmove.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1647         multiarch memove for powerpc32/power4.
1648
1649         * string/bcopy.c: Use full path to include memmove.c.
1650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1651         multiarch objects.
1652         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1653         bcopy for powerpc64.
1654         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1655         bcopy for powerpc64.
1656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1657         and memmove implementations.
1658         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1659         optimized multiarch memmove for POWER7/powerpc64.
1660         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1661         default multiarch memmove for powerpc64.
1662         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1663         multiarch for powerpc64.
1664         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1665         for POWER7/powerpc64.
1666         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1667         memmove for POWER7/powerpc64.
1668
1669         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1670         glibc default one.
1671
1672         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1673         __ELF_NATIVE_CLASS equal to 64.
1674
1675 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1676
1677         * sysdeps/nptl/lowlevellock.h: File removed.
1678
1679         * NEWS: NPTL is no longer an add-on!
1680         * nptl/internaltypes.h: Moved ...
1681         * sysdeps/nptl/internaltypes.h: ... here.
1682         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1683         * sysdeps/nptl/fork.c: Likewise.
1684         * sysdeps/nptl/gai_misc.h: Likewise.
1685         * sysdeps/nptl/librt-cancellation.c: Likewise.
1686         * sysdeps/nptl/jmp-unwind.c: Likewise.
1687         * sysdeps/nptl/setxid.h: Likewise.
1688         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1689         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1690         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1691         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1692         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1693         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1694         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1695         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1696         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1697         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1698         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1699         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1700         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1701         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1702         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1703         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1704         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1705         * nptl/Makeconfig: Moved ...
1706         * sysdeps/nptl/Makeconfig: ... here.
1707         * nptl/configure: File removed.
1708         * nptl/ANNOUNCE: File removed.
1709         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1710         * sysdeps/unix/sysv/linux/configure: Regenerated.
1711
1712         * nptl/Makefile (routines): Add libc_pthread_init,
1713         libc_multiple_threads, register-atfork and unregister-atfork.
1714         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1715         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1716         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1717         pthread-pi-defines.sym, structsem.sym.
1718         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1719         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1720         [$(subdir) = nptl] (tests): Add tst-setgetname.
1721         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1722         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1723         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1724         [!LIBC_SIGACTION]: Remove aliases.
1725         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1726         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1727         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1728         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1729         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1730         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1731         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1732         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1733         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1734         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1735         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1736         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1737         __libc_allocate_rtsig_private.
1738         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1739         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1740         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1741         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1742         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1743         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1744         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1745         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1746         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1747         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1748         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1749         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1750         * nptl/internaltypes.h: ... here.
1751         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1752         * sysdeps/nptl/jmp-unwind.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1754         * nptl/libc-lowlevellock.c: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1756         * nptl/libc_multiple_threads.c: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1758         * nptl/libc_pthread_init.c: ... here.
1759         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1760         * nptl/lowlevelbarrier.sym: ... here.
1761         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1762         * nptl/lowlevelcond.sym: ... here.
1763         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1764         * nptl/lowlevellock.c: ... here.
1765         * nptl/lowlevellock.h: Moved ...
1766         * sysdeps/nptl/lowlevellock.h: ... here.
1767         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1768         * nptl/lowlevelrobustlock.c: ... here.
1769         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1770         * nptl/lowlevelrobustlock.sym: ... here.
1771         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1772         * nptl/lowlevelrwlock.sym: ... here.
1773         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1774         * nptl/pt-fork.c: ... here.
1775         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1776         * nptl/pthread-pi-defines.sym: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1778         * nptl/pthread_attr_getaffinity.c: ... here.
1779         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1780         * nptl/pthread_attr_setaffinity.c: ... here.
1781         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1782         * nptl/pthread_mutex_cond_lock.c: ... here.
1783         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1784         Update #include.
1785         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1786         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1787         * nptl/pthread_once.c: ... here, replacing old file.
1788         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1789         * nptl/pthread_yield.c: ... here.
1790         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1791         * nptl/register-atfork.c: ... here.
1792         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1793         * nptl/sem_post.c: ... here.
1794         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1795         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1796         * nptl/sem_timedwait.c: ... here.
1797         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1798         * nptl/sem_trywait.c: ... here.
1799         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1800         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1801         * nptl/sem_wait.c: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1803         * nptl/structsem.sym: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1805         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1806         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1807         * nptl/unregister-atfork.c: ... here.
1808         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1809         * nptl/unwindbuf.sym: ... here.
1810         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1811         * sysdeps/nptl/fork.c: ... here.
1812         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1813         * sysdeps/nptl/fork.h: ... here.
1814         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1815         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1816         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1818         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1820         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1822         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1824         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1826         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1828         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1830         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1832         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1834         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1836         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1838         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1840         * sysdeps/unix/sysv/linux/raise.c: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1842         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1844         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1846         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1847         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1848         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1849         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1850         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1851         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1852         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1854         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1855         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1856
1857 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1858
1859         * sysdeps/generic/memcopy.h: Add comment for
1860         MEMCPY_OK_FOR_FWD_MEMMOVE.
1861
1862 2014-07-04  Will Newton  <will.newton@linaro.org>
1863
1864         * string/memchr.c: Merge from gnulib.
1865         [_LIBC]: Remove conditionals.
1866         (__ptr_t): Remove define.
1867         (LONG_MAX_32_BITS): Likewise.
1868         (LONG_MAX): Likewise.
1869         (MEMCHR): Use ANSI prototype and optimize algorithm.
1870
1871         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1872
1873 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1874
1875         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1876         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1877
1878         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1879         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1880         in a bare environment with no <stdlib.h> installed.
1881         * sysdeps/nptl/configure: Regenerated.
1882
1883         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1884
1885         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1886         AC_EGREP_CPP for kernel header checks, so they only succeed if
1887         including <linux/version.h> actually works right.
1888         * sysdeps/unix/sysv/linux/configure: Regenerated.
1889
1890         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1891         value so it's not diagnosed as unused.
1892
1893         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1894         thing) with "ifeq ($(subdir),rt)".
1895
1896 2014-07-03  Richard Henderson  <rth@redhat.com>
1897
1898         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1899         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1900         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1901
1902         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1903         (math_force_eval): New.
1904
1905         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1906         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1907
1908         * sysdeps/alpha/fpu/s_round.c: Remove file.
1909         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1910
1911         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1912         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1913         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1914         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1915         (_dl_start, print_statistics): Likewise.
1916         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1917         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1918
1919         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1920         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1921         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1922         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1924         (HP_SMALL_TIMING_AVAIL): Define.
1925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1927         (HP_SMALL_TIMING_AVAIL): Define.
1928         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1929         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1930
1931         * sysdeps/aarch64/hp-timing.h: New file.
1932
1933         * sysdeps/generic/hp-timing.h: Remove dead comment.
1934         * sysdeps/generic/hp-timing-common.h: New file.
1935         * sysdeps/alpha/hp-timing.h: Include it.
1936         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1937         * sysdeps/i386/i686/hp-timing.h: Likewise.
1938         * sysdeps/ia64/hp-timing.h: Likewise.
1939         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1940         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1941         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1942         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1943         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1944         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1945         (hp_timing_t): New.
1946
1947         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1948         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1949         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1950         * elf/rtld.c (_dl_start_final): Likewise.
1951         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1952         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1953         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1954         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1955         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1956         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1957         (HP_TIMING_DIFF_INIT): Remove.
1958         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1959         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1960         (HP_TIMING_DIFF_INIT): Remove.
1961         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1962         * sysdeps/i386/i686/hp-timing.c: Remove file.
1963         * sysdeps/x86_64/hp-timing.c: Remove file.
1964         * sysdeps/ia64/hp-timing.c: Remove file.
1965         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1966         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1967         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1968         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1969
1970         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1971         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1972         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1973         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1975         (HP_TIMING_ACCUM): Remove.
1976         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1977         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1978         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1979
1980         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1981         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1982         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1983         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1984         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1985         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1986         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1987         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1988
1989         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1990
1991 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1992
1993         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1994
1995 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1996
1997         Sync up with gettext.
1998         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1999         [_MSC_VER]: Include malloc.h
2000         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2001         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2002         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2003         TEMP_FAILURE_RETRY.  Cast return of alloca.
2004         [!_LIBC] Call gl_rwlock_init.
2005         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2006
2007 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2008
2009         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2010         before checking its value.
2011
2012 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2013
2014         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2015
2016         * debug/memcpy_chk.c: Don't include pagecopy.h.
2017         * debug/mempcpy_chk.c: Likewise.
2018         * string/memcpy.c: Likewise.
2019         * string/memmove.c: Likewise.
2020         * sysdeps/powerpc/memmove.c: Likewise.
2021         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2022         definition of PAGE_COPY_FWD_MAYBE here...
2023         * sysdeps/generic/pagecopy.h: ... from here.
2024         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2025
2026 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2027             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2028
2029         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2031         optimizations.
2032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2033         (__libc_ifunc_impl_list): Likewise.
2034         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2035         multiarch strcat for PPC64.
2036         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2037         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2038
2039 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2040
2041         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2042
2043 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2044
2045         * intl/loadmsgcat.c: Remove declaration of
2046         get_sysdep_segment_value.
2047         (get_sysdep_segment_value): Use ISO C style.
2048         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2049         semicolon.  Fix typo and formatting in comment.
2050         (_nl_unload_domain): Use ISO C style.
2051
2052         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2053
2054 2014-07-02  Will Newton  <will.newton@linaro.org>
2055
2056         * malloc/obstack.c: Merge from gnulib master.
2057         [HAVE_CONFIG_H]: Remove conditional code.
2058         [!_LIBC]: Include config.h.
2059         [!ELIDE_CODE]: Don't include inttypes.h, include
2060         stdint.h unconditionally.
2061         (print_and_abort): Mark as _Noreturn.
2062         (_obstack_allocated_p): Mark as __attribute_pure__.
2063         (obstack_free): Rename to __obstack_free.
2064         [!__attribute__]: Remove conditional code.
2065         * malloc/obstack.h: Merge from gnulib master.
2066         [__cplusplus]: Move conditional down.
2067         [!__attribute_pure__]: Define __attribute_pure__ here
2068         if it is not already defined.
2069         (_obstack_memory_used): Mark as __attribute_pure__.
2070         [!__obstack_free]: Define as obstack_free.
2071         [__GNUC__]: Remove check for ancient NeXT gcc.
2072
2073 2014-07-02  Will Newton  <will.newton@linaro.org>
2074             Paul Eggert  <eggert@cs.ucla.edu>
2075
2076         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2077
2078 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2079
2080         * resolv/gethnamaddr.c: Add comment warning that the file is
2081         not maintained.
2082
2083 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2084
2085         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2086         entries.
2087
2088         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2089         entry for aio_cancel and aio_cancel64.
2090         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2091         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2092         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2093         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2094         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2095         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2096         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2097         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2098         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2099         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2100         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2101         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2102         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2103
2104 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2105
2106         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2107         * nptl/pthread_mutex_lock.c: Likewise.
2108         * nptl/pthread_mutex_timedlock.c: Likewise.
2109         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2110
2111 2014-07-01  Richard henderson  <rth@redhat.com>
2112
2113         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2114         (__isnan, __isnanl): Remove.
2115         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2116
2117         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2118
2119 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2120
2121         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2122
2123 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2124
2125         * resolv/nss_dns/dns-host.c (getanswer_r)
2126         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2127
2128 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2129
2130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2131         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2132         undefine.
2133         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2134         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2135
2136 2014-07-01  Roland McGrath <roland@hack.frob.com>
2137
2138         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2139         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2140
2141         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2142         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2143
2144         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2145         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2146         ... here.
2147         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2148         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2149
2150         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2151         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2152         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2153         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2154
2155         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2156         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2157         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2158         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2159         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2160         Moved ...
2161         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2162         ... here.
2163         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2164         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2165         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2166         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2167         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2168         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2169         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2170         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2172         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2173         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2174         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2175         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2176         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2177         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2178         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2179         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2180         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2181         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2182         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2183         ... here.
2184         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2185         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2186         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2187         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2189         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2190         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2191         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2192
2193 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2194
2195         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2196         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2197         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2198         Add sysdep.
2199
2200 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2201
2202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2203
2204 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2205
2206         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2207         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2208
2209         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2210
2211         * sysdeps/arm/libm-test-ulps: Regenerated.
2212
2213 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2214             Roland McGrath <roland@hack.frob.com>
2215
2216         * test-skeleton.c (signal_handler): Kill the whole process group
2217         before killing the child individually.
2218         (main): Report any failure on `setpgid'.
2219
2220 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2221
2222         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2223         from _TLS_H to _ARM_NPTL_TLS_H.
2224         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2225         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2226
2227 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2228
2229         [BZ #16539]
2230         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2231         (__expm1l): Return argument unchanged when small but not
2232         subnormal.
2233
2234         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2235         include macro name.
2236         (_FP_UNPACK_RAW_1_P): Likewise.
2237         (_FP_PACK_RAW_1): Likewise.
2238         (_FP_PACK_RAW_1_P): Likewise.
2239         (_FP_MUL_MEAT_1_wide): Likewise.
2240         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2241         (_FP_MUL_MEAT_1_hard): Likewise.
2242         (_FP_DIV_MEAT_1_imm): Likewise.
2243         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2244         (_FP_DIV_MEAT_1_udiv): Likewise.
2245         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2246         (_FP_UNPACK_RAW_2): Likewise.
2247         (_FP_UNPACK_RAW_2_P): Likewise.
2248         (_FP_PACK_RAW_2): Likewise.
2249         (_FP_PACK_RAW_2_P): Likewise.
2250         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2251         (_FP_MUL_MEAT_2_wide): Likewise.
2252         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2253         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2254         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2255         (_FP_MUL_MEAT_2_gmp): Likewise.
2256         (_FP_DIV_MEAT_2_udiv): Likewise.
2257         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2258         (_FP_FRAC_SRL_4): Likewise.
2259         (_FP_FRAC_SRST_4): Likewise.
2260         (_FP_FRAC_SRS_4): Likewise.
2261         (_FP_UNPACK_RAW_4): Likewise.
2262         (_FP_UNPACK_RAW_4_P): Likewise.
2263         (_FP_PACK_RAW_4): Likewise.
2264         (_FP_PACK_RAW_4_P): Likewise.
2265         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2266         (_FP_MUL_MEAT_4_wide): Likewise.
2267         (_FP_MUL_MEAT_4_gmp): Likewise.
2268         (umul_ppppmnnn): Likewise.
2269         (_FP_DIV_MEAT_4_udiv): Likewise.
2270         (__FP_FRAC_ADD_4): Likewise.
2271         (__FP_FRAC_SUB_3): Likewise.
2272         (__FP_FRAC_SUB_4): Likewise.
2273         (__FP_FRAC_DEC_3): Likewise.
2274         (__FP_FRAC_DEC_4): Likewise.
2275         (__FP_FRAC_ADDI_4): Likewise.
2276         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2277         (_FP_FRAC_SRL_8): Likewise.
2278         (_FP_FRAC_SRS_8): Likewise.
2279
2280         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2281         include macro name.
2282         (FP_UNPACK_RAW_EP): Likewise.
2283         (FP_PACK_RAW_E): Likewise.
2284         (FP_PACK_RAW_EP): Likewise.
2285         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2286         (_FP_ISSIGNAN): Likewise.
2287         (_FP_ADD_INTERNAL): Likewise.
2288         (_FP_FMA): Likewise.
2289         (_FP_CMP): Likewise.
2290         (_FP_SQRT): Likewise.
2291         (_FP_TO_INT): Likewise.
2292         (_FP_FROM_INT): Likewise.
2293         (FP_EXTEND): Likewise.
2294         (_FP_DIV_MEAT_N_loop): Likewise.
2295
2296 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2297
2298         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2299         throughout.
2300
2301 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2302
2303         [BZ #17097]
2304         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2305         result with correct sign in case of exponents that produce
2306         overflow except for X very close to 1.
2307
2308 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2309
2310         mktime: merge #if/#ifdef usage from glibc
2311         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2312         as that works with both Glibc's and Gnulib's style.
2313         See thread starting at Siddhesh Poyarekar's bug report at:
2314         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2315
2316 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2317
2318         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2319         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2320         * sysdeps/tile/tilegx/memmove.c: Remove file.
2321
2322 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2323
2324         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2325         abi-name definition.
2326         * scripts/soversions.awk: Do not handle or generate ABI lines.
2327         * shlib-versions: Remove ABI entries.
2328         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2329         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2330
2331 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2332
2333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2334         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2335         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2342         ... here.
2343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2350         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2363         Moved ...
2364         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2366         Moved ...
2367         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2371         Moved ...
2372         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2374         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2380         Moved ...
2381         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2383         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2384         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2385         Moved ...
2386         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2388         Moved ...
2389         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2390         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2391         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2393         Moved ...
2394         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2395         ... here.
2396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2397         Identical file removed.
2398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2399         Moved ...
2400         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2402         Identical file removed.
2403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2404         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2406         Moved ...
2407         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2409         Identical file removed.
2410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2411         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2413         Identical file removed.
2414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2415         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2417         Identical file removed.
2418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2419         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2421         Identical file removed.
2422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2423         Moved ...
2424         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2426         Identical file removed.
2427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2428         Moved ...
2429         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2431         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2433         Identical file removed.
2434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2435         Moved ...
2436         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2437         ... here.
2438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2439         Identical file removed.
2440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2441         Moved ...
2442         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2444         Identical file removed.
2445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2448         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2453         Moved ...
2454         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2456         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2457
2458         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2459         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2460         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2461         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2462         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2463
2464 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2465
2466         [BZ #17092]
2467         * nscd/nscd.c (monitor_child): Return exit status of child
2468         instead of return value from wait syscall.
2469
2470 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2471
2472         * configure.ac (libc_commonpagesize): Remove variable.
2473         (libc_relro_required): Likewise.
2474         (libc_cv_z_relro): Remove configure test.
2475         * configure: Regenerated.
2476         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2477         variable.
2478         (libc_relro_required): Likewise.
2479         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2480         (libc_relro_required): Likewise.
2481         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2482         (libc_relro_required): Likewise.
2483         * sysdeps/arm/preconfigure: Regenerated.
2484         * sysdeps/ia64/preconfigure: Remove file.
2485         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2486         variable.
2487         (libc_relro_required): Likewise.
2488
2489         [BZ #16561]
2490         [BZ #16562]
2491         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2492         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2493         recompute overflowing results in original rounding mode.
2494         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2495         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2496         recompute overflowing results in original rounding mode.
2497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2498         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2499         recompute overflowing results in original rounding mode.
2500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2501         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2502         recompute overflowing results in original rounding mode.
2503         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2504         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2505         recompute overflowing results in original rounding mode.
2506         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2507         (libc_feholdsetround_ctx): New macro.
2508         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2509         * sysdeps/i386/fpu/libm-test-ulps: Update.
2510         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2511
2512 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2513
2514         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2515         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2516         corresponding .cpsetup call.
2517
2518 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2519
2520         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2521         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2522         * sysdeps/arm/Makefile [$(subdir) = csu]
2523         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2524         (static-only-routines): Add aeabi_read_tp here.
2525         (shared-only-routines): Add libc-aeabi_read_tp here.
2526         (CFLAGS-libc-start.c): Add -fexceptions here.
2527         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2528         (sysdep_routines, static-only-routines, shared-only-routines):
2529         Don't add to these here.
2530         (CFLAGS-libc-start.c): Likewise.
2531
2532         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2533         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2534         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2535         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2536         * sysdeps/arm/Makefile [$(subdir) = rt]
2537         (librt-sysdep_routines, librt-shared-only-routines):
2538         Append rt-aeabi_unwind_cpp_pr1 here.
2539         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2540         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2541         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2542         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2543         Append nptl-aeabi_unwind_cpp_pr1 here.
2544         (tests): Filter out tst-cleanupx4 here.
2545         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2546         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2547         Don't do those here.
2548
2549 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2550
2551         * scripts/list-sources.sh: Do not handle ports specially.
2552
2553 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2554
2555         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2556         * sysdeps/arm/feupdateenv.c: Likewise.
2557
2558         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2559
2560 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2561
2562         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2563         trailing whitespace removed.
2564         * scripts/config.guess: Update to version 2014-03-23.
2565         * scripts/config.sub: Update to version 2014-05-01
2566         * scripts/install-sh: Update to version 2013-12-25.23.
2567         * scripts/move-if-change: Update from gnulib.
2568
2569 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2570
2571         * debug/memmove_chk.c: Remove pagecopy.h include.
2572
2573 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2574
2575         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2576         identical to gnulib mktime.
2577
2578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2579
2580         * configure.ac: Do not test for machine being rs6000.  Do not test
2581         for powerpc*-*soft.
2582         * configure: Regenerated.
2583
2584         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2585         test.
2586         * configure: Regenerated.
2587         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2588         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2589         Remove configure test.
2590         * sysdeps/arm/configure: Regenerated.
2591         * sysdeps/nptl/configure.ac: Do not check
2592         libc_cv_asm_cfi_directives.
2593         * sysdeps/nptl/configure: Regenerated.
2594         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2595         * sysdeps/x86_64/nptl/configure: Remove generated file.
2596         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2597         unconditional.
2598         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2599
2600 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2601
2602         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2603         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2604         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2605         it is defined.
2606
2607         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2608         instead of whether it is defined.
2609         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2610         * sysdeps/hppa/dl-machine.h: Likewise.
2611         * sysdeps/ia64/dl-machine.h: Likewise.
2612         * sysdeps/m68k/dl-machine.h: Likewise.
2613         * sysdeps/microblaze/dl-machine.h: Likewise.
2614         * sysdeps/mips/dl-machine.: Likewise.
2615         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2616         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2617         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2618         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2619         * sysdeps/sh/dl-machine.h: Likewise.
2620         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2621         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2622         * sysdeps/tile/dl-machine.h: Likewise.
2623         * sysdeps/x86_64/dl-machine.h: Likewise.
2624
2625         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2626         code.
2627         (verify_persistent_db): Likewise.
2628
2629 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2630
2631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2632         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2634         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2636         Moved ...
2637         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2638         ... here.
2639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2640         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2642         Identical file removed.
2643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2644         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2646         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2648         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2650         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2652         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2654         Moved ...
2655         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2657         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2659         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2661         Moved ...
2662         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2664         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2666         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2668         Identical file removed.
2669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2670         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2672         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2674         Moved ...
2675         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2676         ... here.
2677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2678         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2680         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2682         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2684         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2686         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2688         Moved ...
2689         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2691         Moved ...
2692         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2694         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2696         Moved ...
2697         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2700
2701         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2702         folded into ...
2703         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2704         * sysdeps/unix/sysv/linux/s390/Versions
2705         (libpthread: GLIBC_2.19): New version set.
2706         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2707         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2708         (librt: GLIBC_2.3.3): New version set.
2709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2710         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2711         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2712         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2713         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2714         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2715         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2716         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2717         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2718         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2719         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2720         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2721         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2722         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2723         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2724         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2725         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2726         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2727         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2728         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2729         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2731         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2733         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2734         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2735         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2737         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2738         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2739         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2740         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2745         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2747         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2749         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2751         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2753         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2754
2755         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2756         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2757         (__libc_vfork): Define the function under this name.
2758         [!NOT_IN_libc] (__vfork): Make this an alias.
2759         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2761         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2762         (__libc_vfork): Define the function under this name.
2763         [!NOT_IN_libc] (__vfork): Make this an alias.
2764         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2765         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2766         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2769         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2770
2771         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2772         code that was previously under [RESET_PID].
2773         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2774         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2775         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2776
2777         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2778         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2779         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2780         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2781         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2782         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2783         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2784         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2785         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2788         Moved ...
2789         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2790         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2793         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2794         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2795         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2796         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2797         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2799         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2801         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2802         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2803         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2805         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2806         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2807         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2808         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2809         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2810         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2811         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2812         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2813         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2814         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2815         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2817         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2818
2819 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2820
2821         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2822         that was previously under [RESET_PID].
2823         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2824
2825 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2826
2827         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2828         not undefine and redefine.
2829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2830         [O_CLOEXEC]: Make code unconditional.
2831         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2832         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2833         <kernel-features.h>.
2834         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2835         conditional variable definition.
2836         (shm_open) [O_CLOEXEC]: Make code unconditional.
2837         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2838         code.
2839
2840         * configure.ac (USE_REGPARMS): Don't define here.
2841         * configure: Regenerated.
2842         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2843         * sysdeps/i386/configure: Regenerated.
2844
2845         * nptl/createthread.c: Don't include kernel-features.h.
2846         * nptl/pthread_cancel.c: Likewise.
2847         * nptl/pthread_condattr_setclock.c: Likewise.
2848         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2849         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2850         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2851         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2852         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2853         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2854         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2857         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2858         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2859         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2860         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2861         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2862         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2863         * nscd/gai.c: Likewise.
2864         * nss/nss_db/db-open.c: Likewise.
2865         * sysdeps/generic/ldsodefs.h: Likewise.
2866         * sysdeps/sh/nptl/tls.h: Likewise.
2867         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2868         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2869         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2870         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2871         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2872         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2873         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2874         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2876         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2877         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2878         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2879         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2880         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2881         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2882         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2883         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2884         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2885         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2886         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2889         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2890         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2895         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2896         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2897         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2898         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2899         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2900         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2901         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2902         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2903         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2904         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2905         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2906         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2907         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2908         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2909         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2910         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2911         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2912         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2913         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2914         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2915         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2916         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2917         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2918         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2919         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2920         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2921         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2922         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2923         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2924         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2947         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2948         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2949         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2950         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2951         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2952         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2953         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2954         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2955         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2956         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2957         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2958         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2959         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2960         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2961         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2962         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2963         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2964         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2965         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2966         * sysdeps/unix/sysv/linux/system.c: Likewise.
2967         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2968         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2969         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2970         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2971         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2972         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2973         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2974
2975         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2976         * configure: Regenerated.
2977         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2978
2979         * configure.ac (base_machine): Do not set specially for particular
2980         machines here.
2981         * configure: Regenerated.
2982         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2983         settings from configure.ac.
2984         * sysdeps/i386/preconfigure: New file.
2985         * sysdeps/s390/preconfigure: Likewise.
2986         * sysdeps/sh/preconfigure: Likewise.
2987         * sysdeps/sparc/preconfigure: Likewise.
2988
2989 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2990
2991         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2992         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2993         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2994         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2995         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2996         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2997         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2998         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2999         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3000         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3001         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3002         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3003         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3005         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3006         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3008         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3009         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3010
3011         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3012         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3013         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3014         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3015         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3016         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3017         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3018         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3019         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3020         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3021         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3022         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3023         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3024         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3025         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3026         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3027         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3028         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3029         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3030         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3032         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3034         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3035         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3036         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3038         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3040         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3042         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3043         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3044         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3045         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3046         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3047         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3048         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3049
3050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3053         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3055         Moved ...
3056         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3057         ... here.
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3059         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3061         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3063         Moved ...
3064         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3066         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3070         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3075         Moved ...
3076         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3078         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3080         Moved ...
3081         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3083         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3085         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3087         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3089         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3091         Moved ...
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3093         ... here.
3094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3095         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3097         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3099         Moved ...
3100         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3102         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3106         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3108         Moved ...
3109         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3111         Moved ...
3112         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3114         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3116         Moved ...
3117         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3119         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3121         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3122
3123 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3124
3125         * timezone/checktab.awk: Update from tzcode 2014e.
3126         * timezone/private.h: Likewise.
3127         * timezone/tzfile.h: Likewise.
3128         * timezone/zdump.c: Likewise.
3129         * timezone/zic.c: Likewise.
3130
3131         * sysdeps/unix/sysv/linux/kernel-features.h
3132         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3133         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3134         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3135         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3136         Remove conditional code.
3137
3138 2014-06-25  Will Newton  <will.newton@linaro.org>
3139
3140         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3141         (_dl_arm_cap_flags): Add HWCAP2 values.
3142         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3143         (_DL_HWCAP_COUNT): Increase to 37.
3144         (_DL_HWCAP_LAST): New define.
3145         (_DL_HWCAP2_LAST): New define.
3146         (_dl_procinfo): Add support for printing
3147         AT_HWCAP2 entries.
3148         (_dl_string_hwcap): Use _dl_hwcap_string.
3149
3150 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3151
3152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3153
3154 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3155
3156         * README: Do not mention ports directory.
3157
3158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3159         Remove macro.
3160         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3161         <kernel-features.h>.
3162         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3163         conditional variable definition.
3164         (__futimes): Update comment.
3165         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3166         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3167
3168         [BZ #16560]
3169         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3170         arguments close to 0.
3171         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3172         Likewise.
3173         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3174         Likewise.
3175         * math/auto-libm-test-in: Add more tests of exp10.
3176         * math/auto-libm-test-out: Regenerated.
3177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3178
3179         * sysdeps/unix/sysv/linux/kernel-features.h
3180         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3181         * sysdeps/unix/sysv/linux/readv.c: Do not include
3182         <kernel-features.h>.
3183         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3184         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3185         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3186         unconditional.
3187         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3188         conditional code.
3189         * sysdeps/unix/sysv/linux/writev.c: Do not include
3190         <kernel-features.h>.
3191         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3192         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3193         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3194         unconditional.
3195         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3196         conditional code.
3197
3198 2014-06-25  Will Newton  <will.newton@linaro.org>
3199
3200         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3201         comment changes throughout the file.  Remove checks
3202         for HAVE_*_H definitions that are not required.
3203         (__gen_tempname): Call abort if an unknown kind value is
3204         passed.
3205
3206 2014-06-25  Andreas Schwab  <schwab@suse.de>
3207
3208         [BZ #17086]
3209         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3210         scalbln, scalblnf, scalblnl in libc.
3211
3212 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3213
3214         [BZ #17086]
3215         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3216         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3217         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3218
3219 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3220
3221         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3222         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3223         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3224         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3225         Update #include.
3226         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3227         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3228         Update #include.
3229         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3230         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3231         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3233         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3234         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3235         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3236         * sysdeps/x86/bits/semaphore.h: ... here.
3237         * sysdeps/x86/nptl/elide.h: Moved ...
3238         * sysdeps/x86/elide.h: ... here.
3239         * sysdeps/x86_64/nptl/Implies: File removed.
3240         * sysdeps/i386/nptl/Implies: File removed.
3241
3242 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3243
3244         [BZ #16539]
3245         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3246         return the argument for normal arguments with exponent below -64.
3247         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3248         Likewise.
3249         * math/auto-libm-test-in: Add another test of expm1.
3250         * math/auto-libm-test-out: Regenerated.
3251
3252         [BZ #16287]
3253         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3254         calling __erfcl for arguments at least 16.
3255         * math/auto-libm-test-in: Add more tests of erf.
3256         * math/auto-libm-test-out: Regenerated.
3257
3258         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3259         individual architectures.
3260         * sysdeps/unix/sysv/linux/configure: Regenerated.
3261         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3262         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3263         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3264         (ldd_rewrite_script): Define variable.
3265         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3267         file.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3269         generated file.
3270         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3271         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3272         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3273         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3274         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3275         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3276         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3277         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3278
3279 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3280
3281         [BZ #17084]
3282         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3283         Rename member __data.d to __data.__elision_data.
3284
3285 2014-06-24  Wilco  <wdijkstr@arm.com>
3286
3287         * NEWS: Add 16918 to fixed bug list.
3288
3289 2014-06-24  Wilco  <wdijkstr@arm.com>
3290
3291         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3292
3293 2014-06-24  Wilco  <wdijkstr@arm.com>
3294
3295         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3296         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3297         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3298         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3299         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3300         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3301         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3302         Use _FPU_MASK_RM.
3303
3304 2014-06-24  Wilco  <wdijkstr@arm.com>
3305
3306         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3307
3308 2014-06-24  Wilco  <wdijkstr@arm.com>
3309
3310         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3311         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3312         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3313         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3314
3315 2014-06-24  Wilco  <wdijkstr@arm.com>
3316
3317         [BZ #16918]
3318         * sysdeps/arm/feupdateenv.c (feupdateenv):
3319         Rewrite to reduce FPSCR accesses and fix return value.
3320
3321 2014-06-24  Wilco  <wdijkstr@arm.com>
3322
3323         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3324         Optimize to avoid unnecessary FPSCR writes.
3325         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3326         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3327         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3328         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3329
3330 2014-06-24  Wilco  <wdijkstr@arm.com>
3331
3332         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3333         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3334         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3335         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3336         Call libc_fetestexcept_vfp.
3337         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3338         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3339         __SOFTFP__ ifdef so that they can be built for softfp.
3340
3341 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3342
3343         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3344         argument type signed char.
3345
3346         * Makerules (check-abi): Dump diff of symlist if the test
3347         fails.
3348
3349 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3350
3351         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3352         using abort.
3353
3354         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3355         Remove unused variable ST.
3356
3357 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3358
3359         [BZ #16354]
3360         [BZ #17061]
3361         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3362         small arguments before calling __expm1.
3363         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3364         small arguments before calling __expm1f.
3365         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3366         small arguments before calling __expm1l.
3367         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3368         Likewise.
3369         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3370         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3371         spurious underflow for some cosh tests.
3372         * math/auto-libm-test-out: Regenerated.
3373         * sysdeps/i386/fpu/libm-test-ulps: Update.
3374
3375         [BZ #17050]
3376         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3377         (__ieee754_y1): Set errno if return value overflows.
3378         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3379         (__ieee754_y1f): Set errno if return value overflows.
3380         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3381         (__ieee754_y1l): Set errno if return value overflows.
3382         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3383         (__ieee754_y1l): Set errno if return value overflows.
3384         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3385         * math/auto-libm-test-out: Regenerated.
3386
3387         * math/gen-auto-libm-tests.c: Document use of
3388         ignore-zero-inf-sign.
3389         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3390         (input_flags): Add ignore-zero-inf-sign.
3391         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3392         * math/gen-libm-test.pl (generate_testfile): Handle
3393         ignore-zero-inf-sign.
3394         * math/auto-libm-test-in: Mark some cpow tests with
3395         ignore-zero-inf-sign and some with xfail-rounding.
3396         * math/auto-libm-test-out: Regenerated.
3397         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3398         * sysdeps/i386/fpu/libm-test-ulps: Update.
3399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400
3401         [BZ #16315]
3402         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3403         overflowing or underflowing operations take place with sign of
3404         result.
3405         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3406         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3407         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3408         (__ieee754_pow): Recompute overflowing and underflowing results in
3409         original rounding mode.
3410         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3411         (__powl_helper): Allow negative argument X and scale negated value
3412         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3413         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3414         overflowing or underflowing operations take place with sign of
3415         result.
3416         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3417         Include <math.h>.
3418         * math/auto-libm-test-in: Add more tests of pow.
3419         * math/auto-libm-test-out: Regenerated.
3420         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3421         (pow_tonearest_test_data): Remove.
3422         (pow_test_tonearest): Likewise.
3423         (pow_towardzero_test_data): Likewise.
3424         (pow_test_towardzero): Likewise.
3425         (pow_downward_test_data): Likewise.
3426         (pow_test_downward): Likewise.
3427         (pow_upward_test_data): Likewise.
3428         (pow_test_upward): Likewise.
3429         (main): Don't call removed functions.
3430         * sysdeps/i386/fpu/libm-test-ulps: Update.
3431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432
3433 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3434
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3436         Moved ...
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3439         Moved ...
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3448         File removed.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3450         File removed.
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3452         File removed.
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3454         File removed.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3456         File removed.
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3458         File removed.
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3460         File removed.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3462         File removed.
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3464         File removed.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3466         File removed.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3468         File removed.
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3470         File removed.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3472         Moved ...
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3475         Moved ...
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3477         ... here.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3479         Moved ...
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3482         Moved ...
3483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3488         Moved ...
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3501         ... here.
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3503         Moved ...
3504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3506         Moved ...
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3508         ... here.
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3510         Moved ...
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3512         ... here.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3514         Moved ...
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3516         ... here.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3518         Moved ...
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3521         Moved ...
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3526         Moved ...
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3528         ... here.
3529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3530         Moved ...
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3532         ... here.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3534         Moved ...
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3537         Moved ...
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3540         Moved ...
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3543         Moved ...
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3546         Moved ...
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3548         ... here.
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3550         Moved ...
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3553         Moved ...
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3556         Moved ...
3557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3559         Moved ...
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3572         ... here.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3574         Moved ...
3575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3576         ... here.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3578         Moved ...
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3580         ... here.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3582         Moved ...
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3585         Moved ...
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3588         Moved ...
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3591         Moved ...
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3593         ... here.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3595         Moved ...
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3597         ... here.
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3599         Moved ...
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3601         ... here.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3603         Moved ...
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3606         Moved ...
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3608
3609 2014-06-23  Will Newton  <will.newton@linaro.org>
3610             Wilco  <wdijkstr@arm.com>
3611
3612         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3613         implementation.  Include get-rounding-mode.h.
3614         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3615         [!libc_feholdsetround_noex_ctx]: Define
3616         libc_feholdsetround_noex_ctx.
3617         [!libc_feholdsetround_noexf_ctx]: Define
3618         libc_feholdsetround_noexf_ctx.
3619         [!libc_feholdsetround_noexl_ctx]: Define
3620         libc_feholdsetround_noexl_ctx.
3621         (libc_feholdsetround_ctx): New function.
3622         (libc_feresetround_ctx): New function.
3623         (libc_feholdsetround_noex_ctx): New function.
3624         (libc_feresetround_noex_ctx): New function.
3625
3626 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3627
3628         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3629         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3630         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3631         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3632         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3633         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3634
3635         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3636         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3637         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3638         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3639         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3640         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3642         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3646         Moved ...
3647         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3648         ... here.
3649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3654         Moved ...
3655         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3657         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3659         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3661         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3663         Moved ...
3664         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3669         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3676         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3677         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3678         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3684         ... here.
3685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3690         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3692         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3694         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3701         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3703         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3705         Moved ...
3706         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3708         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3709         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3710         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3711
3712         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3713         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3714         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3715         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3716         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3717         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3719         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3721         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3725         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3726         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3727         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3728         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3729         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3731         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3732         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3733         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3734         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3735         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3736         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3737         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3738         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3739         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3740
3741 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3742
3743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3744         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3745         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3746         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3747         (IPV6_PMTUDISC_INTERFACE): Likewise.
3748         (IPV6_PMTUDISC_OMIT): Likewise.
3749
3750 2014-06-23  Andreas Schwab  <schwab@suse.de>
3751
3752         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3753         Remove unused errout label.
3754
3755 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3756
3757         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3758         macro: hardware supports Vector Crypto instructions.
3759
3760 2014-06-23  Will Newton  <will.newton@linaro.org>
3761
3762         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3763         rather than __builtin_expect.
3764
3765         * elf/dl-lookup.c (undefined_msg): Remove variable.
3766         (_dl_lookup_symbol_x): Replace undefined_msg with string
3767         literal.
3768
3769         * elf/dl-lookup.c (do_lookup_unique): New function.
3770         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3771         to a separate function.
3772
3773 2014-06-23  Andreas Schwab  <schwab@suse.de>
3774
3775         [BZ #17079]
3776         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3777         before reading the next line.
3778
3779 2014-06-23  Will Newton  <will.newton@linaro.org>
3780
3781         * test-skeleton.c (signal_handler): Use printf and %m
3782         rather than perror.  Use printf rather than fprintf to
3783         stderr.  Use puts rather than fputs to stderr.
3784         (main): Likewise.
3785
3786 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3787
3788         * nscd/nscd.c (thread_info_t): Remove typedef.
3789         (thread_info): Remove variable.
3790
3791 2014-06-21  Allan McRae  <allan@archlinux.org>
3792
3793         * NEWS: Mention CVE-2014-4043.
3794
3795 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3796
3797         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3798         * nptl/smp.h: ... here.
3799
3800         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3801
3802         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3803         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3804         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3805         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3806
3807         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3808         * nptl/stack-aliasing.h: New file.
3809         * sysdeps/i386/i686/stack-aliasing.h: New file.
3810         * sysdeps/i386/i686/nptl/Makefile: File removed.
3811         * sysdeps/x86_64/stack-aliasing.h: New file.
3812         * sysdeps/x86_64/nptl/Makefile
3813         (CFLAGS-pthread_create.c): Variable removed.
3814
3815         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3816         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3817         old file.
3818         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3819         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3820         old file.
3821
3822 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3823
3824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3825         (__ASSUME_SIGFRAME_V2): Remove macro.
3826         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3827         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3828         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3829         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3830         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3831         Declare as function.  Remove conditional macro definitions.
3832         (__default_rt_sa_restorer): Likewise.
3833         (__default_sa_restorer_v1): Remove declaration.
3834         (__default_sa_restorer_v2): Likewise.
3835         (__default_rt_sa_restorer_v1): Likewise.
3836         (__default_rt_sa_restorer_v2): Likewise.
3837         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3838         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3839         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3840
3841 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3842
3843         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3844         (libpthread-routines): Add sysdep.
3845         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3846         * sysdeps/unix/sysv/linux/sparc/Versions
3847         (libpthread: GLIBC_2.3.3): New version set.
3848         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3849         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3850         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3852         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3853         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3854         Moved ...
3855         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3857         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3858         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3859         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3861         * sysdeps/sparc/nptl/sem_init.c: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3863         * sysdeps/sparc/nptl/sem_post.c: ... here.
3864         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3865         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3866         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3867         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3869         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3870         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3871         (libpthread-routines): Add cpu_relax.
3872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3873         File removed.
3874         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3875         (librt: GLIBC_2.3.3): New version set.
3876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3877         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3879         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3882         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3884         Moved ...
3885         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3887         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3889         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3891         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3893         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3895         Moved ...
3896         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3897         Update #include.
3898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3899         Moved ...
3900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3901         Update #include.
3902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3903         Moved ...
3904         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3905         Update #include.
3906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3907         Moved ...
3908         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3909         Update #include.
3910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3911         Moved ...
3912         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3913         Update #include.
3914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3915         Moved ...
3916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3917         Update #include.
3918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3919         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3927         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3929         Moved ...
3930         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3932         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3934         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3935
3936 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3937
3938         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3939         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3940         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3942         * nscd/nscd.c: Likewise.
3943         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3944         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3945         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3946         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3947
3948         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3949         <kernel-features.h>.
3950         (init_mq_netlink): Remove conditional have_sock_cloexec
3951         definitions.  Remove code conditional on have_sock_cloexec < 0.
3952         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3953         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3954         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3955         <kernel-features.h>.
3956         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3957         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3958
3959 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3960
3961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3962         Add tests for memset_chk and memset.
3963
3964         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3965         with AVX2_Usable.
3966
3967 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3968
3969         [BZ #16046]
3970         * elf/tst-dl-iter-static.c: New file.
3971         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3972
3973         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3974         error.
3975
3976 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3977
3978         * sysdeps/unix/sysv/linux/kernel-features.h
3979         (__ASSUME_F_GETOWN_EX): Remove macro.
3980         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3981         <kernel-features.h>.
3982         (miss_F_GETOWN_EX): Remove variable or macro.
3983         (do_fcntl): Do not check miss_F_GETOWN_EX.
3984         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3985
3986         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3987         Remove macro.
3988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3989         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3990         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3991
3992         * sysdeps/unix/sysv/linux/kernel-features.h
3993         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3994         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3995         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3996         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3997
3998 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3999
4000         [BZ #17075]
4001         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4002         Fix calculation of the symbol's value.
4003         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4004         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4005         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4006         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4007         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4008         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4009         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4010         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4011         (modules-names): Add `tst-armtlsdescmod',
4012         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4013         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4014         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4015         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4016         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4017         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4018         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4019         ($(objpfx)tst-armtlsdescloc): New dependency.
4020         ($(objpfx)tst-armtlsdescextnow): Likewise.
4021         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4022         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4023         TLS scheme support.
4024         * sysdeps/arm/configure: Regenerate.
4025
4026 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4027
4028         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4029         (__atfct_seterrno_2): Likewise.
4030         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4031         <kernel-features.h>.
4032         (__ASSUME_ATFCTS): Do not undefine and redefine.
4033         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4034         (__have_atfcts): Remove conditional definition.
4035         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4036         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4037         unreachable if [__ASSUME_ATFCTS].
4038         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4039         not undefine and redefine.
4040         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4041         <kernel-features.h>.
4042         (faccessat) [__NR_faccessat]: Make code unconditional.
4043         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4044         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4045         <kernel-features.h>.
4046         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4047         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4048         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4049         <kernel-features.h>.
4050         (fchownat) [__NR_fchownat]: Make code unconditional.
4051         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4052         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4053         <kernel-features.h>.
4054         (futimesat) [__NR_futimesat]: Make code unconditional.
4055         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4056         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4057         <kernel-features.h>.
4058         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4059         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4060         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4061         <kernel-features.h>.
4062         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4063         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4064         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4065         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4066         <kernel-features.h>.
4067         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4068         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4069         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4070         <kernel-features.h>.
4071         (linkat) [__NR_linkat]: Make code unconditional.
4072         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4073         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4074         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4075         <kernel-features.h>.
4076         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4077         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4078         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4079         <kernel-features.h>.
4080         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4081         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4082         * sysdeps/unix/sysv/linux/openat.c: Do not include
4083         <kernel-features.h>.
4084         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4085         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4086         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4087         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4088         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4089         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4090         <kernel-features.h>.
4091         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4092         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4093         result of INLINE_SYSCALL directly, not via int variable.
4094         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4095         <kernel-features.h>.
4096         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4097         (renameat) [__NR_renameat]: Make code unconditional.
4098         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4099         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4100         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4101         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4102         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4103         (__ASSUME_ATFCTS): Do not undefine and redefine.
4104         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4105         <kernel-features.h>.
4106         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4107         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4108         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4109         <kernel-features.h>.
4110         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4111         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4112         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4113         (__ASSUME_ATFCTS): Do not undefine and redefine.
4114         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4115         <kernel-features.h>.
4116         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4117         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4118         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4119         <kernel-features.h>.
4120         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4121         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4122
4123 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4124
4125         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4126
4127 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4128
4129         [BZ #17069]
4130         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4131         constructed tree before returning error.
4132         * posix/bug-regexp36.c: Expand test case.
4133
4134 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4135
4136         [BZ #6803]
4137         * math/libm-test.inc (scalbln_test_date):
4138         Add errno expectations.
4139         * math/w_scalblnf.c: New File.
4140         Add wrapper which checks for setting errno to ERANGE.
4141         Add weak_alias for corresponding scalbln function.
4142         * math/w_scalbln.c: Likewise.
4143         * math/w_scalblnl.c: Likewise.
4144         * math/Makefile (libm-calls): Add w_scalbln.
4145         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4146         Remove weak_alias for corresponding scalbln function.
4147         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4148         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4149         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4151         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4152         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4153         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4154         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4155         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4156         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4157         Remove long_double_symbol for scalblnl function in libm, libc.
4158         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4159         Add wrapper which checks for setting errno to ERANGE.
4160         Add long_double_symbol for scalblnl function in libm, libc.
4161         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4162         Remove long_double_symbol for scalblnl in libm.
4163         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4164         Add wrapper which checks for setting errno to ERANGE.
4165         Add long_double_symbol for scalblnl function in libm.
4166         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4167         Do not use wrapper because of own implementation.
4168
4169 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4170
4171         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4172         3 bytes for __pad1 for x32.
4173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4174
4175 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4176             H.J. Lu  <hongjiu.lu@intel.com>
4177
4178         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4179         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4180         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4181         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4182         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4183
4184 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4185
4186         [BZ #17069]
4187         * posix/regcomp.c (parse_expression): Deallocate partially
4188         constructed tree before returning error.
4189         * posix/Makefile.c (tests): Add bug-regex36.
4190         (generated): Add bug-regex36.mtrace.
4191         (tests-special): Add $(objpfx)bug-regex36-mem.out
4192         (bug-regex36-ENV): New variable.
4193         ($(objpfx)bug-regex36-mem.out): New rule.
4194         * posix/bug-regex36.c: New file.
4195
4196 2014-06-19  Will Newton  <will.newton@linaro.org>
4197
4198         * malloc/malloc.c (systrim): If extra is zero then return
4199         early.
4200
4201 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4202
4203         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4204
4205 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4206
4207         * sysdeps/aarch64/strchr.S: New file.
4208
4209 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4210
4211         [BZ #17022]
4212         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4213         from arguments -2 or below.
4214         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4215         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4216
4217 2014-06-18  Andreas Schwab  <schwab@suse.de>
4218
4219         [BZ #17062]
4220         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4221         of a bracket expr not to run off the end of the string.
4222         * posix/Makefile (tests): Add tst-fnmatch3.
4223         * posix/tst-fnmatch3.c: New file.
4224
4225 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4226
4227         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4228         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4229         [$(cross-compiling) = no]: Likewise.
4230         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4231         [$(cross-compiling) = no]: Likewise.
4232
4233 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4234
4235         [BZ #17031]
4236         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4237         double, adjusted for any remainder from the high double.
4238         * math/libm-test.inc (nearbyint): Add tests.
4239         (rint): Likewise.
4240
4241 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4242
4243         * nptl/sysdeps/powerpc/Makefile: Moved ...
4244         * sysdeps/powerpc/nptl/Makefile: ... here.
4245         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4246         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4247         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4248         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4249         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4250         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4251         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4252         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4253         * nptl/sysdeps/powerpc/tls.h: Moved ...
4254         * sysdeps/powerpc/nptl/tls.h: ... here.
4255
4256 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4257
4258         [BZ #16681]
4259         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4260         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4261         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4262         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4263         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4264         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4265         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4266         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4267         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4268
4269 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4270
4271         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4272
4273 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4274
4275         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4276         defined operator.
4277
4278         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4279         $TIMEOUTFACTOR.
4280
4281 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4282
4283         [BZ #17058]
4284         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4285         non-executed part of the test.
4286
4287 2014-06-16  Andreas Schwab  <schwab@suse.de>
4288
4289         * string/bits/string2.h (strdup, strndup): Update feature guard.
4290
4291 2014-06-14  David S. Miller  <davem@davemloft.net>
4292
4293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4294
4295 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4296
4297         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4298         that was previously under [RESET_PID].
4299         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4300
4301         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4302         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4303         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4304         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4305         (__libc_vfork): New strong alias.
4306         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4307
4308 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4309
4310         * sysdeps/generic/elide.h: New file.
4311
4312 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4313
4314         * Makefile (installed-headers): Adjust path of pthread.h header.
4315
4316 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4317
4318         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4319         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4320         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4321         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4322
4323         * nptl/sysdeps/s390/Makefile: Moved ...
4324         * sysdeps/s390/nptl/Makefile: ... here.
4325         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4326         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4327         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4328         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4329         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4330         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4331         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4332         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4333         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4334         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4335         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4336         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4337         * nptl/sysdeps/s390/tls.h: Moved ...
4338         * sysdeps/s390/nptl/tls.h: ... here.
4339
4340         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4341         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4342
4343 2014-06-13  David S. Miller  <davem@davemloft.net>
4344
4345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4348         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4352         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4353         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4354         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4355         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4356         Remove RESET_PID cpp guards.
4357         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4358         Remove RESET_PID cpp guards.
4359         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4360
4361 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4362
4363         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4364         __sp to uintptr_t.
4365
4366 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4367
4368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4369         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4370         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4372         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4373         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4374         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4377         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4379         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4380         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4382         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4383         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4384         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4386         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4388
4389         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4390         (pthread_rwlock_rdlock): Add elision.
4391         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4392         (pthread_rwlock_wrlock): Add elision.
4393         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4394         (pthread_rwlock_trywrlock): Add elision.
4395         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4396         (pthread_rwlock_tryrdlock): Add elision.
4397         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4398         (pthread_rwlock_tryrdlock): Add elision unlock.
4399         * nptl/sysdeps/pthread/pthread.h:
4400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4401         (PTHREAD_RWLOCK_INITIALIZER,
4402         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4403         Handle new elision field.
4404         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4405         * sysdeps/arm/nptl/bits/pthreadtypes.h
4406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4407         * sysdeps/sh/nptl/bits/pthreadtypes.h
4408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4409         * sysdeps/tile/nptl/bits/pthreadtypes.h
4410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4411         * sysdeps/a/nptl/bits/pthreadtypes.h
4412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4413         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4415         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4417         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4419         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4421         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4423         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4425         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4427         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4429         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4430         (elision_init): Set try_xbegin to zero when no RTM.
4431         * sysdeps/x86/nptl/bits/pthreadtypes.h
4432         (pthread_rwlock_t): Change __pad1 to __rwelision.
4433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4434
4435 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4436
4437         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4438         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4439         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4440         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4441
4442 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4443
4444         [BZ #16996]
4445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4446         that the cached result has been set before returning it.
4447
4448 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4449
4450         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4451         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4452         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4453         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4454         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4455         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4456
4457         * nptl/sysdeps/sparc/Makefile: Moved ...
4458         * sysdeps/sparc/nptl/Makefile: ... here.
4459         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4460         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4461         * nptl/sysdeps/sparc/tls.h: Moved ...
4462         * sysdeps/sparc/nptl/tls.h: ... here.
4463         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4464         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4465         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4466         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4467         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4468         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4469         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4470         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4471         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4472         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4473         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4474         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4475         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4476         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4477         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4478         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4479         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4481         Update #include.
4482         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4484         Update #include.
4485         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4487         Update #include.
4488         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4490         Update #include.
4491
4492         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4493
4494         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4495         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4496
4497         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4498         (struct list_links): Type removed.
4499         (struct thread_node, struct timer_node): Replace struct list_links
4500         with struct list_head.
4501         (list_unlink_ip): Likewise.
4502         * sysdeps/pthread/timer_routines.c
4503         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4504         (list_append, list_insbefore): Likewise.
4505         (list_init): Function removed.
4506         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4507         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4508         * sysdeps/pthread/Makefile: ... here, new file.
4509
4510         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4511         * sysdeps/nptl/Implies: ... here.
4512         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4513         * nptl/sysdeps/pthread/list.h: Moved ...
4514         * include/list.h: ... here.
4515         * nptl/sysdeps/pthread/createthread.c: Moved ...
4516         * nptl/createthread.c: ... here.
4517         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4518         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4519         * nptl/pt-longjmp.c: ... here.
4520         * nptl/sysdeps/pthread/Makefile: Moved ...
4521         * sysdeps/nptl/Makefile: ... here.
4522         * nptl/sysdeps/pthread/Subdirs: Moved ...
4523         * sysdeps/nptl/Subdirs: ... here.
4524         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4525         * sysdeps/nptl/aio_misc.h: ... here.
4526         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4527         * sysdeps/nptl/bits/libc-lock.h: ... here.
4528         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4529         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4530         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4531         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4532         * nptl/sysdeps/pthread/configure: Moved ...
4533         * sysdeps/nptl/configure: ... here.
4534         * nptl/sysdeps/pthread/configure.ac: Moved ...
4535         * sysdeps/nptl/configure.ac: ... here.
4536         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4537         * sysdeps/nptl/gai_misc.h: ... here.
4538         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4539         * sysdeps/nptl/librt-cancellation.c: ... here.
4540         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4541         * sysdeps/nptl/malloc-machine.h: ... here.
4542         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4543         * sysdeps/nptl/pthread-functions.h: ... here.
4544         * nptl/sysdeps/pthread/pthread.h: Moved ...
4545         * sysdeps/nptl/pthread.h: ... here.
4546         * nptl/sysdeps/pthread/setxid.h: Moved ...
4547         * sysdeps/nptl/setxid.h: ... here.
4548         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4549         * sysdeps/nptl/sigfillset.c: ... here.
4550         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4551         * sysdeps/nptl/tcb-offsets.h: ... here.
4552         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4553         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4554         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4555         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4556         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4557         * sysdeps/pthread/allocalim.h: ... here.
4558         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4559         * sysdeps/pthread/bits/sigthread.h: ... here.
4560         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4561         * sysdeps/pthread/flockfile.c: ... here.
4562         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4563         * sysdeps/pthread/ftrylockfile.c: ... here.
4564         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4565         * sysdeps/pthread/funlockfile.c: ... here.
4566         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4567         * sysdeps/pthread/posix-timer.h: ... here.
4568         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4569         * sysdeps/pthread/timer_create.c: ... here.
4570         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4571         * sysdeps/pthread/timer_delete.c: ... here.
4572         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4573         * sysdeps/pthread/timer_getoverr.c: ... here.
4574         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4575         * sysdeps/pthread/timer_gettime.c: ... here.
4576         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4577         * sysdeps/pthread/timer_routines.c: ... here.
4578         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4579         * sysdeps/pthread/timer_settime.c: ... here.
4580         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4581         * sysdeps/pthread/tst-timer.c: ... here.
4582         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4583         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4584
4585         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4586         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4587
4588         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4589         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4590         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4591         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4592         Update #include target.
4593         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4594         * sysdeps/i386/i686/nptl/Makefile: ... here.
4595         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4596         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4597         Update #include target.
4598         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4599         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4600         * nptl/sysdeps/i386/Makefile: Moved ...
4601         * sysdeps/i386/nptl/Makefile: ... here.
4602         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4603         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4604         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4605         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4606         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4607         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4608         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4609         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4610         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4611         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4612         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4613         * nptl/sysdeps/i386/tls.h: Moved ...
4614         * sysdeps/i386/nptl/tls.h: ... here.
4615
4616         * sysdeps/sh/Makefile [$(subdir) = csu]
4617         (gen-as-const-headers): Add tcb-offsets.sym.
4618         * nptl/sysdeps/sh/Makefile: File removed.
4619         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4620         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4621         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4622         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4623         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4624         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4625         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4626         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4627         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4628         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4629         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4630         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4631         * nptl/sysdeps/sh/tls.h: Moved ...
4632         * sysdeps/sh/nptl/tls.h: ... here.
4633         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4634         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4635         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4636         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4637         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4638         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4639         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4640         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4641         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4642         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4643         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4644         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4645         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4646         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4648         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4650         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4652         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4654         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4656         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4658         Moved ...
4659         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4661         Moved ...
4662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4667         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4668         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4669         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4670         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4671         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4672         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4673         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4674         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4675         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4676         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4677         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4678         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4679         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4680         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4681
4682 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4683
4684         * posix/spawn_faction_addopen.c: Include string.h.
4685
4686 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4687
4688         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4689         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4690         * nptl/sysdeps/x86_64/Makefile: Moved ...
4691         * sysdeps/x86_64/nptl/Makefile: ... here.
4692         * nptl/sysdeps/x86_64/configure: Moved ...
4693         * sysdeps/x86_64/nptl/configure: ... here.
4694         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4695         * sysdeps/x86_64/nptl/configure.ac: ... here.
4696         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4697         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4698         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4699         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4700         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4701         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4702         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4703         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4704         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4705         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4706         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4707         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4708         * nptl/sysdeps/x86_64/tls.h: Moved ...
4709         * sysdeps/x86_64/nptl/tls.h: ... here.
4710         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4711         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4712         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4713         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4714
4715         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4716
4717 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4718
4719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4720
4721 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4722
4723         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4724         type.
4725         [POSIX] (off_t): Likewise.
4726         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4727         [POSIX] (S_ISBLK): Require macro.
4728         [POSIX] (S_ISCHR): Likewise.
4729         [POSIX] (S_ISDIR): Likewise.
4730         [POSIX] (S_ISFIFO): Likewise.
4731         [POSIX] (S_ISREG): Likewise.
4732         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4733         optional-macro.
4734         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4735         type.
4736         [POSIX] (time_t): Likewise.
4737         [POSIX] (timer_t): Likewise.
4738
4739 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4740
4741         [BZ #17048]
4742         * posix/spawn_int.h (struct __spawn_action): Make the path string
4743         non-const to support deallocation.
4744         * posix/spawn_faction_addopen.c
4745         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4746         * posix/spawn_faction_destroy.c
4747         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4748         path in all spawn_do_open actions.
4749         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4750         posix_spawn_file_actions_addopen.
4751
4752 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4753
4754         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4755         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4756         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4757         conditional code always true.
4758         (__libc_vfork): New alias.
4759
4760 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4761
4762         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4763         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4764
4765         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4766
4767         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4768         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4769
4770         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4771         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4772
4773         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4774         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4775
4776 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4777
4778         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4779         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4780         multiarch strcmp for PPC64.
4781         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4782         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4784         multiarch optimizations.
4785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4786         (__libc_ifunc_impl_list): Likewise.
4787
4788 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4789
4790         * benchtests/scripts/validate_benchout.py: New script.
4791         * benchtests/Makefile (bench-func): Call it.
4792         * benchtests/scripts/benchout.schema.json: New file.
4793
4794 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4795
4796         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4797         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4798         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4799         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4800         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4801         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4802         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4803         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4804         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4805         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4806         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4807         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4808         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4809         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4810         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4811         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4813         Moved ...
4814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4815         ... here.
4816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4822         ... here.
4823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4824         Moved ...
4825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4826         ... here.
4827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4828         Moved ...
4829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4833         ... here.
4834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4835         Moved ...
4836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4837         ... here.
4838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4842         Moved ...
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4844         ... here.
4845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4846         Moved ...
4847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4848         ... here.
4849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4850         Moved ...
4851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4852         ... here.
4853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4854         Moved ...
4855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4857         Moved ...
4858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4859         ... here.
4860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4861         Moved ...
4862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4863         ... here.
4864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4865         Moved ...
4866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4867         ... here.
4868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4869         Moved ...
4870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4872         Moved ...
4873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4874         ... here.
4875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4876         Moved ...
4877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4878         ... here.
4879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4880         Moved ...
4881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4883         Moved ...
4884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4885         ... here.
4886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4887         Moved ...
4888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4895         ... here.
4896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4899         ... here.
4900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4901         Moved ...
4902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4903         ... here.
4904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4908         Moved ...
4909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4910         ... here.
4911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4912         Moved ...
4913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4914         ... here.
4915         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4916         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4918         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4920         Moved ...
4921         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4922         ... here.
4923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4924         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4926         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4928         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4930         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4932         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4934         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4936         Moved ...
4937         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4939         Moved ...
4940         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4942         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4944         Moved ...
4945         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4947         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4948         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4949         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4950         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4951         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4952
4953 2014-06-10  Wilco  <wdijkstr@arm.com>
4954
4955         * math/test-fenv-return.c: New file.
4956         * math/Makefile: Add new test test-fenv-return.
4957
4958 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4959
4960         [BZ #17042]
4961         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4962         when x - 1 is zero.
4963         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4964         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4965         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4966         0.0L for an argument of 1.0L.
4967         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4968         Likewise.
4969         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4970         value when x - 1 is zero.
4971         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4972         * sysdeps/i386/fpu/libm-test-ulps: Update.
4973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4974
4975 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4976
4977         [BZ #15119]
4978         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4979
4980 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4981
4982         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4983         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4984
4985 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4986
4987         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4988         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4989
4990         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4991         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4992
4993         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4994         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4995
4996         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4997         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4998
4999         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5000         if not already defined.
5001         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5002         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5003         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5004         (TLS_INIT_TP): Use it.
5005         (TLS_DEFINE_INIT_TP): New macro.
5006         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5007
5008 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5009
5010         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5011         constant.
5012         [POSIX] (IXANY): Likewise.
5013         [POSIX] (OLCUC): Likewise.
5014         [POSIX || POSIX2008] (CBAUD): Do not allow.
5015         [POSIX || POSIX2008] (DEFECHO): Likewise.
5016         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5017         [POSIX || POSIX2008] (ECHOKE): Likewise.
5018         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5019         [POSIX || POSIX2008] (EXTA): Likewise.
5020         [POSIX || POSIX2008] (EXTB): Likewise.
5021         [POSIX || POSIX2008] (FLUSHO): Likewise.
5022         [POSIX || POSIX2008] (LOBLK): Likewise.
5023         [POSIX || POSIX2008] (PENDIN): Likewise.
5024         [POSIX || POSIX2008] (SWTCH): Likewise.
5025         [POSIX || POSIX2008] (VDISCARD): Likewise.
5026         [POSIX || POSIX2008] (VDSUSP): Likewise.
5027         [POSIX || POSIX2008] (VLNEXT): Likewise.
5028         [POSIX || POSIX2008] (VREPRINT): Likewise.
5029         [POSIX || POSIX2008] (VSTATUS): Likewise.
5030         [POSIX || POSIX2008] (VWERASE): Likewise.
5031         (B*): Change to B[0123456789]*.
5032         * conform/data/time.h-data [POSIX || UNIX98]
5033         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5034         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5035         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5036         [POSIX] (tm_*): Do not allow.
5037
5038 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5039
5040         * Makefile (install): Don't set LANGUAGE.
5041         * Makefile.in (install): Likewise.
5042         * assert/Makefile (test-assert-ENV): Remove variable.
5043         (test-assert-perr-ENV): Likewise.
5044         * elf/Makefile (neededtest4-ENV): Likewise.
5045         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5046         [$(cross-compiling) = no]: Don't set LANGUAGE.
5047         * io/ftwtest-sh (LANG): Remove variable.
5048         * libio/Makefile (tst-widetext-ENV): Likewise.
5049         * manual/install.texi (Running make install): Don't refer to
5050         environment settings for make install.
5051         * INSTALL: Regenerated.
5052         * nptl/tst-tls6.sh: Don't set LANG.
5053         * posix/globtest.sh (LANG): Remove variable.
5054         * string/Makefile (tester-ENV): Likewise.
5055         (inl-tester-ENV): Likewise.
5056         (noinl-tester-ENV): Likewise.
5057         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5058         [$(cross-compiling) = no]: Don't set LANGUAGE.
5059         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5060         without explicit environment settings.
5061
5062 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5063
5064         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5065         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5066         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5067         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5068
5069 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5070
5071         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5072         other files in the crypt directory.
5073         * crypt/crypt.c: Remove duplicate includes.
5074         * crypt/crypt-entry.c: Likewise.
5075         * crypt/crypt_util.c: Likewise.
5076
5077 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5078
5079         * Makeconfig (run-program-env): New variable.
5080         (run-program-prefix-before-env): Likewise.
5081         (run-program-prefix-after-env): Likewise.
5082         (run-program-prefix): Define in terms of new variables.
5083         (built-program-cmd-before-env): New variable.
5084         (built-program-cmd-after-env): Likewise.
5085         (built-program-cmd): Define in terms of new variables.
5086         (test-program-prefix-before-env): New variable.
5087         (test-program-prefix-after-env): Likewise.
5088         (test-program-prefix): Define in terms of new variables.
5089         (test-program-cmd-before-env): New variable.
5090         (test-program-cmd-after-env): Likewise.
5091         (test-program-cmd): Define in terms of new variables.
5092         * Rules (make-test-out): Use $(run-program-env).
5093         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5094         (help): Do not mention environment variables.  Mention
5095         --timeoutfactor option.
5096         (timeoutfactor): New variable.
5097         (blacklist_exports): Remove function.
5098         (exports): Remove variable.
5099         (command): Do not include ${exports}.
5100         * manual/install.texi (Configuring and compiling): Do not mention
5101         test wrappers preserving environment variables.  Mention that last
5102         assignment to a variable must take precedence.
5103         * INSTALL: Regenerated.
5104         * benchtests/Makefile (run-bench): Use $(run-program-env).
5105         * catgets/Makefile ($(objpfx)test1.cat): Use
5106         $(built-program-cmd-before-env), $(run-program-env) and
5107         $(built-program-cmd-after-env).
5108         ($(objpfx)test2.cat): Do not specify environment variables
5109         explicitly.
5110         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5111         $(run-program-env) and $(built-program-cmd-after-env).
5112         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5113         $(run-program-env) and $(test-program-cmd-after-env).
5114         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5115         explicitly.
5116         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5117         run_program_env and test_program_cmd_after_env arguments.
5118         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5119         * elf/tst-pathopt.sh: Use run_program_env argument.
5120         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5121         $(test-wrapper-env) and $(run-program-env).
5122         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5123         run_program_env arguments.
5124         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5125         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5126         $(test-program-prefix-before-env), $(run-program-env) and
5127         $(test-program-prefix-after-env).
5128         ($(objpfx)tst-gettext2.out): Likewise.
5129         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5130         run_program_env and test_program_prefix_after_env arguments.
5131         * intl/tst-gettext2.sh: Likewise.
5132         * intl/tst-gettext4.sh: Do not set environment variables
5133         explicitly.
5134         * intl/tst-gettext6.sh: Likewise.
5135         * intl/tst-translit.sh: Likewise.
5136         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5137         $(test-program-prefix-before-env), $(run-program-env) and
5138         $(test-program-prefix-after-env).
5139         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5140         run_program_env and test_program_prefix_after_env arguments.
5141         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5142         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5143         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5144         explicitly with each use of ${test_wrapper_env}.
5145         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5146         $(test-program-prefix-before-env), $(run-program-env) and
5147         $(test-program-prefix-after-env).
5148         * posix/tst-getconf.sh: Do not set environment variables
5149         explicitly.
5150         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5151         run_program_env and test_program_prefix_after_env arguments.
5152         * stdio-common/tst-printf.sh: Do not set environment variables
5153         explicitly.
5154         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5155         $(test-program-prefix-before-env), $(run-program-env) and
5156         $(test-program-prefix-after-env).
5157         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5158         run_program_env and test_program_prefix_after_env arguments.
5159         Split $test calls into $test_pre and $test.
5160         * timezone/Makefile (build-testdata): Use
5161         $(built-program-cmd-before-env), $(run-program-env) and
5162         $(built-program-cmd-after-env).
5163
5164 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5165
5166         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5167         strlen for non SHARED builds.
5168
5169 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5170
5171         * nptl/allocatestack.c (check_list): Inlined function...
5172         (__reclaim_stacks): ... here.
5173
5174 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5175
5176         [BZ #15698]
5177         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5178         memory overrun.
5179
5180 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5181
5182         * Rules (make-test-out): Include
5183         LOCPATH=$(common-objpfx)localedata in default environment.
5184         * debug/Makefile (tst-chk1-ENV): Remove variable.
5185         (tst-chk2-ENV): Likewise.
5186         (tst-chk3-ENV): Likewise.
5187         (tst-chk4-ENV): Likewise.
5188         (tst-chk5-ENV): Likewise.
5189         (tst-chk6-ENV): Likewise.
5190         (tst-lfschk1-ENV): Likewise.
5191         (tst-lfschk2-ENV): Likewise.
5192         (tst-lfschk3-ENV): Likewise.
5193         (tst-lfschk4-ENV): Likewise.
5194         (tst-lfschk5-ENV): Likewise.
5195         (tst-lfschk6-ENV): Likewise.
5196         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5197         (tst-iconv7-ENV): Likewise.
5198         * intl/Makefile (LOCPATH-ENV): Likewise.
5199         (tst-codeset-ENV): Likewise.
5200         (tst-gettext3-ENV): Likewise.
5201         (tst-gettext5-ENV): Likewise.
5202         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5203         (tst-fopenloc-ENV): Likewise.
5204         (tst-fgetws-ENV): Remove variable.
5205         (tst-ungetwc1-ENV): Likewise.
5206         (tst-ungetwc2-ENV): Likewise.
5207         (bug-ungetwc2-ENV): Likewise.
5208         (tst-swscanf-ENV): Likewise.
5209         (bug-ftell-ENV): Likewise.
5210         (tst-fgetwc-ENV): Likewise.
5211         (tst-fseek-ENV): Likewise.
5212         (tst-ftell-partial-wide-ENV): Likewise.
5213         (tst-ftell-active-handler-ENV): Likewise.
5214         (tst-ftell-append-ENV): Likewise.
5215         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5216         (tst-regexloc-ENV): Likewise.
5217         (bug-regex1-ENV): Likewise.
5218         (tst-regex-ENV): Likewise.
5219         (tst-regex2-ENV): Likewise.
5220         (bug-regex5-ENV): Likewise.
5221         (bug-regex6-ENV): Likewise.
5222         (bug-regex17-ENV): Likewise.
5223         (bug-regex18-ENV): Likewise.
5224         (bug-regex19-ENV): Likewise.
5225         (bug-regex20-ENV): Likewise.
5226         (bug-regex22-ENV): Likewise.
5227         (bug-regex23-ENV): Likewise.
5228         (bug-regex25-ENV): Likewise.
5229         (bug-regex26-ENV): Likewise.
5230         (bug-regex30-ENV): Likewise.
5231         (bug-regex32-ENV): Likewise.
5232         (bug-regex33-ENV): Likewise.
5233         (bug-regex34-ENV): Likewise.
5234         (bug-regex35-ENV): Likewise.
5235         (tst-rxspencer-ENV): Likewise.
5236         (tst-rxspencer-no-utf8-ENV): Likewise.
5237         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5238         (tst-sscanf-ENV): Likewise.
5239         (tst-swprintf-ENV): Likewise.
5240         (tst-swscanf-ENV): Likewise.
5241         (test-vfprintf-ENV): Likewise.
5242         (scanf13-ENV): Likewise.
5243         (bug14-ENV): Likewise.
5244         (tst-grouping-ENV): Likewise.
5245         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5246         (tst-strtod3-ENV): Likewise.
5247         (tst-strtod4-ENV): Likewise.
5248         (tst-strtod5-ENV): Likewise.
5249         (testmb2-ENV): Likewise./
5250         * string/Makefile (tst-strxfrm-ENV): Likewise.
5251         (tst-strxfrm2-ENV): Likewise.
5252         (bug-strcoll1-ENV): Likewise.
5253         (test-strcasecmp-ENV): Likewise.
5254         (test-strncasecmp-ENV): Likewise.
5255         * time/Makefile (tst-strptime-ENV): Likewise.
5256         (tst-ftime_l-ENV): Likewise.
5257         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5258         (tst-mbrtowc-ENV): Likewise.
5259         (tst-wcrtomb-ENV): Likewise.
5260         (tst-mbrtowc2-ENV): Likewise.
5261         (tst-c16c32-1-ENV): Likewise.
5262         (tst-mbsnrtowcs-ENV): Likewise.
5263
5264 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5265
5266         * manual/resource.texi (How to get information about the memory
5267         subsystem?): Fix typo.
5268         Reported by Peon de la Parra Ivan <peon@keba.com>
5269
5270 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5271
5272         [BZ #16882]
5273         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5274         (pthread_spin_lock): Branch out of spin loop to proper location.
5275         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5276         (pthread_spin_lock): Likewise.
5277
5278         * nptl/tst-spin4.c: New test.
5279         * nptl/Makefile (tests): Add tst-spin4.
5280
5281 2014-06-03  Andreas Schwab  <schwab@suse.de>
5282
5283         [BZ #15946]
5284         * resolv/res_send.c (send_dg): Reload file descriptor after
5285         calling reopen.
5286
5287 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5288
5289         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5290
5291 2014-06-03  Richard Henderson  <rth@redhat.com>
5292
5293         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5294         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5295         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5296         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5297         in the SAVE_PID block.
5298         (__libc_vfork): New alias.
5299         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5300
5301         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5302         child in registers, not on the stack.  Remove RESET_PID conditionals.
5303         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5304
5305 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5306
5307         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5308
5309 2014-06-03  Wilco  <wdijkstr@arm.com>
5310
5311         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5312         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5313         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5314         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5315         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5316         Likewise.
5317
5318 2014-06-03  Wilco  <wdijkstr@arm.com>
5319
5320         * sysdeps/aarch64/fpu/math_private.h
5321         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5322         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5323         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5324         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5325         Fix declarations.
5326
5327 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5328
5329         * crypt/crypt-private.h: Include ufc-crypt.h.
5330         (__b64_from_24bit): Declare extern.
5331         * crypt/crypt_util.c(__b64_from_24bit): New function.
5332         (b64t): New static const variable.
5333         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5334         (b64t): Remove variable.
5335         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5336         * crypt/sha256-crypt.c: Include crypt-private.h.
5337         (b64t): Remove variable.
5338         (__sha256_crypt_r): Remove b64_from_24bit and replace
5339         with __b64_from_24bit.
5340         * crypt/sha512-crypt.c: Likewise.
5341
5342 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5343
5344         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5345         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5346         Label the code __libc_vfork rather than __vfork.
5347         [!NOT_IN_libc] (vfork): Define as weak alias.
5348         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5349         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5350         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5351
5352 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5353
5354         * malloc/malloc.c (malloc_info): Fix format specifier for
5355         n_mmaps.
5356
5357 2014-06-02  Wilco  <wdijkstr@arm.com>
5358
5359         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5360         FPCR write.
5361
5362 2014-06-02  Wilco  <wdijkstr@arm.com>
5363
5364         [BZ #17009]
5365         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5366         Rewrite to reduce FPCR/FPSR accesses.
5367
5368 2014-06-01  David S. Miller  <davem@davemloft.net>
5369
5370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5371
5372 2014-05-31  David S. Miller  <davem@davemloft.net>
5373
5374         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5375         to occur in round to nearest mode when |x| >= 2.0
5376
5377 2014-05-30  Richard Henderson  <rth@twiddle.net>
5378
5379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5380         (PSEUDO_RET_NOERRNO): Remove.
5381         (ret): Don't redefine.
5382         (ret_NOERRNO): Define in terms of ret.
5383         (ret_ERRVAL): Likewise.
5384
5385         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5386         use of PSEUDO_RET; perform the error check directly.
5387
5388 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5389
5390         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5391         with __int128_t.
5392
5393 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5394
5395         * malloc/malloc (malloc_info): Fix formatting.
5396
5397 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5398             Roland McGrath  <roland@hack.frob.com>
5399
5400         * malloc/malloc (malloc_info): Also print mmapped statistics.
5401
5402 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5403
5404         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5405         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5406
5407 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5408
5409         * malloc/malloc.c (malloc_info): Inline mi_arena.
5410
5411 2014-05-29  Richard Henderson  <rth@twiddle.net>
5412
5413         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5414         Remove comma before expanding ASM_ARGS_##nr.
5415         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5416         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5417         of ASM_ARGS_##nr.
5418         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5419         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5420         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5421         (ASM_ARGS_1): Add leading comma.
5422
5423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5424         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5425         to __errno_location.
5426         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5427         Remove the expected plt for __errno_location.
5428
5429         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5430         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5431         call to __read_tp.
5432
5433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5434         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5435         it and break it down.
5436         (DOCARGS_0, DOCARGS_1): Do nothing.
5437         (DOCARGS_2): Update to store into the new stack frame.
5438         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5439         (UNDOCARGS_1): Update to restore from the new stack frame.
5440         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5441         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5442
5443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5444         (SINGLE_THREAD_P): New parameter for result regno.
5445         (PSEUDO): Update to match; use cbz instead of beq.
5446
5447         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5448         Use ENTRY to define the _nocancel entry point.  Share the syscall
5449         and syscall error check paths with the cancel path.
5450         (PSEUDO_END): New.
5451
5452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5453         whitespace; tabs before and after asm mnemonics.
5454
5455 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5456
5457         [BZ #15132]
5458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5459         Call fstat64 or stat64 internally, depending on arguments passed.
5460         Replace stat buffer argument with file descriptor argument.
5461         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5462         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5463         Pass fd to __internal_statvfs instead of calling fstat64.
5464         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5465         Pass fd to __internal_statvfs64 instead of calling fstat64.
5466         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5467         Pass -1 to __internal_statvfs instead of calling stat64.
5468         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5469         Pass -1 to __internal_statvfs64 instead of calling stat64.
5470
5471 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5472
5473         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5474         that was previously under [RESET_PID].
5475         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5476
5477         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5478         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5479
5480 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5481
5482         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5483
5484         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5485         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5486
5487 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5488
5489         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5490
5491 2014-05-27  Andreas Schwab  <schwab@suse.de>
5492
5493         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5494         TLS_INIT_TP macro.
5495         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5496         * elf/rtld.c (init_tls, dl_main): Likewise.
5497         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5498         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5499         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5500         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5501         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5502         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5503         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5504         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5505         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5506         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5507         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5508         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5509         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5510         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5511         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5512         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5513         * sysdeps/generic/tls.h: Update description.
5514
5515 2014-05-27  Will Newton  <will.newton@linaro.org>
5516
5517         [BZ #16990]
5518         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5519         and restore r2 rather than just restoring.
5520
5521 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5522
5523         [BZ #16724]
5524         * libio/tst-ftell-append.c: New test case.
5525         * libio/Makefile (tests): Add test case.
5526         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5527         append mode.
5528         * libio/wfileops.c (do_ftell_wide): Likewise.
5529
5530 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5531
5532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5533
5534         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5535         ...
5536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5538         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5539         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5541         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5543         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5545         Moved ...
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5548         Moved ...
5549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5550         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5551         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5553         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5554         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5555         ...
5556         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5557         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5558         Moved ...
5559         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5560         here.
5561         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5562         ...
5563         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5564         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5565         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5566
5567         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5568         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5570         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5571
5572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5573         merge into ...
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5576         ...
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5579         ...
5580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5582         Moved ...
5583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5584         here.
5585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5586         Moved ...
5587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5589         Moved ...
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5591
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5593         conditional [RESET_PID].
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5596         removed.
5597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5598         removed.
5599
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5601         <tcb-offsets.h>.
5602         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5603         (__libc_vfork): New strong alias.
5604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5605         removed.
5606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5607         Removed.
5608
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5610         <tcb-offsets.h>.
5611         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5612         (__libc_vfork): New strong alias.
5613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5614         removed.
5615         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5616         removed.
5617
5618 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5619
5620         * malloc/malloc.c (mi_arena): New function.
5621         (malloc_info): Remove nested function mi_arena. Call non-nosted
5622         function mi_arena.
5623
5624 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5625
5626         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5627         by insrwi.
5628         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5629         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5630         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5631         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5632         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5633         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5634         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5635
5636 2014-05-26  Andreas Schwab  <schwab@suse.de>
5637
5638         [BZ #16984]
5639         * locale/programs/repertoire.c (repertoire_read): Add slash
5640         between I18NPATH element and file name.
5641         * locale/programs/locfile.c (locfile_read): Likewise.
5642
5643 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5644
5645         * nptl/pthread_mutexattr_settype.c
5646         (__pthread_mutexattr_settype):
5647         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5648
5649 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5650
5651         * nptl/tst-mutex5 (do_test):
5652         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5653
5654 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5655
5656         * benchtests/README: Document 'init' directive.
5657         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5658         BENCH_INIT.
5659         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5660         (parse_file): Recognize 'init' directive.
5661
5662 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5663
5664         [BZ #16796]
5665         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5666         alignment of struct pthread.
5667
5668 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5669
5670         [BZ #16878]
5671         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5672         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5673         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5674         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5675
5676 2014-05-25  Richard Henderson  <rth@twiddle.net>
5677
5678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5679         (SINGLE_THREAD_P_PIC): Remove.
5680         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5681         (SINGLE_THREAD_P_PIC): Remove.
5682
5683         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5684         branch to syscall error ...
5685         (PSEUDO): ... here.
5686         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5687         from __local_syscall_error to .Lsyscall_error.
5688         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5689         (SYSCALL_ERROR): Update label name.
5690
5691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5692         Do not use DOARGS/UNDOARGS.
5693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5694         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5695         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5696         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5697         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5698
5699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5700         block comment.
5701
5702         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5703         define if !NOT_IN_libc.
5704         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5705         define with non-default symbol versions.
5706
5707 2014-05-23  Richard Henderson  <rth@twiddle.net>
5708
5709         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5710         (vfork, __vfork): Define via compat_symbol.
5711
5712         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5713         [!HAVE_IFUNC] (vfork_compat): Remove.
5714         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5715
5716 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5717
5718         [BZ #16978]
5719         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5720         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5721         variable.
5722
5723 2014-05-23  Richard Henderson  <rth@twiddle.net>
5724
5725         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5726         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5727         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5728         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5729
5730         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5731         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5732         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5733         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5734         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5735         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5736         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5737         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5738         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5739         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5740         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5741         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5742         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5747         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5748         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5751         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5752         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5753         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5754         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5755         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5756         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5757         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5758         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5759         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5760         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5761         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5762         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5763         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5764         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5765         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5766         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5767         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5768         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5769         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5770         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5771         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5772         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5773         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5774         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5775         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5777         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5778         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5779         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5780         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5781         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5783         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5785         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5786
5787         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5788         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5789         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5790         before exiting on error.
5791         (__libc_vfork): New strong alias.
5792         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5793         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5794
5795         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5796         that was previously under [RESET_PID].
5797         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5798
5799         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5800
5801 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5802
5803         [BZ #16977]
5804         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5805         value when x - 1 is zero.
5806         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5807         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5808         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5809         0.0L for an argument of 1.0L.
5810         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5811         Likewise.
5812         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5813         value when x - 1 is zero.
5814         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5815         * sysdeps/i386/fpu/libm-test-ulps: Update.
5816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817
5818 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5819
5820         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5821         alphasort and versionsort.
5822
5823 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5824
5825         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5826         macro.
5827         [copysignf]: Likewise.
5828
5829 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5830
5831         * crypt/md5-crypt.c: Fix formatting.
5832
5833 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5834
5835         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5836         (b64_from_24bit): New function.
5837
5838 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5839
5840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5841         libc_hidden_builtin_def to ifunc.
5842         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5843         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5844
5845 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5846
5847         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5848         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5849
5850 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5851
5852         * nscd/Depend (linuxthreads): Remove.
5853         (nptl): Add.
5854         * resolv/Depend (linuxthreads): Remove.
5855         * rt/Depend (linuxthreads): Remove.
5856
5857         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5858         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5859         $(common-objpfx)elf/.
5860         (link-libc-before-gnulib): Likewise.
5861         (elfobjdir): Remove variable.
5862         * Makefile (install): Use $(elf-objpfx) instead of
5863         $(common-objpfx)elf/.
5864         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5865         $(elfobjdir)/.
5866         (link-libc-deps): Likewise.
5867         ($(common-objpfx)libc.so): Likewise.
5868         ($(common-objpfx)linkobj/libc.so): Likewise.
5869         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5870         instead of $(common-objpfx)elf/.
5871         (symbolic-link-list): Likewise.
5872         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5873         [$(cross-compiling) = no]: Likewise.
5874         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5875         $(elfobjdir)/.
5876         (static-gnulib-arch): Likewise.
5877         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5878         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5879         $(common-objpfx)elf/.
5880
5881 2014-05-21  Richard Henderson  <rth@redhat.com>
5882
5883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5884         (SINGLE_THREAD_P): Use the correct width load.  Fold
5885         into the ldr offset.
5886
5887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5888         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5889
5890 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5891
5892         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5893         (libgcc_s_resume): Use __attribute_used__.
5894         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5895         Likewise.
5896
5897 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5898
5899         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5900         optimization when used with float constants.
5901
5902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5903
5904 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5905
5906         [BZ #16915]
5907         * locale/nl_langinfo_l.c: Make direct reference to every
5908         _nl_current_CATEGORY symbol.
5909         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5910         (tests-static): Add tst-langinfo-static.
5911         (tests-special): Add tst-langinfo-static.out.
5912         ($(objpfx)tst-langinfo.out): Redirect output.
5913         ($(objpfx)tst-langinfo-static.out): New.
5914         * localedata/tst-langinfo.sh: Send output to stdout.
5915         * localedata/tst-langinfo-static.c: New file.
5916
5917         [BZ #16965]
5918         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5919         when the shift amount is modulo the limb size.
5920
5921 2014-05-20  Richard Henderson  <rth@redhat.com>
5922
5923         [BZ #16967]
5924         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5925         Change type of sa_flags from unsigned int to int.
5926
5927         [BZ #16966]
5928         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5929
5930         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5931
5932 2014-05-20  Will Newton  <will.newton@linaro.org>
5933
5934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5935         Test the return value of the system call in the nocancel case.
5936
5937 2014-05-20  Will Newton  <will.newton@linaro.org>
5938             Yvan Roux  <yvan.roux@linaro.org>
5939
5940         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5941         #include of asm/ptrace.h.
5942         (PTRACE_GET_THREAD_AREA): Remove #undef.
5943         (PTRACE_GETHBPREGS): Likewise.
5944         (PTRACE_SETHBPREGS): Likewise.
5945         (struct user_regs_struct): New structure.
5946         (struct user_fpsimd_struct): New structure.
5947         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5948         #include of asm/ptrace.h and second #include of sys/user.h.
5949         (PTRACE_GET_THREAD_AREA): Remove #undef.
5950         (PTRACE_GETHBPREGS): Likewise.
5951         (PTRACE_SETHBPREGS): Likewise.
5952         (ELF_NGREG): Use new struct user_regs_struct.
5953         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5954
5955 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5956
5957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5959
5960 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5961
5962         [BZ #16958]
5963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5964         membar to avoid block loads/stores to overlap previous stores.
5965
5966 2014-05-17  Richard Henderson  <rth@redhat.com>
5967
5968         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5969         Create the __##syscall_name##_nocancel entry point.
5970         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5971         Remove; let the sysdep-cancel.h code create it.
5972
5973 2014-05-17  David S. Miller  <davem@davemloft.net>
5974
5975         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5976         Protect with __USE_GNU.
5977         (TIOCSET_TEMPT): Likewise.
5978         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5979         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5980         these are already provided in bits/ioctl-types.h
5981
5982 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5983
5984         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5985         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5986
5987         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5988         Use wait4 regardless of [__NR_waitpid].
5989
5990 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5991
5992         PR libgcc/60166
5993         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5994         (_FP_NANSIGN_Q): Set the quiet bit.
5995
5996 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5997
5998         * benchtests/Makefile
5999         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6000         not $(common-objpfx)math/libm.so.
6001         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6002         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6003         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6004         $(common-objpfx)dlfcn/libdl.so.
6005         ($(objpfx)tst-audit8): Depend on $(libm), not
6006         $(common-objpfx)math/libm.so.
6007         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6008         not $(common-objpfx)dlfcn/libdl.so.
6009         * math/Makefile
6010         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6011         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6012         [$(build-shared) = yes].
6013         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6014         $(common-objpfx)nptl/libpthread.so.
6015         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6016         $(common-objpfx)math/libm.so$(libm.so-version) or
6017         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6018         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6019         $(common-objpfx)dlfcn/libdl.so.
6020         * setjmp/Makefile (link-libm): Remove variable.
6021         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6022         * stdio-common/Makefile (link-libm): Remove variable.
6023         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6024         * stdlib/Makefile (link-libm): Remove variable.
6025         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6026         ($(objpfx)tst-strtod-round): Likewise.
6027         ($(objpfx)tst-tininess): Likewise.
6028         ($(objpfx)tst-strtod-underflow): Likewise.
6029         ($(objpfx)tst-strtod6): Likewise.
6030         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6031         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6032         $(common-objpfx)dlfcn/libdl.so.
6033
6034 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6035
6036         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6037         BSD terminal modes definitions.
6038
6039 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6040
6041         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6042         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6043
6044         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6045         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6046         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6047         Don't do #include_next.
6048         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6049         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6050         Don't do #include_next.
6051         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6052         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6053         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6054         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6055
6056 2014-05-16  Allan McRae  <allan@archlinux.org>
6057
6058         * po/sv.po: Update Swedish translation from translation project.
6059
6060         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6061         in sed expression.
6062
6063 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6064
6065         [BZ #16917]
6066         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6067         errno if the TIOCGPTN ioctl fails with an error different than
6068         EINVAL.
6069         * login/tst-ptsname.c: New file.
6070         * login/Makefile (tests): Add tst-ptsname.
6071
6072         [BZ #16943]
6073         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6074         and prlimit64.
6075
6076 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6077
6078         [BZ #16849]
6079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6080         herrno to return EAI_AGAIN.
6081
6082 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6083
6084         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6085         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6086         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6089         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6090         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6091         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6099         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6100         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6101         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6102         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6103         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6105         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6112         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6113         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6115         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6117         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6119         Moved ...
6120         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6122         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6124         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6126         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6128         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6130         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6132         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6134         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6136         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6138         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6140         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6142         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6144         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6146         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6148         Moved ...
6149         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6151         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6153         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6155         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6159         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6161         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6163         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6165         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6167         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6169         Moved ...
6170         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6172         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6173
6174         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6175         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6176         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6177         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6178         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6179         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6180         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6181         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6182         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6183         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6184         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6185         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6186         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6187         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6188         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6189         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6190         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6191         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6192         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6193         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6194         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6195         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6196         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6197         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6198         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6199         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6200         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6201         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6202         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6203         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6204         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6205
6206         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6207         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6208
6209         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6210         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6211         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6212         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6213         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6215         Moved ...
6216         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6217         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6218         Moved ...
6219         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6221         Moved ...
6222         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6223         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6224         Moved ...
6225         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6226         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6227         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6229         Moved ...
6230         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6232         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6234         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6235         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6236         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6237         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6240         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6241         Moved ...
6242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6243         ... here.
6244         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6245         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6246         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6247         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6248         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6251         ... here.
6252         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6253         Moved ...
6254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6255         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6256         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6257         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6258         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6260         Moved ...
6261         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6262         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6263         Moved ...
6264         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6271         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6272         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6274         Moved ...
6275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6276         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6277         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6279         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6281         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6282         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6285         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6286         Moved ...
6287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6288         ... here.
6289         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6290         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6292         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6293         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6294         Moved ...
6295         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6296         ... here.
6297         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6298         Moved ...
6299         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6300         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6301         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6303         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6304         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6305         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6307         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6315         Moved ...
6316         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6317         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6318         Moved ...
6319         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6321         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6323         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6325         Moved ...
6326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6328         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6330         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6332         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6333         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6334         Moved ...
6335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6337         Moved ...
6338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6339         ... here.
6340         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6341         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6342         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6343         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6347         ... here.
6348         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6349         Moved ...
6350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6352         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6354         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6356         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6358         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6360         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6361
6362         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6363         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6364
6365         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6366         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6367
6368         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6369         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6370         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6372         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6374         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6376         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6377         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6379         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6380         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6381         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6382         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6384         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6386         Moved ...
6387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6389         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6396         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6400         Moved ...
6401         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6403         Moved ...
6404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6410         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6412         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6414         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6416         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6418         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6420         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6421
6422         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6423         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6424         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6425         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6426         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6427
6428         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6429         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6430         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6431         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6432         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6433         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6434         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6435         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6436         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6437         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6438
6439         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6440         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6441
6442         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6443         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6444         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6445         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6446         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6447         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6448         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6449         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6450         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6451         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6452         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6453         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6454         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6455         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6457         Update #include.
6458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6459         Likewise.
6460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6461         Likewise.
6462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6463         Likewise.
6464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6465         Likewise.
6466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6467         Likewise.
6468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6469         Likewise.
6470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6471         Likewise.
6472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6473         Likewise.
6474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6475         Likewise.
6476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6481         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6483         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6486         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6488         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6490         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6491
6492         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6493         that was previously under [RESET_PID].
6494         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6495         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6496         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6497
6498         * sysdeps/i386/nptl/Implies: New file.
6499         * sysdeps/x86_64/nptl/Implies: New file.
6500         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6501         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6502         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6503         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6504
6505         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6506         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6507         (__libc_vfork): New strong alias.
6508         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6509         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6510
6511         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6513         (__libc_vfork): New strong alias.
6514         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6515         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6516
6517         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6518         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6519         (__libc_vfork): New strong alias.
6520         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6521         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6522         * nptl/pt-vfork.c: New file.
6523         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6524         (libpthread: GLIBC_2.20): New version set (empty).
6525
6526 2014-05-14  Will Newton  <will.newton@linaro.org>
6527
6528         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6529         rather than #if.
6530
6531 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6532
6533         [BZ #16564]
6534         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6535         arguments with exponent 65 or above.
6536         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6537         arguments 0x1p113L or above.
6538         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6539         to arguments 0x1p107L or above.
6540         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6541         positive arguments with exponent 65 or above.
6542         * math/auto-libm-test-in: Add more tests of log1p.
6543         * math/auto-libm-test-out: Regenerated.
6544
6545         [BZ #16928]
6546         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6547         non-finite arguments is +0.
6548         * math/s_cacosf.c (__cacosf): Likewise.
6549         * math/s_cacosl.c (__cacosl): Likewise.
6550         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6551         * sysdeps/i386/fpu/libm-test-ulps: Update.
6552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553
6554         [BZ #16927]
6555         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6556         value.
6557         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6558         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6559         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6560         for explicit high bit of mantissa when testing for argument equal
6561         to 1.
6562         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6563         * sysdeps/i386/fpu/libm-test-ulps: Update.
6564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6565
6566         [BZ #16516]
6567         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6568         (__erf): Scale by 16 instead of 8 in potentially underflowing
6569         case.  Ensure exception if result actually underflows.
6570         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6571         (__erff): Scale by 16 instead of 8 in potentially underflowing
6572         case.  Ensure exception if result actually underflows.
6573         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6574         (efx8): Remove variable.
6575         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6576         case.  Ensure exception if result actually underflows.
6577         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6578         (efx8): Remove variable.
6579         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6580         case.  Ensure exception if result actually underflows.
6581         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6582         (efx8): Remove variable.
6583         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6584         case.  Ensure exception if result actually underflows.
6585         * math/auto-libm-test-in: Add more tests of erf.
6586         * math/auto-libm-test-out: Regenerated.
6587
6588 2014-05-14  Andreas Schwab  <schwab@suse.de>
6589
6590         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6591         Remove code conditionalized on USE___THREAD.
6592
6593         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6594         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6595         not definedness.
6596
6597 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6598
6599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6600         Define unconditionally.
6601         (__ASSUME_O_CLOEXEC): Likewise.
6602         (__ASSUME_SOCK_CLOEXEC): Likewise.
6603         (__ASSUME_IN_NONBLOCK): Likewise.
6604         (__ASSUME_PIPE2): Likewise.
6605         (__ASSUME_EVENTFD2): Likewise.
6606         (__ASSUME_SIGNALFD4): Likewise.
6607         (__ASSUME_DUP3): Likewise.
6608         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6609         (__ASSUME_DUP3): Do not define.
6610         (__ASSUME_EVENTFD2): Likewise.
6611         (__ASSUME_IN_NONBLOCK): Likewise.
6612         (__ASSUME_O_CLOEXEC): Likewise.
6613         (__ASSUME_PIPE2): Likewise.
6614         (__ASSUME_SIGNALFD4): Likewise.
6615         (__ASSUME_SOCK_CLOEXEC): Likewise.
6616         (__ASSUME_UTIMES): Undefine.
6617         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6618         (__ASSUME_UTIMES): Do not define.
6619         (__ASSUME_O_CLOEXEC): Likewise.
6620         (__ASSUME_SOCK_CLOEXEC): Likewise.
6621         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6622         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6623         0x020621].
6624         (__ASSUME_PIPE2): Likewise.
6625         (__ASSUME_EVENTFD2): Likewise.
6626         (__ASSUME_SIGNALFD4): Likewise.
6627         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6628         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6629         Do not define.
6630         (__ASSUME_EVENTFD2): Likewise.
6631         (__ASSUME_SIGNALFD4): Likewise.
6632         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6633         (__ASSUME_32BITUIDS): Likewise.
6634         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6635         (__ASSUME_IPC64): Likewise.
6636         (__ASSUME_ST_INO_64_BIT): Likewise.
6637         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6638         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6639         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6640         (__ASSUME_UTIMES): Do not define.
6641         (__ASSUME_PSELECT): Likewise.
6642         (__ASSUME_PPOLL): Likewise.
6643         (__ASSUME_O_CLOEXEC): Likewise.
6644         (__ASSUME_SOCK_CLOEXEC): Likewise.
6645         (__ASSUME_IN_NONBLOCK): Likewise.
6646         (__ASSUME_PIPE2): Likewise.
6647         (__ASSUME_EVENTFD2): Likewise.
6648         (__ASSUME_SIGNALFD4): Likewise.
6649         (__ASSUME_DUP3): Likewise.
6650         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6651         (__ASSUME_UTIMES): Likewise.
6652         (__ASSUME_O_CLOEXEC): Likewise.
6653         (__ASSUME_SOCK_CLOEXEC): Likewise.
6654         (__ASSUME_IN_NONBLOCK): Likewise.
6655         (__ASSUME_PIPE2): Likewise.
6656         (__ASSUME_EVENTFD2): Likewise.
6657         (__ASSUME_SIGNALFD4): Likewise.
6658         (__ASSUME_DUP3): Likewise.
6659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6660         (__ASSUME_UTIMES): Likewise.
6661         (__ASSUME_O_CLOEXEC): Likewise.
6662         (__ASSUME_SOCK_CLOEXEC): Likewise.
6663         (__ASSUME_IN_NONBLOCK): Likewise.
6664         (__ASSUME_PIPE2): Likewise.
6665         (__ASSUME_EVENTFD2): Likewise.
6666         (__ASSUME_SIGNALFD4): Likewise.
6667         (__ASSUME_DUP3): Likewise.
6668         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6669         Likewise.
6670         (__ASSUME_UTIMES): Likewise.
6671         (__ASSUME_EVENTFD2): Likewise.
6672         (__ASSUME_SIGNALFD4): Likewise.
6673         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6674         (__ASSUME_O_CLOEXEC): Likewise.
6675         (__ASSUME_SOCK_CLOEXEC): Likewise.
6676         (__ASSUME_IN_NONBLOCK): Likewise.
6677         (__ASSUME_PIPE2): Likewise.
6678         (__ASSUME_EVENTFD2): Likewise.
6679         (__ASSUME_SIGNALFD4): Likewise.
6680         (__ASSUME_DUP3): Likewise.
6681         (__ASSUME_UTIMES): Undefine.
6682
6683         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6684         feclearexcept.  Remove symbol versioning code.
6685         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6686         symbol versioning code.
6687         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6688         symbol versioning code.
6689         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6690         feupdateenv.  Remove symbol versioning code.
6691         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6692         fegetexceptflag.  Remove symbol versioning code.
6693         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6694         fesetexceptflag.  Remove symbol versioning code.
6695         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6696         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6697         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6698         (__posix_fadvise64_l32): Remove prototype.
6699         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6700         code.
6701
6702 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6703
6704         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6705         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6706         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6707         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6708
6709 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6710
6711         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6712         current working directory
6713
6714 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6715
6716         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6717         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6718         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6719         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6720         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6721         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6722         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6723         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6724         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6725         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6726         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6727         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6728         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6729         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6730         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6731         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6732         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6733         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6734         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6735         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6736         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6737         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6738         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6739         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6740         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6741         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6742         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6743         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6744         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6745         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6746         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6747         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6748         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6749         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6750         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6751         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6752         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6753         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6754         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6755         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6756         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6757         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6758
6759         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6760         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6761
6762         * sysdeps/unix/sysv/linux/arm/Makefile
6763         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6764         Add rt-aeabi_unwind_cpp_pr1.
6765         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6766         Add nptl-aeabi_unwind_cpp_pr1.
6767         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6768         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6769         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6770         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6771         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6772         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6773
6774         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6775         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6776         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6777         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6778
6779         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6780         Deconditionalize the code that was previously under [RESET_PID].
6781         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6782
6783         * sysdeps/generic/exit-thread.h: New file.
6784         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6785         * include/unistd.h (__exit_thread): Remove declaration.
6786         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6787         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6788         * csu/libc-start.c: Include <exit-thread.h>.
6789         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6790         * nptl/pthread_create.c: Include <exit-thread.h>.
6791         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6792         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6793         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6794         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6795         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6796         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6797         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6798         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6799         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6800         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6801         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6802         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6803         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6804         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6805         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6806         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6807         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6808
6809 2014-05-13  Andreas Schwab  <schwab@suse.de>
6810
6811         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6812
6813 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6814
6815         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6816         (__ASSUME_UTIMES): Do not condition on kernel version.
6817         (__ASSUME_PSELECT): Define unconditionally.
6818         (__ASSUME_PPOLL): Likewise.
6819         (__ASSUME_ATFCTS): Likewise.
6820         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6821         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6822         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6823         (__ASSUME_UTIMENSAT): Define unconditionally.
6824         (__ASSUME_PRIVATE_FUTEX): Likewise.
6825         (__ASSUME_FALLOCATE): Likewise.
6826         (__ASSUME_O_CLOEXEC): Likewise.
6827         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6828         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6829         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6830         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6831         (__ASSUME_IN_NONBLOCK): Likewise.
6832         (__ASSUME_PIPE2): Likewise.
6833         (__ASSUME_EVENTFD2): Likewise.
6834         (__ASSUME_SIGNALFD4): Likewise.
6835         (__ASSUME_DUP3): Likewise.
6836         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6837         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6838         (__ASSUME_AT_RANDOM): Likewise.
6839         (__ASSUME_PREADV): Likewise.
6840         (__ASSUME_PWRITEV): Likewise.
6841         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6842         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6843         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6844         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6845         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6846         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6847         (__ASSUME_O_CLOEXEC): Define unconditionally.
6848         (__ASSUME_PSELECT): Do not undefine conditionally.
6849         (__ASSUME_PPOLL): Likewise.
6850         (__ASSUME_ATFCTS): Likewise.
6851         (__ASSUME_SET_ROBUST_LIST): Likewise.
6852         (__ASSUME_UTIMENSAT): Likewise.
6853         (__ASSUME_FDATASYNC): Define unconditionally.
6854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6855         (__ASSUME_SIGFRAME_V2): Likewise.
6856         )__ASSUME_EVENTFD2): Likewise.
6857         (__ASSUME_SIGNALFD4): Likewise.
6858         (__ASSUME_PSELECT): Do not undefine conditionally.
6859         (__ASSUME_PPOLL): Likewise.
6860         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6861         (__ASSUME_PSELECT): Define unconditionally.
6862         (__ASSUME_PPOLL): Likewise.
6863         (__ASSUME_O_CLOEXEC): Likewise.
6864         (__ASSUME_SOCK_CLOEXEC): Likewise.
6865         (__ASSUME_IN_NONBLOCK): Likewise.
6866         (__ASSUME_PIPE2): Likewise.
6867         (__ASSUME_EVENTFD2): Likewise.
6868         (__ASSUME_SIGNALFD4): Likewise.
6869         (__ASSUME_DUP3): Likewise.
6870         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6871         (__ASSUME_O_CLOEXEC): Likewise.
6872         (__ASSUME_SOCK_CLOEXEC): Likewise.
6873         (__ASSUME_IN_NONBLOCK): Likewise.
6874         (__ASSUME_PIPE2): Likewise.
6875         (__ASSUME_EVENTFD2): Likewise.
6876         (__ASSUME_SIGNALFD4): Likewise.
6877         (__ASSUME_DUP3): Likewise.
6878         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6879         (__ASSUME_EVENTFD2): Likewise.
6880         (__ASSUME_SIGNALFD4): Likewise.
6881         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6882
6883 2014-05-12  Andreas Schwab  <schwab@suse.de>
6884
6885         [BZ #16932]
6886         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6887         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6888         than maximum RPC packet size.
6889         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6890         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6891         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6892         (_nss_nis_getservbyport_r): Likewise.
6893
6894 2014-05-12  Will Newton  <will.newton@linaro.org>
6895
6896         * malloc/Makefile (tests): Add tst-mallopt.
6897         * malloc/tst-mallopt.c: New file.
6898
6899 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6900
6901         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6902         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6903
6904 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6905
6906         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6907         (tst-tlsmod6.so): Likewise.
6908
6909 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6910
6911         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6912
6913 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6914
6915         [BZ #16064]
6916         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6917         and <dl-procinfo.h>.
6918         (__fegetenv): Save SSE state in envp->__eip if supported.
6919         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6920         envp->__eip if supported.
6921         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6922         and <dl-procinfo.h>.
6923         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6924         __data_offset and __data_selector in environment to 0.  Set SSE
6925         state if supported.
6926         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6927         test-fenv-sse.
6928         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6929         -mfpmath=sse.
6930         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6931
6932 2014-05-09  Will Newton  <will.newton@linaro.org>
6933
6934         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6935         and libc_relro_required for ARM.
6936         * sysdeps/arm/preconfigure: Regenerate.
6937
6938 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6939             Stefan Liebler  <stli@linux.vnet.ibm.com>
6940
6941         * config.make.in (enable-lock-elision): New Makefile variable.
6942         * configure.ac: Likewise.
6943         * configure: Regenerate.
6944         * sysdeps/s390/configure.ac:
6945         Add check for gcc transactions support.
6946         * sysdeps/s390/configure: Regenerate.
6947         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6948         Build elision files if enabled.
6949         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6950         Add lock elision support for s390.
6951         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6952         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6953         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6954         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6955         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6956         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6957         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6958         Likewise.
6959         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6960         Likewise.
6961         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6962         Likewise.
6963         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6964         Likewise.
6965         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6966         (__lll_timedlock_elision, __lll_lock_elision)
6967         (__lll_unlock_elision, __lll_trylock_elision)
6968         (lll_timedlock_elision, lll_lock_elision)
6969         (lll_unlock_elision, lll_trylock_elision): Add.
6970         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6971         (pthread_mutex_t): Add lock elision support for s390.
6972
6973 2014-05-14  Wilco  <wdijkstr@arm.com>
6974
6975         * sysdeps/arm/fclrexcpt.c: Cleanup.
6976         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6977         * sysdeps/arm/feenablxcpt.c: Cleanup.
6978         * sysdeps/arm/fegetenv.c: Cleanup.
6979         * sysdeps/arm/fegetexcept.c: Cleanup.
6980         * sysdeps/arm/fegetround.c: Cleanup.
6981         * sysdeps/arm/feholdexcpt.c: Cleanup.
6982         * sysdeps/arm/fesetenv.c: Cleanup.
6983         * sysdeps/arm/fesetround.c: Cleanup.
6984         * sysdeps/arm/feupdateenv.c: Cleanup.
6985         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6986         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6987         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6988         * sysdeps/arm/ftestexcept.c: Cleanup.
6989         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6990         * sysdeps/arm/setfpucw.c: Cleanup.
6991
6992 2014-05-09  Will Newton  <will.newton@linaro.org>
6993
6994         * sysdeps/arm/armv7/strcmp.S: New file.
6995         * NEWS: Mention addition of ARMv7 optimized strcmp.
6996
6997 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6998
6999         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7000         look for %.ac rather than %.in.
7001
7002         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7003         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7004         * sysdeps/mach/hurd/configure: Regenerated.
7005         * sysdeps/unix/sysv/linux/configure: Regenerated.
7006
7007         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7008
7009 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7010
7011         [BZ# 16922]
7012         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7013         (LONG_SUB): Ditto.
7014         (PTR_SUB): Ditto.
7015
7016 2014-05-07  Andreas Schwab  <schwab@suse.de>
7017
7018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7019         when skipping over non-matching result from nscd.
7020
7021 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7022
7023         [BZ #16876]
7024         * nptl/sockperf.c (client): Check socket return value.
7025
7026         [BZ #16877]
7027         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7028         nscd security class.
7029
7030 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7031
7032         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7033         * sysdeps/arm/unwind.h: ... here.
7034
7035 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7036
7037         [BZ# 16916]
7038         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7039         Define.
7040
7041 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7042
7043         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7044         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7045         multiarch strncpy for PPC64.
7046         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7047         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7049         multiarch optimizations.
7050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7051         (__libc_ifunc_impl_list): Likewise.
7052         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7053         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7054         multiarch stpncpy for PPC64.
7055         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7056         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7057
7058 2014-05-06  Andreas Schwab  <schwab@suse.de>
7059
7060         [BZ #16912]
7061         * gmon/mcount.c (_MCOUNT_DECL): Use
7062         atomic_compare_and_exchange_bool_acq instead of
7063         catomic_compare_and_exchange_bool_acq.
7064
7065 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7066
7067         * elf/Makefile (others, install-bin): Remove pldd.
7068         (pldd-modules): Variable removed.
7069         ($(objpfx)pldd): Target removed.
7070         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7071         (others, install-bin): Append pldd here.
7072         ($(objpfx)pldd): New target.
7073
7074         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7075         to 0, so the first #if test emitted later doesn't see it undefined.
7076         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7077         * sysdeps/gnu/errlist.c: Regenerated.
7078
7079 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7080
7081         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7082         [libc_hidden_builtin_def]: Define to empty value.
7083         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7084         [libc_hidden_builtin_def]: Likewise.
7085         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7086         [libc_hidden_builtin_def]: Likewise.
7087         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7088         [libc_hidden_builtin_def]: Likewise.
7089         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7090         __redirect_memcpy and define ifunc as default hidden symbol.
7091         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7092         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7093
7094 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7095
7096         * locale/iso-4217.def: Reintroduce XDR currency.
7097
7098 2014-05-04  Allan McRae  <allan@archlinux.org>
7099
7100         * po/eo.po: Update Esperanto translation from translation project.
7101
7102 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7103
7104         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7105         and FEATURE_INDEX_MAX to 1.
7106         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7107
7108 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7109
7110         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7111         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7112         * iconvdata/big5.c (ONE_DIRECTION): Define.
7113         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7114         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7115         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7116         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7117         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7118         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7119         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7120         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7121         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7122         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7123         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7124         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7125         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7126         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7127         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7128         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7129         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7130         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7131         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7132         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7133         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7134         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7135         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7136         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7137         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7138         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7139         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7140         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7141         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7142         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7143         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7144         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7145         * iconvdata/johab.c (ONE_DIRECTION): Define.
7146         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7147         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7148         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7149         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7150         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7151         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7152         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7153         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7154         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7155         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7156
7157 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7158
7159         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7160         (_IO_JUMPS_OFFSET): Define to 0.
7161
7162         * nptl/sysdeps/pthread/bits/libc-lock.h
7163         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7164         (__libc_lock_define_initialized_recursive): Always define using
7165         initializer.  Modern compilers treat uninitialized (implicit zero) and
7166         explicit zero initializers the same (i.e. put the datum in bss).
7167
7168 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7169
7170         * nscd/nscd-client.h: Include <string.h>.
7171
7172 2014-05-01  David S. Miller  <davem@davemloft.net>
7173
7174         [BZ #16885]
7175         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7176         multiple zero bytes exist at the end of a string.
7177         Reported by Aurelien Jarno <aurelien@aurel32.net>
7178
7179         * string/test-strcmp.c (check): Add explicit test for situations where
7180         there are multiple zero bytes after the first.
7181
7182 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7183
7184         [BZ #16890]
7185         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7186         when compiling wprintf.
7187         * stdio-common/tstdiomisc.c (t3): New function.
7188         (main): Call it.
7189
7190 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7191
7192         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7193         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7194         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7195         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7196
7197 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7198
7199         * stdlib/longlong.h: Updated from GCC.
7200
7201 2014-05-01  Will Newton  <will.newton@linaro.org>
7202             Bernard Ogden  <bernie.ogden@linaro.org>
7203
7204         * NEWS: Update fixed bug list.
7205
7206         [BZ #15119]
7207         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7208
7209 2014-04-30  David S. Miller  <davem@davemloft.net>
7210
7211         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7212         (libc_feholdexcept_setround_sparc_ctx): New function.
7213         (libc_fesetenv_sparc_ctx): Likewise.
7214         (libc_feupdateenv_sparc_ctx): Likewise.
7215         (libc_feholdsetround_sparc_ctx): Likewise.
7216         (libc_feholdexcept_setround_ctx): Define.
7217         (libc_feholdexcept_setroundf_ctx): Likewise.
7218         (libc_feholdexcept_setroundl_ctx): Likewise.
7219         (libc_fesetenv_ctx): Likewise.
7220         (libc_fesetenvf_ctx): Likewise.
7221         (libc_fesetenvl_ctx): Likewise.
7222         (libc_feupdateenv_ctx): Likewise.
7223         (libc_feupdateenvf_ctx): Likewise.
7224         (libc_feupdateenvl_ctx): Likewise.
7225         (libc_feresetround_ctx): Likewise.
7226         (libc_feresetroundf_ctx): Likewise.
7227         (libc_feresetroundl_ctx): Likewise.
7228         (libc_feholdsetround_ctx): Likewise.
7229         (libc_feholdsetroundf_ctx): Likewise.
7230         (libc_feholdsetroundl_ctx): Likewise.
7231
7232         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7233         with __USE_GNU instead of XOPEN cpp guards.
7234
7235         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7236         0.
7237
7238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7239         with XOPEN cpp guards.
7240
7241 2014-04-30  Julian Brown  <julian@codesourcery.com>
7242
7243         [BZ #16888]
7244         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7245         handling.
7246
7247 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7248
7249         [BZ #9894]
7250         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7251         Change to 2.6.32.
7252         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7253         * sysdeps/unix/sysv/linux/configure: Regenerated.
7254         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7255         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7256         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7257         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7258         * README: Update reference to required Linux kernel version.
7259         * manual/install.texi (Linux): Update reference to required Linux
7260         kernel headers version.
7261         * INSTALL: Regenerated.
7262
7263         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7264         header inclusion.
7265         [POSIX] (limits.h): Likewise.
7266         [POSIX] (math.h): Likewise.
7267         [POSIX] (sys/wait.h): Likewise.
7268         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7269         function.
7270         [POSIX] (stddef.h): Do not allow header inclusion.
7271
7272 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7273
7274         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7275
7276 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7277
7278         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7279         Return immediately after lll_futex_wake.
7280
7281 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7282
7283         [BZ #16791]
7284         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7285         structure.
7286         (datahead_init_pos): Call datahead_init_common early.
7287         (datahead_init_neg): Likewise.
7288
7289         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7290         datahead_init_neg): New functions.
7291         * nscd/aicache.c (addhstaiX): Use them.
7292         * nscd/grpcache.c (cache_addgr): Likewise.
7293         * nscd/hstcache.c (cache_addhst): Likewise.
7294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7295         * nscd/netgroupcache.c (do_notfound): Likewise.
7296         (addgetnetgrentX): Likewise.
7297         (addinnetgrX): Likewise.
7298         * nscd/pwdcache.c (cache_addpw): Likewise.
7299         * nscd/servicescache.c (cache_addserv): Likewise.
7300
7301 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7302             Atsushi Onoe  <atsushi@onoe.org>
7303
7304         [BZ #14308]
7305         [BZ #12994]
7306         [BZ #13651]
7307         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7308         one response is valid.
7309         * resolv/res_send.c (send_dg): Check for validity of other
7310         response if the current response is a referral.
7311
7312 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7313
7314         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7315
7316 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7317
7318         [BZ #16823]
7319         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7320         Always divide by positive zero when computing -Inf result.
7321         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7322         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7323
7324 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7325
7326         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7327         FPSCR if value do not change.
7328         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7329         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7330         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7331         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7332         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7333         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7334         function.
7335
7336 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7337
7338         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7339         * sysdeps/unix/sysv/linux/hppa: Move directory from
7340         ports/systeps/unix/sysv/linux/hppa.
7341         * README: Update listing for hppa-*-linux-gnu.
7342
7343 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7344
7345         [BZ #16754]
7346         * manual/stdio.texi (Hook functions): Fix types of stream hook
7347         functions.
7348         [BZ #16854]
7349         * socket/sys/socket.h: Fix typo in comment.
7350
7351 2014-04-28  Wilco  <wdijkstr@arm.com>
7352
7353         * sysdeps/arm/fenv_private.h: New file.
7354         * sysdeps/arm/math_private.h: New file.
7355         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7356
7357 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7358
7359         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7360         with __int128_t.
7361         (La_x86_64_retval): Likewise.
7362
7363 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7364
7365         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7366         fpsr if value didn't change.
7367         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7368         to fpcr if value didn't change.
7369         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7370         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7371         fpsr or fpcr if value didn't change.
7372         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7373         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7374         fpcr if value didn't change.
7375         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7376         to fpsr if value didn't change.
7377
7378 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7379
7380         * nptl/tst-sem3.c: Use test-skeleton.c
7381         (main): Rename to do_test.  Use return instead of
7382         exit.
7383         * nptl/tst-sem4.c: Use test-skeleton.c
7384         (main): Rename to do_test.
7385
7386 2014-04-22  David S. Miller  <davem@davemloft.net>
7387
7388         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7389         (struct sigaction): New struct member __glibc_reserved0, change
7390         type of sa_flags to int.
7391
7392 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7393
7394         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7395         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7396
7397 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7398
7399         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7400         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7401
7402 2014-04-22  Will Newton  <will.newton@linaro.org>
7403             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7404
7405         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7406         (__longjmp): Add longjmp and longjmp_target SystemTap
7407         probes.
7408         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7409         (__sigsetjmp): Add setjmp SystemTap probe.
7410
7411 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7412
7413         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7414         match manual order.
7415
7416 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7417
7418         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7419
7420         * sysdeps/powerpc/fpu/fenv_private.h
7421         (libc_feholdexcept_setroundl_ctx): Define to
7422         libc_feholdexcept_setround_ppc_ctx.
7423         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7424         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7425         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7426         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7427
7428 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7429
7430         * sysdeps/aarch64/math-tests.h: New file.
7431
7432 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7433
7434         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7435         New.
7436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7437         Check and set bit_AVX2_Usable.
7438         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7439         macro.
7440         (bit_AVX2): Likewise.
7441         (index_AVX2_Usable): Likewise.
7442         (CPUID_AVX2): Likewise.
7443         (HAS_AVX2): Likewise.
7444
7445 2014-04-17  Will Newton  <will.newton@linaro.org>
7446
7447         * manual/setjmp.texi (System V contexts): Add note that
7448         calling setcontext on a context created by a call to a
7449         signal handler is undefined.  Update text to note that
7450         setcontext from a signal handler is possible but not
7451         recommended.
7452
7453         [BZ #16629]
7454         * stdlib/tst-setcontext.c: Include signal.h.
7455         (main): Check that the signal stack before and
7456         after swapcontext is the same.
7457
7458         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7459         Re-implement to restore registers in user code and avoid
7460         rt_sigreturn system call.
7461
7462 2014-04-17  Wilco  <wdijkstr@arm.com>
7463
7464         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7465         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7466         * math/test-fenv.c: Skip exception trap tests on targets which only
7467         support non-stop mode.
7468
7469 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7470             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7471
7472         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7473         (libc_feholdsetround_aarch64_ctx)
7474         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7475         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7476         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7477         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7478         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7479         (libc_feresetround_noexl_ctx): Define.
7480
7481 2014-04-16  Richard Henderson  <rth@redhat.com>
7482
7483         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7484
7485         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7486         unwind tables.
7487
7488         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7489         const from the non-libc, non-ldso copy.
7490
7491         * sysdeps/alpha/libm-test-ulps: Regenerate.
7492
7493 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7494             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7495
7496         * sysdeps/aarch64/fpu/math_private.h: New file.
7497
7498 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7499
7500         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7501
7502 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7503
7504         [BZ #16275]
7505         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7506         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7508         Intel MPX bound registers before _dl_profile_fixup.
7509         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7510         registers after _dl_profile_fixup.  Save and restore bound
7511         registers bnd0/bnd1 when calling _dl_call_pltexit.
7512         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7513         (LR_BND_OFFSET): Likewise.
7514         (LRV_BND0_OFFSET): Likewise.
7515         (LRV_BND1_OFFSET): Likewise.
7516
7517 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7518
7519         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7520         to...
7521         * sysdeps/mach/hurd/i386/tls.h: ... here.
7522         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7523         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7524         fields.
7525
7526 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7527
7528         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7529
7530 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7531
7532         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7533
7534 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7535
7536         [BZ #14770]
7537         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7538         * sysdeps/s390/configure: Regenerate.
7539
7540         [BZ #16824]
7541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7542         Set round-to-nearest internally to reduce error accumulation.
7543
7544 2014-04-16  Alan Modra  <amodra@gmail.com>
7545
7546         [BZ #16740]
7547         [BZ #16619]
7548         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7549         * math/libm-test.inc (frexp_test_data): Add tests.
7550         * NEWS: Update fixed bug list.
7551
7552 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7553
7554         * benchtests/Makefile: Depend on libraries in build directory.
7555         (bench-math): Separate out math tests.
7556         (bench-pthread): Separate out pthread tests.
7557         (bench): Include math and pthread tests.
7558
7559 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7560
7561         [BZ #16831]
7562         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7563         _dl_debug_initialize.
7564
7565         * configure.ac: Remove SELinux header check.
7566         * configure: Regenerate.
7567         * nscd/selinux.c (perms): Array of const char* to permission names.
7568         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7569         default policy. Call string_to_security_class and string_to_av_perm to
7570         translate strings. Enforce default policy and call avs_has_perm with
7571         results of translated strings.
7572
7573 2014-04-13  David S. Miller  <davem@davemloft.net>
7574
7575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7576
7577 2014-04-12  Allan McRae  <allan@archlinux.org>
7578
7579         [BZ #16838]
7580         * manual/string.texi (Collation Functions): Fix qsort argument
7581         order in example.
7582         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7583
7584 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7585
7586         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7587         Make the test a no-op if there are no exceptions defined.
7588
7589 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7590
7591         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7592         enable-hardcoded-path-in-tests
7593
7594 2014-04-11  Will Newton  <will.newton@linaro.org>
7595
7596         * benchtests/Makefile (extra-objs): Add json-lib.o.
7597         (bench-func): Tidy up JSON output.
7598         * benchtests/bench-skeleton.c: Include json-lib.h.
7599         (main): Use JSON library functions to do output of
7600         benchmark results.
7601         * benchtests/bench-timing-type.c (main): Output the
7602         timing type simply, leaving formatting to the user.
7603         * benchtests/json-lib.c: New file.
7604         * benchtests/json-lib.h: Likewise.
7605
7606 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7607
7608         [BZ #15215]
7609         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7610         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7611         memory barriers.  Add comments.
7612         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7613         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7614         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7615         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7616         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7617         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7618
7619 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7620
7621         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7622         * sysdeps/s390/s390-64/configure.ac: ... this ...
7623         * sysdeps/s390/configure.ac: ... to here.
7624         * sysdeps/s390/s390-32/configure: Delete file.
7625         * sysdeps/s390/s390-64/configure: Delete file.
7626         * sysdeps/s390/configure: Regenerate.
7627
7628 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7629
7630         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7631
7632 2014-04-11  Will Newton  <will.newton@linaro.org>
7633
7634         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7635         to zero if it is not defined elsewhere.  (mtrim): Test
7636         the value of MALLOC_DEBUG with #if rather than #ifdef.
7637
7638 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7639
7640         * benchtests/pthread_once-inputs: New file.
7641         * benchtests/pthread_once-source.c: New file.
7642         * benchtests/README: Update documentation.
7643
7644 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7645             H.J. Lu  <hongjiu.lu@intel.com>
7646
7647         [BZ #16275]
7648         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7649         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7650         * sysdeps/x86_64/configure: Regenerated.
7651         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7652         macro.
7653         (REGISTER_SAVE_RAX): Likewise.
7654         (REGISTER_SAVE_RCX): Likewise.
7655         (REGISTER_SAVE_RDX): Likewise.
7656         (REGISTER_SAVE_RSI): Likewise.
7657         (REGISTER_SAVE_RDI): Likewise.
7658         (REGISTER_SAVE_R8): Likewise.
7659         (REGISTER_SAVE_R9): Likewise.
7660         (REGISTER_SAVE_BND0): Likewise.
7661         (REGISTER_SAVE_BND1): Likewise.
7662         (REGISTER_SAVE_BND2): Likewise.
7663         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7664         bound registers when calling _dl_fixup.
7665
7666 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7667
7668         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7669         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7670         of its definition.
7671         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7672         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7673         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7674         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7675         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7676         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7677         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7678
7679 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7680
7681         [BZ #15514]
7682         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7683         pathconf(_PC_NAME_MAX).
7684
7685 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7686
7687         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7688         Remove macro usage.
7689         (__PTHREAD_SPINS): Move definition to ...
7690         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7691         (__PTHREAD_SPINS): ... here.
7692         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7693         (__PTHREAD_SPIN): Likewise.
7694         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7695         (__PTHREAD_SPIN): Likewise.
7696         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7697         (__PTHREAD_SPIN): Likewise.
7698         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7699         (__PTHREAD_SPIN): Likewise.
7700         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7701         (__PTHREAD_SPIN): Likewise.
7702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7703         (__PTHREAD_SPIN): Likewise.
7704         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7705         (__PTHREAD_SPIN): Likewise.
7706         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7707         (__PTHREAD_SPIN): Likewise.
7708         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7709         (__PTHREAD_SPIN): Likewise.
7710         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7711         (__PTHREAD_SPIN): Likewise.
7712         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7713         (__PTHREAD_SPIN): Likewise.
7714         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7715         (__PTHREAD_SPIN): Likewise.
7716
7717         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7718         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7719         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7720         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7721         imply folder.
7722         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7723         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7724         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7725         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7726         correct imply path.
7727         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7728         strlen symbol for non multi-arch builds.
7729         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7730         missing hidden_def and weak_alias.
7731
7732 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7733
7734         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7735
7736 2014-04-07  Will Newton  <will.newton@linaro.org>
7737
7738         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7739         and contents.  [!_LIBC] Remove #ifndef and contents.
7740         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7741         * string/memccpy.c (__memccpy): Use ANSI prototype.
7742         * string/memfrob.c (memfrob): Likewise.
7743         * string/strcoll.c (STRCOLL): Likewise.
7744         * string/strlen.c (strlen): Likewise.
7745         * string/strtok.c (STRTOK): Likewise.
7746         * string/strcat.c: Remove unused #include of memcopy.h.
7747         (strcat): Use ANSI prototype.
7748         * string/strchr.c: Remove unused #include of memcopy.h.
7749         (strchr): Use ANSI prototype.
7750         * string/strcmp.c: Remove unused #include of memcopy.h.
7751         (strcmp): Use ANSI prototype.
7752         * string/strcpy.c: Remove unused #include of memcopy.h.
7753         (strcpy): Use ANSI prototype.
7754
7755 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7756
7757         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7758         * config.make.in (config-extra-cppflags): Set it from
7759         libc_extra_cppflags.
7760         * configure.ac (libc_extra_cflags): Make it accumulate over
7761         configure fragments.
7762         (libc_extra_cppflags): New flag.
7763         * configure. Regenerate.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7765         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7766         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7768
7769         [BZ #16815]
7770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7771         result for FE_DOWNWARD rounding mode.
7772         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7773         Likewise.
7774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7775
7776 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7777
7778         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7779         in function argument name.
7780
7781 2014-04-03  David Svoboda  <svoboda@cert.org>
7782
7783         [BZ #5666]
7784         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7785         explicitly.
7786
7787 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7788
7789         * elf/dl-unmap-segments.h: New file.
7790         * sysdeps/generic/ldsodefs.h
7791         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7792         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7793         * elf/dl-fptr.c: Likewise.
7794         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7795         * sysdeps/aarch64/tlsdesc.c: Likewise.
7796         * sysdeps/arm/tlsdesc.c: Likewise.
7797         * sysdeps/i386/tlsdesc.c: Likewise.
7798         * sysdeps/tile/dl-runtime.c: Likewise.
7799         * sysdeps/x86_64/tlsdesc.c: Likewise.
7800         * elf/dl-load.h: New file.
7801         * elf/dl-load.c: Include it.
7802         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7803         Macros moved to dl-load.h.
7804         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7805         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7806         Use _dl_unmap_segments in place of __munmap.
7807         Break out segment-mapping loop into ...
7808         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7809
7810 2014-04-03  Will Newton  <will.newton@linaro.org>
7811
7812         * elf/dl-lookup.c (do_lookup_x): Remove comment
7813         referring to nested function and move variable
7814         declarations down to before first use.
7815
7816 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7817
7818         [BZ #16799]
7819         [BZ #16800]
7820         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7821         with 0 numerator.
7822         * math/s_catanf.c (__catanf): Likewise.
7823         * math/s_catanh.c (__catanh): Likewise.
7824         * math/s_catanhf.c (__catanhf): Likewise.
7825         * math/s_catanhl.c (__catanhl): Likewise.
7826         * math/s_catanl.c (__catanl): Likewise.
7827         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7828         by positive zero when computing -Inf result.
7829         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7830         (catanh_test): Likewise.
7831         * sysdeps/i386/fpu/libm-test-ulps: Update.
7832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7833
7834         [BZ #16789]
7835         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7836         instead of using underflowing value in computing result.
7837         * math/s_clog10.c (__clog10): Likewise.
7838         * math/s_clog10f.c (__clog10f): Likewise.
7839         * math/s_clog10l.c (__clog10l): Likewise.
7840         * math/s_clogf.c (__clogf): Likewise.
7841         * math/s_clogl.c (__clogl): Likewise.
7842         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7843         (clog10_test): Likewise.
7844         * sysdeps/i386/fpu/libm-test-ulps: Update.
7845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7846
7847 2014-04-02  Alan Modra  <amodra@gmail.com>
7848
7849         [BZ #16739]
7850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7851         output when value is near a power of two.  Use int64_t for lx and
7852         remove casts.  Use decimal rather than hex exponent constants.
7853         Don't use long double multiplication when double will suffice.
7854         * math/libm-test.inc (nextafter_test_data): Add tests.
7855         * NEWS: Add 16739 and 16786 to bug list.
7856
7857         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7858
7859         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7860
7861 2014-04-01  Will Newton  <will.newton@linaro.org>
7862
7863         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7864         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7865
7866 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7867
7868         [BZ #13347]
7869         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7870         * nptl/tst-setuid2.c: New file.
7871         * nptl/Makefile (xtests): Add tst-setuid2.
7872
7873 2014-04-01  Alan Modra  <amodra@gmail.com>
7874
7875         [BZ #16786]
7876         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7877
7878 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7879
7880         [BZ #6803]
7881         [BZ #6804]
7882         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7883         set errno as appropriate.
7884         * math/w_scalbf.c (__scalbf): Likewise.
7885         * math/w_scalbl.c (__scalbl): Likewise.
7886         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7887         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7888         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7889         Add more NaN tests.
7890
7891         [BZ #16349]
7892         * math/w_atan2.c: Include <errno.h>.
7893         (__atan2): Set errno for result underflowing to zero.
7894         * math/w_atan2f.c: Include <errno.h>.
7895         (__atan2f): Set errno for result underflowing to zero.
7896         * math/w_atan2l.c: Include <errno.h>.
7897         (__atan2l): Set errno for result underflowing to zero.
7898         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7899         tests.
7900         * math/auto-libm-test-out: Regenerated.
7901
7902 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7903
7904         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7905         Encode instruction correctly in little endian.
7906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7907         Likewise.
7908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7909         Likewise.
7910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7911         Likewise.
7912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7913         Likewise.
7914
7915 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7916
7917         [BZ #9894]
7918         * sysdeps/unix/sysv/linux/kernel-features.h
7919         [__sparc__ && !__arch64__ && !__sparc_v9__]
7920         (__ASSUME_SET_ROBUST_LIST): Do not define.
7921         [__sparc__ && !__arch64__ && !__sparc_v9__]
7922         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7923         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7924         Likewise.
7925         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7926         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7927         (__ASSUME_REQUEUE_PI): Likewise.
7928         (__ASSUME_SET_ROBUST_LIST): Likewise.
7929         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7930         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7931         Undefine.
7932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7933         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7934         Likewise.
7935         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7936         Likewise.
7937         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7940         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7941         Undefine.
7942         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7943         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7944         Likewise.
7945
7946         [BZ #16648]
7947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7949         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7950
7951 2014-03-31  Will Newton  <will.newton@linaro.org>
7952
7953         * benchtests/Makefile (bench): Add ffs and ffsll to list
7954         of tests.
7955         * benchtests/ffs-inputs: New file.
7956         * benchtests/ffsll-inputs: Likewise.
7957
7958 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7959
7960         [BZ #16770]
7961         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7962         too large before casting to int.
7963         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7964         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7965         * math/libm-test.inc (scalb_test_data): Add more tests.
7966
7967 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7968
7969         * benchtests/Makefile (DETAILED_OPT): New make option.
7970         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7971         set.
7972         * benchtests/bench-skeleton.c: Include stdbool.h.
7973         (main): Store and print timings per input.
7974         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7975         member to each argument value.
7976         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7977         (_print_arg_data): Initialize per-input timing to 0.
7978
7979         * benchtests/Makefile (timing-type): New binary.
7980         (bench-clean): Also remove bench-timing-type.
7981         (bench): New target for timing-type.
7982         (bench-func): Print output in JSON format.
7983         * benchtests/bench-skeleton.c (main): Print output in JSON
7984         format.
7985         * benchtests/bench-timing-type.c: New file.
7986         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7987         (TIMING_PRINT_STATS): Remove.
7988         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7989         name separately.
7990
7991         * benchtests/bench-modf.c: Remove.
7992         * benchtests/modf-inputs: New inputs file.
7993
7994 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7995
7996         [BZ #16362]
7997         * math/s_clog10.c (M_PI_LOG10E): New macro.
7998         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7999         imaginary parts are 0.
8000         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8001         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8002         imaginary parts are 0.
8003         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8004         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8005         imaginary parts are 0.
8006         * math/libm-test.inc (clog10_test_data): Update expected results
8007         for when real and imaginary parts are 0.
8008
8009 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8010
8011         * elf/dl-load.c: Finish conversion of __builtin_expect into
8012         __glibc_{un}likely.
8013
8014 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8015
8016         [BZ #16348]
8017         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8018         1+x for argument with exponent below -67.
8019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8020         Likewise.
8021         * math/auto-libm-test-in: Add more tests of exp.
8022         * math/auto-libm-test-out: Regenerated.
8023
8024 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8025
8026         [BZ #16759]
8027         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8028         (nscd_getnetgrent): Use it.
8029
8030         [BZ #16760]
8031         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8032         of stpcpy.
8033
8034 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8035
8036         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8037         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8038         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8039         (lll_robust_unlock): Remove out of line section. Use cfi
8040         intrinsics.
8041         (LLL_STUB_UNWIND_INFO*): Remove.
8042         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8043         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8044         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8045         (lll_robust_unlock): Remove out of line section. Use cfi
8046         intrinsics.
8047         (LLL_STUB_UNWIND_INFO*): Remove.
8048
8049 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8050
8051         [BZ #16758]
8052         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8053         blank values.
8054
8055 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8056
8057         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8058
8059 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8060
8061         [BZ #16198]
8062         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8063         fnstenv.
8064         * math/test-fenv-preserve.c: New file.
8065         * math/Makefile (tests): Add test-fenv-preserve.
8066
8067 2014-03-26  Will Newton <will.newton@linaro.org>
8068
8069         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8070
8071 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8072
8073         * scripts/versionlist.awk: Partition the version sets and emit all
8074         GLIBC_* (sorted) before all others (sorted).
8075
8076 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8077
8078         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8079         GLIBC_2.2.5 version.
8080
8081 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8082
8083         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8084         calls.
8085
8086         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8087         previous change.
8088
8089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8090
8091 2014-03-25  Andreas Schwab  <schwab@suse.de>
8092
8093         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8094         label to be used after in6ailist is initialized.
8095
8096 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8097
8098         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8099         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8100
8101 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8102
8103         [BZ #16357]
8104         [BZ #16599]
8105         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8106         min_plus_half.
8107         (fp_formats): Update initializers.
8108         (init_fp_formats): Initialize new field.
8109         (output_for_one_input_case): Allow underflow for results up to
8110         min_plus_half.
8111         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8112         * math/auto-libm-test-in: Don't mark some underflows from asin and
8113         atanh as spurious.
8114         * math/auto-libm-test-out: Regenerated.
8115         * sysdeps/i386/fpu/libm-test-ulps: Update.
8116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8117
8118 2014-03-25  Andreas Schwab  <schwab@suse.de>
8119
8120         * libio/Makefile (tst-ftell-partial-wide-ENV)
8121         (tst-ftell-active-handler-ENV): Define.
8122
8123 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8124
8125         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8126
8127 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8128
8129         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8130
8131 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8132
8133         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8134         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8135         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8136
8137 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8138
8139         [BZ #16634]
8140         * elf/dl-load.c (open_verify): Add mode parameter.
8141         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8142         (open_path): Change from boolean 'secure' to complete flag 'mode'
8143         (_dl_map_object): Adjust.
8144         * elf/Makefile (tests): Add tst-dlopen-aout.
8145         * elf/tst-dlopen-aout.c: New test.
8146
8147 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8148
8149         [BZ #16714]
8150         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8151         (struct stat): Rename member pad0 to __glibc_reserved0.
8152
8153         [BZ #16712]
8154         * sysdeps/s390/s390-32/bits/wordsize.h
8155         (__WORDSIZE32_SIZE_ULONG): New define.
8156         * sysdeps/s390/s390-64/bits/wordsize.h
8157         (__WORDSIZE32_SIZE_ULONG): Likewise.
8158         * sysdeps/generic/stdint.h (SIZE_MAX):
8159         Define as UL if __WORDSIZE32_SIZE_ULONG.
8160
8161         [BZ #16713]
8162         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8163         (__glibc_reserved0): New variable.
8164         (sa_flags): Change type to int.
8165
8166         * posix/Makefile (before-compile): Use += before-compile instead
8167         of a :=.
8168
8169         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8170         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8171
8172 2014-03-20  Andreas Schwab  <schwab@suse.de>
8173
8174         [BZ #16743]
8175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8176         non-matching result from nscd.
8177
8178 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8179
8180         * scripts/bench.py: Moved to ...
8181         * benchtests/scripts/bench.py: ... here.
8182         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8183
8184 2014-03-24  Andreas Schwab  <schwab@suse.de>
8185
8186         [BZ #16002]
8187         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8188         alloca_account and account alloca use for struct in6ailist.
8189
8190 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8191
8192         [BZ #16284]
8193         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8194         rounding mode to recompute results that overflow to infinity or
8195         underflow to zero.
8196         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8197         bug 16284.
8198         * math/auto-libm-test-out: Regenerated.
8199         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8200         (ccosh_test): Likewise.
8201         (csin_test_data): Use plus_oflow.
8202         (csin_test): Use ALL_RM_TEST.
8203         (csinh_test_data): Use plus_oflow.
8204         (csinh_test): Use ALL_RM_TEST.
8205         * sysdeps/i386/fpu/libm-test-ulps: Update.
8206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8207
8208 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8209
8210         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8211         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8212         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8213
8214         [BZ #16731]
8215         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8216         when x - 1 is zero.
8217         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8218         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8219         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8220         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8221         argument is 1.
8222         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8223         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8224         zero.
8225         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8226         * sysdeps/i386/fpu/libm-test-ulps: Update.
8227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8228
8229 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8230
8231         * scripts/bench.pl: Remove file.
8232         * scripts/bench.py: New benchmark script.
8233         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8234         * benchtests/README: Mention python dependency.
8235         * scripts/pylintrc: New file.
8236         * scripts/pylint: New file.
8237
8238         * bits/mathdef.h: Use #ifdef instead of #if.
8239         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8240         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8241         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8242         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8243         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8244         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8245
8246 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8247             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8248
8249         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8251         and strpbrk-ppc64 objects.
8252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8253         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8254         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8255         multiarch strpbrk for POWER7.
8256         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8257         multiarch strpbrk for PPC64.
8258         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8259         ifunc selector.
8260         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8261         strpbrk for POWER7.
8262
8263 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8264
8265         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8266         (atan_test): Likewise.
8267         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8268         (atanh_test): Use ALL_RM_TEST.
8269         (atan2_test_data): Likewise.
8270         (cabs_test): Likewise.
8271         (cacosh_test): Likewise.
8272         (carg_test): Likewise.
8273         (casin_test): Likewise.
8274         (casinh_test): Likewise.
8275         (cbrt_test): Likewise.
8276         (csqrt_test): Likewise.
8277         (erf_test): Likewise.
8278         (erfc_test): Likewise.
8279         (pow10_test): Likewise.
8280         (exp2_test): Likewise.
8281         (hypot_test): Likewise.
8282         (j0_test): Likewise.
8283         (j1_test): Likewise.
8284         (lgamma_test): Likewise.
8285         (gamma_test): Likewise.
8286         (sincos_test): Likewise.
8287         (tanh_test): Likewise.
8288         (y0_test): Likewise.
8289         (y1_test): Likewise.
8290         * sysdeps/i386/fpu/libm-test-ulps: Update.
8291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8292
8293 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8294
8295         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8297         and strcspn-ppc64 objects.
8298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8299         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8300         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8301         multiarch strcspn for POWER7.
8302         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8303         multiarch strcspn for PPC64.
8304         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8305         ifunc selector.
8306         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8307         strcspn for POWER7.
8308
8309 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8310
8311         * math/gen-libm-test.pl (generate_testfile): Expect only function
8312         name as argument to AUTO_TESTS_* and pass results for all rounding
8313         modes to parse_args.
8314         (parse_auto_input): Separate inputs of automatic tests from
8315         outputs before storing in %auto_tests.
8316         * math/libm-test.inc (acos_test_data): Update call to
8317         AUTO_TESTS_f_f.
8318         (acos_test): Use ALL_RM_TEST.
8319         (acos_tonearest_test_data): Remove.
8320         (acos_test_tonearest): Likewise.
8321         (acos_towardzero_test_data): Likewise.
8322         (acos_test_towardzero): Likewise.
8323         (acos_downward_test_data): Likewise.
8324         (acos_test_downward): Likewise.
8325         (acos_upward_test_data): Likewise.
8326         (acos_test_upward): Likewise.
8327         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8328         (asin_test_data): Likewise.
8329         (asin_test): Use ALL_RM_TEST.
8330         (asin_tonearest_test_data): Remove.
8331         (asin_test_tonearest): Likewise.
8332         (asin_towardzero_test_data): Likewise.
8333         (asin_test_towardzero): Likewise.
8334         (asin_downward_test_data): Likewise.
8335         (asin_test_downward): Likewise.
8336         (asin_upward_test_data): Likewise.
8337         (asin_test_upward): Likewise.
8338         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8339         (atan_test_data): Likewise.
8340         (atanh_test_data): Likewise.
8341         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8342         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8343         (carg_test_data): Likewise.
8344         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8345         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8346         (ccosh_test_data): Likewise.
8347         (cexp_test_data): Likewise.
8348         (clog_test_data): Likewise.
8349         (clog10_test_data): Likewise.
8350         (cos_test_data): Update call to AUTO_TESTS_f_f.
8351         (cos_test): Use ALL_RM_TEST.
8352         (cos_tonearest_test_data): Remove.
8353         (cos_test_tonearest): Likewise.
8354         (cos_towardzero_test_data): Likewise.
8355         (cos_test_towardzero): Likewise.
8356         (cos_downward_test_data): Likewise.
8357         (cos_test_downward): Likewise.
8358         (cos_upward_test_data): Likewise.
8359         (cos_test_upward): Likewise.
8360         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8361         (cosh_test): Use ALL_RM_TEST.
8362         (cosh_tonearest_test_data): Remove.
8363         (cosh_test_tonearest): Likewise.
8364         (cosh_towardzero_test_data): Likewise.
8365         (cosh_test_towardzero): Likewise.
8366         (cosh_downward_test_data): Likewise.
8367         (cosh_test_downward): Likewise.
8368         (cosh_upward_test_data): Likewise.
8369         (cosh_test_upward): Likewise.
8370         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8371         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8372         (ctan_test_data): Likewise.
8373         (ctan_test): Use ALL_RM_TEST.
8374         (ctan_tonearest_test_data): Remove.
8375         (ctan_test_tonearest): Likewise.
8376         (ctan_towardzero_test_data): Likewise.
8377         (ctan_test_towardzero): Likewise.
8378         (ctan_downward_test_data): Likewise.
8379         (ctan_test_downward): Likewise.
8380         (ctan_upward_test_data): Likewise.
8381         (ctan_test_upward): Likewise.
8382         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8383         (ctanh_test): Use ALL_RM_TEST.
8384         (ctanh_tonearest_test_data): Remove.
8385         (ctanh_test_tonearest): Likewise.
8386         (ctanh_towardzero_test_data): Likewise.
8387         (ctanh_test_towardzero): Likewise.
8388         (ctanh_downward_test_data): Likewise.
8389         (ctanh_test_downward): Likewise.
8390         (ctanh_upward_test_data): Likewise.
8391         (ctanh_test_upward): Likewise.
8392         (erf_test_data): Update call to AUTO_TESTS_f_f.
8393         (erfc_test_data): Likewise.
8394         (exp_test_data): Likewise.
8395         (exp_test): Use ALL_RM_TEST.
8396         (exp_tonearest_test_data): Remove.
8397         (exp_test_tonearest): Likewise.
8398         (exp_towardzero_test_data): Likewise.
8399         (exp_test_towardzero): Likewise.
8400         (exp_downward_test_data): Likewise.
8401         (exp_test_downward): Likewise.
8402         (exp_upward_test_data): Likewise.
8403         (exp_test_upward): Likewise.
8404         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8405         (exp10_test): Use ALL_RM_TEST.
8406         (exp10_tonearest_test_data): Remove.
8407         (exp10_test_tonearest): Likewise.
8408         (exp10_towardzero_test_data): Likewise.
8409         (exp10_test_towardzero): Likewise.
8410         (exp10_downward_test_data): Likewise.
8411         (exp10_test_downward): Likewise.
8412         (exp10_upward_test_data): Likewise.
8413         (exp10_test_upward): Likewise.
8414         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8415         (expm1_test_data): Likewise.
8416         (expm1_test): Use ALL_RM_TEST.
8417         (expm1_tonearest_test_data): Remove.
8418         (expm1_test_tonearest): Likewise.
8419         (expm1_towardzero_test_data): Likewise.
8420         (expm1_test_towardzero): Likewise.
8421         (expm1_downward_test_data): Likewise.
8422         (expm1_test_downward): Likewise.
8423         (expm1_upward_test_data): Likewise.
8424         (expm1_test_upward): Likewise.
8425         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8426         (fma_test): Use ALL_RM_TEST.
8427         (fma_towardzero_test_data): Remove.
8428         (fma_test_towardzero): Likewise.
8429         (fma_downward_test_data): Likewise.
8430         (fma_test_downward): Likewise.
8431         (fma_upward_test_data): Likewise.
8432         (fma_test_upward): Likewise.
8433         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8434         (j0_test_data): Update call to AUTO_TESTS_f_f.
8435         (j1_test_data): Likewise.
8436         (jn_test_data): Update call to AUTO_TESTS_if_f.
8437         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8438         (log_test_data): Update call to AUTO_TESTS_f_f.
8439         (log10_test_data): Likewise.
8440         (log1p_test_data): Likewise.
8441         (log2_test_data): Likewise.
8442         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8443         (pow_tonearest_test_data): Likewise.
8444         (sin_test_data): Update call to AUTO_TESTS_f_f.
8445         (sin_test): Use ALL_RM_TEST.
8446         (sin_tonearest_test_data): Remove.
8447         (sin_test_tonearest): Likewise.
8448         (sin_towardzero_test_data): Likewise.
8449         (sin_test_towardzero): Likewise.
8450         (sin_downward_test_data): Likewise.
8451         (sin_test_downward): Likewise.
8452         (sin_upward_test_data): Likewise.
8453         (sin_test_upward): Likewise.
8454         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8455         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8456         (sinh_test): Use ALL_RM_TEST.
8457         (sinh_tonearest_test_data): Remove.
8458         (sinh_test_tonearest): Likewise.
8459         (sinh_towardzero_test_data): Likewise.
8460         (sinh_test_towardzero): Likewise.
8461         (sinh_downward_test_data): Likewise.
8462         (sinh_test_downward): Likewise.
8463         (sinh_upward_test_data): Likewise.
8464         (sinh_test_upward): Likewise.
8465         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8466         (sqrt_test): Use ALL_RM_TEST.
8467         (sqrt_tonearest_test_data): Remove.
8468         (sqrt_test_tonearest): Likewise.
8469         (sqrt_towardzero_test_data): Likewise.
8470         (sqrt_test_towardzero): Likewise.
8471         (sqrt_downward_test_data): Likewise.
8472         (sqrt_test_downward): Likewise.
8473         (sqrt_upward_test_data): Likewise.
8474         (sqrt_test_upward): Likewise.
8475         (tan_test_data): Update call to AUTO_TESTS_f_f.
8476         (tan_test): Use ALL_RM_TEST.
8477         (tan_tonearest_test_data): Remove.
8478         (tan_test_tonearest): Likewise.
8479         (tan_towardzero_test_data): Likewise.
8480         (tan_test_towardzero): Likewise.
8481         (tan_downward_test_data): Likewise.
8482         (tan_test_downward): Likewise.
8483         (tan_upward_test_data): Likewise.
8484         (tan_test_upward): Likewise.
8485         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8486         (tgamma_test_data): Likewise.
8487         (y0_test_data): Likewise.
8488         (y1_test_data): Likewise.
8489         (yn_test_data): Update call to AUTO_TESTS_if_f.
8490         (main): Do not call removed functions.
8491
8492 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8493
8494         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8495         (ldexp_test_data): Remove.
8496         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8497         scalbn_test_data.
8498         (scalb_test): Use ALL_RM_TEST.
8499
8500 2014-03-19  Andreas Schwab  <schwab@suse.de>
8501
8502         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8503
8504 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8505
8506         [BZ #16649]
8507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8508         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8509         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8510         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8511         (__ASSUME_PREADV): Undefine.
8512         (__ASSUME_PWRITEV): Likewise.
8513
8514 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8515
8516         * bits/mman-linux.h: Add comment about non-Linux use.
8517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8518         bits/mman-linux.h resting place.
8519
8520         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8521         * bits/mman-linux.h: ... here.
8522
8523 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8524
8525         * conform/conformtest.pl: Add standard definition when calling C
8526         preprocessor on data files.
8527         (checknamespace): Remove unused variable.
8528
8529 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8530
8531         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8532         minus_oflow, plus_uflow and minus_uflow in expected results.
8533         * math/libm-test.inc (scalbn_test_data): Add more tests of
8534         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8535         minus_uflow.
8536         (scalbn_test): Use ALL_RM_TEST.
8537         (scalbln_test_data): Add more tests of negative arguments.  Use
8538         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8539         (scalbln_test): Use ALL_RM_TEST.
8540
8541 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8542
8543         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8544
8545 2014-03-18  Will Newton  <will.newton@linaro.org>
8546
8547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8548         inaccurate comment.
8549
8550 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8551
8552         * Makerules [!subdir] (check-abi): Exit with error status if a
8553         test failed.
8554
8555 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8556
8557         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8558         for rint.  Include results for all rounding modes.
8559         (nearbyint_test): Use ALL_RM_TEST.
8560         (rint_test_data): Include all tests used for nearbyint.
8561
8562 2014-03-17  Will Newton  <will.newton@linaro.org>
8563
8564         * nptl/sysdeps/pthread/pthread.h: Revert previous
8565         change.
8566
8567         * sysdeps/generic/ldsodefs.h: Revert previous
8568         change.
8569
8570         * libio/genops.c: Revert previous change.
8571         * libio/libioP.h: Likewise.
8572         * stdio-common/vfprintf.c: Likewise.
8573
8574         * sysdeps/generic/math_private.h: Revert previous
8575         change.
8576
8577         * sysdeps/generic/math_private.h: Check whether
8578         HAVE_RM_CTX is defined with #ifdef rather
8579         than #if.
8580
8581         * argp/argp-fmtstream.h: Check whether
8582         __STRICT_ANSI__ is defined with #ifdef rather
8583         than #if.
8584         * argp/argp.h: Likewise.
8585
8586         * libio/genops.c: Check whether
8587         _IO_JUMPS_OFFSET is defined with #ifdef rather
8588         than #if.
8589         * libio/libioP.h: Likewise.
8590         * stdio-common/vfprintf.c: Likewise.
8591
8592         * sysdeps/generic/ldsodefs.h: Check whether
8593         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8594         than #if.
8595
8596         * nptl/sysdeps/pthread/pthread.h: Check
8597         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8598         its value.
8599
8600 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8601
8602         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8603         setting O_APPEND.
8604         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8605         test case.
8606
8607         [BZ #16680]
8608         * libio/fileops.c (_IO_file_open): Seek to end of file but
8609         don't cache the offset.
8610         (get_file_offset): Remove function.
8611         (do_ftell): Use cached offset when available.
8612         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8613         don't cache the offset.
8614         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8615         case.
8616         (do_one_test): Call it.
8617         (do_ftell_test): Fix up expected old offset for a+ mode.
8618         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8619         available.
8620
8621         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8622         up test status with function return status.
8623         (do_write_test): Likewise.
8624         (do_append_test): Likewise.
8625
8626         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8627         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8628         Remove.
8629
8630 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8631
8632         * math/gen-libm-test.pl (parse_args): Handle results specified for
8633         each rounding mode separately.
8634         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8635         tests and results from lrint_tonearest_test_data,
8636         lrint_towardzero_test_data, lrint_downward_test_data and
8637         lrint_upward_test_data.
8638         (lrint_test): Use ALL_RM_TEST.
8639         (lrint_tonearest_test_data): Remove.
8640         (lrint_test_tonearest): Likewise.
8641         (lrint_towardzero_test_data): Likewise.
8642         (lrint_test_towardzero): Likewise.
8643         (lrint_downward_test_data): Likewise.
8644         (lrint_test_downward): Likewise.
8645         (lrint_upward_test_data): Likewise.
8646         (lrint_test_upward): Likewise.
8647         (llrint_test_data): Merge in per-rounding-mode tests and results
8648         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8649         llrint_downward_test_data and llrint_upward_test_data.
8650         (llrint_test): Use ALL_RM_TEST.
8651         (llrint_tonearest_test_data): Remove.
8652         (llrint_test_tonearest): Likewise.
8653         (llrint_towardzero_test_data): Likewise.
8654         (llrint_test_towardzero): Likewise.
8655         (llrint_downward_test_data): Likewise.
8656         (llrint_test_downward): Likewise.
8657         (llrint_upward_test_data): Likewise.
8658         (llrint_test_upward): Likewise.
8659         (rint_test_data): Merge in per-rounding-mode tests and results
8660         from rint_tonearest_test_data, rint_towardzero_test_data,
8661         rint_downward_test_data and rint_upward_test_data.  Add
8662         per-rounding-mode results for tests not in those arrays.
8663         (rint_test): Use ALL_RM_TEST.
8664         (rint_tonearest_test_data): Remove.
8665         (rint_test_tonearest): Likewise.
8666         (rint_towardzero_test_data): Likewise.
8667         (rint_test_towardzero): Likewise.
8668         (rint_downward_test_data): Likewise.
8669         (rint_test_downward): Likewise.
8670         (rint_upward_test_data): Likewise.
8671         (rint_test_upward): Likewise.
8672         (main): Don't call removed functions.
8673
8674 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8675
8676         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8677         "Compiled on ..." crapola.  It is anti-useful.
8678
8679 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8680
8681         * scripts/evaluate-test.sh: Handle fourth argument to determine
8682         whether test run should stop on failure.
8683         * Makeconfig (stop-on-test-failure): New variable.
8684         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8685         $(stop-on-test-failure).
8686         * Makefile (tests): Give a summary of results from testing and
8687         exit with failure status if they include an ERROR or FAIL.
8688         (xtests): Likewise.
8689         * manual/install.texi (Configuring and compiling): Mention
8690         stop-on-test-failure=y.
8691         * INSTALL: Regenerated.
8692
8693 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8694
8695         * scripts/versionlist.awk: New file.
8696         * Makerules [$(build-shared) = yes]
8697         (postclean-generated): Add Versions.def, not Versions.def.v and
8698         Versions.def.v.i.
8699         ($(common-objpfx)Versions.def.v.i): Target removed.
8700         ($(common-objpfx)Versions.def): New target.
8701         ($(common-objpfx)Versions.all): Depend on that rather that
8702         $(common-objpfx)Versions.def.v.
8703         * Versions.def: File removed.
8704
8705         * Makeconfig (+gccwarn): Add -Wundef.
8706         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8707         a dl-sysdep.h breaking its contract.
8708         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8709         * include/stackinfo.h: New file.
8710         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8711         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8712         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8713         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8714         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8715         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8716         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8717         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8718         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8719         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8720         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8721         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8722         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8723         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8724         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8725
8726 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8727
8728         [BZ #16707]
8729         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8730         implementation.
8731         * math/libm-test.inc (round_test_data): Add more tests.
8732
8733         [BZ #16706]
8734         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8735         implementation.
8736         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8737
8738         [BZ #16701]
8739         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8740         implementation.
8741         * math/libm-test.inc (ceil_test_data): Add more tests.
8742
8743         * math/libm-test.inc (trunc_test_data): Add more tests related to
8744         BZ#16414.
8745
8746 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8747
8748         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8749         with #if rather than #ifdef.
8750         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8751
8752 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8753
8754         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8755         first.  Disable AVX-512 GCC support if assembler doesn't support
8756         it.
8757         * sysdeps/x86_64/configure: Regenerated.
8758
8759 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8760
8761         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8762         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8763         (__old_pthread_attr_setstack): Likewise.
8764         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8765         [!_STACK_GROWS_DOWN]: Likewise.
8766
8767 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8768
8769         * config.make.in (have-bash2): Delete.
8770         * configure.ac (libc_cv_have_bash2): Delete.
8771         * configure: Regenerate.
8772         * elf/Makefile (common-ldd-rewrite): Rename to ...
8773         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8774         (sh-ldd-rewrite): Delete.
8775         (bash-ldd-rewrite): Delete.
8776         (have-bash2): Delete checks.
8777         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8778         ldd-rewrite.
8779
8780         * config.make.in (have-ksh): Delete.
8781         (KSH): Delete.
8782         * configure.ac (libc_cv_have_ksh): Delete.
8783         * configure: Regenerate.
8784
8785         * elf/Makefile: Delete $(have-ksh) check.
8786         ($(objpfx)sotruss): Change KSH to BASH.
8787         * elf/sotruss.ksh: Rename to ...
8788         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8789         function style to match POSIX.  Drop ksh vim mode setting.
8790
8791         * manual/time.texi (Specifying the Time Zone with TZ): Change
8792         Tuesday to Thursday.
8793
8794         * debug/tst-longjmp_chk2.c: Update header comment.
8795         (stackoverflow_handler): Add comment.  Call assert on pass value.
8796
8797 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8798
8799         [BZ #16194]
8800         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8801         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8802         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8803         (La_x86_64_vector): Add zmm.
8804         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8805         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8806         ($(objpfx)tst-audit10): New target.
8807         ($(objpfx)tst-audit10.out): Likewise.
8808         (tst-audit10-ENV): New.
8809         (AVX512-CFLAGS): Likewise.
8810         (CFLAGS-tst-audit10.c): Likewise.
8811         (CFLAGS-tst-auditmod10a.c): Likewise.
8812         (CFLAGS-tst-auditmod10b.c): Likewise.
8813         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8814         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8815         * sysdeps/x86_64/configure: Regenerated.
8816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8817         AVX-512 zmm register support.
8818         (_dl_x86_64_save_sse): Likewise.
8819         (_dl_x86_64_restore_sse): Likewise.
8820         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8821         size vector registers.
8822         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8823         (ZMM_SIZE): Likewise.
8824         * sysdeps/x86_64/tst-audit10.c: New file.
8825         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8826         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8827
8828 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8829
8830         * configure.ac (HAVE_EHDR_START): New check.
8831         * configure: Regenerated.
8832         * config.h.in (HAVE_EHDR_START): New #undef.
8833         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8834         assuming the lowest-addressed segment maps the start of the file.
8835
8836 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8837
8838         * INSTALL: Regenerated.
8839
8840 2014-03-13  Will Newton  <will.newton@linaro.org>
8841
8842         * manual/setjmp.texi (System V contexts): Improve
8843         clarity and grammar of documentation.
8844
8845 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8846
8847         [BZ #16381]
8848         * elf/Makefile (tests): Add tst-pie2.
8849         (tests-pie): Add tst-pie2.
8850         * elf/tst-pie2.c: New file.
8851         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8852         for ET_EXEC.
8853         * elf/rtld.c (map_doit): Load executable as lt_executable.
8854         (dl_main): Likewise.
8855
8856 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8857
8858         [BZ #16642]
8859         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8860         (__ASSUME_PSELECT): Undefine.
8861
8862 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8863
8864         [BZ #16689]
8865         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8866         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8867         static build.
8868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8869         selector for static builds.
8870
8871 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8872
8873         [BZ #16695]
8874         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8875         key in the buffer.
8876
8877 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8878
8879         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8880         IFUNC selector for static builds.
8881
8882 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8883
8884         * sysdeps/mips/math_private.h [__mips_hard_float]
8885         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8886         libc_feresetround_mips_ctx.
8887         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8888         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8889         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8890
8891         [BZ #16677]
8892         * math/s_nextafter.c (__nextafter): Do not return value from
8893         overflowing computation.
8894         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8895         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8896         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8897         Likewise.
8898         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8899         Likewise.
8900         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8901         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8902
8903 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8904
8905         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8906         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8907         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8908         the new mov targetting sp.
8909
8910 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8911
8912         [BZ #16683]
8913         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8914         Define it for static builds as well.
8915         (NO_BZERO_IMPL): Likewise.
8916
8917 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8918
8919         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8920         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8921         multiarch strspn for PPC64.
8922         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8923         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8925         (__libc_ifunc_impl_list): Likewise.
8926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8927         multiarch optimizations
8928         * string/strspn.c (strspn): Using macro to redefine symbol name.
8929
8930 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8932
8933         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8934         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8935         multiarch strncat for PPC64.
8936         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8937         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8939         (__libc_ifunc_impl_list): Likewise.
8940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8941         multiarch optimizations
8942
8943 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8944
8945         [BZ #16639]
8946         * nscd/nscd.service: Make service type forking.
8947
8948 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8949
8950         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8951         sign in non default rounding modes.
8952         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8953
8954 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8955
8956         * math/libm-test.inc (ALL_RM_TEST): New macro.
8957         (ceil_test): Use ALL_RM_TEST.
8958         (cimag_test): Likewise.
8959         (conj_test): Likewise.
8960         (copysign_test): Likewise.
8961         (cproj_test): Likewise.
8962         (creal_test): Likewise.
8963         (fabs_test): Likewise.
8964         (floor_test): Likewise.
8965         (fmax_test): Likewise.
8966         (fmin_test): Likewise.
8967         (fmod_test): Likewise.
8968         (fpclassify_test): Likewise.
8969         (frexp_test): Likewise.
8970         (ilogb_test): Likewise.
8971         (isfinite_test): Likewise.
8972         (finite_test): Likewise.
8973         (isgreater_test): Likewise.
8974         (isgreaterequal_test): Likewise.
8975         (isinf_test): Likewise.
8976         (isless_test): Likewise.
8977         (islessequal_test): Likewise.
8978         (islessgreater_test): Likewise.
8979         (isnan_test): Likewise.
8980         (isnormal_test): Likewise.
8981         (issignaling_test): Likewise.
8982         (isunordered_test): Likewise.
8983         (logb_test): Likewise.
8984         (logb_downward_test_data): Remove.
8985         (logb_test_downward): Likewise.
8986         (lround_test): Use ALL_RM_TEST.
8987         (llround_test): Likewise.
8988         (modf_test): Likewise.
8989         (nexttoward_test): Likewise.
8990         (remainder_test): Likewise.
8991         (drem_test): Likewise.
8992         (remainder_tonearest_test_data): Likewise.
8993         (remainder_test_tonearest): Likewise.
8994         (drem_test_tonearest): Likewise.
8995         (remainder_towardzero_test_data): Likewise.
8996         (remainder_test_towardzero): Likewise.
8997         (drem_test_towardzero): Likewise.
8998         (remainder_downward_test_data): Likewise.
8999         (remainder_test_downward): Likewise.
9000         (drem_test_downward): Likewise.
9001         (remainder_upward_test_data): Likewise.
9002         (remainder_test_upward): Likewise.
9003         (drem_test_upward): Likewise.
9004         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9005         (round_test): Use ALL_RM_TEST.
9006         (signbit_test): Likewise.
9007         (trunc_test): Likewise.
9008         (significand_test): Likewise.
9009         (main): Don't call removed functions.
9010
9011 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9012
9013         [BZ #16674]
9014         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9015         || __USE_XOPEN2K8].
9016         (ILL_ILLOPN): Likewise.
9017         (ILL_ILLADR): Likewise.
9018         (ILL_ILLTRP): Likewise.
9019         (ILL_PRVOPC): Likewise.
9020         (ILL_PRVREG): Likewise.
9021         (ILL_COPROC): Likewise.
9022         (ILL_BADSTK): Likewise.
9023         (FPE_INTDIV): Likewise.
9024         (FPE_INTOVF): Likewise.
9025         (FPE_FLTDIV): Likewise.
9026         (FPE_FLTOVF): Likewise.
9027         (FPE_FLTUND): Likewise.
9028         (FPE_FLTRES): Likewise.
9029         (FPE_FLTINV): Likewise.
9030         (FPE_FLTSUB): Likewise.
9031         (SEGV_MAPERR): Likewise.
9032         (SEGV_ACCERR): Likewise.
9033         (BUS_ADRALN): Likewise.
9034         (BUS_ADRERR): Likewise.
9035         (BUS_OBJERR): Likewise.
9036         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9037         (TRAP_TRACE): Likewise.
9038         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9039         __USE_XOPEN2K8].
9040         (CLD_KILLED): Likewise.
9041         (CLD_DUMPED): Likewise.
9042         (CLD_TRAPPED): Likewise.
9043         (CLD_STOPPED): Likewise.
9044         (CLD_CONTINUED): Likewise.
9045         (POLL_IN): Likewise.
9046         (POLL_OUT): Likewise.
9047         (POLL_MSG): Likewise.
9048         (POLL_ERR): Likewise.
9049         (POLL_PRI): Likewise.
9050         (POLL_HUP): Likewise.
9051         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9052         Likewise.
9053         (ILL_ILLOPN): Likewise.
9054         (ILL_ILLADR): Likewise.
9055         (ILL_ILLTRP): Likewise.
9056         (ILL_PRVOPC): Likewise.
9057         (ILL_PRVREG): Likewise.
9058         (ILL_COPROC): Likewise.
9059         (ILL_BADSTK): Likewise.
9060         (FPE_INTDIV): Likewise.
9061         (FPE_INTOVF): Likewise.
9062         (FPE_FLTDIV): Likewise.
9063         (FPE_FLTOVF): Likewise.
9064         (FPE_FLTUND): Likewise.
9065         (FPE_FLTRES): Likewise.
9066         (FPE_FLTINV): Likewise.
9067         (FPE_FLTSUB): Likewise.
9068         (SEGV_MAPERR): Likewise.
9069         (SEGV_ACCERR): Likewise.
9070         (BUS_ADRALN): Likewise.
9071         (BUS_ADRERR): Likewise.
9072         (BUS_OBJERR): Likewise.
9073         (BUS_MCEERR_AR): Likewise.
9074         (BUS_MCEERR_AO): Likewise.
9075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9076         (TRAP_TRACE): Likewise.
9077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9078         __USE_XOPEN2K8].
9079         (CLD_KILLED): Likewise.
9080         (CLD_DUMPED): Likewise.
9081         (CLD_TRAPPED): Likewise.
9082         (CLD_STOPPED): Likewise.
9083         (CLD_CONTINUED): Likewise.
9084         (POLL_IN): Likewise.
9085         (POLL_OUT): Likewise.
9086         (POLL_MSG): Likewise.
9087         (POLL_ERR): Likewise.
9088         (POLL_PRI): Likewise.
9089         (POLL_HUP): Likewise.
9090         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9091         (ILL_ILLOPN): Likewise.
9092         (ILL_ILLADR): Likewise.
9093         (ILL_ILLTRP): Likewise.
9094         (ILL_PRVOPC): Likewise.
9095         (ILL_PRVREG): Likewise.
9096         (ILL_COPROC): Likewise.
9097         (ILL_BADSTK): Likewise.
9098         (FPE_INTDIV): Likewise.
9099         (FPE_INTOVF): Likewise.
9100         (FPE_FLTDIV): Likewise.
9101         (FPE_FLTOVF): Likewise.
9102         (FPE_FLTUND): Likewise.
9103         (FPE_FLTRES): Likewise.
9104         (FPE_FLTINV): Likewise.
9105         (FPE_FLTSUB): Likewise.
9106         (SEGV_MAPERR): Likewise.
9107         (SEGV_ACCERR): Likewise.
9108         (BUS_ADRALN): Likewise.
9109         (BUS_ADRERR): Likewise.
9110         (BUS_OBJERR): Likewise.
9111         (BUS_MCEERR_AR): Likewise.
9112         (BUS_MCEERR_AO): Likewise.
9113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9114         (TRAP_TRACE): 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/ia64/bits/siginfo.h (ILL_ILLOPC):
9129         Likewise.
9130         (ILL_ILLOPN): Likewise.
9131         (ILL_ILLADR): Likewise.
9132         (ILL_ILLTRP): Likewise.
9133         (ILL_PRVOPC): Likewise.
9134         (ILL_PRVREG): Likewise.
9135         (ILL_COPROC): Likewise.
9136         (ILL_BADSTK): Likewise.
9137         (ILL_BADIADDR): Likewise.
9138         (ILL_BREAK): Likewise.
9139         (FPE_INTDIV): Likewise.
9140         (FPE_INTOVF): Likewise.
9141         (FPE_FLTDIV): Likewise.
9142         (FPE_FLTOVF): Likewise.
9143         (FPE_FLTUND): Likewise.
9144         (FPE_FLTRES): Likewise.
9145         (FPE_FLTINV): Likewise.
9146         (FPE_FLTSUB): Likewise.
9147         (FPE_DECOVF): Likewise.
9148         (FPE_DECDIV): Likewise.
9149         (FPE_DECERR): Likewise.
9150         (FPE_INVASC): Likewise.
9151         (FPE_INVDEC): Likewise.
9152         (SEGV_MAPERR): Likewise.
9153         (SEGV_ACCERR): Likewise.
9154         (SEGV_PSTKOVF): Likewise.
9155         (BUS_ADRALN): Likewise.
9156         (BUS_ADRERR): Likewise.
9157         (BUS_OBJERR): Likewise.
9158         (BUS_MCEERR_AR): Likewise.
9159         (BUS_MCEERR_AO): Likewise.
9160         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9161         (TRAP_TRACE): Likewise.
9162         (TRAP_BRANCH): Likewise.
9163         (TRAP_HWBKPT): Likewise.
9164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9165         __USE_XOPEN2K8].
9166         (CLD_KILLED): Likewise.
9167         (CLD_DUMPED): Likewise.
9168         (CLD_TRAPPED): Likewise.
9169         (CLD_STOPPED): Likewise.
9170         (CLD_CONTINUED): Likewise.
9171         (POLL_IN): Likewise.
9172         (POLL_OUT): Likewise.
9173         (POLL_MSG): Likewise.
9174         (POLL_ERR): Likewise.
9175         (POLL_PRI): Likewise.
9176         (POLL_HUP): Likewise.
9177         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9178         (ILL_ILLOPN): Likewise.
9179         (ILL_ILLADR): Likewise.
9180         (ILL_ILLTRP): Likewise.
9181         (ILL_PRVOPC): Likewise.
9182         (ILL_PRVREG): Likewise.
9183         (ILL_COPROC): Likewise.
9184         (ILL_BADSTK): Likewise.
9185         (FPE_INTDIV): Likewise.
9186         (FPE_INTOVF): Likewise.
9187         (FPE_FLTDIV): Likewise.
9188         (FPE_FLTOVF): Likewise.
9189         (FPE_FLTUND): Likewise.
9190         (FPE_FLTRES): Likewise.
9191         (FPE_FLTINV): Likewise.
9192         (FPE_FLTSUB): Likewise.
9193         (SEGV_MAPERR): Likewise.
9194         (SEGV_ACCERR): Likewise.
9195         (BUS_ADRALN): Likewise.
9196         (BUS_ADRERR): Likewise.
9197         (BUS_OBJERR): Likewise.
9198         (BUS_MCEERR_AR): Likewise.
9199         (BUS_MCEERR_AO): Likewise.
9200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9201         (TRAP_TRACE): Likewise.
9202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9203         __USE_XOPEN2K8].
9204         (CLD_KILLED): Likewise.
9205         (CLD_DUMPED): Likewise.
9206         (CLD_TRAPPED): Likewise.
9207         (CLD_STOPPED): Likewise.
9208         (CLD_CONTINUED): Likewise.
9209         (POLL_IN): Likewise.
9210         (POLL_OUT): Likewise.
9211         (POLL_MSG): Likewise.
9212         (POLL_ERR): Likewise.
9213         (POLL_PRI): Likewise.
9214         (POLL_HUP): Likewise.
9215         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9216         (ILL_ILLOPN): Likewise.
9217         (ILL_ILLADR): Likewise.
9218         (ILL_ILLTRP): Likewise.
9219         (ILL_PRVOPC): Likewise.
9220         (ILL_PRVREG): Likewise.
9221         (ILL_COPROC): Likewise.
9222         (ILL_BADSTK): Likewise.
9223         (FPE_INTDIV): Likewise.
9224         (FPE_INTOVF): Likewise.
9225         (FPE_FLTDIV): Likewise.
9226         (FPE_FLTOVF): Likewise.
9227         (FPE_FLTUND): Likewise.
9228         (FPE_FLTRES): Likewise.
9229         (FPE_FLTINV): Likewise.
9230         (FPE_FLTSUB): Likewise.
9231         (SEGV_MAPERR): Likewise.
9232         (SEGV_ACCERR): Likewise.
9233         (BUS_ADRALN): Likewise.
9234         (BUS_ADRERR): Likewise.
9235         (BUS_OBJERR): Likewise.
9236         (BUS_MCEERR_AR): Likewise.
9237         (BUS_MCEERR_AO): Likewise.
9238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9239         (TRAP_TRACE): Likewise.
9240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9241         __USE_XOPEN2K8].
9242         (CLD_KILLED): Likewise.
9243         (CLD_DUMPED): Likewise.
9244         (CLD_TRAPPED): Likewise.
9245         (CLD_STOPPED): Likewise.
9246         (CLD_CONTINUED): Likewise.
9247         (POLL_IN): Likewise.
9248         (POLL_OUT): Likewise.
9249         (POLL_MSG): Likewise.
9250         (POLL_ERR): Likewise.
9251         (POLL_PRI): Likewise.
9252         (POLL_HUP): Likewise.
9253         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9254         (ILL_ILLOPN): Likewise.
9255         (ILL_ILLADR): Likewise.
9256         (ILL_ILLTRP): Likewise.
9257         (ILL_PRVOPC): Likewise.
9258         (ILL_PRVREG): Likewise.
9259         (ILL_COPROC): Likewise.
9260         (ILL_BADSTK): Likewise.
9261         (FPE_INTDIV): Likewise.
9262         (FPE_INTOVF): Likewise.
9263         (FPE_FLTDIV): Likewise.
9264         (FPE_FLTOVF): Likewise.
9265         (FPE_FLTUND): Likewise.
9266         (FPE_FLTRES): Likewise.
9267         (FPE_FLTINV): Likewise.
9268         (FPE_FLTSUB): Likewise.
9269         (SEGV_MAPERR): Likewise.
9270         (SEGV_ACCERR): Likewise.
9271         (BUS_ADRALN): Likewise.
9272         (BUS_ADRERR): Likewise.
9273         (BUS_OBJERR): Likewise.
9274         (BUS_MCEERR_AR): Likewise.
9275         (BUS_MCEERR_AO): Likewise.
9276         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9277         (TRAP_TRACE): Likewise.
9278         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9279         __USE_XOPEN2K8].
9280         (CLD_KILLED): Likewise.
9281         (CLD_DUMPED): Likewise.
9282         (CLD_TRAPPED): Likewise.
9283         (CLD_STOPPED): Likewise.
9284         (CLD_CONTINUED): Likewise.
9285         (POLL_IN): Likewise.
9286         (POLL_OUT): Likewise.
9287         (POLL_MSG): Likewise.
9288         (POLL_ERR): Likewise.
9289         (POLL_PRI): Likewise.
9290         (POLL_HUP): Likewise.
9291         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9292         (ILL_ILLOPN): Likewise.
9293         (ILL_ILLADR): Likewise.
9294         (ILL_ILLTRP): Likewise.
9295         (ILL_PRVOPC): Likewise.
9296         (ILL_PRVREG): Likewise.
9297         (ILL_COPROC): Likewise.
9298         (ILL_BADSTK): Likewise.
9299         (ILL_DBLFLT): Likewise.
9300         (ILL_HARDWALL): Likewise.
9301         (FPE_INTDIV): Likewise.
9302         (FPE_INTOVF): Likewise.
9303         (FPE_FLTDIV): Likewise.
9304         (FPE_FLTOVF): Likewise.
9305         (FPE_FLTUND): Likewise.
9306         (FPE_FLTRES): Likewise.
9307         (FPE_FLTINV): Likewise.
9308         (FPE_FLTSUB): Likewise.
9309         (SEGV_MAPERR): Likewise.
9310         (SEGV_ACCERR): Likewise.
9311         (BUS_ADRALN): Likewise.
9312         (BUS_ADRERR): Likewise.
9313         (BUS_OBJERR): Likewise.
9314         (BUS_MCEERR_AR): Likewise.
9315         (BUS_MCEERR_AO): Likewise.
9316         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9317         (TRAP_TRACE): Likewise.
9318         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9319         __USE_XOPEN2K8].
9320         (CLD_KILLED): Likewise.
9321         (CLD_DUMPED): Likewise.
9322         (CLD_TRAPPED): Likewise.
9323         (CLD_STOPPED): Likewise.
9324         (CLD_CONTINUED): Likewise.
9325         (POLL_IN): Likewise.
9326         (POLL_OUT): Likewise.
9327         (POLL_MSG): Likewise.
9328         (POLL_ERR): Likewise.
9329         (POLL_PRI): Likewise.
9330         (POLL_HUP): Likewise.
9331         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9332         (ILL_ILLOPN): Likewise.
9333         (ILL_ILLADR): Likewise.
9334         (ILL_ILLTRP): Likewise.
9335         (ILL_PRVOPC): Likewise.
9336         (ILL_PRVREG): Likewise.
9337         (ILL_COPROC): Likewise.
9338         (ILL_BADSTK): Likewise.
9339         (FPE_INTDIV): Likewise.
9340         (FPE_INTOVF): Likewise.
9341         (FPE_FLTDIV): Likewise.
9342         (FPE_FLTOVF): Likewise.
9343         (FPE_FLTUND): Likewise.
9344         (FPE_FLTRES): Likewise.
9345         (FPE_FLTINV): Likewise.
9346         (FPE_FLTSUB): Likewise.
9347         (SEGV_MAPERR): Likewise.
9348         (SEGV_ACCERR): Likewise.
9349         (BUS_ADRALN): Likewise.
9350         (BUS_ADRERR): Likewise.
9351         (BUS_OBJERR): Likewise.
9352         (BUS_MCEERR_AR): Likewise.
9353         (BUS_MCEERR_AO): Likewise.
9354         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9355         (TRAP_TRACE): Likewise.
9356         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9357         __USE_XOPEN2K8].
9358         (CLD_KILLED): Likewise.
9359         (CLD_DUMPED): Likewise.
9360         (CLD_TRAPPED): Likewise.
9361         (CLD_STOPPED): Likewise.
9362         (CLD_CONTINUED): Likewise.
9363         (POLL_IN): Likewise.
9364         (POLL_OUT): Likewise.
9365         (POLL_MSG): Likewise.
9366         (POLL_ERR): Likewise.
9367         (POLL_PRI): Likewise.
9368         (POLL_HUP): Likewise.
9369         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9370         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9371
9372         [BZ #16670]
9373         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9374         before #include of <time.h>.
9375         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9376         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9377         (test-xfail-UNIX98/sched.h/conform): Likewise.
9378
9379 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9380
9381         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9382         error absence of trapping exception support.
9383         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9384
9385 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9386
9387         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9388         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9389         * timezone/Makefile (testdata): Move definition above include of
9390         Rules.
9391         (test-zones): New variable.
9392         (tests-special): Add zone files.
9393         (build-testdata): Use $(evaluate-test).
9394
9395         * elf/Makefile (tests-special): Rename tests to end with .out.
9396         ($(objpfx)noload-mem): Likewise.
9397         ($(objpfx)tst-leaks1-mem): Likewise.
9398         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9399         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9400         $(objpfx)test-iconvconfig.out.
9401         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9402         set -e inside subshell and redirect output to file.
9403         * iconvdata/Makefile (generated): Rename tests to end with .out.
9404         Correct type.
9405         (tests-special): Rename tests to end with .out.
9406         ($(objpfx)mtrace-tst-loading): Likewise.
9407         * intl/Makefile (generated): Likewise.
9408         (tests-special): Likewise.
9409         ($(objpfx)mtrace-tst-gettext): Likewise.
9410         * misc/Makefile (generated): Likewise.
9411         (tests-special): Likewise.
9412         ($(objpfx)tst-error1-mem): Likewise.
9413         * nptl/Makefile (tests-special): Likewise.
9414         ($(objpfx)tst-stack3-mem): Likewise.
9415         (generated): Likewise.
9416         * posix/Makefile (generated): Likewise.
9417         (tests-special): Likewise.
9418         (xtests-special): Likewise.
9419         ($(objpfx)tst-fnmatch-mem): Likewise.
9420         ($(objpfx)bug-regex2-mem): Likewise.
9421         ($(objpfx)bug-regex14-mem): Likewise.
9422         ($(objpfx)bug-regex21-mem): Likewise.
9423         ($(objpfx)bug-regex31-mem): Likewise.
9424         ($(objpfx)tst-vfork3-mem): Likewise.
9425         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9426         ($(objpfx)tst-pcre-mem): Likewise.
9427         ($(objpfx)tst-boost-mem): Likewise.
9428         ($(objpfx)bug-ga2-mem): Likewise.
9429         ($(objpfx)bug-glob2-mem): Likewise.
9430         * resolv/Makefile (generate): Likewise.
9431         (tests-special): Likewise.
9432         (xtests-special): Likewise.
9433         (generated): Likewise.
9434         ($(objpfx)mtrace-tst-leaks): Likewise.
9435         ($(objpfx)mtrace-tst-leaks2): Likewise.
9436
9437         * scripts/merge-test-results.sh: New file.
9438         * Makefile (tests-special-notdir): New variable.
9439         (tests): Run merge-test-results.sh.
9440         (xtests): Likewise.
9441         * Rules (tests-special-notdir): New variable.
9442         (xtests-special-notdir): Likewise.
9443         (tests): Run merge-test-results.sh
9444         (xtests): Likewise.
9445
9446         * Makeconfig (test-xfail-name): New variable.
9447         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9448         compute variable name for expected failures.
9449         * conform/Makefile (conformtest-headers-data): New variable.
9450         (conformtest-standards): Likewise.
9451         (conformtest-headers-ISO): Likewise.
9452         (conformtest-headers-ISO99): Likewise.
9453         (conformtest-headers-ISO11): Likewise.
9454         (conformtest-headers-POSIX): Likewise.
9455         (conformtest-headers-XPG3): Likewise.
9456         (conformtest-headers-XPG4): Likewise.
9457         (conformtest-headers-UNIX98): Likewise.
9458         (conformtest-headers-XOPEN2K): Likewise.
9459         (conformtest-headers-POSIX2008): Likewise.
9460         (conformtest-headers-XOPEN2K8): Likewise.
9461         (conformtest-header-list-base): Likewise.
9462         (conformtest-header-list-tests): Likewise.
9463         (conformtest-header-base): Likewise.
9464         (conformtest-header-tests): Likewise.
9465         (tests-special): Add $(conformtest-header-list-tests).  If
9466         [$(fast-check) && !$(cross-compiling)], add
9467         $(conformtest-header-tests) instead of
9468         $(objpfx)run-conformtest.out.
9469         (generated): Add $(conformtest-header-list-base).  If
9470         [$(fast-check) && !$(cross-compiling)], add
9471         $(conformtest-header-base).  Remove previous setting.
9472         ($(conformtest-header-list-tests)): New target.
9473         (test-xfail-run-conformtest): Remove variable.
9474         ($(objpfx)run-conformtest.out): Remove target.
9475         (test-xfail-ISO11/complex.h/conform): New variable.
9476         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9477         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9478         (test-xfail-XPG3/varargs.h/conform): Likewise.
9479         (test-xfail-XPG4/varargs.h/conform): Likewise.
9480         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9481         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9482         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9483         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9484         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9485         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9486         (test-xfail-XPG3/ftw.h/conform): Likewise.
9487         (test-xfail-XPG3/grp.h/conform): Likewise.
9488         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9489         (test-xfail-XPG3/limits.h/conform): Likewise.
9490         (test-xfail-XPG3/pwd.h/conform): Likewise.
9491         (test-xfail-XPG3/search.h/conform): Likewise.
9492         (test-xfail-XPG3/signal.h/conform): Likewise.
9493         (test-xfail-XPG3/stdio.h/conform): Likewise.
9494         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9495         (test-xfail-XPG3/string.h/conform): Likewise.
9496         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9497         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9498         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9499         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9500         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9501         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9502         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9503         (test-xfail-XPG3/termios.h/conform): Likewise.
9504         (test-xfail-XPG3/time.h/conform): Likewise.
9505         (test-xfail-XPG3/unistd.h/conform): Likewise.
9506         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9507         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9508         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9509         (test-xfail-XPG4/netdb.h/conform): Likewise.
9510         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9511         (test-xfail-XPG4/signal.h/conform): Likewise.
9512         (test-xfail-XPG4/stdio.h/conform): Likewise.
9513         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9514         (test-xfail-XPG4/stropts.h/conform): Likewise.
9515         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9516         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9517         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9518         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9519         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9520         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9521         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9522         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9523         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9524         (test-xfail-XPG4/termios.h/conform): Likewise.
9525         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9526         (test-xfail-XPG4/unistd.h/conform): Likewise.
9527         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9528         (test-xfail-POSIX/sched.h/conform): Likewise.
9529         (test-xfail-POSIX/signal.h/conform): Likewise.
9530         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9531         (test-xfail-POSIX/tar.h/conform): Likewise.
9532         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9533         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9534         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9535         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9536         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9537         (test-xfail-UNIX98/sched.h/conform): Likewise.
9538         (test-xfail-UNIX98/signal.h/conform): Likewise.
9539         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9540         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9541         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9542         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9543         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9544         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9545         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9546         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9547         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9548         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9549         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9550         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9551         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9552         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9553         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9554         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9555         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9556         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9557         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9558         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9559         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9560         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9561         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9562         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9563         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9564         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9565         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9566         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9567         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9568         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9569         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9570         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9571         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9572         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9573         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9574         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9575         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9576         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9577         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9578         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9579         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9580         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9581         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9582         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9583         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9584         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9585         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9586         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9587         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9588         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9589         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9590         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9591         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9592         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9593         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9594         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9595         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9596         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9597         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9598         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9599         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9600         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9601         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9602         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9603         (conformtest-cc-flags): Likewise.
9604         ($(conformtest-header-tests): New target.
9605         * conform/check-header-lists.sh: New file.
9606         * conform/run-conformtest.sh: Remove.
9607
9608         * conform/conformtest.pl: Allow ' and \ in values given for
9609         constants.
9610         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9611         inclusion.
9612         [POSIX] (sys/types.h): Likewise.
9613         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9614         inclusion.
9615         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9616         inclusion.
9617         * conform/data/signal.h-data (SIGIO): Remove expectation.
9618         [XPG3] (SIGBUS): Do not expect.
9619         [POSIX || XPG3] (SIGPOLL): Likewise.
9620         [POSIX || XPG3] (SIGPROF): Likewise.
9621         [POSIX || XPG3] (SIGSYS): Likewise.
9622         [XPG3] (SIGTRAP): Likewise.
9623         [POSIX || XPG3] (SIGURG): Likewise.
9624         [POSIX || XPG3] (SIGVTALRM): Likewise.
9625         [POSIX || XPG3] (SIGXCPU): Likewise.
9626         [POSIX || XPG3] (SIGXFSZ): Likewise.
9627         [POSIX] (SA_SIGINFO): Expect.
9628         [XPG3] (siginfo_t): Do not expect type or contents.
9629         [POSIX] (si_pid): Do not expect element.
9630         [POSIX] (si_uid): Likewise.
9631         [POSIX] (si_addr): Likewise.
9632         [POSIX] (si_status): Likewise.
9633         [POSIX] (si_band): Likewise.
9634         [XPG4] (si_value): Likewise.
9635         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9636         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9637         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9638         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9639         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9640         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9641         [POSIX || XPG3] (ILL_COPROC): Likewise.
9642         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9643         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9644         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9645         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9646         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9647         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9648         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9649         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9650         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9651         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9652         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9653         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9654         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9655         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9656         [POSIX || XPG3] (CLD_EXITED): Likewise.
9657         [POSIX || XPG3] (CLD_KILLED): Likewise.
9658         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9659         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9660         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9661         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9662         [POSIX || XPG3] (POLL_IN): Likewise.
9663         [POSIX || XPG3] (POLL_OUT): Likewise.
9664         [POSIX || XPG3] (POLL_MSG): Likewise.
9665         [POSIX || XPG3] (POLL_ERR): Likewise.
9666         [POSIX || XPG3] (POLL_PRI): Likewise.
9667         [POSIX || XPG3] (POLL_HUP): Likewise.
9668         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9669         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9670         (SIG*): Do not allow.
9671         [XPG3] (si_*): Likewise.
9672         [XPG3] (SI_*): Likewise.
9673         [XPG3 || XPG4] (sigev_*): Likewise.
9674         [XPG3 || XPG4] (SIGEV_*): Likewise.
9675         [XPG3 || XPG4] (sival_*): Likewise.
9676         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9677         [POSIX || XPG3] (BUS_*): Likewise.
9678         [POSIX || XPG3] (CLD_*): Likewise.
9679         [POSIX || XPG3] (FPE_*): Likewise.
9680         [POSIX || XPG3] (ILL_*): Likewise.
9681         [POSIX || XPG3] (POLL_*): Likewise.
9682         [POSIX || XPG3] (SEGV_*): Likewise.
9683         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9684         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9685         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9686         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9687         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9688         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9689         Specify type and value.
9690         (TVERSLEN): Likewise.
9691         (REGTYPE): Likewise.
9692         (AREGTYPE): Likewise.
9693         (LNKTYPE): Likewise.
9694         (SYMTYPE): Likewise.
9695         (CHRTYPE): Likewise.
9696         (BLKTYPE): Likewise.
9697         (DIRTYPE): Likewise.
9698         (FIFOTYPE): Likewise.
9699         (CONTTYPE): Likewise.
9700         (TSUID): Likewise.
9701         (TSGID): Likewise.
9702         (TSVTX): Likewise.
9703         (TUREAD): Likewise.
9704         (TUWRITE): Likewise.
9705         (TUEXEC): Likewise.
9706         (TGREAD): Likewise.
9707         (TGWRITE): Likewise.
9708         (TGEXEC): Likewise.
9709         (TOREAD): Likewise.
9710         (TOWRITE): Likewise.
9711         (TOEXEC): Likewise.
9712         [POSIX] (TSVTX): Expect constant.
9713
9714 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9715
9716         * Makefile (tests): Change dependencies to ....
9717         (tests-special): ... additions to this variable.
9718         (tests): Depend on $(tests-special).
9719         * Makerules (check-abi-list): New variable.
9720         (check-abi): Depend on $(check-abi-list).
9721         [$(subdir) = elf] (tests-special): Add
9722         $(objpfx)check-abi-libc.out.
9723         [$(build-shared) = yes && subdir] (tests-special): Add
9724         $(check-abi-list).
9725         [$(build-shared) = yes && subdir] (tests): Do not depend on
9726         check-abi.
9727         * Rules (tests): Depend on $(tests-special).
9728         (xtests): Depend on $(xtests-special).
9729         * catgets/Makefile (tests): Change dependencies to ....
9730         (tests-special): ... additions to this variable.
9731         * conform/Makefile (tests): Change dependencies to ....
9732         (tests-special): ... additions to this variable.
9733         * elf/Makefile (tests): Change dependencies to ....
9734         (tests-special): ... additions to this variable.
9735         * grp/Makefile (tests): Change dependencies to ....
9736         (tests-special): ... additions to this variable.
9737         * iconv/Makefile (xtests): Change dependencies to ....
9738         (xtests-special): ... additions to this variable.
9739         * iconvdata/Makefile (tests): Change dependencies to ....
9740         (tests-special): ... additions to this variable.
9741         * intl/Makefile (tests): Change dependencies to ....
9742         (tests-special): ... additions to this variable.  Also add
9743         $(objpfx)tst-gettext.out.
9744         * io/Makefile (tests): Change dependencies to ....
9745         (tests-special): ... additions to this variable.
9746         * libio/Makefile (tests): Change dependencies to ....
9747         (tests-special): ... additions to this variable.
9748         * malloc/Makefile (tests): Change dependencies to ....
9749         (tests-special): ... additions to this variable.
9750         * misc/Makefile (tests): Change dependencies to ....
9751         (tests-special): ... additions to this variable.
9752         * nptl/Makefile (tests): Change dependencies to ....
9753         (tests-special): ... additions to this variable.
9754         * nptl_db/Makefile (tests): Change dependencies to ....
9755         (tests-special): ... additions to this variable.
9756         * posix/Makefile (tests): Change dependencies to ....
9757         (tests-special): ... additions to this variable.
9758         (xtests): Change dependencies to ....
9759         (xtests-special): ... additions to this variable.
9760         * resolv/Makefile (tests): Change dependencies to ....
9761         (tests-special): ... additions to this variable.
9762         (xtests): Change dependencies to ....
9763         (xtests-special): ... additions to this variable.
9764         * stdio-common/Makefile (tests): Change dependencies to ....
9765         (tests-special): ... additions to this variable.
9766         (do-tst-unbputc): Remove target.
9767         (do-tst-printf): Likewise.
9768         * stdlib/Makefile (tests): Change dependencies to ....
9769         (tests-special): ... additions to this variable.
9770         * string/Makefile (tests): Change dependencies to ....
9771         (tests-special): ... additions to this variable.
9772         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9773         (tests-special): ... additions to this variable.
9774
9775         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9776         whole file.
9777         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9778         whole file.
9779         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9780         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9781
9782         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9783         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9784         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9785         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9786         * conform/data/libgen.h-data [XPG3]: Likewise.
9787         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9788         * conform/data/ndbm.h-data [XPG3]: Likewise.
9789         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9790         * conform/data/netdb.h-data [XPG3]: Likewise.
9791         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9792         * conform/data/poll.h-data [XPG3]: Likewise.
9793         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9794         * conform/data/strings.h-data [XPG3]: Likewise.
9795         * conform/data/stropts.h-data [XPG3]: Likewise.
9796         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9797         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9798         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9799         Likewise.
9800         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9801         * conform/data/sys/time.h-data [XPG3]: Likewise.
9802         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9803         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9804         * conform/data/sys/un.h-data [XPG3]: Likewise.
9805         * conform/data/syslog.h-data [XPG3]: Likewise.
9806         * conform/data/ucontext.h-data [XPG3]: Likewise.
9807         * conform/data/utmpx.h-data [XPG3]: Likewise.
9808         * conform/data/varargs.h-data [UNIX98]: Enable file.
9809
9810         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9811
9812         * math/libm-test.inc (struct test_f_f_data): Move expected results
9813         into structure for each rounding mode.
9814         (struct test_ff_f_data): Likewise.
9815         (struct test_ff_f_data_nexttoward): Likewise.
9816         (struct test_fi_f_data): Likewise.
9817         (struct test_fl_f_data): Likewise.
9818         (struct test_if_f_data): Likewise.
9819         (struct test_fff_f_data): Likewise.
9820         (struct test_c_f_data): Likewise.
9821         (struct test_f_f1_data): Likewise.
9822         (struct test_fF_f1_data): Likewise.
9823         (struct test_ffI_f1_data): Likewise.
9824         (struct test_c_c_data): Likewise.
9825         (struct test_cc_c_data): Likewise.
9826         (struct test_f_i_data): Likewise.
9827         (struct test_ff_i_data): Likewise.
9828         (struct test_f_l_data): Likewise.
9829         (struct test_f_L_data): Likewise.
9830         (struct test_fFF_11_data): Likewise.
9831         (RM_): New macro.
9832         (RM_FE_DOWNWARD): Likewise.
9833         (RM_FE_TONEAREST): Likewise.
9834         (RM_FE_TOWARDZERO): Likewise.
9835         (RM_FE_UPWARD): Likewise.
9836         (RUN_TEST_LOOP_f_f): Update references to expected results.
9837         (RUN_TEST_LOOP_2_f): Likewise.
9838         (RUN_TEST_LOOP_fff_f): Likewise.
9839         (RUN_TEST_LOOP_c_f): Likewise.
9840         (RUN_TEST_LOOP_f_f1): Likewise.
9841         (RUN_TEST_LOOP_fF_f1): Likewise.
9842         (RUN_TEST_LOOP_fI_f1): Likewise.
9843         (RUN_TEST_LOOP_ffI_f1): Likewise.
9844         (RUN_TEST_LOOP_c_c): Likewise.
9845         (RUN_TEST_LOOP_cc_c): Likewise.
9846         (RUN_TEST_LOOP_f_i): Likewise.
9847         (RUN_TEST_LOOP_f_i_tg): Likewise.
9848         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9849         (RUN_TEST_LOOP_f_b): Likewise.
9850         (RUN_TEST_LOOP_f_b_tg): Likewise.
9851         (RUN_TEST_LOOP_f_l): Likewise.
9852         (RUN_TEST_LOOP_f_L): Likewise.
9853         (RUN_TEST_LOOP_fFF_11): Likewise.
9854         * math/gen-libm-test.pl (parse_args): Output four copies of
9855         expected results for each test.
9856
9857         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9858         (__ASSUME_UTIMES): Remove.
9859         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9860         (__ASSUME_UTIMES): Likewise.
9861
9862         * math/gen-auto-libm-tests.c: Update comment on output format.
9863         (output_for_one_input_case): Generate before-rounding and
9864         after-rounding information as conditions on output flags not
9865         floating-point format.
9866         * math/auto-libm-test-out: Regenerated.
9867         * math/gen-libm-test.pl (cond_value): New function.
9868         (or_cond_value): Use cond_value.
9869         (generate_testfile): Handle conditional exceptions.
9870
9871 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9872
9873         * math/libm-test.inc (max_valid_error): New variable.
9874         (init_max_error): Take new argument specifying whether function
9875         results are exactly determined.  Set max_valid_error and bound
9876         other variables for errors based on this argument.
9877         (set_max_error): Do not record results above max_valid_error.
9878         (check_float_internal): Only accept errors of up to 0.5ulps if
9879         also at most max_valid_error.
9880         (START): Take new argument EXACT and pass it to init_max_error.
9881         (acos_test): Update call to START.
9882         (acos_test_tonearest): Likewise.
9883         (acos_test_towardzero): Likewise.
9884         (acos_test_downward): Likewise.
9885         (acos_test_upward): Likewise.
9886         (acosh_test): Likewise.
9887         (asin_test): Likewise.
9888         (asin_test_tonearest): Likewise.
9889         (asin_test_towardzero): Likewise.
9890         (asin_test_downward): Likewise.
9891         (asin_test_upward): Likewise.
9892         (asinh_test): Likewise.
9893         (atan_test): Likewise.
9894         (atanh_test): Likewise.
9895         (atan2_test): Likewise.
9896         (cabs_test): Likewise.
9897         (cacos_test): Likewise.
9898         (cacosh_test): Likewise.
9899         (carg_test): Likewise.
9900         (casin_test): Likewise.
9901         (casinh_test): Likewise.
9902         (catan_test): Likewise.
9903         (catanh_test): Likewise.
9904         (cbrt_test): Likewise.
9905         (ccos_test): Likewise.
9906         (ccosh_test): Likewise.
9907         (ceil_test): Likewise.
9908         (cexp_test): Likewise.
9909         (cimag_test): Likewise.
9910         (clog_test): Likewise.
9911         (clog10_test): Likewise.
9912         (conj_test): Likewise.
9913         (copysign_test): Likewise.
9914         (cos_test): Likewise.
9915         (cos_test_tonearest): Likewise.
9916         (cos_test_towardzero): Likewise.
9917         (cos_test_downward): Likewise.
9918         (cos_test_upward): Likewise.
9919         (cosh_test): Likewise.
9920         (cosh_test_tonearest): Likewise.
9921         (cosh_test_towardzero): Likewise.
9922         (cosh_test_downward): Likewise.
9923         (cosh_test_upward): Likewise.
9924         (cpow_test): Likewise.
9925         (cproj_test): Likewise.
9926         (creal_test): Likewise.
9927         (csin_test): Likewise.
9928         (csinh_test): Likewise.
9929         (csqrt_test): Likewise.
9930         (ctan_test): Likewise.
9931         (ctan_test_tonearest): Likewise.
9932         (ctan_test_towardzero): Likewise.
9933         (ctan_test_downward): Likewise.
9934         (ctan_test_upward): Likewise.
9935         (ctanh_test): Likewise.
9936         (ctanh_test_tonearest): Likewise.
9937         (ctanh_test_towardzero): Likewise.
9938         (ctanh_test_downward): Likewise.
9939         (ctanh_test_upward): Likewise.
9940         (erf_test): Likewise.
9941         (erfc_test): Likewise.
9942         (exp_test): Likewise.
9943         (exp_test_tonearest): Likewise.
9944         (exp_test_towardzero): Likewise.
9945         (exp_test_downward): Likewise.
9946         (exp_test_upward): Likewise.
9947         (exp10_test): Likewise.
9948         (exp10_test_tonearest): Likewise.
9949         (exp10_test_towardzero): Likewise.
9950         (exp10_test_downward): Likewise.
9951         (exp10_test_upward): Likewise.
9952         (pow10_test): Likewise.
9953         (exp2_test): Likewise.
9954         (expm1_test): Likewise.
9955         (expm1_test_tonearest): Likewise.
9956         (expm1_test_towardzero): Likewise.
9957         (expm1_test_downward): Likewise.
9958         (expm1_test_upward): Likewise.
9959         (fabs_test): Likewise.
9960         (fdim_test): Likewise.
9961         (floor_test): Likewise.
9962         (fma_test): Likewise.
9963         (fma_test_towardzero): Likewise.
9964         (fma_test_downward): Likewise.
9965         (fma_test_upward): Likewise.
9966         (fmax_test): Likewise.
9967         (fmin_test): Likewise.
9968         (fmod_test): Likewise.
9969         (fpclassify_test): Likewise.
9970         (frexp_test): Likewise.
9971         (hypot_test): Likewise.
9972         (ilogb_test): Likewise.
9973         (isfinite_test): Likewise.
9974         (finite_test): Likewise.
9975         (isgreater_test): Likewise.
9976         (isgreaterequal_test): Likewise.
9977         (isinf_test): Likewise.
9978         (isless_test): Likewise.
9979         (islessequal_test): Likewise.
9980         (islessgreater_test): Likewise.
9981         (isnan_test): Likewise.
9982         (isnormal_test): Likewise.
9983         (issignaling_test): Likewise.
9984         (isunordered_test): Likewise.
9985         (j0_test): Likewise.
9986         (j1_test): Likewise.
9987         (jn_test): Likewise.
9988         (ldexp_test): Likewise.
9989         (lgamma_test): Likewise.
9990         (gamma_test): Likewise.
9991         (lrint_test): Likewise.
9992         (lrint_test_tonearest): Likewise.
9993         (lrint_test_towardzero): Likewise.
9994         (lrint_test_downward): Likewise.
9995         (lrint_test_upward): Likewise.
9996         (llrint_test): Likewise.
9997         (llrint_test_tonearest): Likewise.
9998         (llrint_test_towardzero): Likewise.
9999         (llrint_test_downward): Likewise.
10000         (llrint_test_upward): Likewise.
10001         (log_test): Likewise.
10002         (log10_test): Likewise.
10003         (log1p_test): Likewise.
10004         (log2_test): Likewise.
10005         (logb_test): Likewise.
10006         (logb_test_downward): Likewise.
10007         (lround_test): Likewise.
10008         (llround_test): Likewise.
10009         (modf_test): Likewise.
10010         (nearbyint_test): Likewise.
10011         (nextafter_test): Likewise.
10012         (nexttoward_test): Likewise.
10013         (pow_test): Likewise.
10014         (pow_test_tonearest): Likewise.
10015         (pow_test_towardzero): Likewise.
10016         (pow_test_downward): Likewise.
10017         (pow_test_upward): Likewise.
10018         (remainder_test): Likewise.
10019         (drem_test): Likewise.
10020         (remainder_test_tonearest): Likewise.
10021         (drem_test_tonearest): Likewise.
10022         (remainder_test_towardzero): Likewise.
10023         (drem_test_towardzero): Likewise.
10024         (remainder_test_downward): Likewise.
10025         (drem_test_downward): Likewise.
10026         (remainder_test_upward): Likewise.
10027         (drem_test_upward): Likewise.
10028         (remquo_test): Likewise.
10029         (rint_test): Likewise.
10030         (rint_test_tonearest): Likewise.
10031         (rint_test_towardzero): Likewise.
10032         (rint_test_downward): Likewise.
10033         (rint_test_upward): Likewise.
10034         (round_test): Likewise.
10035         (scalb_test): Likewise.
10036         (scalbn_test): Likewise.
10037         (scalbln_test): Likewise.
10038         (signbit_test): Likewise.
10039         (sin_test): Likewise.
10040         (sin_test_tonearest): Likewise.
10041         (sin_test_towardzero): Likewise.
10042         (sin_test_downward): Likewise.
10043         (sin_test_upward): Likewise.
10044         (sincos_test): Likewise.
10045         (sinh_test): Likewise.
10046         (sinh_test_tonearest): Likewise.
10047         (sinh_test_towardzero): Likewise.
10048         (sinh_test_downward): Likewise.
10049         (sinh_test_upward): Likewise.
10050         (sqrt_test): Likewise.
10051         (sqrt_test_tonearest): Likewise.
10052         (sqrt_test_towardzero): Likewise.
10053         (sqrt_test_downward): Likewise.
10054         (sqrt_test_upward): Likewise.
10055         (tan_test): Likewise.
10056         (tan_test_tonearest): Likewise.
10057         (tan_test_towardzero): Likewise.
10058         (tan_test_downward): Likewise.
10059         (tan_test_upward): Likewise.
10060         (tanh_test): Likewise.
10061         (tgamma_test): Likewise.
10062         (trunc_test): Likewise.
10063         (y0_test): Likewise.
10064         (y1_test): Likewise.
10065         (yn_test): Likewise.
10066         (significand_test): Likewise.
10067
10068         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10069         individual tests in comment.
10070         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10071         (prev_max_error): New variable.
10072         (prev_real_max_error): Likewise.
10073         (prev_imag_max_error): Likewise.
10074         (compare_ulp_data): Don't refer to test names in comment.
10075         (find_test_ulps): Remove function.
10076         (find_function_ulps): Likewise.
10077         (find_complex_function_ulps): Likewise.
10078         (init_max_error): Take function name as argument.  Look up ulps
10079         for that function.
10080         (print_ulps): Remove function.
10081         (print_max_error): Use prev_max_error instead of calling
10082         find_function_ulps.
10083         (print_complex_max_error): Use prev_real_max_error and
10084         prev_imag_max_error instead of calling find_complex_function_ulps.
10085         (check_float_internal): Take max_ulp parameter instead of calling
10086         find_test_ulps.  Don't call print_ulps.
10087         (check_float): Update call to check_float_internal.
10088         (check_complex): Update calls to check_float_internal.
10089         (START): Pass argument to init_max_error.
10090         * math/gen-libm-test.pl (%results): Don't include "kind"
10091         information.
10092         (parse_ulps): Don't handle ulps of individual tests.
10093         (print_ulps_file): Likewise.
10094         (output_ulps): Likewise.
10095         * math/README.libm-test: Update.
10096         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10097         individual tests.
10098         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10099         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10100         * sysdeps/arm/libm-test-ulps: Likewise.
10101         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10102         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10103         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10104         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10105         * sysdeps/microblaze/libm-test-ulps: Likewise.
10106         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10107         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10108         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10109         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10110         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10111         * sysdeps/sh/libm-test-ulps: Likewise.
10112         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10113         * sysdeps/tile/libm-test-ulps: Likewise.
10114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115
10116 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10117
10118         * math/libm-test.inc (print_complex_max_error): Check separately
10119         whether real and imaginary errors are within allowed range and
10120         pass 0 to print_complex_function_ulps instead of value within
10121         allowed range.
10122
10123 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10124
10125         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10126         formatting.
10127         (get_handles_fopen): Likewise.
10128         (do_write_test): Likewise.
10129
10130         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10131
10132         * libio/fileops.c (do_ftell): Use cached offset when
10133         available.
10134         * libio/iofwide.c (do_ftell_wide): Likewise.
10135         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10136         _IO_file_attach.
10137         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10138
10139         [BZ #16532]
10140         * libio/libioP.h (get_file_offset): New function.
10141         * libio/fileops.c (get_file_offset): Likewise.
10142         (do_ftell): Likewise.
10143         (_IO_new_file_seekoff): Split out ftell logic.
10144         * libio/wfileops.c (do_ftell_wide): Likewise.
10145         (_IO_wfile_seekoff): Split out ftell logic.
10146         * libio/tst-ftell-active-handler.c: New test case.
10147         * libio/Makefile (tests): Add it.
10148
10149 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10150
10151         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10152         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10153
10154 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10155
10156         [BZ #16639]
10157         * nscd/connections.c (nscd_init): Call do_exit.
10158         (start_threads): Call do_exit and notify_parent.
10159         (begin_drop_privileges): Call do_exit.
10160         (finish_drop_privileges): Likewise.
10161         * nscd/selinux.c (preserve_capabilities): Likewise.
10162         (install_real_capabilities): Likewise.
10163         (nscd_selinux_enabled): Likewise.
10164         (avc_create_thread): Likewise.
10165         (avc_alloc_lock): Likewise.
10166         (nscd_avc_init): Likewise.
10167         * nscd/nscd.c (parent_fd): New static variable.
10168         (main): Create a pipe between parent and child processes.
10169         Skip closing parent_fd.
10170         (monitor_child): New function.
10171         (do_exit): Likewise.
10172         (notify_parent): Likewise.
10173         * nscd/nscd.h (notify_parent): Likewise.
10174         (do_exit): Likewise.
10175
10176 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10177
10178         * malloc/malloc.c (__libc_calloc): Revert last change.
10179
10180 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10181
10182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10183
10184 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10185
10186         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10188         implementation.
10189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10190         (__libc_ifunc_impl_list): Likewise.
10191         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10192         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10193         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10194         * string/strrchr.c: Define STRRCHR.
10195
10196 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10197
10198         * benchtest/bench-strtok.c (simple_strtok): Delete.
10199         (strtok_string): Use as benchmark.
10200         * string/strtok (STRTOK): New macro.
10201
10202 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10203
10204         * manual/threads.texi: Add header and standard comments to all
10205         functions.
10206
10207         * elf/dl-lookup.c (check_match): New function.
10208         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10209         (do_lookup_x): Remove nested function check_match. Use non-nested
10210         function check_match.
10211
10212 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10213
10214         * csu/Makefile (generated, before-compile): Use += rather than =.
10215         * catgets/Makefile (generated, generated-dirs): Likewise.
10216         * debug/Makefile (generated): Likewise.
10217         * dlfcn/Makefile (generated): Likewise.
10218         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10219         * iconvdata/Makefile (before-compile, generated): Likewise.
10220         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10221         * libio/Makefile (generated): Likewise.
10222         * malloc/Makefile (generated): Likewise.
10223         * manual/Makefile (generated, generated-dirs): Likewise.
10224         * misc/Makefile (generated): Likewise.
10225         * posix/Makefile (generated): Likewise.
10226         * resolv/Makefile (generated): Likewise.
10227         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10228         * timezone/Makefile (generated, generated-dirs): Likewise.
10229
10230         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10231
10232 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10233
10234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10235         power8 implementation.
10236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10237         file: POWER8 llround ifunc implementation.
10238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10239         (__lllround): Add POWER8 implementation.
10240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10241         POWER8 llround implementation.
10242
10243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10244         power8 implementation.
10245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10246         file: POWER8 llrint ifunc implementation.
10247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10248         Add POWER8 implementation.
10249         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10250         POWER8 llrint implementation.
10251
10252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10253         power8 implementation.
10254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10255         file: POWER8 finite ifunc implementation.
10256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10257         Add POWER8 implementation.
10258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10259         Likewise.
10260         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10261         POWER8 finite implementation.
10262         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10263
10264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10265         power8 implementation.
10266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10267         file: POWER8 isinf ifunc implementation.
10268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10269         POWER8 implementation.
10270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10271         Likewise.
10272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10273         isinf implementation.
10274         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10275
10276         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10277         (INIT_ARCH): Add hwcap2 initialization.
10278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10279         power8 implementation.
10280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10281         file: POWER8 isnan ifunc implementation.
10282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10283         POWER8 implementation.
10284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10285         Likewise.
10286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10287         isnan implementation.
10288         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10289
10290 2014-02-27  Joey Ye  <joey.ye@arm.com>
10291
10292         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10293         (_FP_NANFRAC_Q): Set to zero.
10294
10295 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10296
10297         [BZ #16623]
10298         * math/auto-libm-test-in: New test inputs.
10299         * math/auto-libm-test-out: Regenerate.
10300         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10301         and DA.
10302         (__cos): Likewise.
10303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10304
10305 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10306
10307         * scripts/evaluate-test.sh: Take new argument indicating whether
10308         failure is expected.
10309         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10310         indicating whether failure is expected.
10311         * conform/Makefile (test-xfail-run-conformtest): New variable.
10312         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10313         level.
10314         * posix/Makefile (test-xfail-annexc): New variable.
10315         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10316
10317 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10318
10319         * argp/Makefile: Include Makeconfig immediately after defining
10320         subdir.
10321         * assert/Makefile: Likewise.
10322         * benchtests/Makefile: Likewise.
10323         * catgets/Makefile: Likewise.
10324         * conform/Makefile: Likewise.
10325         * crypt/Makefile: Likewise.
10326         * csu/Makefile: Likewise.
10327         (all): Remove target.
10328         * ctype/Makefile: Include Makeconfig immediately after defining
10329         subdir.
10330         * debug/Makefile: Likewise.
10331         * dirent/Makefile: Likewise.
10332         * dlfcn/Makefile: Likewise.
10333         * gmon/Makefile: Likewise.
10334         * gnulib/Makefile: Likewise.
10335         * grp/Makefile: Likewise.
10336         * gshadow/Makefile: Likewise.
10337         * hesiod/Makefile: Likewise.
10338         * hurd/Makefile: Likewise.
10339         (all): Remove target.
10340         * iconvdata/Makefile: Include Makeconfig immediately after
10341         defining subdir.
10342         * inet/Makefile: Likewise.
10343         * intl/Makefile: Likewise.
10344         * io/Makefile: Likewise.
10345         * libio/Makefile: Likewise.
10346         (all): Remove target.
10347         * locale/Makefile: Include Makeconfig immediately after defining
10348         subdir.
10349         * login/Makefile: Likewise.
10350         * mach/Makefile: Likewise.
10351         (all): Remove target.
10352         * malloc/Makefile: Include Makeconfig immediately after defining
10353         subdir.
10354         (all): Remove target.
10355         * manual/Makefile: Include Makeconfig immediately after defining
10356         subdir.
10357         * math/Makefile: Likewise.
10358         * misc/Makefile: Likewise.
10359         * nis/Makefile: Likewise.
10360         * nss/Makefile: Likewise.
10361         * po/Makefile: Likewise.
10362         (all): Remove target.
10363         * posix/Makefile: Include Makeconfig immediately after defining
10364         subdir.
10365         * pwd/Makefile: Likewise.
10366         * resolv/Makefile: Likewise.
10367         * resource/Makefile: Likewise.
10368         * rt/Makefile: Likewise.
10369         * setjmp/Makefile: Likewise.
10370         * shadow/Makefile: Likewise.
10371         * signal/Makefile: Likewise.
10372         * socket/Makefile: Likewise.
10373         * soft-fp/Makefile: Likewise.
10374         * stdio-common/Makefile: Likewise.
10375         * stdlib/Makefile: Likewise.
10376         * streams/Makefile: Likewise.
10377         * string/Makefile: Likewise.
10378         * sunrpc/Makefile: Likewise.
10379         (all): Remove target.
10380         * sysvipc/Makefile: Include Makeconfig immediately after defining
10381         subdir.
10382         * termios/Makefile: Likewise.
10383         * time/Makefile: Likewise.
10384         * timezone/Makefile: Likewise.
10385         (all): Remove target.
10386         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10387         subdir.
10388         * wctype/Makefile: Likewise.
10389
10390 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10391
10392         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10393         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10394         (libc_feholdexcept_setround_mips): Ditto.
10395         (libc_feholdsetround): New.
10396         (libc_feholdsetroundf): New.
10397         (libc_feholdsetroundl): New.
10398         (libc_feupdateenv_test_mips): New.
10399         (libc_feupdateenv_test): New.
10400         (libc_feupdateenv_testf): New.
10401         (libc_feupdateenv_testl): New.
10402         (libc_feresetround): New.
10403         (libc_feresetroundf): New.
10404         (libc_feresetroundl): New.
10405         (libc_fetestexcept_mips): New.
10406         (libc_fetestexcept): New.
10407         (libc_fetestexceptf): New.
10408         (libc_fetestexceptl): New.
10409         (HAVE_RM_CTX): New.
10410         (libc_feholdexcept_setround_mips_ctx): New.
10411         (libc_feholdexcept_setround_ctx): New.
10412         (libc_feholdexcept_setroundf_ctx): New.
10413         (libc_feholdexcept_setroundl_ctx): New.
10414         (libc_fesetenv_mips_ctx): New.
10415         (libc_fesetenv_ctx): New.
10416         (libc_fesetenv_ctxf): New.
10417         (libc_fesetenv_ctxl): New.
10418         (libc_feupdateenv_mips_ctx): New.
10419         (libc_feupdateenv_ctx): New.
10420         (libc_feupdateenvf_ctx): New.
10421         (libc_feupdateenvl_ctx): New.
10422         (libc_feholdsetround_mips_ctx): New.
10423         (libc_feholdsetround_ctx): New.
10424         (libc_feholdsetroundf_ctx): New.
10425         (libc_feholdsetroundl_ctx): New.
10426         (libc_feresetround_mips_ctx): New.
10427         (libc_feresetround_ctx): New.
10428         (libc_feresetroundf_ctx): New.
10429         (libc_feresetroundl_ctx): New.
10430
10431 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10432
10433         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10434
10435         * manual/ipc.texi: New file.
10436         * manual/Makefile (chapters): Add ipc.
10437         * manual/job.texi: Add "Inter-Process Communication" to next.
10438         * manual/process.texi: Add "Inter-Process Communication" to prev.
10439
10440 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10441
10442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10443
10444 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10445
10446         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10447
10448         * manual/arith.texi: Fix spaces after sentences.
10449         * manual/charset.texi: Likewise.
10450         * manual/errno.texi: Likewise.
10451         * manual/install.texi: Likewise.
10452         * manual/llio.texi: Likewise.
10453         * manual/locale.texi: Likewise.
10454         * manual/maint.texi: Likewise.
10455         * manual/math.texi: Likewise.
10456         * manual/memory.texi: Likewise.
10457         * manual/message.texi: Likewise.
10458         * manual/probes.texi: Likewise.
10459         * manual/resource.texi: Likewise.
10460         * manual/signal.texi: Likewise.
10461         * manual/socket.texi: Likewise.
10462         * manual/stdio.texi: Likewise.
10463         * manual/string.texi: Likewise.
10464         * manual/time.texi: Likewise.
10465         * manual/users.texi: Likewise.
10466
10467 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10468
10469         [BZ #16632]
10470         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10471         _DEFAULT_SOURCE is defined.
10472
10473 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10474             Carlos O'Donell  <carlos@redhat.com>
10475
10476         [BZ #16613]
10477         * elf/dl-tls.c (_dl_count_modids): New function.
10478         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10479         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10480         audit library and increment generation counter.
10481         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10482         * elf/tst-audit9.c: New file.
10483         * elf/tst-auditmod9a.c: New file.
10484         * elf/tst-auditmod9b.c: New file.
10485         * elf/Makefile: Add rules to build and run tst-audit9.
10486
10487 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10488
10489         [BZ #15347]
10490         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10491
10492 2014-02-25  Will Newton  <will.newton@linaro.org>
10493
10494         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10495         (__longjmp): Restore sp and lr before restoring callee
10496         saved registers.  Add longjmp and longjmp_target
10497         SystemTap probe point.
10498         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10499         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10500         Define to zero to match jmpbuf layout.
10501         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10502         (__sigsetjmp): Save sp and lr before saving callee
10503         saved registers.  Add setjmp SystemTap probe point.
10504
10505 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10506
10507         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10508
10509 2014-02-24  Andreas Schwab  <schwab@suse.de>
10510
10511         [BZ #15804]
10512         * elf/pldd.c (wait_for_ptrace_stop): New function.
10513         (main): Call it after attaching.
10514
10515 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10516
10517         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10518         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10519         Versions files is now verboten.
10520         * hurd/Versions (libc: GLIBC_2.0):
10521         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10522         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10523         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10524         * mach/Versions: Likewise.
10525
10526         * csu/Versions: Remove unused %include.
10527         * resolv/Versions: Likewise.
10528
10529 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10530
10531         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10532         ($(objpfx)check-local-headers.out): Likewise.
10533         ($(objpfx)begin-end-check.out): Likewise.
10534         * Makerules (check-abi-%.out): Likewise.
10535         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10536         ($(objpfx)test2.cat): Likewise.
10537         ($(objpfx)de/libc.cat): Likewise.
10538         ($(objpfx)test-gencat.out): Likewise.
10539         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10540         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10541         ($(objpfx)noload-mem): Likewise.
10542         ($(objpfx)tst-pathopt.out): Likewise.
10543         ($(objpfx)tst-rtld-load-self.out): Likewise.
10544         ($(objpfx)tst-array1-cmp.out): Likewise.
10545         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10546         ($(objpfx)tst-array2-cmp.out): Likewise.
10547         ($(objpfx)tst-array3-cmp.out): Likewise.
10548         ($(objpfx)tst-array4-cmp.out): Likewise.
10549         ($(objpfx)tst-array5-cmp.out): Likewise.
10550         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10551         ($(objpfx)check-textrel.out): Likewise.
10552         ($(objpfx)check-execstack.out): Likewise.
10553         ($(objpfx)check-localplt.out): Likewise.
10554         ($(objpfx)order2-cmp.out): Likewise.
10555         ($(objpfx)tst-leaks1-mem): Likewise.
10556         ($(objpfx)tst-leaks1-static-mem): Likewise.
10557         ($(objpfx)tst-initorder-cmp.out): Likewise.
10558         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10559         ($(objpfx)tst-unused-dep.out): Likewise.
10560         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10561         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10562         * iconv/Makefile (test-iconvconfig): Likewise.
10563         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10564         ($(objpfx)iconv-test.out): Likewise.
10565         ($(objpfx)tst-tables.out): Likewise.
10566         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10567         ($(objpfx)tst-gettext.out): Likewise.
10568         ($(objpfx)tst-translit.out): Likewise.
10569         ($(objpfx)tst-gettext2.out): Likewise.
10570         ($(objpfx)tst-gettext4.out): Likewise.
10571         ($(objpfx)tst-gettext6.out): Likewise.
10572         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10573         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10574         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10575         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10576         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10577         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10578         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10579         ($(objpfx)wordexp-tst.out): Likewise.
10580         ($(objpfx)annexc.out): Likewise.
10581         ($(objpfx)tst-fnmatch-mem): Likewise.
10582         ($(objpfx)bug-regex2-mem): Likewise.
10583         ($(objpfx)bug-regex14-mem): Likewise.
10584         ($(objpfx)bug-regex21-mem): Likewise.
10585         ($(objpfx)bug-regex31-mem): Likewise.
10586         ($(objpfx)tst-vfork3-mem): Likewise.
10587         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10588         ($(objpfx)tst-pcre-mem): Likewise.
10589         ($(objpfx)tst-boost-mem): Likewise.
10590         ($(objpfx)tst-getconf.out): Likewise.
10591         ($(objpfx)bug-ga2-mem): Likewise.
10592         ($(objpfx)bug-glob2-mem): Likewise.
10593         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10594         ($(objpfx)mtrace-tst-leaks2): Likewise.
10595         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10596         ($(objpfx)tst-printf.out): Likewise.
10597         ($(objpfx)tst-setvbuf1.out): Likewise.
10598         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10599         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10600         ($(objpfx)tst-fmtmsg.out): Likewise.
10601         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10602         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10603
10604         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10605         * bits/sigaction.h [__USE_MISC]: Likewise.
10606         * bits/waitstatus.h: Update #endif comments.
10607         * ctype/ctype.h: Likewise.
10608         * dirent/dirent.h: Likewise.
10609         [__USE_MISC]: Remove redundant conditionals.
10610         * grp/grp.h: Update #endif comments.
10611         [__USE_GNU]: Remove redundant conditionals.
10612         [__USE_MISC]: Likewise.
10613         * inet/netinet/in.h [__USE_GNU]: Likewise.
10614         * io/sys/stat.h [__USE_MISC]: Likewise.
10615         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10616         * libio/bits/stdio.h: Update #endif comments.
10617         [__USE_MISC]: Remove redundant conditionals.
10618         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10619         * libio/stdio.h: Update #endif comments.
10620         [__USE_MISC]: Remove redundant conditionals.
10621         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10622         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10623         * math/math.h: Update #else and #endif comments.
10624         [__USE_MISC]: Remove redundant conditionals.
10625         * misc/sys/uio.h: Update #endif comments.
10626         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10627         * posix/glob.h [__USE_MISC]: Likewise.
10628         * posix/sys/types.h: Update #endif comments.
10629         [__USE_MISC]: Remove redundant conditionals.
10630         * posix/sys/wait.h: Update #endif comments.
10631         [__USE_MISC]: Remove redundant conditionals.
10632         * posix/unistd.h: Update #endif comments.
10633         [__USE_MISC]: Remove redundant conditionals.
10634         * pwd/pwd.h [__USE_GNU]: Likewise.
10635         [__USE_MISC]: Likewise.
10636         * resolv/netdb.h [__USE_GNU]: Likewise.
10637         * signal/signal.h: Update #endif comments.
10638         [__USE_MISC]: Remove redundant conditionals.
10639         * stdlib/stdlib.h: Update #else and #endif comments.
10640         [__USE_MISC]: Remove redundant conditionals.
10641         [__USE_GNU]: Likewise.
10642         * string/bits/string2.h [__USE_MISC]: Likewise.
10643         * string/string.h: Update #endif comments.
10644         [__USE_MISC]: Remove redundant conditionals.
10645         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10646         Likewise.
10647         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10648         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10649         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10650         Likewise.
10651         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10654         comments.
10655         [__USE_MISC]: Remove redundant conditionals.
10656         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10657         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10658         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10659         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10660         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10661         Likewise.
10662         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10663         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10664         Likewise.
10665         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10666         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10671         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10672         Likewise.
10673         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10674         Likewise.
10675         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10676         * sysdeps/x86/bits/string.h: Update #endif comments.
10677         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10678         conditionals.
10679         * time/sys/time.h: Update #endif comments.
10680         * time/time.h: Likewise.
10681         [__USE_MISC]: Remove redundant conditionals.
10682
10683 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10684
10685         [BZ #16600]
10686         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10687
10688 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10689
10690         * Versions.def (librt): Add GLIBC_2.17.
10691
10692 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10693
10694         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10695         synonym for _SYS_AUXV_H to allow direct inclusion.
10696         * sysdeps/sparc/bits/hwcap.h: Likewise.
10697         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10698         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10699         * sysdeps/sparc/sysdep.h: Likewise.
10700
10701 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10702
10703         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10704
10705 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10706
10707         * benchtests/bench-strrchr.c: Print length instead of position.
10708
10709 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10710
10711         [BZ #16611]
10712         * sysdeps/unix/sysv/linux/kernel-features.h
10713         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10714         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10715         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10716         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10717         Likewise.
10718         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10719         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10720         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10721         (__ASSUME_SENDMMSG): Define instead of using previous
10722         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10723         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10724         (__ASSUME_SENDMMSG_SYSCALL): Define.
10725         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10726         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10727         Likewise.
10728         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10729         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10730         Likewise.
10731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10732         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10735         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10736         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10737         [__ASSUME_SENDMMSG]: Change conditionals to
10738         [__ASSUME_SENDMMSG_SOCKETCALL].
10739         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10740         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10741         Define.
10742         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10743         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10744         Likewise.
10745         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10746         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10747         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10748         [!__ASSUME_SENDMMSG]: Change conditional to
10749         [!__ASSUME_SENDMMSG_SOCKETCALL].
10750         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10751         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10752         Define.
10753
10754         [BZ #16610]
10755         * sysdeps/unix/sysv/linux/kernel-features.h
10756         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10757         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10758         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10759         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10760         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10761         [__i386__ || __sparc__]
10762         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10763         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10764         (__ASSUME_RECVMMSG): Define instead of using previous
10765         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10766         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10767         (__ASSUME_RECVMMSG_SYSCALL): Define.
10768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10769         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10770         Likewise.
10771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10773         Likewise.
10774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10775         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10776         Likewise.
10777         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10778         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10779         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10780         [__ASSUME_RECVMMSG]: Change condition to
10781         [__ASSUME_RECVMMSG_SOCKETCALL].
10782         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10783         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10784         Define.
10785         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10786         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10787         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10788         Likewise.
10789         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10790         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10791         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10792         [!__ASSUME_RECVMMSG]: Change condition to
10793         [!__ASSUME_RECVMMSG_SOCKETCALL].
10794         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10795         (__ASSUME_RECVMMSG_SYSCALL): Define.
10796
10797         [BZ #16609]
10798         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10799         __powerpc__ || __s390__ || __sh__ || __sparc__]
10800         (__ASSUME_SOCKETCALL): Define.
10801         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10802         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10803         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10804         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10805         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10806         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10807         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10808         (__ASSUME_ACCEPT4): Define instead of using previous
10809         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10810         __powerpc__ || __sparc__ || __s390__)] condition.
10811         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10812         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10813         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10814         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10815         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10816         [!__ASSUME_ACCEPT4]: Change condition to
10817         [!__ASSUME_ACCEPT4_SOCKETCALL].
10818         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10819         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10820         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10821         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10822         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10823         __ASSUME_ACCEPT4_SYSCALL.
10824         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10825         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10826         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10827         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10828         __ASSUME_ACCEPT4_SYSCALL.
10829         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10830         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10831         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10832         [__ASSUME_ACCEPT4]: Change condition to
10833         [__ASSUME_ACCEPT4_SOCKETCALL].
10834         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10835         (__ASSUME_SOCKETCALL): Define.
10836         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10838         (__ASSUME_SOCKETCALL): Define.
10839         (__ASSUME_ACCEPT4): Remove.
10840         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10841         Define.
10842         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10843         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10844         Likewise.
10845         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10846         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10847
10848         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10849         macro.
10850         (HWCAP_ARM_LPAE): Likewise.
10851         (HWCAP_ARM_EVTSTRM): Likewise.
10852         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10853         Add vpfd32, lpae and evtstrm.
10854         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10855         Increase to 22.
10856
10857 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10858
10859         * math/auto-libm-test-in: Add tests of clog10.
10860         * math/auto-libm-test-out: Regenerated.
10861         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10862         * sysdeps/i386/fpu/libm-test-ulps: Update.
10863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10864
10865 2014-02-18  Andreas Schwab  <schwab@suse.de>
10866
10867         [BZ #16574]
10868         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10869         Store non-zero if the second buffer was newly allocated.
10870         (send_dg): Likewise.
10871         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10872         to send_vc and send_dg.
10873         (res_nsend): Pass NULL for ansp2_malloced.
10874         * resolv/res_query.c (__libc_res_nquery): Add parameter
10875         answerp2_malloced and pass it down to __libc_res_nsend.
10876         (res_nquery): Pass additional NULL to __libc_res_nquery.
10877         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10878         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10879         second answer buffer if answerp2_malloced was set.
10880         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10881         (__libc_res_nquerydomain): Add parameter
10882         answerp2_malloced and pass it down to __libc_res_nquery.
10883         (res_nquerydomain): Pass additional NULL to
10884         __libc_res_nquerydomain.
10885         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10886         additional NULL to __libc_res_nsend and __libc_res_nquery.
10887         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10888         additional NULL to __libc_res_nsearch.
10889         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10890         parameter of __libc_res_nsearch to check for separately allocated
10891         second buffer.
10892         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10893         __libc_res_nquery.
10894         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10895         additional NULL to __libc_res_nquery.
10896         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10897         __libc_res_nsearch.
10898         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10899         * include/resolv.h: Update prototypes of __libc_res_nquery,
10900         __libc_res_nsearch, __libc_res_nsend.
10901
10902 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10903
10904         * math/auto-libm-test-in: Add tests of fma.
10905         * math/auto-libm-test-out: Regenerated.
10906         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10907         (fma_towardzero_test_data): Likewise.
10908         (fma_downward_test_data): Likewise.
10909         (fma_upward_test_data): Likewise.
10910         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10911         mpc_mode.
10912         (rounding_modes): Add values for new field.
10913         (func_calc_method): Add value mpfr_fff_f.
10914         (func_calc_desc): Add mpfr_fff_f union field.
10915         (test_function): Add field exact_args.
10916         (FUNC): Add macro argument EXACT_ARGS.
10917         (FUNC_mpfr_f_f): Update call to FUNC.
10918         (FUNC_mpfr_f_f): Likewise.
10919         (FUNC_mpfr_ff_f): Likewise.
10920         (FUNC_mpfr_if_f): Likewise.
10921         (FUNC_mpc_c_f): Likewise.
10922         (FUNC_mpc_c_c): Likewise.
10923         (test_functions): Add fma.  Update calls to FUNC.
10924         (handle_input_arg): Add argument exact_args.
10925         (add_test): Update call to handle_input_arg.
10926         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10927         (output_for_one_input_case): Update call to calc_generic_results.
10928         Recalculate exact zero results in each rounding mode.
10929
10930         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10931         non-negative before setting low bit.
10932         * math/auto-libm-test-in: Mark one asin test possibly having
10933         spurious underflow.
10934         * math/auto-libm-test-out: Regenerated.
10935         * sysdeps/i386/fpu/libm-test-ulps: Update.
10936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937
10938 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10939
10940         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10941         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10942         ports/sysdeps/unix/sysv/linux/microblaze.
10943         * README: Add missing listing for microblaze*-*-linux-gnu.
10944
10945 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10946
10947         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10948         duplicate code
10949
10950 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10951
10952         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10953         * sysdeps/unix/sysv/linux/ia64: Move directory from
10954         ports/sysdeps/unix/sysv/linux/ia64.
10955         * README: Update listing for ia64-*-linux-gnu.
10956
10957 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10958             Joseph Myers  <joseph@codesourcery.com>
10959
10960         * Makeconfig (test-name): New variable.
10961         (evaluate-test): Likewise.
10962         * Makerules (do-test-clean): Remove .test-result files.
10963         (common-mostlyclean): Likewise.
10964         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10965         * scripts/evaluate-test.sh: New file.
10966
10967 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10968
10969         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10970         separate $(objpfx)tst-fopenloc-cmp.out and
10971         $(objpfx)tst-fopenloc-mem.out targets.
10972         (tests): Update dependencies.
10973         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10974         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10975         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10976         (tst-rxspencer-no-utf8-ARGS): New variable.
10977         (tst-rxspencer-no-utf8-ENV): Likewise.
10978         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10979         instead of $(objpfx)tst-rxspencer-mem.
10980         ($(objpfx)tst-rxspencer-mem): Change target to
10981         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10982         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10983         * posix/tst-rxspencer-no-utf8.c: New file.
10984
10985         * elf/Makefile ($(objpfx)order.out): Remove rule.
10986         [$(run-built-tests) = yes] (tests): Depend on
10987         $(objpfx)order-cmp.out.
10988         ($(objpfx)order-cmp.out): New rule.
10989         [$(run-built-tests) = yes] (tests): Depend on
10990         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10991         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10992         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10993         $(objpfx)tst-array5-static-cmp.out.
10994         ($(objpfx)tst-array1.out): Remove rule.
10995         ($(objpfx)tst-array1-cmp.out): New rule.
10996         ($(objpfx)tst-array1-static.out): Remove rule.
10997         ($(objpfx)tst-array1-static-cmp.out): New rule.
10998         ($(objpfx)tst-array2.out): Remove rule.
10999         ($(objpfx)tst-array2-cmp.out): New rule.
11000         ($(objpfx)tst-array3.out): Remove rule.
11001         ($(objpfx)tst-array3-cmp.out): New rule.
11002         ($(objpfx)tst-array4.out): Remove rule.
11003         ($(objpfx)tst-array4-cmp.out): New rule.
11004         ($(objpfx)tst-array5.out): Remove rule.
11005         ($(objpfx)tst-array5-cmp.out): New rule.
11006         ($(objpfx)tst-array5-static.out): Remove rule.
11007         ($(objpfx)tst-array5-static-cmp.out): New rule.
11008         [$(run-built-tests) = yes] (tests): Depend on
11009         $(objpfx)order2-cmp.out.
11010         ($(objpfx)order2.out): Remove rule.
11011         ($(objpfx)order2-cmp.out): New rule.
11012         ($(objpfx)tst-initorder.out): Remove rule.
11013         [$(run-built-tests) = yes] (tests): Depend on
11014         $(objpfx)tst-initorder-cmp.out.
11015         ($(objpfx)tst-initorder-cmp.out): New rule.
11016         ($(objpfx)tst-initorder2.out): Remove rule.
11017         [$(run-built-tests) = yes] (tests): Depend on
11018         $(objpfx)tst-initorder2-cmp.out.
11019         ($(objpfx)tst-initorder2-cmp.out): New rule.
11020         [$(run-built-tests) = yes] (tests): Depend on
11021         $(objpfx)tst-unused-dep-cmp.out.
11022         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11023         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11024         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11025         on $(objpfx)tst-setvbuf1-cmp.out.
11026         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11027         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11028         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11029         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11030         ($(objpfx)tst-svc.out): Remove rule.
11031         ($(objpfx)tst-svc-cmp.out): New rule.
11032
11033 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11034
11035         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11036         * ctype/ctype.h [__USE_MISC]: Likewise.
11037         * dirent/dirent.h [__USE_MISC]: Likewise.
11038         * grp/grp.h [__USE_MISC]: Likewise.
11039         * io/fcntl.h [__USE_MISC]: Likewise.
11040         * io/sys/stat.h [__USE_MISC]: Likewise.
11041         * libio/stdio.h [__USE_MISC]: Likewise.
11042         * posix/unistd.h [__USE_MISC]: Likewise.
11043         * pwd/pwd.h [__USE_MISC]: Likewise.
11044         * stdlib.h [__USE_MISC]: Likewise.
11045         * string/bits/string2.h [__USE_MISC]: Likewise.
11046         * string/string.h [__USE_MISC]: Likewise.
11047         * time/time.h [__USE_MISC]: Likewise.
11048
11049 2014-02-13  Andreas Schwab  <schwab@suse.de>
11050
11051         [BZ #16574]
11052         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11053         second answer buffer if it was separately allocated.
11054
11055 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11056
11057         * sysdeps/mips/math-tests.h: Include <features.h>.
11058         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11059         (ROUNDING_TESTS_long_double): Do not define.
11060         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11061         (EXCEPTION_TESTS_long_double): Likewise.
11062         * sysdeps/mips/mips64/libm-test-ulps: Update.
11063
11064         * include/features.h (__USE_BSD): Remove macro definitions.
11065         (__USE_SVID): Likewise.
11066         (_BSD_SOURCE): Likewise.
11067         (_SVID_SOURCE): Likewise.
11068         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11069         from definition of _DEFAULT_SOURCE.
11070         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11071         [_DEFAULT_SOURCE].
11072         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11073         * bits/mman.h [__USE_BSD]: Likewise.
11074         * bits/termios.h [__USE_BSD]: Likewise.
11075         * bits/waitstatus.h [__USE_BSD]: Likewise.
11076         * ctype/ctype.h [__USE_SVID]: Likewise.
11077         * dirent/dirent.h [__USE_BSD]: Likewise.
11078         * grp/grp.h [__USE_SVID]: Likewise.
11079         [__USE_BSD]: Likewise.
11080         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11081         * io/fcntl.h [__USE_BSD]: Likewise.
11082         * io/ftw.h [__USE_BSD]: Likewise.
11083         * io/sys/stat.h [__USE_BSD]: Likewise.
11084         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11085         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11086         * libio/stdio.h [__USE_SVID]: Likewise.
11087         [__USE_BSD]: Likewise.
11088         * math/math.h [__USE_SVID]: Likewise.
11089         [__USE_BSD]: Likewise.
11090         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11091         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11092         * misc/search.h [__USE_SVID]: Likewise.
11093         * misc/sys/mman.h [__USE_BSD]: Likewise.
11094         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11095         * misc/sys/uio.h [__USE_BSD]: Likewise.
11096         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11097         * posix/glob.h [__USE_BSD]: Likewise.
11098         * posix/regex.h [__USE_BSD]: Likewise.
11099         * posix/sys/types.h [__USE_BSD]: Likewise.
11100         [__USE_SVID]: Likewise.
11101         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11102         * posix/sys/wait.h [__USE_BSD]: Likewise.
11103         [__USE_SVID]: Likewise.
11104         * posix/unistd.h [__USE_BSD]: Likewise.
11105         [__USE_SVID]: Likewise.
11106         * pwd/pwd.h [__USE_SVID]: Likewise.
11107         * resolv/netdb.h [__USE_BSD]: Likewise.
11108         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11109         * signal/signal.h [__USE_BSD]: Likewise.
11110         [__USE_SVID]: Likewise.
11111         * socket/sys/socket.h [__USE_BSD]: Likewise.
11112         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11113         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11114         [__USE_SVID]: Likewise.
11115         * string/bits/string2.h [__USE_BSD]: Likewise.
11116         [__USE_SVID]: Likewise.
11117         * string/bits/string3.h [__USE_BSD]: Likewise.
11118         * string/endian.h [__USE_BSD]: Likewise.
11119         * string/string.h [__USE_SVID]: Likewise.
11120         [__USE_BSD]: Likewise.
11121         * string/strings.h [__USE_BSD]: Likewise.
11122         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11123         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11124         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11125         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11126         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11127         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11128         Likewise.
11129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11130         Likewise.
11131         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11132         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11133         Likewise.
11134         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11135         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11136         Likewise.
11137         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11138         Likewise.
11139         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11140         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11141         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11142         Likewise.
11143         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11144         Likewise.
11145         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11146         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11147         * termios/termios.h [__USE_BSD]: Likewise.
11148         * time/sys/time.h [__USE_BSD]: Likewise.
11149         * time/time.h [__USE_BSD]: Likewise.
11150         [__USE_SVID]: Likewise.
11151
11152         * Makefile (subdir_targets): Remove subdir_lint.out.
11153
11154         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11155         (do-tst-printf): Likewise.
11156         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11157         $(objpfx)tst-printf.out.
11158
11159         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11160
11161         * Makerules (check-abi-%): Change target to
11162         $(objpfx)check-abi-%.out.
11163         (check-abi target): Update dependencies.
11164         (check-abi-pattern variable): Redirect output of diff to $@.
11165         (check-abi variable): Likewise.
11166         * elf/Makefile (check-abi): Update dependencies.
11167
11168         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11169         unused.
11170         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11171         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11172         subnormal range.
11173         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11174         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11175         value has largest subnormal exponent.
11176         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11177         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11178         * sysdeps/aarch64/soft-fp/sfp-machine.h
11179         (_FP_TININESS_AFTER_ROUNDING): New macro.
11180         * sysdeps/alpha/soft-fp/sfp-machine.h
11181         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11182         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11183         Likewise.
11184         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11185         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11186         * sysdeps/mips/soft-fp/sfp-machine.h
11187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11188         * sysdeps/powerpc/soft-fp/sfp-machine.h
11189         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11190         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11191         Likewise.
11192         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11193         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11194         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11196         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11197         Likewise.
11198
11199 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11200
11201         [BZ #16545]
11202         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11203         model 1.
11204
11205 2014-02-12  Richard Henderson  <rth@redhat.com>
11206
11207         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11208         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11209         * sysdeps/unix/sysv/linux/alpha: Move directory from
11210         ports/sysdeps/unix/sysv/linux/alpha.
11211         * README: Update listing for alpha-*-linux-gnu.
11212
11213 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11214
11215         * include/features.h: Update comment documenting feature test
11216         macros.
11217         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11218         _DEFAULT_SOURCE.
11219         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11220         (_SVID_SOURCE): Likewise.
11221         (_DEFAULT_SOURCE): Update description of default features.
11222         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11223         with _GNU_SOURCE.
11224         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11225         (S_ISVTX): Likewise.
11226         * manual/math.texi (Mathematical Constants): Likewise.
11227         * manual/signal.texi (Interrupted Primitives): Likewise.
11228         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11229         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11230         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11231         Don't refer to _SVID_SOURCE in warning text.
11232
11233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11234
11235         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11236         already defined.
11237         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11238         * sysdeps/mips/dl-lookup.c: Remove.
11239         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11240
11241 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11242
11243         [BZ #16447]
11244         * math/auto-libm-test-in: Add testcase for expl.
11245         * math/auto-libm-test-out: Regenerate.
11246         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11247         calculation of unsafe.
11248         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11249
11250 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11251
11252         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11253         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11254         ports/sysdeps/unix/sysv/linux/aarch64.
11255         * README: Update listing for aarch64*-*-linux-gnu.
11256
11257 2014-02-11  Will Newton  <will.newton@linaro.org>
11258
11259         * manual/probes.texi (Mathematical Function Probes): Use
11260         "triggered" instead of "hit".
11261
11262         * manual/probes.texi (Internal Probes): Add documentation
11263         of setjmp, longjmp and longjmp_target probes.
11264
11265         * include/stap-probe.h: Add comment about probe argument
11266         format.
11267
11268         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11269         definition.  (tr_where, tr_freehook, tr_mallochook,
11270         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11271
11272 2014-02-11  David S. Miller  <davem@davemloft.net>
11273
11274         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11275         processing int_tests.
11276
11277 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11278
11279         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11280         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11281         * sysdeps/unix/sysv/linux/mips: Move directory from
11282         ports/sysdeps/unix/sysv/linux/mips.
11283         * README: Update listing for mips-*-linux-gnu and
11284         mips64-*-linux-gnu.
11285
11286 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11287
11288         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11289         * sysdeps/unix/sysv/linux/m68k: Move directory from
11290         ports/sysdeps/unix/sysv/linux/m68k.
11291         * README: Update listing for m68k-*-linux-gnu.
11292
11293 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11294
11295         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11296         * sysdeps/unix/sysv/linux/generic: Move directory from
11297         ports/sysdeps/unix/sysv/linux/generic.
11298         * sysdeps/unix/sysv/linux/tile: Move directory from
11299         ports/sysdeps/unix/sysv/linux/tile.
11300         * README: Update listing for tile*-*-linux-gnu.
11301
11302 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11303
11304         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11305         __builtin_expect.
11306         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11307         * catgets/open_catalog.c (__open_catalog): Likewise.
11308         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11309         * debug/confstr_chk.c: Likewise.
11310         * debug/fread_chk.c (__fread_chk): Likewise.
11311         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11312         * debug/getgroups_chk.c: Likewise.
11313         * debug/mbsnrtowcs_chk.c: Likewise.
11314         * debug/mbsrtowcs_chk.c: Likewise.
11315         * debug/mbstowcs_chk.c: Likewise.
11316         * debug/memcpy_chk.c: Likewise.
11317         * debug/memmove_chk.c: Likewise.
11318         * debug/mempcpy_chk.c: Likewise.
11319         * debug/memset_chk.c: Likewise.
11320         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11321         * debug/strcat_chk.c (__strcat_chk): Likewise.
11322         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11323         * debug/strncat_chk.c (__strncat_chk): Likewise.
11324         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11325         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11326         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11327         * debug/wcpncpy_chk.c: Likewise.
11328         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11329         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11330         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11331         * debug/wcsncpy_chk.c: Likewise.
11332         * debug/wcsnrtombs_chk.c: Likewise.
11333         * debug/wcsrtombs_chk.c: Likewise.
11334         * debug/wcstombs_chk.c: Likewise.
11335         * debug/wmemcpy_chk.c: Likewise.
11336         * debug/wmemmove_chk.c: Likewise.
11337         * debug/wmempcpy_chk.c: Likewise.
11338         * debug/wmemset_chk.c: Likewise.
11339         * dirent/scandirat.c (SCANDIRAT): Likewise.
11340         * dlfcn/dladdr1.c (dladdr1): Likewise.
11341         * dlfcn/dladdr.c (dladdr): Likewise.
11342         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11343         * dlfcn/dlerror.c (__dlerror): Likewise.
11344         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11345         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11346         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11347         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11348         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11349         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11350         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11351         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11352         Likewise.
11353         * elf/dl-conflict.c: Likewise.
11354         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11355         * elf/dl-dst.h: Likewise.
11356         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11357         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11358         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11359         * elf/dl-init.c (call_init, _dl_init): Likewise.
11360         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11361         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11362         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11363         Likewise.
11364         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11365         Likewise.
11366         * elf/dl-minimal.c (__libc_memalign): Likewise.
11367         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11368         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11369         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11370         * elf/dl-sym.c (do_sym): Likewise.
11371         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11372         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11373         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11374         * elf/dl-writev.h (_dl_writev): Likewise.
11375         * elf/ldconfig.c (search_dir): Likewise.
11376         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11377         (dl_main): Likewise.
11378         * elf/setup-vdso.h (setup_vdso): Likewise.
11379         * grp/compat-initgroups.c (compat_call): Likewise.
11380         * grp/fgetgrent.c (fgetgrent): Likewise.
11381         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11382         * grp/putgrent.c (putgrent): Likewise.
11383         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11384         Likewise.
11385         * hurd/hurdinit.c: Likewise.
11386         * iconvdata/8bit-gap.c (struct): Likewise.
11387         * iconvdata/ansi_x3.110.c : Likewise.
11388         * iconvdata/big5.c : Likewise.
11389         * iconvdata/big5hkscs.c : Likewise.
11390         * iconvdata/cp1255.c: Likewise.
11391         * iconvdata/cp1258.c : Likewise.
11392         * iconvdata/cp932.c : Likewise.
11393         * iconvdata/euc-cn.c: Likewise.
11394         * iconvdata/euc-jisx0213.c : Likewise.
11395         * iconvdata/euc-jp.c: Likewise.
11396         * iconvdata/euc-jp-ms.c : Likewise.
11397         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11398         * iconvdata/gb18030.c : Likewise.
11399         * iconvdata/gbbig5.c (const): Likewise.
11400         * iconvdata/gbgbk.c: Likewise.
11401         * iconvdata/gbk.c : Likewise.
11402         * iconvdata/ibm1364.c : Likewise.
11403         * iconvdata/ibm930.c : Likewise.
11404         * iconvdata/ibm932.c: Likewise.
11405         * iconvdata/ibm933.c : Likewise.
11406         * iconvdata/ibm935.c : Likewise.
11407         * iconvdata/ibm937.c : Likewise.
11408         * iconvdata/ibm939.c : Likewise.
11409         * iconvdata/ibm943.c: Likewise.
11410         * iconvdata/iso_11548-1.c: Likewise.
11411         * iconvdata/iso-2022-cn.c : Likewise.
11412         * iconvdata/iso-2022-cn-ext.c : Likewise.
11413         * iconvdata/iso-2022-jp-3.c: Likewise.
11414         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11415         * iconvdata/iso-2022-kr.c : Likewise.
11416         * iconvdata/iso646.c (gconv_end): Likewise.
11417         * iconvdata/iso_6937-2.c : Likewise.
11418         * iconvdata/iso_6937.c : Likewise.
11419         * iconvdata/iso8859-1.c: Likewise.
11420         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11421         * iconvdata/shift_jisx0213.c : Likewise.
11422         * iconvdata/sjis.c : Likewise.
11423         * iconvdata/t.61.c : Likewise.
11424         * iconvdata/tcvn5712-1.c : Likewise.
11425         * iconvdata/tscii.c: Likewise.
11426         * iconvdata/uhc.c : Likewise.
11427         * iconvdata/unicode.c (gconv_end): Likewise.
11428         * iconvdata/utf-16.c (gconv_end): Likewise.
11429         * iconvdata/utf-32.c (gconv_end): Likewise.
11430         * iconvdata/utf-7.c (base64): Likewise.
11431         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11432         * iconv/gconv_close.c (__gconv_close): Likewise.
11433         * iconv/gconv_open.c (__gconv_open): Likewise.
11434         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11435         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11436         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11437         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11438         (ucs4le_internal_loop_single): Likewise.
11439         * iconv/iconv.c (iconv): Likewise.
11440         * iconv/iconv_close.c: Likewise.
11441         * iconv/loop.c (SINGLE): Likewise.
11442         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11443         * include/atomic.h: Likewise.
11444         * inet/inet6_option.c (option_alloc): Likewise.
11445         * intl/bindtextdom.c (set_binding_values): Likewise.
11446         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11447         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11448         * intl/localealias.c (read_alias_file): Likewise.
11449         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11450         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11451         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11452         * libio/fmemopen.c (fmemopen): Likewise.
11453         * libio/iofgets.c (_IO_fgets): Likewise.
11454         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11455         * libio/iofgetws.c (fgetws): Likewise.
11456         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11457         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11458         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11459         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11460         * locale/findlocale.c (_nl_find_locale): Likewise.
11461         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11462         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11463         Likewise.
11464         * locale/setlocale.c (setlocale): Likewise.
11465         * login/programs/pt_chown.c (main): Likewise.
11466         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11467         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11468         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11469         (mmap, mmap64, mremap, munmap): Likewise.
11470         * math/e_exp2l.c: Likewise.
11471         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11472         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11473         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11474         * math/s_catan.c (__catan): Likewise.
11475         * math/s_catanf.c (__catanf): Likewise.
11476         * math/s_catanh.c (__catanh): Likewise.
11477         * math/s_catanhf.c (__catanhf): Likewise.
11478         * math/s_catanhl.c (__catanhl): Likewise.
11479         * math/s_catanl.c (__catanl): Likewise.
11480         * math/s_ccosh.c (__ccosh): Likewise.
11481         * math/s_ccoshf.c (__ccoshf): Likewise.
11482         * math/s_ccoshl.c (__ccoshl): Likewise.
11483         * math/s_cexp.c (__cexp): Likewise.
11484         * math/s_cexpf.c (__cexpf): Likewise.
11485         * math/s_cexpl.c (__cexpl): Likewise.
11486         * math/s_clog10.c (__clog10): Likewise.
11487         * math/s_clog10f.c (__clog10f): Likewise.
11488         * math/s_clog10l.c (__clog10l): Likewise.
11489         * math/s_clog.c (__clog): Likewise.
11490         * math/s_clogf.c (__clogf): Likewise.
11491         * math/s_clogl.c (__clogl): Likewise.
11492         * math/s_csin.c (__csin): Likewise.
11493         * math/s_csinf.c (__csinf): Likewise.
11494         * math/s_csinh.c (__csinh): Likewise.
11495         * math/s_csinhf.c (__csinhf): Likewise.
11496         * math/s_csinhl.c (__csinhl): Likewise.
11497         * math/s_csinl.c (__csinl): Likewise.
11498         * math/s_csqrt.c (__csqrt): Likewise.
11499         * math/s_csqrtf.c (__csqrtf): Likewise.
11500         * math/s_csqrtl.c (__csqrtl): Likewise.
11501         * math/s_ctan.c (__ctan): Likewise.
11502         * math/s_ctanf.c (__ctanf): Likewise.
11503         * math/s_ctanh.c (__ctanh): Likewise.
11504         * math/s_ctanhf.c (__ctanhf): Likewise.
11505         * math/s_ctanhl.c (__ctanhl): Likewise.
11506         * math/s_ctanl.c (__ctanl): Likewise.
11507         * math/w_pow.c: Likewise.
11508         * math/w_powf.c: Likewise.
11509         * math/w_powl.c: Likewise.
11510         * math/w_scalb.c (sysv_scalb): Likewise.
11511         * math/w_scalbf.c (sysv_scalbf): Likewise.
11512         * math/w_scalbl.c (sysv_scalbl): Likewise.
11513         * misc/error.c (error_tail): Likewise.
11514         * misc/pselect.c (__pselect): Likewise.
11515         * nis/nis_callback.c (__nis_create_callback): Likewise.
11516         * nis/nis_call.c (__nisfind_server): Likewise.
11517         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11518         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11519         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11520         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11521         * nis/nis_lookup.c (nis_lookup): Likewise.
11522         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11523         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11524         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11525         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11526         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11527         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11528         * nis/nss_compat/compat-initgroups.c (add_group)
11529         (internal_getgrent_r): Likewise.
11530         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11531         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11532         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11533         (internal_getspnam_r): Likewise.
11534         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11535         (_nss_nis_getaliasbyname_r): Likewise.
11536         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11537         (_nss_nis_getntohost_r): Likewise.
11538         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11539         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11540         (_nss_nis_getgrgid_r): Likewise.
11541         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11542         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11543         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11544         (_nss_nis_gethostbyname4_r): Likewise.
11545         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11546         (initgroups_netid): Likewise.
11547         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11548         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11549         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11550         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11551         (_nss_nis_getprotobynumber_r): Likewise.
11552         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11553         (_nss_nis_getsecretkey): Likewise.
11554         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11555         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11556         (_nss_nis_getpwuid_r): Likewise.
11557         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11558         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11559         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11560         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11561         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11562         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11563         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11564         Likewise.
11565         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11566         (_nss_nisplus_getntohost_r): Likewise.
11567         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11568         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11569         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11570         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11571         Likewise.
11572         * nis/nss_nisplus/nisplus-initgroups.c
11573         (_nss_nisplus_initgroups_dyn): Likewise.
11574         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11575         (_nss_nisplus_getnetbyaddr_r): Likewise.
11576         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11577         (_nss_nisplus_getprotobynumber_r): Likewise.
11578         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11579         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11580         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11581         Likewise.
11582         * nis/nss_nisplus/nisplus-service.c
11583         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11584         (_nss_nisplus_getservbyport_r): Likewise.
11585         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11586         (_nss_nisplus_getspnam_r): Likewise.
11587         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11588         Likewise.
11589         * nscd/aicache.c (addhstaiX): Likewise.
11590         * nscd/cache.c (cache_search, prune_cache): Likewise.
11591         * nscd/connections.c (register_traced_file, send_ro_fd)
11592         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11593         (main_loop_epoll): Likewise.
11594         * nscd/grpcache.c (addgrbyX): Likewise.
11595         * nscd/hstcache.c (addhstbyX): Likewise.
11596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11597         * nscd/mem.c (gc, mempool_alloc): Likewise.
11598         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11599         (addinnetgrX): Likewise.
11600         * nscd/nscd-client.h (__nscd_acquire_maplock)
11601         (__nscd_drop_map_ref): Likewise.
11602         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11603         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11604         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11605         Likewise.
11606         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11607         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11608         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11609         (__nscd_get_map_ref): Likewise.
11610         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11611         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11612         Likewise.
11613         * nscd/pwdcache.c (addpwbyX): Likewise.
11614         * nscd/selinux.c (preserve_capabilities): Likewise.
11615         * nscd/servicescache.c (addservbyX): Likewise.
11616         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11617         * posix/fnmatch.c (fnmatch): Likewise.
11618         * posix/getopt.c (_getopt_internal_r): Likewise.
11619         * posix/glob.c (glob, glob_in_dir): Likewise.
11620         * posix/wordexp.c (exec_comm_child): Likewise.
11621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11622         (getanswer_r, gaih_getanswer_slice): Likewise.
11623         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11624         * resolv/res_init.c: Likewise.
11625         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11626         * resolv/res_query.c (__libc_res_nquery): Likewise.
11627         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11628         Likewise.
11629         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11630         * stdio-common/perror.c (perror): Likewise.
11631         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11632         * stdio-common/tmpnam.c (tmpnam): Likewise.
11633         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11634         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11635         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11636         Likewise.
11637         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11638         * stdlib/putenv.c (putenv): Likewise.
11639         * stdlib/setenv.c (__add_to_environ): Likewise.
11640         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11641         * stdlib/strtol_l.c (INTERNAL): Likewise.
11642         * string/memmem.c (memmem): Likewise.
11643         * string/strerror.c (strerror): Likewise.
11644         * string/strnlen.c (__strnlen): Likewise.
11645         * string/test-memmem.c (simple_memmem): Likewise.
11646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11647         * sunrpc/pm_getport.c (__get_socket): Likewise.
11648         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11649         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11650         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11651         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11652         Likewise.
11653         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11654         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11655         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11656         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11657         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11658         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11659         Likewise.
11660         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11661         Likewise.
11662         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11663         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11665         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11666         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11668         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11669         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11670         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11671         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11672         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11673         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11674         Likewise.
11675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11676         Likewise.
11677         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11678         Likewise.
11679         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11680         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11681         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11682         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11683         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11684         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11685         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11689         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11691         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11692         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11694         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11695         Likewise.
11696         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11697         Likewise.
11698         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11699         Likewise.
11700         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11701         Likewise.
11702         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11704         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11705         Likewise.
11706         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11707         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11708         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11709         * sysdeps/posix/sleep.c: Likewise.
11710         * sysdeps/posix/tempname.c: Likewise.
11711         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11712         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11713         Likewise.
11714         * sysdeps/powerpc/powerpc32/dl-machine.h
11715         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11716         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11718         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11719         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11720         Likewise.
11721         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11723         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11724         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11725         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11726         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11727         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11728         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11729         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11730         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11731         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11732         (elf_machine_lazy_rel): Likewise.
11733         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11734         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11735         (elf_machine_lazy_rel): Likewise.
11736         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11737         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11738         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11739         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11740         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11741         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11742         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11744         Likewise.
11745         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11746         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11747         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11748         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11749         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11750         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11751         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11752         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11753         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11754         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11755         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11756         Likewise.
11757         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11758         (__posix_fallocate64_l64): Likewise.
11759         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11760         (posix_fallocate): Likewise.
11761         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11762         Likewise.
11763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11764         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11765         (getifaddrs_internal): Likewise.
11766         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11767         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11768         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11769         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11770         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11771         (__posix_fallocate64_l64): Likewise.
11772         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11775         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11776         (__get_clockfreq): Likewise.
11777         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11778         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11779         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11782         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11783         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11784         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11785         Likewise.
11786         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11787         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11788         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11789         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11790         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11791         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11792         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11793         Likewise.
11794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11795         (posix_fallocate): Likewise.
11796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11797         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11798         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11799         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11800         (elf_machine_rela, elf_machine_rela_relative)
11801         (elf_machine_lazy_rel): Likewise.
11802         * time/asctime.c (asctime_internal): Likewise.
11803         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11804         * time/tzset.c (__tzset_parse_tz): Likewise.
11805         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11806         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11807         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11808         * wcsmbs/wcsmbsload.h: Likewise.
11809
11810         [BZ #15894]
11811         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11812
11813         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11814         (arena_get2): Remove THREAD_STATS conditionals.
11815         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11816         (__malloc_stats, int): Likewise.
11817
11818 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11819
11820         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11821         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11822
11823         * manual/setjmp.texi: Fix typos/grammar errors.
11824
11825         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11826         Only return early when n is <= 0.  Delete unused return statement.
11827
11828         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11829         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11830         * debug/tst-longjmp_chk3.c: New file.
11831
11832         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11833         (test_main): Replace code with set_fortify_handler call.
11834         * debug/test-strcpy_chk.c: Likewise.
11835         * debug/tst-chk1.c: Likewise.
11836         * debug/tst-longjmp_chk.c: Likewise.
11837         * test-skeleton.c: Include fcntl.h & paths.h
11838         (set_fortify_handler): Define.
11839
11840         * debug/tst-longjmp_chk.c: Add header comment and include
11841         ../test-skeleton.c.
11842         (do_test): Mark static.
11843         (TEST_FUNCTION): Define.
11844
11845         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11846         (IP_PMTUDISC_INTERFACE): Likewise.
11847         (IP_MULTICAST_IF): Likewise.
11848         (IP_MULTICAST_TTL): Likewise.
11849         (IP_MULTICAST_LOOP): Likewise.
11850         (IP_ADD_MEMBERSHIP): Likewise.
11851         (IP_DROP_MEMBERSHIP): Likewise.
11852         (IP_UNBLOCK_SOURCE): Likewise.
11853         (IP_BLOCK_SOURCE): Likewise.
11854         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11855         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11856         (IP_MSFILTER): Likewise.
11857         (MCAST_JOIN_GROUP): Likewise.
11858         (MCAST_BLOCK_SOURCE): Likewise.
11859         (MCAST_UNBLOCK_SOURCE): Likewise.
11860         (MCAST_LEAVE_GROUP): Likewise.
11861         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11862         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11863         (MCAST_MSFILTER): Likewise.
11864         (IP_MULTICAST_ALL): Likewise.
11865         (IP_UNICAST_IF): Likewise.
11866
11867         * timezone/Makefile: Delete $(have-ksh) check.
11868         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11869         * timezone/tzselect.ksh: Add +x mode bits.
11870
11871         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11872         (ANON_INODE_FS_MAGIC): Likewise.
11873         (BDEVFS_MAGIC): Likewise.
11874         (BINFMTFS_MAGIC): Likewise.
11875         (BTRFS_TEST_MAGIC): Likewise.
11876         (CRAMFS_MAGIC_WEND): Likewise.
11877         (DEBUGFS_MAGIC): Likewise.
11878         (ECRYPTFS_SUPER_MAGIC): Likewise.
11879         (EXT3_SUPER_MAGIC): Likewise.
11880         (EXT4_SUPER_MAGIC): Likewise.
11881         (FUTEXFS_SUPER_MAGIC): Likewise.
11882         (HOSTFS_SUPER_MAGIC): Likewise.
11883         (HUGETLBFS_MAGIC): Likewise.
11884         (MINIX3_SUPER_MAGIC): Likewise.
11885         (MTD_INODE_FS_MAGIC): Likewise.
11886         (NILFS_SUPER_MAGIC): Likewise.
11887         (OPENPROM_SUPER_MAGIC): Likewise.
11888         (PIPEFS_MAGIC): Likewise.
11889         (PSTOREFS_MAGIC): Likewise.
11890         (QNX6_SUPER_MAGIC): Likewise.
11891         (RAMFS_MAGIC): Likewise.
11892         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11893         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11894         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11895         (SECURITYFS_MAGIC): Likewise.
11896         (SELINUX_MAGIC): Likewise.
11897         (SMACK_MAGIC): Likewise.
11898         (SOCKFS_MAGIC): Likewise.
11899         (SQUASHFS_MAGIC): Likewise.
11900         (STACK_END_MAGIC): Likewise.
11901         (TMPFS_MAGIC): Likewise.
11902         (USBDEVICE_SUPER_MAGIC): Likewise.
11903         (V9FS_MAGIC): Likewise.
11904         (XENFS_SUPER_MAGIC): Likewise.
11905         (CRAMFS_MAGIC): Fix typo in comment.
11906         (EXT2_SUPER_MAGIC): Update comment.
11907         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11908
11909 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11910
11911         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11912         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11913         * sysdeps/unix/sysv/linux/arm: Move directory from
11914         ports/sysdeps/unix/sysv/linux/arm.
11915         * README: Update listing for arm-*-linux-gnueabi.
11916
11917         * README: Remove mention of am33.
11918
11919 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11920
11921         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11922         than the comma operator, to avoid "rhs of comma has no effect"
11923         compiler warnings.
11924         (__sigfillset, __sigandset, __sigorset): Likewise.
11925         * include/signal.h (__sigemptyset): Likewise.
11926         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11927
11928 2014-02-07  Allan McRae  <allan@archlinux.org>
11929
11930         * version.h (RELEASE): Set to "development".
11931         (VERSION): Set to "2.19.90"
11932         * NEWS: Add 2.20 section.
11933
11934 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11935
11936         [BZ #16529]
11937         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11938
11939 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11940
11941         * manual/contrib.texi: Update entry for Carlos O'Donell,
11942         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11943
11944 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11945
11946         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11947
11948         * sysdeps/unix/sysv/linux/kernel-features.h
11949         [__LINUX_KERNEL_VERSION >= 0x020621]
11950         (__ASSUME_PROC_PID_TASK_COMM): Define.
11951
11952 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11953
11954         [BZ #16398]
11955         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11956         conversion when destination buffer does not have enough space.
11957         * libio/tst-ftell-partial-wide.c: New test case.
11958         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11959
11960         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11961         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11962         Leonard and Allan McRae.
11963
11964 2014-02-04  David S. Miller  <davem@davemloft.net>
11965
11966         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11967         32-bit.
11968
11969 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11970
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11972         New file
11973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11974         New file
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11976         New file.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11978         New file.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11980         New file.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11982         New file.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11984         New file.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11986         New file.
11987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11988         New file.
11989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11990         New file.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11992         New file.
11993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11994         New file.
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11996         New file.
11997
11998 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11999
12000         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12001         * shlib-versions: Likewise.
12002
12003 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12004             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12005
12006         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12007         (abilist-pattern): New variable, set to %-le.abilist.
12008
12009         * Makerules (abilist-pattern): New variable.
12010         (vpath): Use $(abilist-pattern) in place of %.abilist.
12011         (check-abi-% pattern rule): Likewise.
12012         (check-abi, update-abi): Likewise.
12013
12014 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12015
12016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12017
12018 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12019
12020         * manual/startup.texi: Add next, previous, and top entries for
12021         the `Program Arguments' and `Environment Variables' nodes.
12022
12023 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12024
12025         * manual/macros.texi: Add comments before MTASC-safety macros.
12026
12027         * manual/users.texi: Document MTASC-safety properties.
12028
12029         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12030         (pthread_getspecific, pthread_setspecific): Format with
12031         @deftypefun, and add @safety note.
12032         * manual/signal.texi: Move comments that analyze the above
12033         functions to their home place.
12034
12035 2014-02-03  Allan McRae  <allan@archlinux.org>
12036
12037         * po/sl.po: Update Slovenian translation from translation project.
12038
12039 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12040
12041         * manual/time.texi (timegm): Add missing blank after @c.
12042         Reported by Joseph Myers <joseph@codesourcery.com>.
12043
12044 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12045
12046         * manual/check-safety.sh: New.
12047         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12048
12049         * manual/terminal.texi: Document MTASC-safety properties.
12050
12051         * manual/filesys.texi: Document MTASC-safety properties.
12052
12053         * manual/errno.texi: Document MTASC-safety properties.
12054
12055         * manual/intro.texi: Document safety identifiers and
12056         conditionals.
12057
12058         * manual/string.texi (wcstok): Fix prototype.
12059         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12060
12061         * manual/time.texi: Document MTASC-safety properties.
12062
12063         * manual/string.texi: Document MTASC-safety properties.
12064
12065         * manual/threads.texi: Document MTASC-safety properties.
12066
12067         * manual/stdio.texi: Document MTASC-safety properties.
12068
12069         * manual/syslog.texi: Document MTASC-safety properties.
12070
12071         * manual/sysinfo.texi: Document MTASC-safety properties.
12072
12073         * manual/startup.texi: Document MTASC-safety properties.
12074
12075         * manual/socket.texi: Document MTASC-safety properties.
12076
12077         * manual/signal.texi: Document MTASC-safety properties.
12078
12079 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12080
12081         * manual/setjmp.texi: Document MTASC-safety properties.
12082
12083         * manual/search.texi: Document MTASC-safety properties.
12084
12085         * manual/resource.texi: Document MTASC-safety properties.
12086
12087         * manual/process.texi: Document MTASC-safety properties.
12088
12089         * manual/platform.texi: Document MTASC-safety properties.
12090
12091         * manual/pipe.texi: Document MTASC-safety properties.
12092
12093         * manual/pattern.texi: Document MTASC-safety properties.
12094
12095         * manual/message.texi: Document MTASC-safety properties.
12096
12097         [BZ #12751]
12098         * manual/memory.texi: Document MTASC-safety properties.
12099
12100         * manual/math.texi: Document MTASC-safety properties.
12101
12102         * manual/locale.texi: Document MTASC-safety properties.
12103
12104         * manual/llio.texi: Document MTASC-safety properties.
12105
12106         * manual/libdl.texi: New.
12107
12108         * manual/lang.texi: Document MTASC-safety properties.
12109
12110         * manual/job.texi: Document MTASC-safety properties.
12111
12112         * manual/getopt.texi: Document MTASC-safety properties.
12113
12114         * manual/ctype.texi: Document MTASC-safety properties.
12115
12116 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12117
12118         [BZ #16046]
12119         * csu/libc-tls.c (static_map): Remove variable.
12120         (__libc_setup_tls): Use main executable's link map for TLS data.
12121         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12122         casing for LM_ID_BASE and GL(dl_nns).
12123         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12124         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12125         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12126         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12127         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12128         member.
12129         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12130         l_phnum members.
12131
12132 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12133
12134         * manual/debug.texi: Document MTASC-safety properties.
12135
12136 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12137
12138         [BZ #16510]
12139         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12140         of __x86_64__ when disabling x87 inline functions.
12141
12142 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12143
12144         * manual/charset.texi: Document MTASC-safety properties.
12145
12146         * manual/crypt.texi: Document MTASC-safety properties.
12147
12148         * manual/conf.texi: Document MTASC-safety properties.
12149
12150         * manual/arith.texi: Document MTASC-safety properties.
12151
12152         * manual/argp.texi: Document MTASC-safety properties.
12153
12154         * manual/macros.texi: Introduce macros to document multi
12155         thread, asynchronous signal and asynchronous cancellation
12156         safety properties.
12157         * manual/intro.texi: Introduce the properties themselves.
12158
12159 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12160
12161         * sysdeps/sh/sh4/Makefile: New file.
12162
12163 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12164
12165         * math/gen-libm-test.pl ($srcdir): New variable.
12166         ($auto_input): Use it.
12167
12168 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12169
12170         [BZ #16506]
12171         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12172         access beyond array bounds when parsing netgroups file.
12173
12174         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12175         the old buffer before realloc.
12176
12177 2014-01-27  Allan McRae  <allan@archlinux.org>
12178
12179         * po/fr.po: Update French translation from translation project.
12180
12181 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12182
12183         * sysdeps/sh/libm-test-ulps: Regenerate.
12184
12185 2014-01-24  David S. Miller  <davem@davemloft.net>
12186
12187         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12188
12189 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12190
12191         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12192         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12193
12194 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12195
12196         [BZ #16474]
12197         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12198         string pointers after reallocation.
12199
12200 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12201
12202         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12203         __SH4A__ instead of __SH_FPU_ANY__.
12204
12205 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12206
12207         * sysdeps/sh/fpu_control.h: New file.
12208         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12209         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12210         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12211         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12212         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12213         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12214         * sysdeps/sh/sys/ucontext.h: Remove.
12215         * sysdeps/sh/sys: Remove directory.
12216
12217 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12218
12219         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12220         s390/sys/ucontext.h.
12221         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12222         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12223
12224 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12225
12226         [BZ #15605]
12227         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12228
12229 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12230
12231         [BZ#16431]
12232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12233         Adjust the vDSO correctly for internal calls.
12234         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12235
12236 2014-01-20  Allan McRae  <allan@archlinux.org>
12237
12238         * po/ca.po: Update Catalan translation from translation project.
12239
12240 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12241
12242         * sysdeps/s390/sotruss-lib.c: New file.
12243
12244 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12245
12246         [BZ#16430]
12247         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12248         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12249         local calls issues by not having a PLT stub required for IFUNC calls.
12250         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12251
12252 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12253
12254         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12255         * math/test-fpucw-static.c: Likewise.
12256
12257 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12258
12259         [BZ #16453]
12260         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12261
12262 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12263
12264         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12265         implementation for powerpc.
12266
12267 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12268
12269         [BZ #14782]
12270         * sysdeps/posix/system.c (__libc_system): Do not enable
12271         asynchronous cancellation.
12272
12273 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12274
12275         [BZ #16427]
12276         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12277         handling only for numbers special also in the IEEE case.
12278
12279 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12280
12281         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12282
12283 2014-01-11  Allan McRae  <allan@archlinux.org>
12284
12285         * po/bg.po: Update Bulgarian translation from translation project.
12286
12287         * po/de.po: Update German translation from translation project.
12288
12289 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12290
12291         * sysdeps/generic/gcc-compat.h: New file.
12292
12293 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12294
12295         * benchtests/asin-inputs: Correct slow inputs.
12296         * benchtests/acos-inputs: Likewise.
12297
12298 2014-01-10  Allan McRae  <allan@archlinux.org>
12299
12300         * po:sv.po: Update Swedish translation from translation project.
12301
12302         * po/vi.po: Update Vietnamese translation from translation project.
12303
12304         * po/eo.po: Update Esperanto translation from translation project.
12305
12306         * po/cs.po: Update Czech translation from translation project.
12307
12308         * po/nl.po: Update Dutch translation from translation project.
12309
12310         * po/pl.po: Update Polish translation from translation project.
12311
12312         * po/ru.po: Update Russian translation from translation project.
12313
12314         * po/uk.po: Update Ukrainian translation from translation project.
12315
12316 2014-01-08  Brooks Moses  <bmoses@google.com>
12317
12318         * elf/dl-load.c: Fix comment typo.
12319
12320 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12321
12322         * po/header.pot: Rename to...
12323         * po/pot.header: ... this.
12324         * po/Makefile: Use pot.header.
12325
12326 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12327             Maxim Kuvyrkov  <maxim@kugelworks.com>
12328
12329         [BZ #16394]
12330         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12331         SRC and DEST against LEN.
12332
12333 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12334
12335         [BZ #16414]
12336         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12337         implementation.
12338         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12339
12340 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12341
12342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12343
12344 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12345
12346         [BZ #16408]
12347         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12348         for large positive arguments.
12349
12350 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12351
12352         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12353
12354         * math/auto-libm-test-in: Mark various tests with
12355         xfail-rounding:ldbl-128ibm.
12356         * math/auto-libm-test-out: Regenerated.
12357
12358         [BZ #16407]
12359         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12360         Increase overflow threshold.
12361
12362 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12363
12364         [BZ #14286]
12365         * stdio-common/vfprintf.c: Check for integer overflow.
12366
12367 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12368
12369         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12370         the first argument and return value of __tls_get_addr_internal.
12371
12372 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12373
12374         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12375         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12376
12377 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12378
12379         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12380         * sysdeps/s390/rtld-global-offsets.sym: New file.
12381         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12382         GLIBC_2.19 symbol.
12383         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12384         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12385         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12386         ... this.
12387         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12388         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12389         ... this.
12390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12391         Regenerate.
12392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12393         Regenerate.
12394         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12395         halfs of GPRs for high_gprs contexts.
12396         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12397         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12398         field.
12399         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12400         uc_flags field.
12401         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12402         64 bit versions:
12403         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12404         for high GPRs (uc_high_gprs) and for future extensions
12405         (__reserved).
12406         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12407         for future extensions (__reserved).
12408         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12409         64 bit versions:
12410         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12411         SC_HIGHGPRS offset definition.
12412         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12413         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12414
12415         * Versions.def: Add GLIBC_2.19 for libpthread.
12416         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12417         siglongjmp for libpthread with GLIBC_2.19 symver.
12418         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12419         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12420         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12421         * sysdeps/s390/__longjmp.c: New file.
12422         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12423         * sysdeps/s390/longjmp.c: New file.
12424         * sysdeps/s390/setjmp.S: New file.
12425         * sysdeps/s390/sigjmp.S: New file.
12426         * sysdeps/s390/v1-longjmp.c: New file.
12427         * sysdeps/s390/v1-setjmp.h: New file.
12428         * sysdeps/s390/v1-sigjmp.c: New file.
12429         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12430         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12431         GLIBC_2.19 version.
12432         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12433         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12434         versioned symbols for ____longjmp_chk.
12435         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12436         Likewise.
12437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12438         Regenerate.
12439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12440         Regenerate.
12441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12442         Regenerate.
12443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12444         Regenerate.
12445         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12446         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12447         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12448         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12449         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12450         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12451         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12452         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12453         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12454         * sysdeps/s390/rtld-__longjmp.c: New file.
12455         * sysdeps/s390/rtld-setjmp.S: New file.
12456
12457 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12458
12459         [BZ #16400]
12460         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12461         Return -__logl (x) for small positive arguments without evaluating
12462         a polynomial.
12463
12464 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12465
12466         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12467         Rename to ...
12468         (__ptrace_peeksiginfo_args): ... this.
12469         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12470         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12471         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12472
12473 2014-01-06  Allan McRae  <allan@archlinux.org>
12474
12475         * inet/netinet/in.h: Fix typo in comment.
12476
12477 2014-01-05  Andreas Jaeger  <aj@suse.de>
12478
12479         * sysdeps/i386/fpu/libm-test-ulps: Update.
12480
12481 2014-01-05  Allan McRae  <allan@archlinux.org>
12482
12483         * po/libc.pot: Regenerated.
12484
12485         * malloc/memusagestat.c: Fix gettext call formatting.
12486
12487 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12488
12489         * nscd/nscd.c: Improve usage() output.
12490
12491 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12492
12493         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12494         * sysdeps/unix/sysv/linux/configure: Regenerated.
12495         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12496         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12497
12498 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12499
12500         [BZ #16390]
12501         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12502         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12503
12504 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12505
12506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12507         extra tokens at end of #undef directive.
12508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12509         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12510         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12511
12512 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12513
12514         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12515
12516         * math/auto-libm-test-in: Mark various tests with
12517         xfail-rounding:ldbl-128ibm.
12518         * math/auto-libm-test-out: Regenerated.
12519
12520 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12521
12522         [BZ #16386]
12523         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12524         numbers with subnormal high part when calculating exponent.
12525
12526         [BZ #16385]
12527         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12528         fabs.
12529
12530         [BZ #16384]
12531         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12532         M_LN2l.
12533         (__ieee754_acoshl): Use __log1pl not __log1p.
12534
12535 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12536
12537         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12538         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12539         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12540         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12541         (reused_arena, arena_get2): Convert to GNU style.
12542         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12543         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12544         (memalign_check, __malloc_set_state): Likewise.
12545         * malloc/mallocbug.c (main): Likewise.
12546         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12547         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12548         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12549         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12550         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12551         (__posix_memalign, malloc_info): Likewise.
12552         * malloc/malloc.h: Likewise.
12553         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12554         (mallochook, memalignhook, reallochook, mabort): Likewise.
12555         * malloc/mcheck.h: Likewise.
12556         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12557         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12558         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12559         * malloc/morecore.c (__default_morecore): Likewise.
12560         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12561         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12562         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12563         (print_and_abort): Likewise.
12564         * malloc/obstack.h: Likewise.
12565         * malloc/set-freeres.c (__libc_freeres): Likewise.
12566         * malloc/tst-mallocstate.c (main): Likewise.
12567         * malloc/tst-mtrace.c (main): Likewise.
12568         * malloc/tst-realloc.c (do_test): Likewise.
12569
12570 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12571
12572         [BZ #16366]
12573         * nscd/netgroupcache.c (do_notfound): New function.
12574         (addgetnetgrentX): Use it.
12575
12576         [BZ # 16365]
12577         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12578         NSS_STATUS_NOTFOUND.
12579
12580 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12581
12582         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12584
12585 2014-01-01  Allan McRae  <allan@archlinux.org>
12586
12587         * scripts/update-copyrights: Update configure input file suffix.
12588
12589         * NEWS: Update copyright year.
12590         * catgets/gencat.c: Likewise.
12591         * csu/version.c: Likewise.
12592         * debug/catchsegv.sh: Likewise.
12593         * debug/pcprofiledump.c: Likewise.
12594         * debug/xtrace.sh: Likewise.
12595         * elf/ldconfig.c: Likewise.
12596         * elf/ldd.bash.in: Likewise.
12597         * elf/pldd.c: Likewise.
12598         * elf/sotruss.ksh: Likewise.
12599         * elf/sprof.c: Likewise.
12600         * iconv/iconv_prog.c: Likewise.
12601         * iconv/iconvconfig.c: Likewise.
12602         * locale/programs/locale.c: Likewise.
12603         * locale/programs/localedef.c: Likewise.
12604         * login/programs/pt_chown.c: Likewise.
12605         * malloc/memusage.sh: Likewise.
12606         * malloc/memusagestat.c: Likewise.
12607         * malloc/mtrace.pl: Likewise.
12608         * manual/libc.texinfo: Likewise.
12609         * nscd/nscd.c: Likewise.
12610         * nss/getent.c: Likewise.
12611         * nss/makedb.c: Likewise.
12612         * posix/getconf.c: Likewise.
12613         * scripts/test-installation.pl: Likewise.
12614
12615         * All files with FSF copyright notices: Update copyright dates
12616         using scripts/update-copyrights.
12617         * intl/plural.c: Regenerated.
12618         * locale/programs/charmap-kw.h: Likewise.
12619         * locale/programs/locfile-kw.h: Likewise.
12620
12621 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12622
12623         * sysdeps/unix/sysv/linux/configure: Regenerated.
12624         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12625         the linux/fanotify.h header.
12626         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12627         HAVE_LINUX_FANOTIFY_H is defined.
12628
12629 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12630
12631         * benchtests/cos-inputs: New inputs.
12632         * benchtests/sin-inputs: Likewise.
12633
12634         * benchtests/atan-inputs: New inputs. Fix name of multiple
12635         precision fallback inputs.
12636
12637         * benchtests/atanh-inputs: New inputs.
12638         * benchtests/tanh-inputs: Likewise.
12639
12640         * benchtests/acosh-inputs: New inputs.
12641         * benchtests/asinh-inputs: Likewise.
12642
12643         * benchtests/cosh-inputs: New inputs.
12644         * benchtests/sinh-inputs: Likewise.
12645
12646         * benchtests/acos-inputs: Add more inputs.
12647         * benchtests/asin-inputs: Likewise.
12648
12649 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12650
12651         [BZ #16375]
12652         * manual/arith.texi: Fix spelling.
12653         * manual/charset.texi: Likewise.
12654         * manual/errno.texi: Likewise.
12655         * manual/filesys.texi: Likewise.
12656         * manual/lang.texi: Likewise.
12657         * manual/llio.texi: Likewise.
12658         * manual/locale.texi: Likewise.
12659         * manual/message.texi: Likewise.
12660         * manual/resource.texi: Likewise.
12661         * manual/search.texi: Likewise.
12662         * manual/setjmp.texi: Likewise.
12663         * manual/stdio.texi: Likewise.
12664         * manual/string.texi: Likewise.
12665         * manual/sysinfo.texi: Likewise.
12666         * manual/time.texi: Likewise.
12667
12668 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12669
12670         * po/sl.po: New file.
12671
12672 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12673
12674         * .gitignore: Add core/.gdbinit/.gdb_history.
12675
12676 2013-12-27  Allan McRae  <allan@archlinux.org>
12677
12678         [BZ #16369]
12679         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12680         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12681
12682 2013-12-24  Brooks Moses  <bmoses@google.com>
12683
12684         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12685         all compilers that claim C++98 compliance, not just GCC.
12686         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12687         Likewise.
12688
12689 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12690
12691         * NEWS: Restore accidentally deleted bug-fix entries.
12692
12693 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12694             Ondřej Bílka  <neleai@seznam.cz>
12695
12696         [BZ #15073]
12697         * malloc/malloc.c (_int_free): Perform sanity check only if we
12698         have_lock.
12699
12700 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12701
12702         [BZ #12986]
12703         * manual/stdio.texi (String Input Conversions): Clarify that character
12704         classes are not supported.
12705
12706 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12707
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12709
12710 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12711
12712         [BZ #16337]
12713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12714         Calculate results for small negative arguments directly rather
12715         than using reflection formula with special underflow handling.
12716
12717         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12718         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12719         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12720         (fchflags): Likewise.
12721         (revoke): Likewise.
12722         (setlogin): Likewise.
12723         (sigaltstack): Likewise.
12724         (wait4): Likewise.
12725         (sigblock): Remove.
12726         (sigsetmask): Likewise.
12727         (wait3): Likewise.
12728         (waitpid): Likewise.
12729         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12730         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12731         file.
12732         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12733         * sysdeps/unix/bsd/Makefile: ... here.
12734         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12735         * sysdeps/unix/bsd/Versions: ... here.
12736         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12737         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12738         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12739         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12740         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12741         * sysdeps/unix/bsd/sigblock.c: ... here.
12742         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12743         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12744         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12745         * sysdeps/unix/bsd/sigvec.c: ... here.
12746         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12747         * sysdeps/unix/bsd/tcdrain.c: ... here.
12748         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12749         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12750         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12751         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12752         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12753         * sysdeps/unix/bsd/wait.c: ... here.
12754         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12755         * sysdeps/unix/bsd/wait3.c: ... here.
12756         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12757         * sysdeps/unix/bsd/waitpid.c: ... here.
12758
12759 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12760
12761         [BZ #16356]
12762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12763         round-to-nearest for [!USE_AS_EXPM1L].
12764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12765         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12766         more tests of exp and exp10.  Expect some exp10 tests to miss
12767         exceptions or fail in directed rounding modes.
12768         * math/auto-libm-test-out: Regenerated.
12769         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12770         (exp10_test_tonearest): New function.
12771         (exp10_towardzero_test_data): New array.
12772         (exp10_test_towardzero): New function.
12773         (exp10_downward_test_data): New array.
12774         (exp10_test_downward): New function.
12775         (exp10_upward_test_data): New array.
12776         (exp10_test_upward): New function.
12777         (main): Call the new functions.
12778         * sysdeps/i386/fpu/libm-test-ulps: Update.
12779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12780
12781 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12782
12783         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12784         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12785         * math/auto-libm-test-out: Regenerated.
12786         * math/libm-test.inc (acosh_test_data): Add more tests.
12787         (atanh_test_data): Likewise.
12788         (ceil_test_data): Likewise.
12789         (copysign_test_data): Likewise.
12790         * sysdeps/i386/fpu/libm-test-ulps: Update.
12791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12792
12793         * timezone/checktab.awk: Update from tzcode 2013i.
12794         * timezone/private.h: Likewise.
12795         * timezone/scheck.c: Likewise.
12796         * timezone/tzfile.h: Likewise.
12797         * timezone/tzselect.ksh: Likewise.
12798         * timezone/zdump.c: Likewise.
12799         * timezone/zic.c: Likewise.
12800
12801         * math/auto-libm-test-in: Add tests of cpow.
12802         * math/auto-libm-test-out: Regenerated.
12803         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12804         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12805         mpc_cc_c.
12806         (func_calc_desc): Add mpc_cc_c union field.
12807         (test_functions): Add cpow.
12808         (special_fill_2pi): New function.
12809         (special_real_inputs): Add 2pi.
12810         (calc_generic_results): Handle mpc_cc_c.
12811         * sysdeps/i386/fpu/libm-test-ulps: Update.
12812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12813
12814         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12815         csqrt, ctan and ctanh.
12816         * math/auto-libm-test-out: Regenerated.
12817         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12818         (TEST_COND_x86): Likewise.
12819         (ccos_test_data): Use AUTO_TESTS_c_c.
12820         (ccosh_test_data): Likewise.
12821         (cexp_test_data): Likewise.
12822         (clog_test_data): Likewise.
12823         (csqrt_test_data): Likewise.
12824         (ctan_test_data): Likewise.
12825         (ctan_tonearest_test_data): Likewise.
12826         (ctan_towardzero_test_data): Likewise.
12827         (ctan_downward_test_data): Likewise.
12828         (ctan_upward_test_data): Likewise.
12829         (ctanh_test_data): Likewise.
12830         (ctanh_tonearest_test_data): Likewise.
12831         (ctanh_towardzero_test_data): Likewise.
12832         (ctanh_downward_test_data): Likewise.
12833         (ctanh_upward_test_data): Likewise.
12834         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12835         mpc_c_c.
12836         (func_calc_desc): Add mpc_c_c union field.
12837         (FUNC_mpc_c_c): New macro.
12838         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12839         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12840         ctanh.
12841         (special_fill_min_subnorm_p120): New function.
12842         (special_real_inputs): Add min_subnorm_p120.
12843         (calc_generic_results): Handle mpc_c_c.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
12847 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12848
12849         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12850         (do_sin_slow): New functions.
12851         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12852         (cslow2, csloww1, csloww2): Use the new functions.
12853
12854         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12855         Use M to change sign of result instead of X.  Assume X is
12856         positive.
12857         (csloww1): Likewise.
12858         (__sin): Adjust.
12859         (__cos): Adjust.
12860
12861         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12862         arguments A and DA.
12863         (__sin): Adjust.
12864         (__cos): Likewise.
12865
12866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12867         (__cos): Likewise.
12868         (sloww1): Don't adjust sign of DX.
12869         (csloww1): Likewise.
12870         (sloww2): Use X directly and don't adjust sign of DX.
12871         (csloww2): Likewise.
12872
12873 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12874
12875         * math/auto-libm-test-in: Add tests of cabs and carg.
12876         * math/auto-libm-test-out: Regenerated.
12877         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12878         (carg_test_data): Likewise.
12879         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12880         mpc_c_f.
12881         (func_calc_desc): Add mpc_c_f union field.
12882         (test_functions): Add cabs and carg.
12883         (calc_generic_results): Handle mpc_c_f.
12884
12885         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12886         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12887         as a macro and a compat symbol.
12888         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12889         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12890         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12891         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12892         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12893         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12894         not use .hidden.
12895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12896         Likewise.
12897         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12898         Likewise.
12899         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12900         Likewise.
12901         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12902         Likewise.
12903         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12904         Likewise.
12905         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12906         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12907         from GLIBC_2.3.2.
12908
12909 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12910
12911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12912
12913 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12914
12915         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12916         trailing whitespace removed.
12917         * scripts/config.guess: Update to version 2013-11-29.
12918         * scripts/config.sub: Update to version 2013-10-01.
12919
12920         * math/auto-libm-test-in: Add tests of sincos.
12921         * math/auto-libm-test-out: Regenerated.
12922         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12924         mpfr_f_11.
12925         (func_calc_desc): Add mpfr_f_11 union field.
12926         (test_functions): Add sincos.
12927         (calc_generic_results): Handle mpfr_f_11.
12928         * sysdeps/i386/fpu/libm-test-ulps: Update.
12929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12930
12931 2013-12-19  Andreas Schwab  <schwab@suse.de>
12932
12933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12934         CALL_MCOUNT.
12935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12936         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12937         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12938
12939 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12940
12941         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12942         * sysdeps/i386/fpu/libm-test-ulps: Update.
12943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12944
12945         [BZ #16293]
12946         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12947         round-to-nearest mode when using frndint.
12948         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12949         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12950         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12951         Likewise.
12952         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12953         sinh test to fail.
12954         * math/auto-libm-test-out: Regenerated.
12955         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12956         (TEST_COND_x86): Likewise.
12957         (expm1_tonearest_test_data): New array.
12958         (expm1_test_tonearest): New function.
12959         (expm1_towardzero_test_data): New array.
12960         (expm1_test_towardzero): New function.
12961         (expm1_downward_test_data): New array.
12962         (expm1_test_downward): New function.
12963         (expm1_upward_test_data): New array.
12964         (expm1_test_upward): New function.
12965         (main): Run the new test functions.
12966         * sysdeps/i386/fpu/libm-test-ulps: Update.
12967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968
12969         * include/features.h: Update comment documenting feature test
12970         macros.  Mention _DEFAULT_SOURCE in comment.
12971         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12972         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12973         _BSD_SOURCE and _SVID_SOURCE.
12974         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12975         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12976         !_SVID_SOURCE]: Likewise.
12977         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12978         (__USE_POSIX_IMPLICITLY): Define.
12979         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12980         (_POSIX_SOURCE): Undefine and redefine.
12981         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12982         (_POSIX_C_SOURCE): Likewise.
12983         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12984         (Feature Test Macros): Update documentation of default features.
12985
12986 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12987
12988         * benchtests/Makefile: Add bench-strtok.
12989         * benchtests/bench-strtok.c: New file: strtok benchtest.
12990
12991 2013-12-19  Allan McRae  <allan@archlinux.org>
12992
12993         * manual/install.texi: Suppress menu for plain text output.
12994         * INSTALL: Regenerated.
12995
12996 2013-12-18  Brooks Moses  <bmoses@google.com>
12997
12998         [BZ #15846]
12999         * misc/getauxval.c: Include errno.h.
13000         (__getauxval): Set errno to ENOENT if the requested type is not
13001         found.
13002         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13003         don't declare with __attribute_const__.
13004         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13005         * manual/startup.texi: Document that getauxval sets errno.
13006
13007 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13008
13009         * math/auto-libm-test-in: Add tests of jn and yn.
13010         * math/auto-libm-test-out: Regenerated.
13011         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13012         (yn_test_data): Likewise.
13013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13014         mpfr_if_f.
13015         (func_calc_desc): Add mpfr_if_f union field.
13016         (FUNC_mpfr_if_f): New macro.
13017         (test_functions): Add jn and yn.
13018         (calc_generic_results): Assert type of second input for
13019         mpfr_ff_f.  Handle mpfr_if_f.
13020         (output_for_one_input_case): Disable all checking for arguments
13021         fitting floating-point types in case of an integer argument.
13022         * sysdeps/i386/fpu/libm-test-ulps: Update.
13023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024
13025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13026         Don't expect fegetround reference in libm.so.
13027
13028 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13029
13030         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13031         $(config-cflags-nofma).
13032
13033 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13034
13035         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13036         * math/auto-libm-test-out: Regenerated.
13037
13038         [BZ #16338]
13039         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13040         to determine exponent and adjust argument to have exponent of -1.
13041         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13042         log2.
13043         * math/auto-libm-test-out: Regenerated.
13044         * sysdeps/i386/fpu/libm-test-ulps: Update.
13045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13046
13047 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13048
13049         * manual/probes.texi: Remove cases when per-thread arenas are
13050         disabled.
13051
13052 2013-12-18  Andreas Schwab  <schwab@suse.de>
13053
13054         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13055         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13056         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13057         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13058         * sysdeps/i386/i686/multiarch/Makefile: Update.
13059         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13060
13061 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13062
13063         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13064         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13065
13066 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13067
13068         [BZ #15968]
13069         Support TZ transition times < 00:00:00.
13070         This is needed for version-3 tz-format files; it supports time
13071         stamps past 2037 for America/Godthab (the only entry in the tz
13072         database for which this change is relevant).
13073         * manual/time.texi (TZ Variable): Document transition times
13074         from -167:59:59 through -00:00:01.
13075         * time/tzset.c (tz_rule): Time of day is now signed.
13076         (__tzset_parse_tz): Parse negative time of day.
13077
13078         Document TZ transition times >= 25:00:00.
13079         * manual/time.texi (TZ Variable): Document transition times from
13080         25:00:00 through 167:59:59.  These are already supported, and this
13081         support will help with version-3 tz-format files.
13082
13083         * manual/time.texi (TZ Variable): Modernize North America example
13084         to reflect current (i.e., 2007-and-later) daylight saving rules.
13085
13086         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13087
13088 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13089
13090         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13091         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13094         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13095         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13096         * sysdeps/unix/bsd/clock.c: Likewise.
13097         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13098         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13099         * sysdeps/unix/bsd/init-posix.c: Likewise.
13100         * sysdeps/unix/bsd/poll.c: Likewise.
13101         * sysdeps/unix/bsd/ptsname.c: Likewise.
13102         * sysdeps/unix/bsd/seekdir.c: Likewise.
13103         * sysdeps/unix/bsd/setegid.c: Likewise.
13104         * sysdeps/unix/bsd/seteuid.c: Likewise.
13105         * sysdeps/unix/bsd/setgid.c: Likewise.
13106         * sysdeps/unix/bsd/setrgid.c: Likewise.
13107         * sysdeps/unix/bsd/setruid.c: Likewise.
13108         * sysdeps/unix/bsd/setsid.c: Likewise.
13109         * sysdeps/unix/bsd/setuid.c: Likewise.
13110         * sysdeps/unix/bsd/sigaction.c: Likewise.
13111         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13112         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13113         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13114         * sysdeps/unix/bsd/telldir.c: Likewise.
13115         * sysdeps/unix/bsd/times.c: Likewise.
13116         * sysdeps/unix/bsd/usleep.c: Likewise.
13117
13118         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13119         ($(objpfx)libbsd-compat.a): Remove rule.
13120
13121         * include/features.h (__FAVOR_BSD): Do not define.
13122         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13123         features conflicting with POSIX.
13124         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13125         (_BSD_SOURCE): Remove description of not being a subset of other
13126         feature test macros.
13127         * manual/job.texi (getpgrp): Do not document BSD version.
13128         (getpgid): Do not document by reference to BSD getpgrp.
13129         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13130         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13131         * signal/signal.h [__FAVOR_BSD]: Likewise.
13132         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13133         instead of making contents conditional on [__FAVOR_BSD].
13134         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13135
13136 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13137
13138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13139
13140 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13141
13142         [BZ #16314]
13143         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13144         values below 2**-450, not 2**-500.
13145         * math/auto-libm-test-in: Don't allow spurious underflow from
13146         hypot.
13147         * math/auto-libm-test-out: Regenerated.
13148
13149         [BZ #16316]
13150         [BZ #16330]
13151         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13152         values of ha and hb and sort them after adjusting subnormal
13153         arguments.
13154         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13155         Likewise.
13156         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13157         values of ea and eb and sort them after adjusting subnormal
13158         arguments.
13159         * math/auto-libm-test-in: Do not expect some hypot tests of
13160         subnormals to fail.  Add more hypot tests.
13161         * math/auto-libm-test-out: Regenerated.
13162
13163 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13164
13165         [BZ #13304]
13166         * sysdeps/sh/s_fma.c: New file.
13167         * sysdeps/sh/s_fmaf.c: New file.
13168         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13169         version.
13170         * sysdeps/sh/Implies: Add sh/soft-fp.
13171
13172 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13173
13174         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13175         level of indirection to members `objname', `errstring', `malloced'.
13176         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13177         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13178         it as the __longjmp argument (just pass 1 instead).
13179         (_dl_catch_error): Initialize C with argument pointers and address of
13180         volatile local ERRCODE rather than copying values out of C at return.
13181
13182 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13183
13184         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13185         * math/auto-libm-test-out: Regenerated.
13186         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13187         (hypot_test_data): Likewise.
13188         (pow_test_data): Likewise.
13189         (pow_tonearest_test_data): Likewise.
13190         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13191         mpfr_ff_f.
13192         (func_calc_desc): Add mpfr_ff_f union field.
13193         (FUNC_mpfr_ff_f): New macro.
13194         (test_functions): Add atan2, hypot and pow.
13195         (special_fill_min): New function.
13196         (special_fill_minus_min): Likewise.
13197         (special_fill_min_subnorm): Likewise.
13198         (special_fill_minus_min_subnorm): Likewise.
13199         (special_real_inputs): Add min, -min, min_subnorm and
13200         -min_subnorm.
13201         (calc_generic_results): Handle mpfr_ff_f.
13202         * sysdeps/i386/fpu/libm-test-ulps: Update.
13203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13204
13205 2013-12-16  Will Newton  <will.newton@linaro.org>
13206
13207         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13208         (Aligned Memory Blocks): Add documentation for aligned_alloc
13209         and suggest it as an alternative to posix_memalign.
13210         (Hooks for Malloc): Document __memalign_hook is also called
13211         for aligned_alloc.  (Summary of Malloc): Add summary for
13212         aligned alloc.  Document __memalign_hook is also called
13213         for aligned_alloc.
13214
13215 2013-12-16  Will Newton  <will.newton@linaro.org>
13216
13217         * manual/memory.texi (Malloc Examples): Clarify default
13218         alignment documentation.  Suggest posix_memalign rather
13219         than memalign or valloc.
13220         (Aligned Memory Blocks): Remove suggestion to use memalign
13221         or valloc.  Remove obsolete comment about BSD.
13222         Document memalign errno values and mark the function obsolete.
13223         Document posix_memalign returned error codes.  Mark valloc
13224         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13225         called for posix_memalign and valloc.
13226         (Summary of Malloc): Add posix_memalign to function summary.
13227         __memalign_hook is also called for posix_memalign and valloc.
13228
13229 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13230
13231         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13232         TAYLOR_SIN.
13233         (__sin): Adjust.
13234         (__cos): Likewise.
13235         (sloww): Use mynumber union.  Expand ternary operator into
13236         if-else statements.
13237         (cslow): use mynumber union.
13238
13239 2013-12-16  Allan McRae  <allan@archlinux.org>
13240
13241         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13242         * configure: Regenerated.
13243
13244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13245
13246         [BZ #14120]
13247         * configure.ac: Added --enable-maintainer-mode. Check for
13248         autoconf when enabled.
13249         * configure: Regenerated.
13250
13251         * nscd/nscd.service: New file.
13252         * nscd/nscd.tmpfiles: New file.
13253
13254 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13255
13256         [BZ #12100]
13257         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13258         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13259         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13260         (strstr): Add __strstr_sse2_unaligned ifunc.
13261         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13262         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13263         (strcasestr): Remove __strcasestr_sse42 ifunc.
13264         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13267
13268 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13269
13270         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13271         * sysdeps/sh/bits/fenv.h: ... here.
13272         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13273
13274 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13275
13276         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13277
13278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13279         hypotf multiarch implementations.
13280         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13281         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13282         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13283         multiarch hypot for PPC64.
13284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13287         multiarch hypotf for PPC64.
13288
13289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13290         modff multiarch implementations.
13291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13294         multiarch modf for PPC64.
13295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13298         multiarch modff for PPC64.
13299
13300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13301         and logl multiarch implementations.
13302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13305         multiarch logb for PPC64.
13306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13309         multiarch logb for PPC64.
13310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13313         multiarch logb for PPC64.
13314
13315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13316         isinff multiarch implementation.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13318         file.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13321         multiarch isinf for PPC64.
13322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13323         file.
13324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13325         multiarch isinff for PPC64.
13326
13327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13328         finitef multiarch implementation.
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13330         file.
13331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13333         multiarch finite for PPC64.
13334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13335         file.
13336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13337         multiarch finitef for PPC64.
13338
13339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13340         lrint multiarch implementation.
13341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13342         file.
13343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13345         multiarch llrint for PPC64.
13346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13347         multiarch lrint for PPC64.
13348
13349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13350         copysignf multiarch implementation.
13351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13352         file.
13353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13354         file.
13355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13356         multiarch copysign for PPC64.
13357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13358         multiarch copysignf for PPC64.
13359
13360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13361         multiarch implementation.
13362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13363         file.
13364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13365         file.
13366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13367         file.
13368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13369         file.
13370         multiarch llround for PPC64.
13371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13372         multiarch trunc for PPC64.
13373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13374         multiarch truncf for PPC64.
13375
13376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13377         multiarch implementation.
13378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13379         file.
13380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13381         file.
13382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13383         file.
13384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13385         file.
13386         multiarch llround for PPC64.
13387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13388         multiarch round for PPC64.
13389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13390         multiarch roundf for PPC64.
13391
13392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13393         multiarch implementation.
13394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13395         file.
13396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13397         file.
13398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13399         file.
13400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13401         file.
13402         multiarch llround for PPC64.
13403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13404         multiarch floor for PPC64.
13405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13406         multiarch floorf for PPC64.
13407
13408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13409         multiarch implementation.
13410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13411         file.
13412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13413         file.
13414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13415         file.
13416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13417         file.
13418         multiarch llround for PPC64.
13419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13420         multiarch ceil for PPC64.
13421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13422         multiarch ceilf for PPC64.
13423
13424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13425         multiarch implementation.
13426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13427         file.
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13429         file.
13430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13431         file.
13432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13433         multiarch llround for PPC64.
13434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13435         multiarch lround for PPC64.
13436
13437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13438         multiarch implementation.
13439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13442         file.
13443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13446         multiarch isnan for PPC64.
13447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13448         multiarch isnanf for PPC64.
13449
13450         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13451         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13452         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13453         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13454         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13456
13457         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13458         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13461
13462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13463         multiarch implementations.
13464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13465         (__libc_ifunc_impl_list): Likewise.
13466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13467         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13469         multiarch stpcpy for PPC64.
13470
13471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13472         multiarch implementations.
13473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13474         (__libc_ifunc_impl_list): Likewise.
13475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13477         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13478         multiarch strcpy for PPC64.
13479
13480         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13481         redefine function name.
13482         (_wordcopy_fwd_dest_aligned): Likewise.
13483         (_wordcopy_bwd_aligned): Likewise.
13484         (_wordcopy_bwd_dest_aligned): Likewise.
13485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13486         multiarch implementations.
13487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13488         (__libc_ifunc_impl_list): Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13493         multiarch wcscpy for PPC64.
13494
13495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13496         multiarch implementations.
13497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13498         (__libc_ifunc_impl_list): Likewise.
13499         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13500         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13503         multiarch wcscpy for PPC64.
13504
13505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13506         multiarch implementations.
13507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13508         (__libc_ifunc_impl_list): Likewise.
13509         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13510         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13511         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13512         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13513         multiarch wcsrchr for PPC64.
13514
13515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13516         multiarch implementations.
13517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13518         (__libc_ifunc_impl_list): Likewise.
13519         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13520         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13521         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13522         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13523         multiarch wcschr for PPC64.
13524
13525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13526         multiarch implementations.
13527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13528         (__libc_ifunc_impl_list): Likewise.
13529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13530         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13532         multiarch strchrnul for PPC64.
13533
13534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13535         implementations.
13536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13537         (__libc_ifunc_impl_list): Likewise.
13538         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13539         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13540         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13541         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13542         strchr for PPC64.
13543
13544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13545         implementations.
13546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13547         (__libc_ifunc_impl_list): Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13549         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13550         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13551         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13552         strncmp for PPC64.
13553
13554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13555         multiarch implementations.
13556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13557         (__libc_ifunc_impl_list): Likewise.
13558         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13559         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13560         strncasecmp for PPC64.
13561         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13562         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13563         multiarch strncasecmp_l for PPC64.
13564
13565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13566         multiarch implementations.
13567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13568         (__libc_ifunc_impl_list): Likewise.
13569         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13571         multiarch strcasecmp for PPC64.
13572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13573         file.
13574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13575         multiarch strcasecmp_l for PPC64.
13576
13577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13578         implementations.
13579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13580         (__libc_ifunc_impl_list): Likewise.
13581         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13582         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13583         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13584         strnlen for PPC64.
13585
13586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13587         implementations.
13588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13589         (__libc_ifunc_impl_list): Likewise.
13590         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13591         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13592         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13593         strlen for PPC64.
13594
13595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13596         implementations.
13597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13598         (__libc_ifunc_impl_list): Likewise.
13599         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13600         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13601         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13602         rawmemrchr for PPC64.
13603
13604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13605         implementation.
13606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13607         (__libc_ifunc_impl_list): Likewise.
13608         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13609         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13610         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13611         memrchr for PPC64.
13612
13613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13614         implementation.
13615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13616         (__libc_ifunc_impl_list): Likewise.
13617         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13618         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13619         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13620         memchr for PPC64.
13621
13622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13623         implementation.
13624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13625         (__libc_ifunc_impl_list): Likewise.
13626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13627         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13628         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13629         mempcpy for PPC64.
13630
13631         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13632         avoid cretion of __bzero symbol.
13633         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13634         Likewise.
13635         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13636         Likewise.
13637         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13638         Likewise.
13639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13640         multiarch implementations.
13641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13642         (__libc_ifunc_impl_list): Likewise.
13643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13646         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13647         bzero for PPC32.
13648         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13649         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13650         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13651         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13652         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13653         memset for PPC64.
13654         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13655
13656         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13658         implementations.
13659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13660         (__libc_ifunc_impl_list): Likewise.
13661         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13662         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13663         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13664         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13665         memcmp for PPC64.
13666
13667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13668         multiarch for POWER/PPC64.
13669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13670         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13671         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13672         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13677         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13678         memcpy for PPC64.
13679
13680         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13681         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13682         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13683         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13684         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13685         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13686         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13687         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13688         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13689         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13690         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13691         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13692         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13693         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13694         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13702
13703 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13704
13705         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13706
13707 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13708
13709         * benchtests/Makefile (bench): Add exp2 and log2.
13710         (LDLIBS-bench-exp2): Add -lm.
13711         (LDLIBS-bench-log2): Likewise.
13712         * benchtests/exp2-inputs: New inputs file.
13713         * benchtests/log2-inputs: New inputs file.
13714         * benchtests/log-inputs: Add new inputs.
13715         * benchtests/tan-inputs: Likewise.
13716
13717 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718
13719         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13720         definition...
13721         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13722         (csloww2): ... from here.
13723
13724         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13725         instead of structures.
13726         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13727         (POLYNOMIAL): Likewise.
13728         (TAYLOR_SLOW): Likewise.
13729         (__sin): Likewise.
13730         (__cos): Likewise.
13731         (slow1): Likewise.
13732         (slow2): Likewise.
13733         (sloww): Likewise.
13734         (sloww1); Likewise.
13735         (sloww2): Likewise.
13736         (bsloww1): Likewise.
13737         (bsloww2): Likewise.
13738         (cslow2): Likewise.
13739         (csloww): Likewise.
13740         (csloww1): Likewise.
13741         (csloww2): Likewise.
13742
13743 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13744
13745         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13746         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13747         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13748         * malloc/hooks.c (realloc_check): Likewise.
13749
13750         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13751         * malloc/arena.c: Remove PER_THREAD conditional.
13752         [!PER_THREAD]: Remove code.
13753         (ptmalloc_unlock_all2): Likewise.
13754         (ptmalloc_init): Likewise.
13755         (_int_new_arena): Likewise.
13756         (arena_get2): Likewise.
13757         * malloc/hooks.c (__malloc_get_state): Likewise.
13758         (__malloc_set_state): Likewise.
13759         * malloc/malloc.c: Likewise.
13760         (struct malloc_state): Likewise.
13761         (struct malloc_par): Likewise.
13762         (__libc_realloc): Likewise.
13763         (__libc_mallopt): Likewise.
13764
13765 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13766
13767         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13768
13769 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13770
13771         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13772         macro to a function.  Check for zero perturb_byte.
13773         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13774
13775         * malloc/malloc.c: (force_reg): Remove.
13776         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13777         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13778         force_reg by atomic_forced_read.
13779         * malloc/arena.c (ptmalloc_init): Likewise.
13780         * malloc/hooks.c (top_check): Likewise.
13781
13782 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13783
13784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13785
13786 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13787
13788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13789
13790 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13791
13792         * math/auto-libm-test-in: Add tests of lgamma.
13793         * math/auto-libm-test-out: Regenerated.
13794         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13795         (M_LOG_2_SQRT_PIl): Likewise.
13796         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13798         mpfr_f_f1.
13799         (func_calc_desc): Add mpfr_f_f1 union field.
13800         (ARGS1): New macro.
13801         (ARGS2): Likewise.
13802         (ARGS3): Likewise.
13803         (ARGS4): Likewise.
13804         (RET1): Likewise.
13805         (RET2): Likewise.
13806         (CALC): Likewise.
13807         (FUNC): Likewise.
13808         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13809         (test_functions): Add lgamma.
13810         (calc_generic_results): Handle mpfr_f_f1.
13811         * sysdeps/i386/fpu/libm-test-ulps: Update.
13812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13813
13814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13815
13816         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13817         __mpn_add_n for PowerPC64/POWER7.
13818         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13819         __mpn_sub_n for PowerPC64/POWER7.
13820
13821         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13822         __mpn_addmul_1 for PowerPC64.
13823         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13824         __mpn_submul_1 for PowerPC64.
13825         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13826         for PowerPC64.
13827         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13828         for PowerPC64.
13829
13830 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13831
13832         [BZ #15089]
13833         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13834
13835 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13836
13837         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13838
13839         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13840         add multiarch folders.
13841         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13842         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13843         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13844         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13845         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13846         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13847         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13848         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13849         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13850         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13851         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13858
13859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13860         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13862         New file.
13863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13864         New file.
13865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13866         multiarch __ieee754_hypot for PowerPC32.
13867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13868         New file.
13869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13870         New file.
13871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13872         multiarch __ieee754_hypotf for PowerPC32.
13873
13874         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13875         long_double_symbol only if __logbl is defined.
13876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13877         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13879         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13880         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13881         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13883         path for implementation.
13884         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13885         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13887         logb, and logbl multiarch implementations for PowerPC32.
13888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13889         file.
13890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13891         file.
13892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13893         multiarch logb for PowerPC32.
13894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13895         file.
13896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13897         file.
13898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13899         multiarch logbf for PowerPC32.
13900         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13902         file.
13903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13904         multiarch logbl implementation for PowerPC32.
13905
13906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13907         and modff multiarch implementations.
13908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13909         New file.
13910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13911         New file.
13912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13913         multiarch modf for PowerPC32.
13914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13915         New file.
13916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13917         New file.
13918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13919         multiarch modff for PowerPC32.
13920
13921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13922         and lrintf multiarch implementations.
13923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13924         New file.
13925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13926         New file.
13927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13928         multiarch lrint for PowerPC32.
13929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13930         file: multiarch lrintf for PowerPC32.
13931
13932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13933         and lroundf multiarch implementations.
13934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13935         New file.
13936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13937         New file.
13938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13939         New file.
13940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13941         multiarch lround for PowerPC32.
13942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13943         file: multiarch lroundf for PowerPC32.
13944
13945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13946         copysign and copysignf multiarch implementations.
13947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13948         New file.
13949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13950         New file.
13951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13952         file: multiarch copysign for PowerPC32.
13953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13954         file: multiarch copysignf for PowerPC32.
13955
13956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13957         and truncf multiarch implementations.
13958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13959         New file.
13960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13961         file.
13962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13963         multiarch trunc for PowerPC32.
13964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13965         New file.
13966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13967         New file.
13968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13969         multiarch truncf for PowerPC32.
13970
13971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13972         and roundf multiarch implementations.
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13974         New file.
13975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13976         file.
13977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13978         multiarch round for PowerPC32.
13979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13980         New file.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13982         New file.
13983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13984         multiarch roundf for PowerPC32.
13985
13986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13987         and floorf multiarch implementations.
13988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13989         New file.
13990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13991         file.
13992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13993         multiarch floor for PowerPC32.
13994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13995         New file.
13996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13997         New file.
13998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13999         multiarch floorf for PowerPC32.
14000
14001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14002         and ceilf multiarch implementations.
14003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14004         New file.
14005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14006         file.
14007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14008         multiarch ceil for PowerPC32.
14009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14010         New file.
14011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14012         file.
14013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14014         multiarch ceilf for PowerPC32.
14015
14016         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14017         is defined.
14018         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14019         FINITEF is defined.
14020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14021         and finitef multiarch implementations.
14022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14023         New file.
14024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14025         file.
14026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14027         multiarch finite for PowerPC32.
14028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14029         New file.
14030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14031         file: multiarch finitef for PowerPC32.
14032
14033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14034         and isinff multiarch implementations.
14035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14036         file.
14037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14038         file.
14039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14040         multiarch isinf for PowerPC32.
14041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14042         New file.
14043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14044         multiarch isinff for PowerPC32.
14045
14046         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14047         alias when __isnan is defined.
14048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14049         and isnanf multiarch implementations.
14050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14051         file.
14052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14053         file.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14055         file.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14057         file.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14059         multiarch isnan for PowerPC32.
14060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14061         New file.
14062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14063         New file.
14064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14065         multiarch isnanf for PowerPC32.
14066
14067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14068         and sqrtf multiarch implementations.
14069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14070         file.
14071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14072         file.
14073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14074         multiarch sqrt for PowerPC32.
14075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14076         file.
14077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14078         file.
14079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14080         multiarch sqrtf for PowerPC32.
14081
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14083         and llroundf multiarch implementations.
14084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14085         New file.
14086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14087         New file.
14088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14089         New file.
14090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14091         file: multiarch llround for PowerPC32.
14092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14093         file: multiarch llroundf for PowerPC32.
14094
14095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14096         multiarch PowerPC32 fpu implementations.
14097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14098         New file.
14099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14100         New file.
14101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14102         multiarch llrint for PowerPC32.
14103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14104         New file.
14105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14106         New file.
14107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14108         file.
14109
14110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14111
14112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14113         file.
14114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14115         file.
14116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14117         file.
14118         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14119         multiarch wordcopy for PPC32.
14120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14121         wordcopy objects.
14122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14123         (__libc_ifunc_impl_list): Likewise.
14124         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14125         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14126         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14127         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14128         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14129         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14130
14131         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14133         file.
14134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14135         file.
14136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14137         file.
14138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14139         multiarch wcscpy for PPC32.
14140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14141         multiarch objects.
14142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14143         (__libc_ifunc_impl_list): Likewise.
14144         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14145         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14146         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14147         sysdeps/powerpc/power6/wcscpy.c.
14148
14149         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14151         file.
14152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14153         file.
14154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14155         file.
14156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14157         multiarch wcsrchr for PPC32.
14158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14159         multiarch objects.
14160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14161         (__libc_ifunc_impl_list): Likewise.
14162         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14163         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14164         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14165         sysdeps/powerpc/power6/wcsrchr.c.
14166
14167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14168         file.
14169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14170         file.
14171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14173         multiarch wcschr for PPc32.
14174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14175         multiarch objects.
14176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14177         (__libc_ifunc_impl_list): Likewise.
14178         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14179         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14180         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14181         sysdeps/powerpc/power6/wcschr.c.
14182
14183         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14184         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14185         file.
14186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14187         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14188         file: multiarch strchr for PPC32.
14189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14190         multiarch objects.
14191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14192         (__libc_ifunc_impl_list): Likewise.
14193
14194         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14195         name.
14196         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14197         file.
14198         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14199         file.
14200         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14201         multiarch strchrnul for PPC32.
14202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14203         multiarch objects.
14204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14205         (__libc_ifunc_impl_list): Likewise.
14206
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14208         file.
14209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14210         multiarch strncasecmp for PPC32.
14211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14212         file.
14213         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14214         multiarch strncasecmp_l for PPC32.
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14216         strncasecmp multiarch objects.
14217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14218         (__libc_ifunc_impl_list): Likewise.
14219
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14221         file.
14222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14223         multiarch strncasecmp for PPC32.
14224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14225         New file.
14226         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14227         multiarch strcasecmp_l for PPC32.
14228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14229         multiarch objects.
14230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14231         (__libc_ifunc_impl_list): Likewise.
14232
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14234         file.
14235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14236         file.
14237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14238         multiarch strncmp for PPC32.
14239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14240         multiarch objects.
14241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14242         (__libc_ifunc_impl_list): Likewise.
14243
14244         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14245         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14246         file.
14247         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14248         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14250         multiarch objects.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14252         (__libc_ifunc_impl_list): Likewise.
14253
14254         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14255         file.
14256         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14257         file.
14258         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14260         multiarch objects.
14261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14262         (__libc_ifunc_impl_list): Likewise.
14263
14264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14265         file.
14266         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14267         file.
14268         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14269         multiarch rawmemchr for PPC32.
14270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14271         multiarch objects.
14272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14273         (__libc_ifunc_impl_list): Likewise.
14274
14275         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14276         file.
14277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14278         file.
14279         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14280         file: memrchr multiarch for PPC32.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14282         multiarch objects.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14284         (__libc_ifunc_impl_list): Likewise.
14285
14286         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14288         file.
14289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14291         multiarch memchr for PPC32.
14292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14293         multiarch objects.
14294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14295         (__libc_ifunc_impl_list): Likewise.
14296
14297         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14299         file.
14300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14301         file.
14302         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14303         file: multiarch mempcpy for PPC32.
14304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14305         multiarch objects.
14306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14307         (__libc_ifunc_impl_list): Likewise.
14308
14309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14313         multiarch bzero for PPC32.
14314         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14315         file.
14316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14317         file.
14318         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14319         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14320         file: multiarch memset for PPC32.
14321         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14323         memset multiarch objects.
14324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14325         (__libc_ifunc_impl_list): Likewise.
14326
14327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14328         file.
14329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14331         memcmp for PPC32.
14332         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14334         multiarch objects.
14335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14336         (__libc_ifunc_impl_list): Likewise.
14337
14338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14341         file.
14342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14343         file.
14344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14345         file.
14346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14347         multiarch memcpy for PPC32.
14348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14349         multiarch objects.
14350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14351         (__libc_ifunc_impl_list): Likewise.
14352
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14354         support multiarch for POWER/PPC32.
14355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14356         Likewise.
14357         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14359         Implies file to make multiarch folder appers before the fpu and
14360         default folder for power4 configuration.
14361
14362 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14363
14364         * scripts/bench.pl: Append volatile keyword to type.
14365
14366 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14367
14368         * sysdeps/sh/sotruss-lib.c: New file.
14369         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14370
14371 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14372
14373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374
14375 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14376
14377         [BZ #6810]
14378         * math/w_tgamma.c: Include <errno.h>.
14379         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14380         * math/w_tgammaf.c: Include <errno.h>.
14381         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14382         * math/w_tgammal.c: Include <errno.h>.
14383         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14384         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14385         underflow.  Add more tgamma tests.
14386         * math/auto-libm-test-out: Regenerated.
14387         * sysdeps/i386/fpu/libm-test-ulps: Update.
14388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389
14390         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14391         sin, sinh, tan, tanh, tgamma, y0 and y1.
14392         * math/auto-libm-test-out: Regenerated.
14393         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14394         (TEST_COND_x86): Likewise.
14395         (M_E2l): Remove macro.
14396         (M_E3l): Likewise.
14397         (M_2_SQRT_PIl): Likewise.
14398         (M_SQRT_PIl): Likewise.
14399         (M_1_DIV_El): Likewise.
14400         (log_test_data): Use AUTO_TESTS_f_f.
14401         (log10_test_data): Likewise.
14402         (log1p_test_data): Likewise.
14403         (log2_test_data): Likewise.
14404         (sin_test_data): Likewise.
14405         (sin_tonearest_test_data): Likewise.
14406         (sin_towardzero_test_data): Likewise.
14407         (sin_downward_test_data): Likewise.
14408         (sin_upward_test_data): Likewise.
14409         (sinh_test_data): Likewise.
14410         (sinh_tonearest_test_data): Likewise.
14411         (sinh_towardzero_test_data): Likewise.
14412         (sinh_downward_test_data): Likewise.
14413         (sinh_upward_test_data): Likewise.
14414         (tan_test_data): Likewise.
14415         (tan_tonearest_test_data): Likewise.
14416         (tan_towardzero_test_data): Likewise.
14417         (tan_downward_test_data): Likewise.
14418         (tan_upward_test_data): Likewise.
14419         (tanh_test_data): Likewise.
14420         (tgamma_test_data): Likewise.
14421         (y0_test_data): Likewise.
14422         (y1_test_data): Likewise.
14423         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14424         (special_real_inputs): Add pi/4.
14425         * sysdeps/i386/fpu/libm-test-ulps: Update.
14426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14427
14428 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14429
14430         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14431         "longjmp_target" static probes.
14432         (__longjmp): Rename to __longjmp_symbol.
14433         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14434         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14435         on which longjmp to generate.
14436         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14437         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14438         probe.
14439         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14440         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14441         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14442         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14443         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14444         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14446         __longjmp_symbol based on which __longjmp to generate.
14447         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14448         probe.
14449         (setjmp): Rename to setjmp_symbol.
14450         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14451         (_setjmp): Rename to _setjmp_symbol.
14452         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14453         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14454         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14455         which setjmp to generate.
14456         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14457         "longjmp_target" static probes.
14458
14459 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460
14461         * benchtests/README: Add note about output arguments.
14462         * benchtests/bench-sincos.c: Remove file.
14463         * benchtests/sincos-inputs: New file.
14464         * scripts/bench.pl: Identify output arguments and define
14465         static variables for them.
14466
14467         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14468
14469         [BZ #15941]
14470         * Makefile (INSTALL): Add install-plain.texi as the primary
14471         dependency.
14472         * manual/install-plain.texi: New file.
14473         * manual/install.texi: Include node directive only for
14474         non-plaintext output.
14475
14476 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14477
14478         * stdlib/longlong.h: Update from GCC.
14479
14480         [BZ #6807]
14481         [BZ #15901]
14482         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14483         * math/w_j0f.c (y0f): Likewise.
14484         * math/w_j0l.c (__y0l): Likewise.
14485         * math/w_j1.c (y1): Likewise.
14486         * math/w_j1f.c (y1f): Likewise.
14487         * math/w_j1l.c (__y1l): Likewise
14488         * math/w_jn.c (yn): Likewise.
14489         * math/w_jnf.c (ynf): Likewise.
14490         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14491         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14492         value for Bessel function domain errors outside _SVID_ mode.
14493         Adjust sign of return value for yn (negative integer, 0).
14494         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14495         by zero in return for negative x and set sign appropriately for
14496         negative n.
14497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14498         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14499         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14500         expectations in error cases.
14501         (y1_test_data): Likewise.
14502         (yn_test_data): Likewise.
14503         * sysdeps/i386/fpu/libm-test-ulps: Update.
14504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14505
14506 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14507
14508         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14509         "64" to "64-v1".  Add "64-v2".
14510         (abi-64-options): Rename to ...
14511         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14512         (abi-64-condition): Rename to ...
14513         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14514         (abi-64-ld-soname): Rename to ...
14515         (abi-64-v1-ld-soname): ... this.
14516         (abi-64-v2-options): Define.
14517         (abi-64-v2-condition): Likewise.
14518         (abi-64-v2-ld-soname): Likewise.
14519         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14520         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14524
14525 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14526             Alan Modra  <amodra@gmail.com>
14527
14528         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14529         New versions for use with the ELFv2 ABI.
14530         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14531         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14532         declaration.
14533         (struct La_ppc64v2_retval): Likewise.
14534         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14535         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14536         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14537         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14538         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14539         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14540         Do not save or restore CR.
14541         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14542         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14543         return values for ELFv2 ABI.  Fix location of FPR return registers.
14544         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14545         updated values for _CALL_ELF == 2.
14546         (La_regs, La_retval, int_retval): Likewise.
14547
14548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14549
14550         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14551         (FRAME_MIN_SIZE_PARM): Likewise.
14552         (FRAME_BACKCHAIN): Likewise.
14553         (FRAME_CR_SAVE): Likewise.
14554         (FRAME_LR_SAVE): Likewise.
14555         (FRAME_TOC_SAVE): Likewise.
14556         (FRAME_PARM_SAVE): Likewise.
14557         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14558         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14559         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14560         (call_mcount_parm_offset): New macro.
14561         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14562         (PROF): Use symbolic stack frame offsets.
14563         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14564         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14565         Redefine in terms of FRAME_MIN_SIZE.
14566         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14567         (_dl_profile_resolve): Likewise.  Update comment.
14568         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14569         symbols stack frame offsets.
14570         (__sigsetjmp): Likewise.
14571         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14572         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14573         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14574         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14575
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14577         (FRAME_BACKCHAIN): Remove.
14578         (FRAME_CR_SAVE): Likewise.
14579         (FRAME_LR_SAVE): Likewise.
14580         (FRAME_COMPILER_DW): Likewise.
14581         (FRAME_LINKER_DW): Likewise.
14582         (FRAME_TOC_SAVE): Likewise.
14583         (FRAME_PARM_SAVE): Likewise.
14584         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14585         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14586         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14588         (CHECK_SP): Use symbolic stack frame offsets.
14589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14590         zone" instead of caller's parameter save area for temp storage.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14592         Likewise.  Also, use symbolic stack frame offsets.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14594         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14595         our own stack frame instead of the caller's.
14596         (__socket): Use symbolic stack frame offsets.
14597
14598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14599             Alan Modra  <amodra@gmail.com>
14600
14601         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14602         Define.
14603         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14604         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14605         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14606         New function.
14607         (elf_machine_fixup_plt): Call it.
14608         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14609         reloc arguments.
14610         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14611         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14612         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14613         r2 before calling target.
14614
14615 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14616             Alan Modra  <amodra@gmail.com>
14617
14618         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14619         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14620         versions of macros to support ELFv2 ABI.
14621         (LOCALENTRY): New macro.
14622         (ENTRY, EALIGN): Use it.
14623         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14624         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14625         fall through into ENTRY entry point.
14626         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14627         Only define if _CALL_ELF != 2.
14628
14629         (elf_machine_matches_host): Verify ABI version matches.
14630         (RTLD_START): Use LOCALENTRY.
14631         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14632         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14633         (PLT_ENTRY_WORDS): New macro.
14634         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14635         (elf_machine_runtime_setup): Support ELFv2 ABI.
14636         (elf_machine_fixup_plt): Likewise.
14637         (elf_machine_plt_conflict): Likewise.
14638         (resolve_ifunc): Likewise.
14639         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14640         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14641         Likewise.
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14643         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14645         (makecontext): Support ELFv2 ABI.
14646         * elf/elf.h (EF_PPC64_ABI): Define.
14647
14648 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14649
14650         * sysdeps/powerpc/powerpc64/sysdep.h
14651         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14652         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14653         (ENTRY) [ASSEMBLER]: ... but instead here ...
14654         (EALIGN) [ASSEMBLER]: ... and here.
14655         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14656         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14657         (ENTRY_2) [!ASSEMBLER]: Use it.
14658         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14659         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14660         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14661         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14662         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14664         Use PPC64_LOAD_FUNCPTR.
14665
14666         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14667
14668 2013-12-04  Alan Modra  <amodra@gmail.com>
14669
14670         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14671         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14672         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14673         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14674
14675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14676         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14677         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14678         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14679         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14680         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14681
14682 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14683
14684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14685         (__makecontext): Fix incorrect CFI when backtracing out of
14686         context created via makecontext.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14688         (__setcontext): Fix incorrect CFI during switch to new context.
14689         (__novec_setcontext): Likewise.
14690
14691 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14692
14693         [BZ #4772]
14694         * time/strptime_l.c (__strptime_internal): Allow modifiers
14695         in strptime.
14696         * time/tst-strptime.c (day_tests): Add testcase.
14697
14698 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14699
14700         * scripts/bench.pl: Skip over blank lines.
14701
14702 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14703
14704         [BZ #926]
14705         * manual/time.texi (Calendar Time): Clarify what timezone functions
14706         use.
14707
14708 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14709
14710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14711
14712 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14713
14714         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14715         implementation.
14716         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14717         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14718         * debug/memset_chk.c (__memset_chk): Likewise.
14719         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14720         * debug/strncpy_chk.c: Likewise.
14721
14722 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14723
14724         [BZ #15268]
14725         [BZ #15425]
14726         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14727         (__ieee754_exp): For possibly underflowing results, check size of
14728         result and force underflow exception if required.
14729         * math/auto-libm-test-in: Add more tests of exp.
14730         * math/auto-libm-test-out: Regenerated.
14731         * sysdeps/i386/fpu/libm-test-ulps: Update.
14732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14733
14734         [BZ #16283]
14735         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14736         * math/w_exp2f.c (__exp2f): Likewise.
14737         * math/w_exp2l.c (__exp2l): Likewise.
14738         * math/auto-libm-test-in: Do not allow missing errno on exp2
14739         underflow.
14740         * math/auto-libm-test-out: Regenerated.
14741
14742 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14743
14744         [BZ #16274]
14745         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14746         handle filename validation.
14747         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14748         (do_open): Delete.
14749
14750 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14751
14752         [BZ #6786]
14753         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14754         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14755         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14756         <float.h>.
14757         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14758         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14759         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14761         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14762         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14763         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14764         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14765         Add more erfc tests.
14766         * math/auto-libm-test-out: Regenerated.
14767         * sysdeps/i386/fpu/libm-test-ulps: Update.
14768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14769
14770         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14771         exp2, expm1, j0 and j1.
14772         * math/auto-libm-test-out: Regenerated.
14773         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14774         (erfc_test_data): Likewise.
14775         (exp_test_data): Likewise.
14776         (exp_tonearest_test_data): Likewise.
14777         (exp_towardzero_test_data): Likewise.
14778         (exp_downward_test_data): Likewise.
14779         (exp_upward_test_data): Likewise.
14780         (exp10_test_data): Likewise.
14781         (exp2_test_data): Likewise.
14782         (expm1_test_data): Likewise.
14783         (j0_test_data): Likewise.
14784         (j1_test_data): Likewise.
14785         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14786         (input_flag_type): Add flag_xfail_rounding.
14787         (input_flags): Add xfail-rounding.
14788         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14789         (output_for_one_input_case): Handle flag_xfail_rounding.
14790         * sysdeps/i386/fpu/libm-test-ulps: Update.
14791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14792
14793 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14794
14795         [BZ #16289]
14796         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14797         division by 0.
14798
14799 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14800
14801         [BZ #16195]
14802         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14803         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14804         (STAP_PROBE0): New macro.
14805         (STAP_PROBE1): Likewise.
14806         (STAP_PROBE2): Likewise.
14807         (STAP_PROBE3): Likewise.
14808         (STAP_PROBE4): Likewise.
14809
14810 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14811
14812         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14813
14814 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14815
14816         * benchtests/Makefile (bench): Add sqrt.
14817         (LDLIBS-bench-sqrt): New.
14818         * benchtests/sqrt-input: New.
14819
14820 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14821
14822         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14823         (GAIH_EAI): Likewise.
14824         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14825         (gaih_inet): Likewise.
14826         (getaddrinfo): Don't use GAIH_EAI.
14827
14828         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14829         (struct gaih): Remove definition.
14830
14831 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14832
14833         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14834         Use HERRNOP directly.
14835
14836 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14837
14838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14839
14840 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14841
14842         * math/gen-auto-libm-tests.c (test_functions): Add more
14843         single-argument functions.
14844         (special_fill_pi_2): New function.
14845         (special_fill_minus_pi_2): Likewise.
14846         (special_fill_pi_6): Likewise.
14847         (special_fill_minus_pi_6): Likewise.
14848         (special_fill_pi_3): Likewise.
14849         (special_fill_2pi_3): Likewise.
14850         (special_fill_e): Likewise.
14851         (special_fill_1_e): Likewise.
14852         (special_fill_e_minus_1): Likewise.
14853         (special_real_inputs): Add more special inputs.
14854         (output_for_one_input_case): Do not require ERANGE on underflow to
14855         zero if round-to-nearest result does not underflow to zero, unless
14856         exact results required.
14857         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14858         atan, atanh, cbrt, cos and cosh.
14859         * math/auto-libm-test-out: Regenerated.
14860         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14861         (acos_tonearest_test_data): Likewise.
14862         (acos_towardzero_test_data): Likewise.
14863         (acos_downward_test_data): Likewise.
14864         (acos_upward_test_data): Likewise.
14865         (acosh_test_data): Likewise.
14866         (asin_test_data): Likewise.
14867         (asin_tonearest_test_data): Likewise.
14868         (asin_towardzero_test_data): Likewise.
14869         (asin_upward_test_data): Likewise.
14870         (asinh_test_data): Likewise.
14871         (atan_test_data): Likewise.
14872         (atanh_test_data): Likewise.
14873         (cbrt_test_data): Likewise.
14874         (cos_test_data): Likewise.
14875         (cos_tonearest_test_data): Likewise.
14876         (cos_towardzero_test_data): Likewise.
14877         (cos_downward_test_data): Likewise.
14878         (cos_upward_test_data): Likewise.
14879         (cosh_test_data): Likewise.
14880         (cosh_tonearest_test_data): Likewise.
14881         (cosh_towardzero_test_data): Likewise.
14882         (cosh_downward_test_data): Likewise.
14883         (cosh_upward_test_data): Likewise.
14884         * sysdeps/i386/fpu/libm-test-ulps: Update.
14885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14886
14887 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14888
14889         [BZ #6787]
14890         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14891         * math/w_exp10f.c (__exp10f): Likewise.
14892         * math/w_exp10l.c (__exp10l): Likewise.
14893         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14894         errno settings in existing tests.
14895
14896         [BZ #14032]
14897         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14898         precision control set to double precision.
14899         * sysdeps/i386/fpu/w_sqrt.c: New file.
14900         * math/auto-libm-test-in: Add more tests.
14901         * math/auto-libm-test-out: Update.
14902
14903         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14904         (sqrt_test_tonearest): New function.
14905         (sqrt_towardzero_test_data): New variable.
14906         (sqrt_test_towardzero): New function.
14907         (sqrt_downward_test_data): New variable.
14908         (sqrt_test_downward): New function.
14909         (sqrt_upward_test_data): New variable.
14910         (sqrt_test_upward): New function.
14911         (main): Call the new functions.
14912
14913         * math/gen-auto-libm-tests.c: New file.
14914         * math/auto-libm-test-in: Likewise.
14915         * math/auto-libm-test-out: New generated file.
14916         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14917         variables.
14918         (%beautify): Add generated representations of zero.
14919         (top level): Set $auto_input and call parse_auto_input.
14920         (beautify): Remove trailing "f" from hex float constants.
14921         (parse_args): Handle XFAIL_TEST.
14922         (convert_condition): New function.
14923         (or_value): Likewise.
14924         (or_cond_value): Likewise.
14925         (generate_testfile): Handle AUTO_TESTS_* lines.
14926         (parse_auto_input): New function.
14927         * math/libm-test.inc (XFAIL_TEST): New macro.
14928         (ERRNO_UNCHANGED): Update value.
14929         (ERRNO_EDOM): Likewise.
14930         (ERRNO_ERANGE): Likewise.
14931         (IGNORE_RESULT): Likewise.
14932         (TEST_COND_flt_32): New macro.
14933         (TEST_COND_dbl_64): Likewise.
14934         (TEST_COND_ldbl_96_intel): Likewise.
14935         (TEST_COND_ldbl_96_m68k): Likewise.
14936         (TEST_COND_ldbl_128): Likewise.
14937         (TEST_COND_ldbl_128ibm): Likewise.
14938         (TEST_COND_long32): Likewise.
14939         (TEST_COND_long64): Likewise.
14940         (TEST_COND_before_rounding): Likewise.
14941         (TEST_COND_after_rounding): Likewise.
14942         (enable_test): Handle XFAIL_TEST flag.
14943         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14944         with finite results.
14945         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14946         auto-libm-test-out.
14947
14948 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14949             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14950
14951         [BZ #16214]
14952         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14953         __tls_get_addr_internal instead of __tls_get_offset in order to
14954         avoid GOT pointer dependency.  Make rtld export
14955         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14956         __tls_get_addr since we are a __tls_get_offset platform.
14957         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14958         GOT pointer being set up before.
14959         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14960
14961 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14962
14963         * manual/math.texi (Errors in Math Functions): Document accuracy
14964         goals.
14965
14966         [BZ #15004]
14967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14968         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14971         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14973         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14974         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14982         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14983
14984         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14985         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14986         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14987         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14988         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14989         Likewise.
14990         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14991         Likewise.
14992         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14993         Likewise.
14994         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14995         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14996         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14997         atomic-feupdateenv and flt-rounds.
14998         * sysdeps/powerpc/nofpu/Versions (libc): Add
14999         __atomic_feholdexcept, __atomic_feclearexcept,
15000         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15001         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15002         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15003         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15004         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15005         here.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15007         Update.
15008
15009         * manual/arith.texi (FP Exceptions): Document that exceptions may
15010         not be raised when matherr is used.
15011         (Math Error Reporting): Document overflow in directed rounding
15012         modes.  Document that errno may not be set when finite values are
15013         returned on overflow.  Document intent to set errno on underflow
15014         only for underflow to zero.
15015
15016         [BZ #16271]
15017         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15018         round-to-nearest then adjust result for other rounding modes.
15019         * include/fenv.h (fegetround): Use libm_hidden_proto.
15020         * math/fegetround.c (fegetround): Use libm_hidden_def.
15021         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15022         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15023         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15025         Likewise.
15026         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15027         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15028         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15029         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15030
15031 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15032
15033         [BZ #16077]
15034         * nss/Versions (libnss_files): Add
15035         _nss_files_gethostbyname3_r.
15036         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15037         New function.
15038         (HOST_DB_LOOKUP): Remove macro.
15039         (_nss_files_gethostbyname_r): Implement function without the
15040         HOST_DB_LOOKUP macro.
15041         (_nss_files_gethostbyname2_r): Likewise.
15042
15043 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15044
15045         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15046
15047 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15048
15049         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15050         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15051         warning.
15052
15053 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15054
15055         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15056         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15057         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15058         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15059         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15060         __fe_nomask_env_priv and attribute_hidden.
15061         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15062         (libc_feupdateenv_test_ppc): Likewise.
15063         (libc_feresetround_ppc): Likewise.
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15065         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15066         compat_symbol macro.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15068         (__fe_nomask_env): Likewise.
15069         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15070
15071 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15072
15073         * string/Makefile: Remove ifunc tests.
15074         * string/test-string.h: Define TEST_IFUNC.
15075         * string/test-bcopy-ifunc.c: Remove.
15076         * string/test-bzero-ifunc.c: Likewise.
15077         * string/test-memccpy-ifunc.c: Likewise.
15078         * string/test-memchr-ifunc.c: Likewise.
15079         * string/test-memcmp-ifunc.c: Likewise.
15080         * string/test-memcpy-ifunc.c: Likewise.
15081         * string/test-memmem-ifunc.c: Likewise.
15082         * string/test-memmove-ifunc.c: Likewise.
15083         * string/test-mempcpy-ifunc.c: Likewise.
15084         * string/test-memrchr-ifunc.c: Likewise.
15085         * string/test-memset-ifunc.c: Likewise.
15086         * string/test-rawmemchr-ifunc.c: Likewise.
15087         * string/test-stpcpy-ifunc.c: Likewise.
15088         * string/test-stpncpy-ifunc.c: Likewise.
15089         * string/test-strcasecmp-ifunc.c: Likewise.
15090         * string/test-strcasestr-ifunc.c: Likewise.
15091         * string/test-strcat-ifunc.c: Likewise.
15092         * string/test-strchr-ifunc.c: Likewise.
15093         * string/test-strchrnul-ifunc.c: Likewise.
15094         * string/test-strcmp-ifunc.c: Likewise.
15095         * string/test-strcpy-ifunc.c: Likewise.
15096         * string/test-strcspn-ifunc.c: Likewise.
15097         * string/test-strlen-ifunc.c: Likewise.
15098         * string/test-strncasecmp-ifunc.c: Likewise.
15099         * string/test-strncat-ifunc.c: Likewise.
15100         * string/test-strncmp-ifunc.c: Likewise.
15101         * string/test-strncpy-ifunc.c: Likewise.
15102         * string/test-strnlen-ifunc.c: Likewise.
15103         * string/test-strpbrk-ifunc.c: Likewise.
15104         * string/test-strrchr-ifunc.c: Likewise.
15105         * string/test-strspn-ifunc.c: Likewise.
15106         * string/test-strstr-ifunc.c: Likewise.
15107
15108 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15109
15110         * benchtests/Makefile: Remove ifunc tests.
15111         * benchtests/bench-string.h: Define TEST_IFUNC.
15112         * benchtests/bench-bcopy-ifunc.c: Remove.
15113         * benchtests/bench-bzero-ifunc.c: Likewise.
15114         * benchtests/bench-memccpy-ifunc.c: Likewise.
15115         * benchtests/bench-memchr-ifunc.c: Likewise.
15116         * benchtests/bench-memcmp-ifunc.c: Likewise.
15117         * benchtests/bench-memcpy-ifunc.c: Likewise.
15118         * benchtests/bench-memmem-ifunc.c: Likewise.
15119         * benchtests/bench-memmove-ifunc.c: Likewise.
15120         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15121         * benchtests/bench-memrchr-ifunc.c: Likewise.
15122         * benchtests/bench-memset-ifunc.c: Likewise.
15123         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15124         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15125         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15126         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15127         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15128         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15129         * benchtests/bench-strcat-ifunc.c: Likewise.
15130         * benchtests/bench-strchr-ifunc.c: Likewise.
15131         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15132         * benchtests/bench-strcmp-ifunc.c: Likewise.
15133         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15134         * benchtests/bench-strcpy-ifunc.c: Likewise.
15135         * benchtests/bench-strcspn-ifunc.c: Likewise.
15136         * benchtests/bench-strlen-ifunc.c: Likewise.
15137         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15138         * benchtests/bench-strncat-ifunc.c: Likewise.
15139         * benchtests/bench-strncmp-ifunc.c: Likewise.
15140         * benchtests/bench-strncpy-ifunc.c: Likewise.
15141         * benchtests/bench-strnlen-ifunc.c: Likewise.
15142         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15143         * benchtests/bench-strrchr-ifunc.c: Likewise.
15144         * benchtests/bench-strsep-ifunc.c: Likewise.
15145         * benchtests/bench-strspn-ifunc.c: Likewise.
15146         * benchtests/bench-strstr-ifunc.c: Likewise.
15147
15148 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15149
15150         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15151
15152 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15153
15154         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15155         * rt/aio.h: Likewise.
15156         * sysdeps/gnu/bits/utmp.h: Likewise.
15157         * sysdeps/gnu/bits/utmpx.h: Likewise.
15158         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15159         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15160         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15161         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15162         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15163         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15164         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15165         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15166         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15167         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15168         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15169         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15170         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15172         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15173         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15174         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15175         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15176         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15177         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15178         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15179         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15180         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15181         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15182         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15184         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15185         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15186         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15187         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15188         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15189         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15190         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15191         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15192         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15193         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15194         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15195         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15196         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15197         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15198         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15199         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15200
15201 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15202
15203         [BZ #16245]
15204         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15205         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15206
15207 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15208
15209         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15210         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15211         Likewise.
15212
15213 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15214
15215         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15216         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15217         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15218         (__fesetround): Remove define.
15219         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15220         rounding and exceptions handling.
15221         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15222         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15223         (__fe_nomask_env): Likewise.
15224         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15225         __fegetround instead of fegetround.
15226         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15227         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15228
15229 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15230
15231         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15232         it's there.
15233
15234         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15235
15236 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15237
15238         [BZ #11157]
15239         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15240         (encrypt_r): Likewise.
15241         * malloc/obstack.h (obstack_free): Likewise.
15242         * posix/unistd.h (encrypt): Likewise.
15243
15244 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15245
15246         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15247         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15248         DL_CALL_DT_FINI() that call the functions directly.
15249         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15250         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15251         * elf/dl-fini.c: Likewise.
15252
15253 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15254
15255         * malloc/hooks.c (memalign_check): Add alignment rounding.
15256         * malloc/malloc.c (_mid_memalign): New function.
15257         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15258         Implement by calling _mid_memalign.
15259         * manual/probes.texi (Memory Allocation Probes): Remove
15260         memory_valloc_retry and memory_pvalloc_retry.
15261
15262 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15263
15264         * locale/programs/locarchive.c (open_archive): Add const
15265         qualifier to ARCHIVEFNAME and copy default fname to
15266         DEFAULT_FNAME.
15267
15268         [BZ #15601]
15269         * libio/tst-widetext.input: Rename Oriya to Odia.
15270         * locale/iso-639.def: Likewise.
15271
15272         * manual/probes.texi (Mathematical Function Probes): Add
15273         documentation for sin, cos, asin and acos probes.
15274         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15275         (__sin32): Add slowasin probe.
15276         (__cos32): Add slowacos probe.
15277         (__mpsin): Add slowsin probe.
15278         (__mpcos): Add slowcos probe.
15279
15280 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15281
15282         [BZ #15483]
15283         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15284         thread-local __sim_exceptions_thread and global
15285         __sim_exceptions_global.
15286         (__sim_disabled_exceptions): Change to thread-local
15287         __sim_disabled_exceptions_thread and global
15288         __sim_disabled_exceptions_global.
15289         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15290         and global __sim_round_mode_global.
15291         (__simulate_exceptions): Use thread-local floating-point state and
15292         set global state from it as needed.
15293         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15294         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15295         __sim_round_mode_thread.
15296         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15297         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15298         and global __sim_exceptions_global.
15299         (__sim_disabled_exceptions): Change to thread-local
15300         __sim_disabled_exceptions_thread and global
15301         __sim_disabled_exceptions_global.
15302         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15303         and global __sim_round_mode_global.
15304         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15305         (SIM_SET_GLOBAL): Likewise.
15306         * sysdeps/powerpc/soft-fp/sfp-machine.h
15307         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15308         __sim_round_mode_thread.
15309         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15310         __sim_disabled_exceptions_thread.
15311         (__sim_exceptions): Change to __sim_exceptions_thread.
15312         (__sim_disabled_exceptions): Change to
15313         __sim_disabled_exceptions_thread.
15314         (__sim_round_mode): Change to __sim_round_mode_thread.
15315         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15316         thread-local floating-point state and set global state from it as
15317         needed.
15318         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15319         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15320         (__sim_disabled_exceptions): Remove extern declaration.
15321         (feenableexcept): Use thread-local floating-point state and set
15322         global state from it as needed.
15323         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15324         extern declaration.
15325         (__sim_disabled_exceptions): Likewise.
15326         (__sim_round_mode): Likewise.
15327         (__fegetenv): Use thread-local floating-point state.
15328         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15329         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15330         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15331         floating-point state and set global state from it as needed.
15332         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15333         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15334         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15335         Likewise.
15336         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15337         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15338         Likewise.
15339         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15340         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15341         Use __sim_round_mode_thread.
15342         * math/test-fenv-tls.c: New file.
15343         * math/Makefile (tests): Add test-fenv-tls.
15344         ($(objpfx)test-fenv-tls): Depend on
15345         $(common-objpfx)nptl/libpthread.so.
15346
15347 2013-11-19  Andreas Schwab  <schwab@suse.de>
15348
15349         * locale/programs/locale.c (show_info): Decode wordarray elements.
15350         * locale/categories.def (LC_MONETARY): Add element for
15351         _NL_MONETARY_CRNCYSTR.
15352         * locale/C-monetary.c (conversion_rate): New variable.
15353         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15354         element.
15355
15356 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15357
15358         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15359         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15360
15361 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15362
15363         * elf/Makefile (tst-auxv): New test.
15364         * elf/tst-auxv.c: New
15365         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15366
15367 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15368
15369         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15370         (hidden_proto): Caller changed.
15371         (hidden_tls_proto): New macro.
15372         (libc_hidden_tls_proto): Likewise.
15373         (rtld_hidden_tls_proto): Likewise.
15374         (libm_hidden_tls_proto): Likewise.
15375         (libresolv_hidden_tls_proto): Likewise.
15376         (librt_hidden_tls_proto): Likewise.
15377         (libdl_hidden_tls_proto): Likewise.
15378         (libnss_files_hidden_tls_proto): Likewise.
15379         (libnsl_hidden_tls_proto): Likewise.
15380         (libnss_nisplus_hidden_tls_proto): Likewise.
15381         (libutil_hidden_tls_proto): Likewise.
15382
15383 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15384
15385         [BZ #10253]
15386         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15387         (decompose_rpath): Defer expansion to fillin_rpath.
15388         (_dl_init_paths): Pass linkmap to fillin_rpath.
15389
15390 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15391
15392         * benchtests/Makefile: Add strsep.
15393         * benchtests/bench-strsep.c: New file: strsep benchtest.
15394         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15395
15396 2013-11-18  Andreas Schwab  <schwab@suse.de>
15397
15398         * locale/programs/locale.c (show_info) [case byte]: Check for
15399         '\377' instead of '\177'.
15400         * locale/C-monetary.c (not_available): Always use "\377".
15401         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15402         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15403         detect unavailable sign_posn locale elements.
15404         * locale/localeconv.c (__localeconv): For grouping and
15405         mon_grouping handle "\177" and "\377" like no grouping.
15406         (INT_ELEM): New macro.  Use it to set all numeric members.
15407         * locale/programs/ld-monetary.c (monetary_read)
15408         <tok_mon_grouping>: Normalize single -1 to the empty string.
15409         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15410         Likewise.
15411
15412 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15413
15414         [BZ #16055]
15415         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15416         when we match (nil).
15417         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15418
15419 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15420
15421         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15422         (NO_TEST_INLINE): Update value.
15423         (ERRNO_UNCHANGED): Likewise.
15424         (ERRNO_EDOM): Likewise.
15425         (ERRNO_ERANGE): Likewise.
15426         (IGNORE_RESULT): Likewise.
15427         (check_float_internal): Check signs of NaN results if
15428         TEST_NAN_SIGN used.
15429         (check_complex): Pass TEST_NAN_SIGN flag through to second
15430         check_float_internal call.
15431         (copysign_test_data): Add tests with quiet NaNs as second
15432         argument.  Use TEST_NAN_SIGN.
15433         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15434         TEST_NAN_SIGN.
15435         (signbit_test_data): Add tests of quiet NaN argument.
15436         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15437
15438         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15439         $ignore_result.
15440         (parse_args): Handle function results specified as IGNORE.
15441         * math/libm-test.inc (IGNORE_RESULT): New macro.
15442         (check_float_internal): Do not check numerical result if flag
15443         IGNORE_RESULT set.
15444         (check_complex): Pass through IGNORE_RESULT to second
15445         check_float_internal call.
15446         (check_int): Do not check numerical result if flag IGNORE_RESULT
15447         set.
15448         (check_long): Likewise.
15449         (check_bool): Likewise.
15450         (check_longlong): Likewise.
15451         (lrint_test_data): Add tests of infinite and NaN arguments.
15452         (lrint_tonearest_test_data): Likewise.
15453         (lrint_towardzero_test_data): Likewise.
15454         (lrint_downward_test_data): Likewise.
15455         (lrint_upward_test_data): Likewise.
15456         (llrint_test_data): Likewise.
15457         (llrint_tonearest_test_data): Likewise.
15458         (llrint_towardzero_test_data): Likewise.
15459         (llrint_downward_test_data): Likewise.
15460         (llrint_upward_test_data): Likewise.
15461         (lround_test_data): Likewise.
15462         (llround_test_data): Likewise.
15463
15464         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15465         (ERRNO_UNCHANGED): Update value.
15466         (ERRNO_EDOM): Likewise.
15467         (ERRNO_ERANGE): Likewise.
15468         (NO_TEST_INLINE_FLOAT): New macro.
15469         (NO_TEST_INLINE_DOUBLE): Likewise.
15470         (enable_test): New function.
15471         (RUN_TEST_f_f): Check enable_test before running test.
15472         (RUN_TEST_2_f): Likewise.
15473         (RUN_TEST_fff_f): Likewise.
15474         (RUN_TEST_c_f): Likewise.
15475         (RUN_TEST_f_f1): Likewise.
15476         (RUN_TEST_fF_f1): Likewise.
15477         (RUN_TEST_fI_f1): Likewise.
15478         (RUN_TEST_ffI_f1): Likewise.
15479         (RUN_TEST_c_c): Likewise.
15480         (RUN_TEST_cc_c): Likewise.
15481         (RUN_TEST_f_i): Likewise.
15482         (RUN_TEST_f_i_tg): Likewise.
15483         (RUN_TEST_ff_i_tg): Likewise.
15484         (RUN_TEST_f_b): Likewise.
15485         (RUN_TEST_f_b_tg): Likewise.
15486         (RUN_TEST_f_l): Likewise.
15487         (RUN_TEST_f_L): Likewise.
15488         (RUN_TEST_fFF_11): Likewise.
15489         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15490         conditionals.
15491         (cosh_test_data): Likewise.
15492         (exp_test_data): Likewise.
15493         (expm1_test_data): Likewise.
15494         (hypot_test_data): Likewise.
15495         (pow_test_data): Likewise.
15496         (sinh_test_data): Likewise.
15497         (tanh_test_data): Likewise.
15498         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15499         flags argument.
15500
15501         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15502         tests with quiet NaN input and output.
15503         (acosh_test_data): Likewise.
15504         (asin_test_data): Likewise.
15505         (asinh_test_data): Likewise.
15506         (atan_test_data): Likewise.
15507         (atanh_test_data): Likewise.
15508         (atan2_test_data): Likewise.
15509         (cbrt_test_data): Likewise.
15510         (cos_test_data): Likewise.
15511         (cosh_test_data): Likewise.
15512         (erf_test_data): Likewise.
15513         (erfc_test_data): Likewise.
15514         (exp_test_data): Likewise.
15515         (exp10_test_data): Likewise.
15516         (exp2_test_data): Likewise.
15517         (expm1_test_data): Likewise.
15518         (hypot_test_data): Likewise.
15519         (j0_test_data): Likewise.
15520         (j1_test_data): Likewise.
15521         (jn_test_data): Likewise.
15522         (lgamma_test_data): Likewise.
15523         (log_test_data): Likewise.
15524         (log10_test_data): Likewise.
15525         (log1p_test_data): Likewise.
15526         (log2_test_data): Likewise.
15527         (pow_test_data): Likewise.
15528         (scalb_test_data): Likewise.
15529         (sin_test_data): Likewise.
15530         (sincos_test_data): Likewise.
15531         (sinh_test_data): Likewise.
15532         (tan_test_data): Likewise.
15533         (tanh_test_data): Likewise.
15534         (tgamma_test_data): Likewise.
15535         (y0_test_data): Likewise.
15536         (y1_test_data): Likewise.
15537         (yn_test_data): Likewise.
15538
15539         [BZ #16167]
15540         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15541         argument being NaN and avoid computations with second argument in
15542         that case.
15543         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15544         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15545         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15546
15547 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15548
15549         * locale/iso-639.def: Add Chitwani Tharu (the).
15550
15551 2013-11-14  Andreas Schwab  <schwab@suse.de>
15552
15553         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15554         word instead of empty string.
15555
15556 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15557
15558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15559         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15561         (__fe_nomask_env): Likewise.
15562
15563 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15564
15565         * benchtests/bench-timing.h: Include time.h.
15566
15567 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15568
15569         [BZ #15997]
15570         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15571         to 3.4.0 for x32.
15572         * sysdeps/unix/sysv/linux/configure: Regenerated.
15573
15574 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15575
15576         [BZ #16151]
15577         * stdlib/strtod_l.c (round_and_return): Do not consider
15578         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15579         exponent one less than half the least subnormal exponent.
15580         * stdlib/test-strtod-round-data: Add more tests.
15581         * stdlib/tst-strtod-round.c (tests): Regenerated.
15582
15583 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15584
15585         [BZ #14143]
15586         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15587         (__fe_mask_env): Likewise.
15588         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15589         libm_hidden_proto and add function prototype.
15590         (__fe_mask_env): Add function prototype.
15591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15592         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15594         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15596         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15597
15598 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15599
15600         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15601         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15602
15603 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15604
15605         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15606         of htab_find_slot().
15607
15608 2013-11-11  David S. Miller  <davem@davemloft.net>
15609
15610         [BZ #16150]
15611         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15612         symbol in the non-vis3 case in static builds.
15613         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15614         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15615         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15616         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15617
15618 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15619
15620         [BZ #387]
15621         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15622         it is empty.
15623
15624 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15625
15626         * benchtests/Makefile: Add bench-strtod.
15627         * benchtests/bench-strtod.c: New file: strtod benchtest
15628
15629 2013-11-11  Andreas Schwab  <schwab@suse.de>
15630
15631         [BZ #16153]
15632         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15633         terminating NUL in key length.
15634
15635 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15636
15637         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15638         Add artificial ODP entry for vDSO symbol for PPC64.
15639         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15640         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15641
15642 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15643
15644         [BZ #15374]
15645         * nss/getent.c (services_keys): Recognize services starting with digit.
15646
15647 2013-11-06  David S. Miller  <davem@davemloft.net>
15648
15649         [BZ #15985]
15650         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15651         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15652
15653 2013-11-06  Will Newton  <will.newton@linaro.org>
15654
15655         * manual/memory.texi (Malloc Examples): Remove register
15656         keyword from examples.
15657
15658 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15659
15660         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15661
15662 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15663
15664         [BZ #6981]
15665         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15666         depending on [__GCC_IEC_559 > 0].
15667         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15668         depending on [__GCC_IEC_559_COMPLEX > 0].
15669
15670 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15671
15672         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15673         to iso-639.def.
15674
15675 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15676
15677         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15678
15679 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15680
15681         [BZ #16112]
15682         * malloc/malloc (malloc_info): Do not handle first bin as
15683         special case.
15684
15685 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15686
15687         * locale/iso-639.def: Add Central Nahuatl (nhn).
15688
15689 2013-11-01  Bruno Haible  <bruno@clisp.org>
15690
15691         [BZ #7003]
15692         * manual/math.texi (BSD Random): Specify range upper bound as
15693         in POSIX.
15694
15695 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15696
15697         * locale/iso-639.def: Add Meadow Mari (mhr).
15698
15699 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15700
15701         [BZ #14752], [BZ #15763]
15702         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15703         Validate name.
15704         * rt/tst_shm.c: Add test for escaping directory.
15705
15706 2013-10-31  Andreas Schwab  <schwab@suse.de>
15707
15708         [BZ #15917]
15709         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15710         followed by 'x' as part of digit sequence.
15711         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15712
15713 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15714
15715         [BZ #16037]
15716         * configure.ac: allow GNU Make 4.0 and greater.
15717         * configure: Regenerated.
15718
15719 2013-10-30  Will Newton  <will.newton@linaro.org>
15720
15721         [BZ #16038]
15722         * malloc/hooks.c (memalign_check): Limit alignment to the
15723         maximum representable power of two.
15724         * malloc/malloc.c (__libc_memalign): Likewise.
15725         * malloc/tst-memalign.c (do_test): Add test for very
15726         large alignment values.
15727         * malloc/tst-posix_memalign.c (do_test): Likewise.
15728
15729 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15730
15731         [BZ #11087]
15732         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15733         (munmap_chunk): Likewise.
15734         (mremap_chunk): Likewise.
15735
15736 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15737
15738         [BZ #15799]
15739         * stdlib/div.c (div): Remove obsolete code.
15740         * stdlib/ldiv.c (ldiv): Likewise.
15741         * stdlib/lldiv.c (lldiv): Likewise.
15742
15743 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15744
15745         [BZ #16071]
15746         * nss/nss_files/files-XXX.c (get_contents_ret): New
15747         enumerator.
15748         (get_contents): New function.
15749         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15750
15751 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15752
15753         * configure.in: Moved to ...
15754         * configure.ac: ... here. Change reference to configure.in
15755         to configure.ac.
15756         * sysdeps/arm/preconfigure.ac: ... here.
15757         configure.in to configure.ac.
15758         * sysdeps/gnu/configure.in: Moved to ...
15759         * sysdeps/gnu/configure.ac: ... here.
15760         * sysdeps/i386/configure.in: Moved to ...
15761         * sysdeps/i386/configure.ac: ... here.
15762         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15763         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15764         * sysdeps/mach/configure.in: Moved to ...
15765         * sysdeps/mach/configure.ac: ... here.
15766         * sysdeps/mach/hurd/configure.in: Moved to ...
15767         * sysdeps/mach/hurd/configure.ac: ... here.
15768         * sysdeps/powerpc/configure.in: Moved to ...
15769         * sysdeps/powerpc/configure.ac: ... here.
15770         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15771         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15772         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15773         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15774         * sysdeps/s390/s390-32/configure.in: Moved to ...
15775         * sysdeps/s390/s390-32/configure.ac: ... here.
15776         * sysdeps/s390/s390-64/configure.in: Moved to ...
15777         * sysdeps/s390/s390-64/configure.ac: ... here.
15778         * sysdeps/sh/configure.in: Moved to ...
15779         * sysdeps/sh/configure.ac: ... here.
15780         * sysdeps/sparc/configure.in: Moved to ...
15781         * sysdeps/sparc/configure.ac: ... here.
15782         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15783         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15784         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15785         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15786         * sysdeps/x86_64/configure.in: Moved to ...
15787         * sysdeps/x86_64/configure.ac: ... here.
15788         * sysdeps/x86_64/preconfigure.in: Moved to ...
15789         * sysdeps/x86_64/preconfigure.ac: ... here.
15790         * aclocal.m4: Change reference to configure.in to configure.ac.
15791         * config.h.in: Likewise.
15792         * manual/install.texi: Likewise.
15793         * manual/maint.texi: Likewise.
15794         * Makefile: Likewise.
15795         * malloc/Makefile: Likewise.
15796         * nscd/Makefile: Likewise.
15797         * Makeconfig: Change reference to configure.in and
15798         preconfigure.in to configure.ac and preconfigure.ac
15799         respectively.
15800         * INSTALL: Regenerated.
15801         * configure: Likewise.
15802         * sysdeps/gnu/configure: Likewise.
15803         * sysdeps/i386/configure: Likewise.
15804         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15805         * sysdeps/mach/configure: Likewise.
15806         * sysdeps/mach/hurd/configure: Likewise.
15807         * sysdeps/powerpc/configure: Likewise.
15808         * sysdeps/powerpc/powerpc32/configure: Likewise.
15809         * sysdeps/powerpc/powerpc64/configure: Likewise.
15810         * sysdeps/s390/s390-32/configure: Likewise.
15811         * sysdeps/s390/s390-64/configure: Likewise.
15812         * sysdeps/sh/configure: Likewise.
15813         * sysdeps/sparc/configure: Likewise.
15814         * sysdeps/unix/sysv/linux/configure: Likewise.
15815         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15816         * sysdeps/x86_64/configure: Likewise.
15817         * sysdeps/x86_64/preconfigure: Likewise.
15818
15819 2013-10-29  Andreas Schwab  <schwab@suse.de>
15820
15821         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15822
15823 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15824
15825         * benchtests/pow-inputs: Add new inputs.
15826
15827         * benchtests/exp-inputs: Add new inputs.
15828
15829         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15830         conditional check for return value.
15831         (__cos32): Likewise.
15832
15833 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15834
15835         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15836         to provide a boost for large inputs with word alignment.
15837         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15838         implementation based on optimized PPC64 strcpy.
15839         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15840         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15841         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15842         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15843
15844 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15845
15846         [BZ #2801]
15847         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15848
15849 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15850
15851         [BZ #14876]
15852         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15853         * time/tst-strptime.c (day_tests): Add testcase.
15854
15855 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15856
15857         [BZ #14029]
15858         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15859
15860 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15861
15862         [BZ #16074]
15863         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15864         MAP_FAILED on error.
15865
15866 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15867
15868         [BZ #16072]
15869         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15870         heap for large requests.
15871
15872 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15873
15874         [BZ #9954]
15875         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15876         result if the result has no associated interface.
15877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15878         interface for all 127.X.Y.Z addresses.
15879
15880 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15881
15882         * locale/iso-639.def: Add Ligurian (lij)
15883
15884 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15885
15886         [BZ #15825]
15887         * sunrpc/rpc_main.c: Document rpcgen -5.
15888
15889 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15890
15891         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15892
15893 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15894
15895         [BZ #10278]
15896         * posix/glob.c: Match only directories when trailing slash is present.
15897         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15898         (main): Add testcase.
15899
15900 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15901
15902         [BZ #15670]
15903         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15904
15905 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15906
15907         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15908         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15909         AUTH_DES and cindex for FIPS 140-2.
15910         (DES Encryption): Add cindex FIPS 46-3.
15911
15912         * locale/locarchive.h (struct locarhandle): Add fname.
15913         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15914         if an optional argument was specified to --list-archive,
15915         otherwise NULL.
15916         * locale/programs/locarchive.c (show_archive_content): Take new
15917         argument fname and pass it via ah.fname to open_archive.
15918         * locale/programs/localedef.h: Update decl.
15919         (open_archive): If AH->fname is non-null, open that file
15920         rather than the default file name, and don't ignore ENOENT.
15921         (create_archive): Set AH.fname to NULL.
15922         (delete_locales_from_archive): Likewise.
15923         (add_locales_to_archive): Likewise.
15924         * locale/programs/locfile.c (write_all_categories): Likewise.
15925
15926 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15927             Aldy Hernandez  <aldyh@redhat.com>
15928
15929         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15930         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15931         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15932         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15933         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15935         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15936         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15937         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15938         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15939         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15940         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15941         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15942         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15943         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15944         Likewise.
15945         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15946         Likewise.
15947         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15948         Likewise.
15949         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15950         Likewise.
15951         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15952         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15953         Likewise.
15954         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15955         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15956         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15957         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15958         Likewise.
15959         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15960         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15961         * sysdeps/powerpc/preconfigure: Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15963         Likewise.
15964         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15965         Replace contents of file by #include of <fenv_libc.h>.
15966         * sysdeps/powerpc/soft-fp/sfp-machine.h
15967         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15968         and <sys/prctl.h>.
15969         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15982         Allow copysignl PLT reference to be missing.
15983
15984 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15985             Joseph Myers  <joseph@codesourcery.com
15986
15987         [BZ #15948]
15988         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15989         single character.
15990         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15991
15992 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15993
15994         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15995         * elf/tst-tls1.c: Likewise.
15996         * elf/tst-tls10.h: Likewise.
15997         * elf/tst-tls14.c: Likewise.
15998         * elf/tst-tls2.c: Likewise.
15999         * elf/tst-tls3.c: Likewise.
16000         * elf/tst-tls4.c: Likewise.
16001         * elf/tst-tls5.c: Likewise.
16002         * elf/tst-tls6.c: Likewise.
16003         * elf/tst-tls7.c: Likewise.
16004         * elf/tst-tls8.c: Likewise.
16005         * elf/tst-tls9.c: Likewise.
16006         * elf/tst-tlsmod1.c: Likewise.
16007         * elf/tst-tlsmod13.c: Likewise.
16008         * elf/tst-tlsmod13a.c: Likewise.
16009         * elf/tst-tlsmod14a.c: Likewise.
16010         * elf/tst-tlsmod16a.c: Likewise.
16011         * elf/tst-tlsmod16b.c: Likewise.
16012         * elf/tst-tlsmod2.c: Likewise.
16013         * elf/tst-tlsmod3.c: Likewise.
16014         * elf/tst-tlsmod4.c: Likewise.
16015         * elf/tst-tlsmod5.c: Likewise.
16016         * elf/tst-tlsmod6.c: Likewise.
16017
16018 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16019
16020         [BZ #12486]
16021         * malloc/malloc.c: remove checks for statistics.
16022
16023 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16024
16025         [BZ #15277]
16026         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16027         * inet/tst-network.c: Add testcase.
16028
16029 2013-10-17  Andreas Schwab  <schwab@suse.de>
16030
16031         [BZ #15218]
16032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16033         to determine canonical name.
16034
16035 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16036
16037         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16038         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16040         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16042         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16043         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16044         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16045         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16047         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16048         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16050         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16051         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16052         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16054         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16055         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16056         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16057         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16058         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16060         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16061         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16062         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16063         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16064         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16065         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16066         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16067         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16068         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16069         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16070         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16071         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16072         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16073         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16074         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16075         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16076         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16077         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16078         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16079         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16080         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16081         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16082         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16083         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16084         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16085         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16086         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16087         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16088         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16089         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16090         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16092         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16095
16096 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16097
16098         [BZ #16041]
16099         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16100         make result into a quiet NaN.
16101
16102 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16103
16104         * soft-fp/adddf3.c: Fix horizontal whitespace.
16105         * soft-fp/addsf3.c: Likewise.
16106         * soft-fp/addtf3.c: Likewise.
16107         * soft-fp/divdf3.c: Likewise.
16108         * soft-fp/divsf3.c: Likewise.
16109         * soft-fp/divtf3.c: Likewise.
16110         * soft-fp/double.h: Likewise.
16111         * soft-fp/eqdf2.c: Likewise.
16112         * soft-fp/eqsf2.c: Likewise.
16113         * soft-fp/eqtf2.c: Likewise.
16114         * soft-fp/extenddftf2.c: Likewise.
16115         * soft-fp/extended.h: Likewise.
16116         * soft-fp/extendsfdf2.c: Likewise.
16117         * soft-fp/extendsftf2.c: Likewise.
16118         * soft-fp/extendxftf2.c: Likewise.
16119         * soft-fp/fixdfdi.c: Likewise.
16120         * soft-fp/fixdfsi.c: Likewise.
16121         * soft-fp/fixdfti.c: Likewise.
16122         * soft-fp/fixsfdi.c: Likewise.
16123         * soft-fp/fixsfsi.c: Likewise.
16124         * soft-fp/fixsfti.c: Likewise.
16125         * soft-fp/fixtfdi.c: Likewise.
16126         * soft-fp/fixtfsi.c: Likewise.
16127         * soft-fp/fixtfti.c: Likewise.
16128         * soft-fp/fixunsdfdi.c: Likewise.
16129         * soft-fp/fixunsdfsi.c: Likewise.
16130         * soft-fp/fixunsdfti.c: Likewise.
16131         * soft-fp/fixunssfdi.c: Likewise.
16132         * soft-fp/fixunssfsi.c: Likewise.
16133         * soft-fp/fixunssfti.c: Likewise.
16134         * soft-fp/fixunstfdi.c: Likewise.
16135         * soft-fp/fixunstfsi.c: Likewise.
16136         * soft-fp/fixunstfti.c: Likewise.
16137         * soft-fp/floatdidf.c: Likewise.
16138         * soft-fp/floatdisf.c: Likewise.
16139         * soft-fp/floatditf.c: Likewise.
16140         * soft-fp/floatsidf.c: Likewise.
16141         * soft-fp/floatsisf.c: Likewise.
16142         * soft-fp/floatsitf.c: Likewise.
16143         * soft-fp/floattidf.c: Likewise.
16144         * soft-fp/floattisf.c: Likewise.
16145         * soft-fp/floattitf.c: Likewise.
16146         * soft-fp/floatundidf.c: Likewise.
16147         * soft-fp/floatundisf.c: Likewise.
16148         * soft-fp/floatunditf.c: Likewise.
16149         * soft-fp/floatunsidf.c: Likewise.
16150         * soft-fp/floatunsisf.c: Likewise.
16151         * soft-fp/floatunsitf.c: Likewise.
16152         * soft-fp/floatuntidf.c: Likewise.
16153         * soft-fp/floatuntisf.c: Likewise.
16154         * soft-fp/floatuntitf.c: Likewise.
16155         * soft-fp/fmadf4.c: Likewise.
16156         * soft-fp/fmasf4.c: Likewise.
16157         * soft-fp/fmatf4.c: Likewise.
16158         * soft-fp/gedf2.c: Likewise.
16159         * soft-fp/gesf2.c: Likewise.
16160         * soft-fp/getf2.c: Likewise.
16161         * soft-fp/ledf2.c: Likewise.
16162         * soft-fp/lesf2.c: Likewise.
16163         * soft-fp/letf2.c: Likewise.
16164         * soft-fp/muldf3.c: Likewise.
16165         * soft-fp/mulsf3.c: Likewise.
16166         * soft-fp/multf3.c: Likewise.
16167         * soft-fp/negdf2.c: Likewise.
16168         * soft-fp/negsf2.c: Likewise.
16169         * soft-fp/negtf2.c: Likewise.
16170         * soft-fp/op-1.h: Likewise.
16171         * soft-fp/op-2.h: Likewise.
16172         * soft-fp/op-4.h: Likewise.
16173         * soft-fp/op-8.h: Likewise.
16174         * soft-fp/op-common.h: Likewise.
16175         * soft-fp/quad.h: Likewise.
16176         * soft-fp/single.h: Likewise.
16177         * soft-fp/soft-fp.h: Likewise.
16178         * soft-fp/sqrtdf2.c: Likewise.
16179         * soft-fp/sqrtsf2.c: Likewise.
16180         * soft-fp/sqrttf2.c: Likewise.
16181         * soft-fp/subdf3.c: Likewise.
16182         * soft-fp/subsf3.c: Likewise.
16183         * soft-fp/subtf3.c: Likewise.
16184         * soft-fp/truncdfsf2.c: Likewise.
16185         * soft-fp/trunctfdf2.c: Likewise.
16186         * soft-fp/trunctfsf2.c: Likewise.
16187         * soft-fp/trunctfxf2.c: Likewise.
16188         * soft-fp/unorddf2.c: Likewise.
16189         * soft-fp/unordsf2.c: Likewise.
16190         * soft-fp/unordtf2.c: Likewise.
16191
16192 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16193
16194         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16195         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16196
16197 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16198
16199         * elf/dl-libc.c: Clear initfini list after freeing.
16200
16201 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16202
16203         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16204         * soft-fp/addsf3.c: Likewise.
16205         * soft-fp/addtf3.c: Likewise.
16206         * soft-fp/divdf3.c: Likewise.
16207         * soft-fp/divsf3.c: Likewise.
16208         * soft-fp/divtf3.c: Likewise.
16209         * soft-fp/double.h: Likewise.
16210         * soft-fp/eqdf2.c: Likewise.
16211         * soft-fp/eqsf2.c: Likewise.
16212         * soft-fp/eqtf2.c: Likewise.
16213         * soft-fp/extenddftf2.c: Likewise.
16214         * soft-fp/extended.h: Likewise.
16215         * soft-fp/extendsfdf2.c: Likewise.
16216         * soft-fp/extendsftf2.c: Likewise.
16217         * soft-fp/extendxftf2.c: Likewise.
16218         * soft-fp/fixdfdi.c: Likewise.
16219         * soft-fp/fixdfsi.c: Likewise.
16220         * soft-fp/fixdfti.c: Likewise.
16221         * soft-fp/fixsfdi.c: Likewise.
16222         * soft-fp/fixsfsi.c: Likewise.
16223         * soft-fp/fixsfti.c: Likewise.
16224         * soft-fp/fixtfdi.c: Likewise.
16225         * soft-fp/fixtfsi.c: Likewise.
16226         * soft-fp/fixtfti.c: Likewise.
16227         * soft-fp/fixunsdfdi.c: Likewise.
16228         * soft-fp/fixunsdfsi.c: Likewise.
16229         * soft-fp/fixunsdfti.c: Likewise.
16230         * soft-fp/fixunssfdi.c: Likewise.
16231         * soft-fp/fixunssfsi.c: Likewise.
16232         * soft-fp/fixunssfti.c: Likewise.
16233         * soft-fp/fixunstfdi.c: Likewise.
16234         * soft-fp/fixunstfsi.c: Likewise.
16235         * soft-fp/fixunstfti.c: Likewise.
16236         * soft-fp/floatdidf.c: Likewise.
16237         * soft-fp/floatdisf.c: Likewise.
16238         * soft-fp/floatditf.c: Likewise.
16239         * soft-fp/floatsidf.c: Likewise.
16240         * soft-fp/floatsisf.c: Likewise.
16241         * soft-fp/floatsitf.c: Likewise.
16242         * soft-fp/floattidf.c: Likewise.
16243         * soft-fp/floattisf.c: Likewise.
16244         * soft-fp/floattitf.c: Likewise.
16245         * soft-fp/floatundidf.c: Likewise.
16246         * soft-fp/floatundisf.c: Likewise.
16247         * soft-fp/floatunsidf.c: Likewise.
16248         * soft-fp/floatunsisf.c: Likewise.
16249         * soft-fp/floatuntidf.c: Likewise.
16250         * soft-fp/floatuntisf.c: Likewise.
16251         * soft-fp/floatuntitf.c: Likewise.
16252         * soft-fp/fmadf4.c: Likewise.
16253         * soft-fp/fmasf4.c: Likewise.
16254         * soft-fp/fmatf4.c: Likewise.
16255         * soft-fp/gedf2.c: Likewise.
16256         * soft-fp/gesf2.c: Likewise.
16257         * soft-fp/getf2.c: Likewise.
16258         * soft-fp/ledf2.c: Likewise.
16259         * soft-fp/lesf2.c: Likewise.
16260         * soft-fp/letf2.c: Likewise.
16261         * soft-fp/muldf3.c: Likewise.
16262         * soft-fp/mulsf3.c: Likewise.
16263         * soft-fp/multf3.c: Likewise.
16264         * soft-fp/negdf2.c: Likewise.
16265         * soft-fp/negsf2.c: Likewise.
16266         * soft-fp/negtf2.c: Likewise.
16267         * soft-fp/op-1.h: Likewise.
16268         * soft-fp/op-2.h: Likewise.
16269         * soft-fp/op-4.h: Likewise.
16270         * soft-fp/op-8.h: Likewise.
16271         * soft-fp/op-common.h: Likewise.
16272         * soft-fp/quad.h: Likewise.
16273         * soft-fp/single.h: Likewise.
16274         * soft-fp/soft-fp.h: Likewise.
16275         * soft-fp/sqrtdf2.c: Likewise.
16276         * soft-fp/sqrtsf2.c: Likewise.
16277         * soft-fp/sqrttf2.c: Likewise.
16278         * soft-fp/subdf3.c: Likewise.
16279         * soft-fp/subsf3.c: Likewise.
16280         * soft-fp/subtf3.c: Likewise.
16281         * soft-fp/truncdfsf2.c: Likewise.
16282         * soft-fp/trunctfdf2.c: Likewise.
16283         * soft-fp/trunctfsf2.c: Likewise.
16284         * soft-fp/trunctfxf2.c: Likewise.
16285         * soft-fp/unorddf2.c: Likewise.
16286         * soft-fp/unordsf2.c: Likewise.
16287         * soft-fp/unordtf2.c: Likewise.
16288
16289 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16290
16291         [BZ #15672]
16292         * misc/error.c (error_tail): Fix possible buffer overflow.
16293
16294 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16295
16296         [BZ #13028]
16297         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16298         address.
16299
16300 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16301
16302         [BZ #832]
16303         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16304         testing pipefail option.
16305
16306 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16307
16308         * soft-fp/double.h: Indent preprocessor directives inside #if.
16309         * soft-fp/extended.h: Likewise.
16310         * soft-fp/op-2.h: Likewise.
16311         * soft-fp/op-4.h: Likewise.
16312         * soft-fp/op-common.h: Likewise.
16313         * soft-fp/quad.h: Likewise.
16314         * soft-fp/single.h: Likewise.
16315         * soft-fp/soft-fp.h: Likewise.
16316
16317 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16318
16319         * iconv/iconv_prog.c: Fix typos.
16320         * stdio-common/psiginfo-data.h: Likewise.
16321
16322 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16323
16324         [BZ #15764]
16325         * locale/setlocale.c: Fix typo.
16326
16327 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16328
16329         [BZ #16036]
16330         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16331         signaling NaN arguments.
16332         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16333         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16334
16335         [BZ #14910]
16336         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16337         unordered operands.
16338         * soft-fp/gesf2.c (__gesf2): Likewise.
16339         * soft-fp/getf2.c (__getf2): Likewise.
16340         * soft-fp/ledf2.c (__ledf2): Likewise.
16341         * soft-fp/lesf2.c (__lesf2): Likewise.
16342         * soft-fp/letf2.c (__letf2): Likewise.
16343
16344         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16345         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16346         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16347         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16348         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16349         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16350         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16351         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16352         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16353         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16354         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16355         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16356         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16357         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16358         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16359         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16360         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16361         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16362         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16363         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16364         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16365         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16366         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16367         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16368         * soft-fp/floattidf.c (__floattidf): Likewise.
16369         * soft-fp/floattisf.c (__floattisf): Likewise.
16370         * soft-fp/floattitf.c (__floattitf): Likewise.
16371         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16372         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16373         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16374         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16375         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16376         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16377         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16378         * soft-fp/gesf2.c (__gesf2): Likewise.
16379         * soft-fp/getf2.c (__getf2): Likewise.
16380         * soft-fp/ledf2.c (__ledf2): Likewise.
16381         * soft-fp/lesf2.c (__lesf2): Likewise.
16382         * soft-fp/letf2.c (__letf2): Likewise.
16383
16384         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16385         Undefine and redefine.
16386         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16387         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16388         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16389         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16390         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16391         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16392         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16393         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16394         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16395         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16396         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16397         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16398         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16399         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16400         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16401
16402         [BZ #16032]
16403         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16404         without decrementing exponent if mantissa >= that for the
16405         denominator, not >.
16406         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16407         denominator, not >.  Decrement exponent in < case instead of
16408         incrementing in >= case.
16409         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16410         without decrementing exponent if mantissa >= that for the
16411         denominator, not >.
16412
16413         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16414         computing saturated result for unsigned overflow.
16415
16416 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16417             Jeff Law  <law@redhat.com>
16418
16419         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16420         (atan2Mp): Add systemtap probe marker.
16421         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16422         (__ieee754_log): Add systemtap probe marker.
16423         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16424         (atanMp): Add systemtap probe marker.
16425         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16426         (tanMp): Add systemtap probe marker.
16427         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16428         (__slowexp): Add systemtap probe marker.
16429         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16430         (__slowpow): Add systemtap probe marker.
16431         * manual/probes.texi: Document probes.
16432
16433 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16434
16435         [BZ #15362]
16436         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16437         written.
16438         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16439         written.
16440         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16441         written to buffer but not flushed.
16442         * libio/iofwrite_u.c:  Likewise.
16443         * libio/iopadn.c:  Return bytes returned even if EOF was
16444         encountered.
16445         * libio/iowpadn.c:  Likewise.
16446         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16447         if _IO_padn does not write the whole buffer.
16448         [!COMPILE_WPRINTF] (PAD): Likewise.
16449
16450 2013-10-10  David S. Miller  <davem@davemloft.net>
16451
16452         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16453         directory block.
16454
16455 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16456
16457         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16458         instead of FSF address.
16459         * soft-fp/fixdfti.c: Likewise.
16460         * soft-fp/fixsfti.c: Likewise.
16461         * soft-fp/fixtfti.c: Likewise.
16462         * soft-fp/fixunsdfti.c: Likewise.
16463         * soft-fp/fixunssfti.c: Likewise.
16464         * soft-fp/fixunstfti.c: Likewise.
16465         * soft-fp/floattidf.c: Likewise.
16466         * soft-fp/floattisf.c: Likewise.
16467         * soft-fp/floattitf.c: Likewise.
16468         * soft-fp/floatuntidf.c: Likewise.
16469         * soft-fp/floatuntisf.c: Likewise.
16470         * soft-fp/floatuntitf.c: Likewise.
16471         * soft-fp/trunctfxf2.c: Likewise.
16472
16473         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16474         * soft-fp/fixdfti.c: Likewise.
16475         * soft-fp/fixsfti.c: Likewise.
16476         * soft-fp/fixtfti.c: Likewise.
16477         * soft-fp/fixunsdfti.c: Likewise.
16478         * soft-fp/fixunssfti.c: Likewise.
16479         * soft-fp/fixunstfti.c: Likewise.
16480         * soft-fp/floattidf.c: Likewise.
16481         * soft-fp/floattisf.c: Likewise.
16482         * soft-fp/floattitf.c: Likewise.
16483         * soft-fp/floatuntidf.c: Likewise.
16484         * soft-fp/floatuntisf.c: Likewise.
16485         * soft-fp/floatuntitf.c: Likewise.
16486         * soft-fp/trunctfxf2.c: Likewise.
16487
16488 2013-10-10  David S. Miller  <davem@davemloft.net>
16489
16490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16491
16492 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16493
16494         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16495         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16496         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16497         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16498         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16499         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16500         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16501
16502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16503         for NaNs before doing comparisons on argument.
16504         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16505         Likewise.
16506
16507 2013-10-10  Will Newton  <will.newton@linaro.org>
16508
16509         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16510         passed to _int_memalign does not overflow.
16511
16512 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16513
16514         * scripts/bench.pl: Add include-sources directive.
16515         * benchtests/README: Update documentation.
16516
16517 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16518
16519         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16520         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16521         instead of FP_INIT_ROUNDMODE.
16522         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16523         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16524
16525         [BZ #16034]
16526         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16527         copy class of input value.
16528         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16529         not handle exceptions.
16530         * soft-fp/negsf2.c (__negsf2): Likewise.
16531         * soft-fp/negtf2.c (__negtf2): Likewise.
16532         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16533
16534 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16535
16536         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16537         semicolon.  From Linux kernel.
16538
16539 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16540
16541         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16542
16543 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16544
16545         [BZ #156]
16546         * manual/socket.texi: Added statement about buffer
16547         for gethostbyname2_r.
16548
16549 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16550
16551         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16552         Use .p2align directive instead, throughout.
16553         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16554         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16555         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16556         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16558         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16559         * sysdeps/x86_64/strchr.S: Likewise.
16560         * sysdeps/x86_64/strrchr.S: Likewise.
16561
16562 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16563
16564         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16565
16566         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16567
16568         * sysdeps/generic/math_private.h (__mpsin1): Remove
16569         declaration.
16570         (__mpcos1): Likewise.
16571         (__mpsin): New argument __range_reduce.
16572         (__mpcos): Likewise.
16573         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16574         (slow): Use __mpsin and __mpcos.
16575         (slow1): Likewise.
16576         (slow2): Likewise.
16577         (sloww): Likewise.
16578         (sloww1): Likewise.
16579         (sloww2): Likewise.
16580         (bsloww): Likewise.
16581         (bsloww1): Likewise.
16582         (bsloww2): Likewise.
16583         (cslow2): Likewise.
16584         (csloww): Likewise.
16585         (csloww1): Likewise.
16586         (csloww2): Likewise.
16587         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16588         range_reduce.  Merge in __mpsin1.
16589         (__mpcos): Likewise.
16590         (__mpsin1): Remove.
16591         (__mpcos1): Likewise.
16592
16593 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16594
16595         * locale/loadlocale.c (_nl_intern_locale_data): Use
16596         LOCFILE_ALIGNED_P.
16597         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16598         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16599         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16600         obstack data is appropriately aligned.
16601         (obstack_int32_grow_fast): Likewise.
16602         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16603         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16604         (add_locale_uint32_array): Likewise.
16605
16606 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16607
16608         * benchtests/Makefile: Remove ARGLIST and RET variables.
16609         ($(objpfx)bench-%.c): Pass only function name to the script.
16610         * benchtests/README: Update documentation.
16611         * benchtests/acos-inputs: Add new directives.
16612         * benchtests/acosh-inputs: Likewise.
16613         * benchtests/asin-inputs: Likewise.
16614         * benchtests/asinh-inputs: Likewise.
16615         * benchtests/atan-inputs: Likewise.
16616         * benchtests/atanh-inputs: Likewise.
16617         * benchtests/cos-inputs: Likewise.
16618         * benchtests/cosh-inputs: Likewise.
16619         * benchtests/exp-inputs: Likewise.
16620         * benchtests/log-inputs: Likewise.
16621         * benchtests/pow-inputs: Likewise.
16622         * benchtests/rint-inputs: Likewise.
16623         * benchtests/sin-inputs: Likewise.
16624         * benchtests/sinh-inputs: Likewise.
16625         * benchtests/tan-inputs: Likewise.
16626         * benchtests/tanh-inputs: Likewise.
16627         * scripts/bench.pl: Add support for new directives.
16628
16629 2013-10-07  Alan Modra  <amodra@gmail.com>
16630
16631         * README: Fix careless merge.
16632
16633 2013-10-05  Alan Modra  <amodra@gmail.com>
16634
16635         * NEWS: Mention powerpc64le support and bugs fixed.
16636         * README: Both big-endian and little-endian powerpc64 supported.
16637
16638 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16639
16640         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16641         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16642         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16643         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16644
16645 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16646
16647         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16648         match prototype.
16649
16650 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16651
16652         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16653         Move -mhard-float appending from
16654         ports/sysdeps/powerpc/powerpc32/Makefile.
16655         [$(with-fp) = yes] (ASFLAGS): Likewise.
16656         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16657         * sysdeps/powerpc/nofpu: Move directory from
16658         ports/sysdeps/powerpc/nofpu.
16659         * sysdeps/powerpc/soft-fp: Move directory from
16660         ports/sysdeps/powerpc/soft-fp.
16661         * sysdeps/powerpc/powerpc32/405: Move directory from
16662         ports/sysdeps/powerpc/powerpc32/405.
16663         * sysdeps/powerpc/powerpc32/440: Move directory from
16664         ports/sysdeps/powerpc/powerpc32/440.
16665         * sysdeps/powerpc/powerpc32/464: Move directory from
16666         ports/sysdeps/powerpc/powerpc32/464.
16667         * sysdeps/powerpc/powerpc32/476: Move directory from
16668         ports/sysdeps/powerpc/powerpc32/476.
16669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16670         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16672         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16674         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16676         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16678         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16679         * README: Update for powerpc-*-linux-gnu software floating point
16680         support in libc.
16681
16682         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16683         case to powerpc/powerpc32*.
16684         * sysdeps/unix/sysv/linux/configure: Regenerated.
16685
16686         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16687         (_FPU_MASK_OM): Define as 0x04.
16688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16690         0x00c10080.
16691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16692         0x0000003c.
16693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16694
16695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16696         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16697         getcontext_e500.
16698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16699         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16700         setcontext_e500.
16701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16702         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16703         and setcontext_e500.
16704
16705 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16706
16707         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16708
16709 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16710
16711         * manual/threads.texi (Default Thread Attributes): Fix typo.
16712
16713 2013-10-04  Will Newton  <will.newton@linaro.org>
16714
16715         * malloc/Makefile: Add tst-memalign.
16716         * malloc/tst-memalign.c: New file.
16717
16718         * malloc/tst-posix_memalign.c: Add comments.
16719         (do_test): Add comments and call free on all potentially
16720         allocated pointers. Add space after cast.
16721
16722         * malloc/tst-pvalloc.c: Add comments.
16723         (do_test): Add comments and call free on all potentially
16724         allocated pointers. Remove duplicate check for NULL pointer.
16725         Add space after cast.
16726
16727         * malloc/tst-valloc.c: Add comments.
16728         (do_test): Add comments and call free on all potentially
16729         allocated pointers. Remove duplicate check for NULL pointer.
16730         Add space after cast.
16731
16732 2013-10-04  Alan Modra  <amodra@gmail.com>
16733
16734         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16735         Use stdint types in rather than __attribute__((mode())).
16736         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16737
16738 2013-10-04  Alan Modra  <amodra@gmail.com>
16739
16740         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16741         Correct handling of unaligned relocs for little-endian.
16742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16743
16744 2013-10-04  Alan Modra  <amodra@gmail.com>
16745
16746         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16747         * configure: Regenerate.
16748         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16749         * shlib-versions: Likewise.
16750
16751 2013-10-04  Alan Modra  <amodra@gmail.com>
16752
16753         * string/tester.c (test_memrchr): Increment reported test cycle.
16754
16755 2013-10-04  Alan Modra  <amodra@gmail.com>
16756
16757         * string/test-memcpy.c (do_one_test): When reporting errors, print
16758         string address and don't overrun end of string.
16759
16760 2013-10-04  Alan Modra  <amodra@gmail.com>
16761
16762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16763         insrdi.  Make better use of reg selection to speed exit slightly.
16764         Schedule entry path a little better.  Remove useless "are we done"
16765         checks on entry to main loop.  Handle wrapping around zero address.
16766         Correct main loop count.  Handle single left-over word from main
16767         loop inline rather than by using loop_small.  Remove extra word
16768         case in loop_small caused by wrong loop count.  Add little-endian
16769         support.
16770         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16771         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16772         cache hint.
16773         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16774         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16775         support.  Avoid rlwimi.
16776         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16777
16778 2013-10-04  Alan Modra  <amodra@gmail.com>
16779
16780         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16781         insrdi.  Formatting.
16782         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16783         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16784         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16785         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16786         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16787         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16788
16789 2013-10-04  Alan Modra  <amodra@gmail.com>
16790
16791         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16792         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16793         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16794         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16795         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16796         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16797         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16798         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16799         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16800         use of regs.  Use power7 mtocrf.  Tidy function tails.
16801
16802 2013-10-04  Alan Modra  <amodra@gmail.com>
16803
16804         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16805         Formatting.  Consistently use rXXX register defines or rN defines.
16806         Use early exit labels that avoid restoring unused non-volatile regs.
16807         Make cr field use more consistent with rWORDn compares.  Rename
16808         regs used as shift registers for unaligned loop, using rN defines
16809         for short lifetime/multiple use regs.
16810         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16811         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16812         addi 1,1,64 to pop stack frame.  Simplify return value code.
16813         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16814
16815 2013-10-04  Alan Modra  <amodra@gmail.com>
16816
16817         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16818         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16819         rather than rlwimi.
16820         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16821         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16822         little-endian support.  Correct typos.
16823         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16824         rather than rlwimi.
16825         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16826         in loop and entry code to keep "and." results.
16827         (strchr): Add little-endian support.  Comment.  Move cntlzd
16828         earlier in tail.
16829         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16830
16831 2013-10-04  Alan Modra  <amodra@gmail.com>
16832
16833         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16834         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16835         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16836         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16837
16838 2013-10-04  Alan Modra  <amodra@gmail.com>
16839
16840         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16841         (rTMP): Define as r11.
16842         (strcmp): Add little-endian support.  Optimise tail.
16843         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16844         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16845         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16846         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16847         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16849         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16850
16851 2013-10-04  Alan Modra  <amodra@gmail.com>
16852
16853         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16854         little-endian support.  Remove unnecessary "are we done" tests.
16855         Handle "s" wrapping around zero and extremely large "size".
16856         Correct main loop count.  Handle single left-over word from main
16857         loop inline rather than by using small_loop.  Correct comments.
16858         Delete "zero" tail, use "end_max" instead.
16859         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16860
16861 2013-10-04  Alan Modra  <amodra@gmail.com>
16862
16863         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16864         support.  Don't branch over align.
16865         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16866         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16867         support.  Rearrange tmp reg use to suit.  Comment.
16868         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16869
16870 2013-10-04  Alan Modra  <amodra@gmail.com>
16871
16872         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16873
16874 2013-10-04  Alan Modra  <amodra@gmail.com>
16875
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16877         conditional form of branch and link when obtaining pc.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16879
16880 2013-10-04  Alan Modra  <amodra@gmail.com>
16881
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16883         HIWORD/LOWORD.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16886
16887 2013-10-04  Alan Modra  <amodra@gmail.com>
16888
16889         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16890         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16891         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16892         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16893         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16894         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16895         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16896         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16897         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16898         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16899
16900 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16901             Alistair Popple <alistair@ozlabs.au.ibm.com>
16902             Alan Modra <amodra@gmail.com>
16903
16904         [BZ #15723]
16905         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16906         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16907         _dl_hwcap access for little-endian.
16908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16909         destroy vmx regs when saving unaligned.
16910         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16911         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16912         destroy vmx regs when saving unaligned.
16913
16914 2013-10-04  Alan Modra  <amodra@gmail.com>
16915
16916         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16917         Don't use a union to pack hi/low value.
16918
16919 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16920
16921         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16922         for little-endian.
16923         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16925         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16926         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16927         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16928
16929 2013-10-04  Alan Modra  <amodra@gmail.com>
16930
16931         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16932         constants to usual value for .cst8 section, and remove redundant
16933         high address load.
16934         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16935         constant for 0x1p52.  Load little-endian words of double from
16936         correct stack offsets.
16937
16938 2013-10-04  Alan Modra  <amodra@gmail.com>
16939
16940         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16941         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16942         words of double from correct stack offsets.
16943         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16944         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16945         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16946         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16948         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16949         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16950         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16951         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16952         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16953         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16954         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16955         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16956         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16957         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16958         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16959         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16960
16961 2013-10-04  Alan Modra  <amodra@gmail.com>
16962
16963         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16964         64-bit int/double union.
16965         (_FPU_SETCW): Likewise.
16966         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16967         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16968
16969 2013-10-04  Alan Modra  <amodra@gmail.com>
16970
16971         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16972         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16973
16974 2013-10-04  Alan Modra  <amodra@gmail.com>
16975
16976         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16977         use vector int constants.
16978         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16979
16980 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16981
16982         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16983         array with long long.
16984         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16985         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16986         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16987         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16988         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16989         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16990         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16991         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16992         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16993         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16994         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16995         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16996         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16997
16998 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16999
17000         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17001         (__signbit): Likewise.  Correct for little-endian.
17002         (__signbitl): Call __signbit.
17003         (lrint): Correct for little-endian.
17004         (lrintf): Call lrint.
17005
17006 2013-10-04  Alan Modra  <amodra@gmail.com>
17007
17008         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17009         union 32-bit int array member with 64-bit int array.
17010         (t515, tm256): Double rather than long double.
17011         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17012
17013 2013-10-04  Alan Modra  <amodra@gmail.com>
17014
17015         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17016         Delete.
17017         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17019         version of math_ldbl.h.
17020
17021 2013-10-04  Alan Modra  <amodra@gmail.com>
17022
17023         [BZ #15734], [BZ #15735]
17024         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17025         all uses of ieee875 long double macros and unions.  Simplify test
17026         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17027         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17028         normalize after ldbl_extract_mantissa, and don't add hidden bit
17029         already handled.  Don't treat low word of ieee854 mantissa like
17030         low word of IBM long double and mask off bit when testing for
17031         zero.
17032         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17033         all uses of ieee875 long double macros and unions.  Simplify tests
17034         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17035         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17036         two1022, instead use their values.  Recognise that tests for large
17037         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17038         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17039         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17040         test for 0.0L and nan.  Correct negation.
17041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17042         ieee875 long double macros and unions.  Correct output for large
17043         magnitude x.  Correct absolute value calculation.
17044         (__erfcl): Likewise.
17045         * math/libm-test.inc: Add tests for errors discovered in IBM long
17046         double versions of fmodl, remainderl, erfl and erfcl.
17047
17048 2013-10-04  Alan Modra  <amodra@gmail.com>
17049
17050         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17051         all uses of ieee854 long double macros and unions.  Simplify tests
17052         for long doubles that are fully specified by the high double.
17053         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17054         Likewise.
17055         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17056         Remove dead code too.
17057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17058         (__ieee754_ynl): Likewise.
17059         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17062         Remove dead code too.
17063         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17064         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17065         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17066         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17067         Simplify.
17068         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17069         Simplify.
17070         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17071         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17073         Comment on variable precision.
17074         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17075         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17076         Likewise.
17077         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17078         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17079         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17080         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17081         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17082
17083 2013-10-04  Alan Modra  <amodra@gmail.com>
17084
17085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17086         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17087         all uses of ieee854 long double macros and unions.
17088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17090         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17091         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17093         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17094         Likewise.
17095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17096         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17097         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17100         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17101         Simplify sign and nan test too.
17102         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17103         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17104         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17105         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17106         Likewise.
17107         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17108         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17109         Likewise.
17110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17111         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17112         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17113         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17114         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17116
17117 2013-10-04  Alan Modra  <amodra@gmail.com>
17118
17119         * stdio-common/printf_size.c (__printf_size): Don't use
17120         union ieee854_long_double in fpnum union.
17121         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17122         signbit macro to retrieve sign from long double.
17123         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17124         retrieve sign from long double.
17125         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17126         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17127         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17128         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17129         * math/test-misc.c (main): Don't use union ieee854_long_double.
17130
17131 2013-10-04  Alan Modra  <amodra@gmail.com>
17132
17133         [BZ #15680]
17134         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17135         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17136         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17137         calculation.  Remove unnecessary test for denormal exponent.
17138         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17139         Correct handling of denormals.  Avoid undefined shift behaviour.
17140         Correct normalisation of low mantissa when low double is denormal.
17141         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17142         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17143         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17144         Correct normalisation of low mantissa.  Test for overflow of high
17145         mantissa and normalise.
17146         (ldbl_nearbyint): Use more readable constant for two52.
17147         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17148         (__mpn_construct_long_double): Fix test for overflow of high
17149         mantissa and correct normalisation.  Avoid undefined shift.
17150
17151 2013-10-04  Alan Modra  <amodra@gmail.com>
17152
17153         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17154         (union ibm_extended_long_double): Define as an array of ieee754_double.
17155         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17156         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17157         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17158         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17160         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17162         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17163         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17164         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17165         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17166
17167 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17168
17169         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17170         page size instead of calling getpagesize.
17171
17172         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17173         (LOCFILE_ALIGN_MASK): Likewise.
17174         (LOCFILE_ALIGN_UP): Likewise.
17175         (LOCFILE_ALIGNED_P): Likewise.
17176         * locale/programs/ld-collate.c (collate_output): Use the new
17177         macros instead of __alignof__ (int32_t).
17178         * locale/weight.h (findidx): Likewise.
17179
17180 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17181
17182         [BZ #431]
17183         * manual/string.texi: Fix strncat and wcsncat.
17184
17185 2013-10-03  Brooks Moses  <bmoses@google.com>
17186
17187         [BZ #15915]
17188         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17189         * Makerules: ...here, and adjust associated comments.
17190
17191 2013-10-02  Will Newton  <will.newton@linaro.org>
17192
17193         * malloc/Makefile: Add tst-pvalloc.
17194         * malloc/tst-pvalloc.c: New file.
17195
17196 2013-10-02  Will Newton  <will.newton@linaro.org>
17197
17198         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17199         improve test coverage.
17200
17201 2013-10-02  Will Newton  <will.newton@linaro.org>
17202
17203         * malloc/Makefile: Add tst-posix_memalign.
17204         * malloc/tst-posix_memalign.c: New file.
17205
17206 2013-10-01  Eric Blake  <eblake@redhat.com>
17207
17208         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17209         Use __THROWNL rather than __THROW on static functions.
17210
17211 2013-09-30  Petr Machata  <pmachata@redhat.com>
17212
17213         * elf/elf.h (R_AARCH64_ABS16): New macro.
17214         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17215         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17216         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17217         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17218         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17219         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17220         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17221         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17222         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17223         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17224         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17225         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17226         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17227         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17228         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17229         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17230         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17231         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17232         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17233         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17234         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17235         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17236         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17237         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17238         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17239         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17240         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17241         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17242         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17243         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17244         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17245         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17246         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17247         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17248         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17249         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17250         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17251         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17252         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17253         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17254         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17255         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17256         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17257         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17258         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17259         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17260         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17261         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17262         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17263         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17264         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17265         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17266         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17267         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17268         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17269         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17270         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17271         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17272         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17273         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17274         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17275         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17276         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17277         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17278         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17279         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17280         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17281         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17282         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17283         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17284         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17285         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17286         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17287         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17288         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17289         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17290         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17291         (R_AARCH64_TLSDESC_LDR): Likewise.
17292         (R_AARCH64_TLSDESC_ADD): Likewise.
17293         (R_AARCH64_TLSDESC_CALL): Likewise.
17294
17295 2013-09-30  Andreas Schwab  <schwab@suse.de>
17296
17297         [BZ #15048]
17298         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17299         the nss database lookup.
17300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17301         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17302
17303 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17304
17305         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17306
17307 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17308
17309         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17310         ${Bash-specific parameter/pattern/string} parameter expansion.
17311         * sysdeps/unix/make-syscalls.sh: Likewise.
17312
17313 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17314
17315         * sysdeps/sh/stackguard-macros.h: New file.
17316
17317 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17318
17319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17321         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17322         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17323         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17324         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17325
17326 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17327
17328         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17329         Fix thread ID register.
17330
17331 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17332
17333         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17334         [POSIX || UNIX98]: Require rather than permitting all symbols from
17335         <time.h>.
17336         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17337         element of struct sched_param.
17338         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17339         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17340         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17341         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17342         constant.
17343
17344 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17345
17346         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17347         argument calculation.
17348
17349 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17350
17351         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17352         Expect macro.
17353         [POSIX] (pthread_attr_t): Do not require type.
17354         [POSIX] (pthread_cond_t): Likewise.
17355         [POSIX] (pthread_condattr_t): Likewise.
17356         [POSIX] (pthread_key_t): Likewise.
17357         [POSIX] (pthread_mutex_t): Likewise.
17358         [POSIX] (pthread_mutexattr_t): Likewise.
17359         [POSIX] (pthread_once_t): Likewise.
17360         [POSIX] (pthread_t): Likewise.
17361         [POSIX-based standards] (pthread_atfork): Expect function.
17362
17363 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17364             Richard Sandiford  <richard@codesourcery.com>
17365
17366         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17367         (swap_endianness_p): New extern variable.
17368         (set_big_endian): New inline function.
17369         (maybe_swap_uint32): Likewise.
17370         (maybe_swap_uint32_array): Likewise.
17371         (maybe_swap_uint32_obstack): Likewise.
17372         * locale/programs/locfile.c: Include <stdbool.h>.
17373         (swap_endianness_p): New variable.
17374         (add_locale_uint32): Call maybe_swap_uint32.
17375         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17376         (write_locale_data): Call maybe_swap_uint32_array.
17377         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17378         maybe_swap_uint32.
17379         (obstack_int32_grow_fast): Likewise.
17380         (output_weightwc): Call maybe_swap_uint32_obstack.
17381         (collate_output): Likewise.
17382         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17383         (OPT_LITTLE_ENDIAN): Likewise.
17384         (options): Add --little-endian and --big-endian options.
17385         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17386         * locale/programs/locarchive.c: Include "locfile.h".
17387         (GET): New macro.
17388         (SET): Likewise.
17389         (INC): Likewise.
17390         (create_archive): Use the new macros to access fields of
17391         structures directly mapped from or written to locale archives.
17392         (oldlocrecentcmp): Likewise.
17393         (enlarge_archive): Likewise.
17394         (insert_name): Likewise.
17395         (add_alias): Likewise.
17396         (add_locale): Likewise.
17397         (delete_locales_from_archive): Likewise.
17398         (show_archive_content): Likewise.
17399         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17400         locale data.
17401
17402 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17403
17404         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17405         http://www.gnu.org/doc/freemanuals.texi.
17406         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17407
17408 2013-09-24  Will Newton  <will.newton@linaro.org>
17409
17410         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17411         macro.
17412
17413 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17414
17415         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17416         unsigned char.
17417
17418 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17419
17420         * manual/threads.texi (POSIX Threads): Fix a typo.
17421
17422 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17423
17424         [BZ #14547]
17425         * string/tst-strcoll-overflow.c: New test case.
17426         * string/Makefile (xtests): Add tst-strcoll-overflow.
17427         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17428         cache if string sizes may cause integer overflow.
17429
17430         [BZ #14547]
17431         * string/strcoll_l.c (coll_seq): New members rule, idx,
17432         save_idx and back_us.
17433         (get_next_seq_nocache): New function.
17434         (do_compare_nocache): New function.
17435         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17436         when malloc fails.
17437
17438 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17439
17440         [BZ #15754]
17441         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17442         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17443         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17444
17445         [BZ #15754]
17446         * elf/Makefile (tests): Add tst-ptrguard1.
17447         (tests-static): Add tst-ptrguard1-static.
17448         (tst-ptrguard1-ARGS): Define.
17449         (tst-ptrguard1-static-ARGS): Define.
17450         * elf/tst-ptrguard1.c: New file.
17451         * elf/tst-ptrguard1-static.c: New file.
17452         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17453         * sysdeps/i386/stackguard-macros.h: Likewise.
17454         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17455         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17456         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17457         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17458         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17459         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17460
17461 2013-09-23  Hector Marco  <hecmargi@upv.es>
17462             Ismael Ripoll  <iripoll@disca.upv.es>
17463             Carlos O'Donell  <carlos@redhat.com>
17464
17465         [BZ #15754]
17466         * sysdeps/generic/stackguard-macros.h: Define
17467         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17468         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17469         Define __pointer_chk_guard_local.
17470         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17471         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17472
17473 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17474
17475         [BZ #15859]
17476         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17477
17478 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17479
17480         * include/string.h (__ffs): Declare as hidden.
17481         * string/ffs.c (__ffs): Define as hidden.
17482         * sysdeps/i386/ffs.c (__ffs): Likewise.
17483         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17484         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17485         * sysdeps/s390/ffs.c (__ffs): Likewise.
17486         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17487
17488 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17489
17490         * NEWS: Mention malloc probes.
17491
17492         * malloc/arena.c (new_heap): New memory_heap_new probe.
17493         (grow_heap): New memory_heap_more probe.
17494         (shrink_heap): New memory_heap_less probe.
17495         (heap_trim): New memory_heap_free probe.
17496         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17497         (systrim): New memory_sbrk_less probe.
17498         * manual/probes.texi: Document them.
17499
17500         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17501         * manual/probes.texi: Document it.
17502
17503         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17504         (__libc_realloc): Add memory_realloc_retry probe.
17505         (__libc_memalign): Add memory_memalign_retry probe.
17506         (__libc_valloc): Add memory_valloc_retry probe.
17507         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17508         (__libc_calloc): Add memory_calloc_retry probe.
17509         * manual/probes.texi: Document them.
17510
17511         * malloc/arena.c (get_free_list): Add probe
17512         memory_arena_reuse_free_list.
17513         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17514         and memory_arena_reuse.
17515         (arena_get2) [!PER_THREAD]: Likewise.
17516         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17517         memory_arena_reuse_realloc.
17518         * manual/probes.texi: Document them.
17519
17520         * malloc/malloc.c (__libc_free): Add
17521         memory_mallopt_free_dyn_thresholds probe.
17522         (__libc_mallopt): Add multiple memory_mallopt probes.
17523         * manual/probes.texi: Document them.
17524
17525         * malloc/malloc.c: Include stap-probe.h.
17526         (__libc_mallopt): Add memory_mallopt probe.
17527         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17528         * manual/probes.texi: New.
17529         * manual/Makefile (chapters): Add probes.
17530         * manual/threads.texi: Set next node.
17531
17532 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17533
17534         [BZ #15963, #13985]
17535         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17536         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17537         Add `Chinese' to `nan' entry name.
17538
17539 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17540
17541         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17542         (POLYNOMIAL): Likewise.
17543         (TAYLOR_SINCOS): Likewise.
17544         (TAYLOR_SLOW): Likewise.
17545         (__sin): Use TAYLOR_SINCOS.
17546         (__cos): Likewise.
17547         (slow): Use TAYLOR_SLOW.
17548         (sloww): Likewise.
17549         (bsloww): Likewise.
17550         (csloww): Likewise.
17551
17552 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17553
17554         * stdlib/strtod_l.c: Fix buffer overrun.
17555
17556 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17557
17558         * benchtests/Makefile (bench): Add sincos.
17559         * benchtests/bench-sincos.c: New file.
17560
17561         * math/libm-test.inc (cos_test_data): New test inputs.
17562         (sin_test_data): Likewise.
17563
17564         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17565         macro.
17566         (__sin): Use it.
17567         (__cos): Likewise.
17568         (slow1): Likewise.
17569         (slow2): Likewise.
17570         (sloww1): Likewise.
17571         (sloww2): Likewise.
17572         (bsloww1): Likewise.
17573         (bsloww2): Likewise.
17574         (cslow2): Likewise.
17575         (csloww1): Likewise.
17576         (csloww2): Likewise.
17577
17578         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17579         function.
17580         (__sin): Use it.
17581         (__cos): Likewise.
17582
17583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17584         gotos.
17585         (__cos): Likewise.
17586
17587 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17588
17589         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17590         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17591         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17592         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17593         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17594         * elf/cache.c (print_entry): Handle the new cache flags.
17595
17596 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17597             Aldy Hernandez  <aldyh@redhat.com>
17598
17599         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17600         Change condition to [_SOFT_FLOAT].
17601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17613         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17616         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17617         declaration.
17618
17619 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17620
17621         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17622         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17623         (__longjmp): Use LOAD_GP to load saved GPRs.
17624         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17625         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17626         (__sigsetjmp): Use SAVE_GP to save GPRs.
17627
17628         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17629         Do not append -msoft-float.
17630         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17631
17632 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17633
17634         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17635
17636 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17637
17638         [BZ #15966]
17639         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17640         (_FPU_GETCW): Use initial "__" on variable and field names but not
17641         on macro parameter name.
17642         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17643         parentheses around reference to macro parameter.
17644
17645 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17646
17647         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17648         prototype.
17649         (ctype_startup): Use uint32_t in cast and sizeof for
17650         ctype->charnames.
17651
17652 2013-09-11  Jia Liu  <proljc@gmail.com>
17653
17654         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17655         __daddr_t_defined.
17656         [__FreeBSD__]: Likewise.
17657
17658 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17659
17660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17661         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17662         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17663         (strchr): Remove __strchr_sse42 ifunc selection.
17664         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17665         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17666
17667 2013-09-11  Will Newton  <will.newton@linaro.org>
17668
17669         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17670         parameter to RES. Remove hardcoded 1000 value.
17671         * benchtests/bench-skeleton.c (main): Pass RES parameter
17672         to TIMING_INIT and multiply result by 1000.
17673
17674 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17675
17676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17677
17678 2013-09-11  Andreas Schwab  <schwab@suse.de>
17679
17680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17681         if not defined.
17682         (O_TMPFILE) [__USE_GNU]: Define.
17683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17684         Define.
17685
17686 2013-09-11  Will Newton  <will.newton@linaro.org>
17687
17688         [BZ #15857]
17689         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17690         does not overflow.
17691
17692 2013-09-11  Will Newton  <will.newton@linaro.org>
17693
17694         [BZ #15856]
17695         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17696         does not overflow.
17697
17698 2013-09-11  Will Newton  <will.newton@linaro.org>
17699
17700         [BZ #15855]
17701         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17702         does not overflow.
17703
17704 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17705
17706         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17707         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17708         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17709         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17710         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17711
17712 2013-09-10  Allan McRae  <allan@archlinux.org>
17713
17714         [BZ #15748]
17715         * manual/arith.texi (Parsing of Floats): Clarify
17716         cross-reference.
17717
17718         [BZ #15849]
17719         * manual/install.texi (Running make install): Mention
17720         --enable-pt-chown.
17721         * INSTALL: Regenerated.
17722
17723 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17724
17725         * csu/init-first.c (_init): Remove the !SHARED condition around
17726         FPU control word initialization.
17727         * elf/dl-support.c (_dl_fpu_control): New variable.
17728         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17729         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17730         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17731         * math/test-fpucw-static.c: New file.
17732         * math/test-fpucw-ieee.c: New file.
17733         * math/test-fpucw-ieee-static.c: New file.
17734         * math/Makefile (tests): Add `test-fpucw-ieee' and
17735         `$(tests-static)'.
17736         (tests-static): New variable.
17737         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17738         dependency to...
17739         [($(build-shared),yes)]
17740         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17741         ... this.
17742         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17743         New dependency.
17744
17745 2013-09-09  Allan McRae  <allan@archlinux.org>
17746
17747         [BZ #15939]
17748         * manual/string.texi (Collation Functions): Fix typo in
17749         strcoll example.
17750         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17751
17752         [BZ #15893]
17753         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17754
17755         [BZ #15892]
17756         * libio/memstream.c (open_memstream): Fix memory leak.
17757         * libio/wmemstream.c (open_wmemstream): Likewise.
17758
17759         [BZ #15895]
17760         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17761
17762 2013-09-09  Will Newton  <will.newton@linaro.org>
17763
17764         * malloc/Makefile: Add tst-realloc to tests.
17765         * malloc/tst-realloc.c: New file.
17766
17767 2013-09-09  Allan McRae  <allan@archlinux.org>
17768
17769         [BZ #15844]
17770         * COPYING: Update from GNU website to fix FSF address.
17771         * COPYING.LIB: Likewise.
17772
17773 2013-09-06  David S. Miller  <davem@davemloft.net>
17774
17775         * po/zh_TW.po: Update Chinese (traditional) translation from
17776         translation project.
17777
17778 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17779             Joseph Myers  <joseph@codesourcery.com>
17780
17781         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17782         "localeinfo.h".
17783         (obstack_chunk_alloc): New macro.
17784         (obstack_chunk_free): Likewise.
17785         (record_offset): New function.
17786         (init_locale_data): Likewise.
17787         (align_locale_data): Likewise.
17788         (add_locale_empty): Likewise.
17789         (add_locale_raw_data): Likewise.
17790         (add_locale_raw_obstack): Likewise.
17791         (add_locale_string): Likewise.
17792         (add_locale_wstring): Likewise.
17793         (add_locale_uint32): Likewise.
17794         (add_locale_uint32_array): Likewise.
17795         (add_locale_char): Likewise.
17796         (start_locale_structure): Likewise.
17797         (end_locale_structure): Likewise.
17798         (start_locale_prelude): Likewise.
17799         (end_locale_prelude): Likewise.
17800         (write_locale_data): Take locale_file structure rather than an
17801         iovec.
17802         * locale/programs/locfile.h: Include "obstack.h".
17803         (struct locale_file): Change to store locale file contents instead
17804         of header.
17805         (init_locale_data): New prototype.
17806         (align_locale_data): Likewise.
17807         (add_locale_empty): Likewise.
17808         (add_locale_raw_data): Likewise.
17809         (add_locale_raw_obstack): Likewise.
17810         (add_locale_string): Likewise.
17811         (add_locale_wstring): Likewise.
17812         (add_locale_uint32): Likewise.
17813         (add_locale_uint32_array): Likewise.
17814         (add_locale_char): Likewise.
17815         (start_locale_structure): Likewise.
17816         (end_locale_structure): Likewise.
17817         (start_locale_prelude): Likewise.
17818         (end_locale_prelude): Likewise.
17819         (write_locale_data): Update prototype.
17820         * locale/programs/3level.h (struct TABLE): Remove result field.
17821         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17822         Use new locale_file interface.
17823         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17824         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17825         * locale/programs/ld-address.c (address_output): Use new
17826         locale_file interface.
17827         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17828         NO_ADD_LOCALE.
17829         (collate_finish): Don't call collseq_table_finalize.
17830         (collate_output): Use new locale_file interface.
17831         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17832         in file.
17833         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17834         (TABLE): Move defines earlier in file.
17835         (ELEMENT): Likewise.
17836         (DEFAULT): Likewise.
17837         (wctrans_table_add): Move macro and inline function earlier in
17838         file.
17839         (struct wctype_table): Move type earlier in file.
17840         (add_locale_wctype_table): New static prototype.
17841         (struct locale_ctype_t): Use logical types instead of struct iovec
17842         pointers for members.
17843         (ctype_output): Use new locale_file interface.
17844         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17845         new locale_file interface.
17846         (allocate_arrays): Update for use of new locale_file interface.
17847         * locale/programs/ld-identification.c (identification_output): Use
17848         new locale_file interface.
17849         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17850         * locale/programs/ld-messages.c (messages_output): Likewise.
17851         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17852         * locale/programs/ld-name.c (name_output): Likewise.
17853         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17854         * locale/programs/ld-paper.c (paper_output): Likewise.
17855         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17856         * locale/programs/ld-time.c (time_output): Likewise.
17857
17858 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17859
17860         * benchtests/Makefile: Add memrchr benchmark.
17861         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17862         benchmark as memrchr.
17863         * benchtests/bench-memrchr-ifunc.c: New file.
17864         * benchtests/bench-memrchr.c: New file.
17865
17866 2013-09-06   Will Newton  <will.newton@linaro.org>
17867
17868         * benchtests/Makefile (string-bench): Add memcpy.
17869
17870 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17871             Cong Wang  <amwang@redhat.com>
17872
17873         [BZ #15850]
17874         * sysdeps/unix/sysv/linux/bits/in.h
17875         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17876         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17877         before __USE_KERNEL_IPV6_DEFS uses.
17878         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17879         IPPROTO_BEETPH.
17880         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17881         sockaddr_in6, or ipv6_mreq.
17882
17883 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17884
17885         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17886         memory access for final bytes in some large inputs.
17887         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17888
17889 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890
17891         * string/test-memrchr.c: New file.
17892         * string/test-memrchr-ifunc.c: New file.
17893         * string/Makefile: Add new memrchr testcase.
17894
17895 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17896
17897         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17898         fanotify_init returns EPERM.
17899
17900 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17901
17902         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17903         errors.
17904         (top level): Treat second token from macro or constant entries for
17905         allowed headers as allowed.
17906         * include/complex.h: Condition internal declarations on
17907         [!_ISOMAC].
17908         * include/fenv.h: Condition include of <stdbool.h> and internal
17909         declarations on [!_ISOMAC].
17910
17911 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17912
17913         [BZ #15923]
17914         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17915
17916 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17917
17918         * configure.in (--enable-versioning): Remove configure option.
17919         (libc_cv_asm_symver_directive): Remove configure test.
17920         (libc_cv_ld_version_script_option): Likewise.
17921         (VERSIONING): Remove variable and AC_SUBST.
17922         (DO_VERSIONING): Remove AC_DEFINE.
17923         * configure: Regenerated.
17924         * config.h.in (DO_VERSIONING): Remove macro.
17925         * Makerules [$(versioning) = yes]: Change conditionals to
17926         [$(build-shared) = yes].
17927         * config.make.in (versioning): Remove variable.
17928         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17929         [$(build-shared) = yes].
17930         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17931         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17932         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17933         [$(build-shared) = yes].
17934         * extra-lib.mk [$(versioning) = yes]: Likewise.
17935         * hurd/Makefile [$(versioning) = yes]: Likewise.
17936         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17937         [SHARED].
17938         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17939         [SHARED].
17940         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17941         [SHARED && !NO_HIDDEN].
17942         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17943         [SHARED].
17944         [SHARED && DO_VERSIONING]: Likewise..
17945         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17946         [$(build-shared) = yes].
17947         * manual/install.texi (--disable-versioning): Remove
17948         documentation.
17949         * INSTALL: Regenerated.
17950         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17951         to [SHARED].
17952         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17953         [$(build-shared) = yes].
17954         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17955         * sysdeps/i386/i686/multiarch/strstr-c.c
17956         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17957         [SHARED && !NO_HIDDEN].
17958         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17959         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17960         * sysdeps/powerpc/powerpc32/dl-machine.c
17961         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17962         * sysdeps/powerpc/powerpc32/sysdep.h
17963         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17964         to [SHARED && PIC && !NO_HIDDEN].
17965         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17966         conditional to [SHARED].
17967
17968 2013-09-04   Will Newton  <will.newton@linaro.org>
17969
17970         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17971         * benchtests/bench-string.h: Include bench-timing.h instead
17972         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17973         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17974         call to HP_TIMING_DIFF_INIT.
17975         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17976         instead of hp-timing.h macros.
17977         * benchtests/bench-memchr.c: Likewise.
17978         * benchtests/bench-memcmp.c: Likewise.
17979         * benchtests/bench-memcpy.c: Likewise.
17980         * benchtests/bench-memmem.c: Likewise.
17981         * benchtests/bench-memmove.c: Likewise.
17982         * benchtests/bench-memset.c: Likewise.
17983         * benchtests/bench-rawmemchr.c: Likewise.
17984         * benchtests/bench-strcasecmp.c: Likewise.
17985         * benchtests/bench-strcasestr.c: Likewise.
17986         * benchtests/bench-strcat.c: Likewise.
17987         * benchtests/bench-strchr.c: Likewise.
17988         * benchtests/bench-strcmp.c: Likewise.
17989         * benchtests/bench-strcpy.c: Likewise.
17990         * benchtests/bench-strcpy_chk.c: Likewise.
17991         * benchtests/bench-strlen.c: Likewise.
17992         * benchtests/bench-strncasecmp.c: Likewise.
17993         * benchtests/bench-strncat.c: Likewise.
17994         * benchtests/bench-strncmp.c: Likewise.
17995         * benchtests/bench-strncpy.c: Likewise.
17996         * benchtests/bench-strnlen.c: Likewise.
17997         * benchtests/bench-strpbrk.c: Likewise.
17998         * benchtests/bench-strrchr.c: Likewise.
17999         * benchtests/bench-strspn.c: Likewise.
18000         * benchtests/bench-strstr.c: Likewise.
18001
18002 2013-09-04  Will Newton  <will.newton@linaro.org>
18003
18004         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18005
18006 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18007
18008         [BZ #15427]
18009         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18010         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18011         * math/libm-test.inc (lgamma_test_data): Add more tests.
18012         * sysdeps/i386/fpu/libm-test-ulps: Update.
18013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014
18015 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18016
18017         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18019         Add ifunc.
18020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18021         Add strcmp-sse2-unaligned
18022         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18023
18024 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18025
18026         * Versions.def (libc): Add GLIBC_2.19.
18027
18028 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18029
18030         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18031         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18032
18033 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18034
18035         [BZ #14155]
18036         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18037         intermediate calculations in recurrence.
18038         (__ieee754_ynf): Likewise.
18039         * math/libm-test.inc (jn_test_data): Do not allow spurious
18040         underflow exception.  Add more tests.
18041         (yn_test_data): Add more tests.
18042         * sysdeps/i386/fpu/libm-test-ulps: Update.
18043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18044
18045 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18046
18047         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18048
18049 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18050
18051         * csu/init-first.c: Fix then/than typos.
18052         * locale/programs/ld-collate.c: Likewise.
18053         * locale/programs/linereader.h: Likewise.
18054         * manual/charset.texi: Likewise.
18055         * manual/filesys.texi: Likewise.
18056         * manual/stdio.texi: Likewise.
18057         * manual/string.texi: Likewise.
18058         * stdlib/fmtmsg.c: Likewise.
18059         * sysdeps/i386/stpncpy.S: Likewise.
18060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18061         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18062         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18063         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18064
18065 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18066
18067         * elf/dl-open.c: Fix typos.
18068         * iconvdata/gbbig5.c: Likewise.
18069         * iconvdata/iso-2022-jp.c: Likewise.
18070         * iconv/gconv_int.h: Likewise.
18071         * iconv/loop.c: Likewise.
18072         * nis/rpcsvc/nis.h: Likewise.
18073         * resolv/ns_name.c: Likewise.
18074         * stdio-common/vfscanf.c: Likewise.
18075         * streams/stropts.h: Likewise.
18076         * sunrpc/rpc_thread.c: Likewise.
18077         * sysdeps/i386/strpbrk.S: Likewise.
18078         * sysdeps/ieee754/k_standard.c: Likewise.
18079         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18081         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18082         * sysdeps/mach/hurd/profil.c: Likewise.
18083         * sysdeps/s390/dl-procinfo.h: Likewise.
18084         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18085         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18086         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18087         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18088         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18089
18090 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18091
18092         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18094
18095 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18096
18097         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18098         aix specific files.
18099         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18100         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18101         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18102         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18103         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18104         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18105         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18106         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18107
18108 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18109             Roland McGrath  <roland@hack.frob.com>
18110
18111         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18112         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18113
18114 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18115
18116         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18117         __executable_start symbol instead of _start.
18118
18119 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18120
18121         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18122         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18123         Move macros to...
18124         * sysdeps/gnu/ldsodefs.h: ... this new file.
18125
18126         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18127         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18128         instead of ELFOSABI_LINUX.
18129
18130         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18131         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18132         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18133         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18134         Likewise.
18135         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18136         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18137         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18138         Likewise.
18139         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18140         (ibm_extended_long_double): Add ieee_nan member.
18141         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18142         (do_test): New function.
18143
18144         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18145         TEST_TRUNC.
18146         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18147         functions, renamed from truncdfsf_test, trunctfsf_test,
18148         trunctfdf_test.
18149         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18150         functions.
18151         (do_test): Run all these.
18152
18153 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18154
18155         * argp/argp-help.c: Fix typos.
18156         * argp/argp-parse.c: Likewise.
18157         * debug/backtracesyms.c: Likewise.
18158         * elf/elf.h: Likewise.
18159         * malloc/malloc.c: Likewise.
18160         * nis/nis_print.c: Likewise.
18161         * resolv/res_comp.c: Likewise.
18162         * stdlib/stdlib.h: Likewise.
18163         * sunrpc/clnt_tcp.c: Likewise.
18164         * sunrpc/clnt_udp.c: Likewise.
18165         * sunrpc/clnt_unix.c: Likewise.
18166         * sysdeps/unix/bsd/ptsname.c: Likewise.
18167         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18168         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18170         Likewise.
18171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18174         Likewise.
18175         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18176
18177 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18178
18179         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18181
18182 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18183
18184         [BZ #15897]
18185         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18186         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18187         ($(objpfx)bug-dl-leaf): New rule.
18188         ($(objpfx)bug-dl-leaf.so): Likewise.
18189         ($(objpfx)bug-dl-leaf.out): Likewise.
18190         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18191         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18192         * dlfcn/bug-dl-leaf.c: New test.
18193         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18194         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18195         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18196         (dlclose): Likewise.
18197         (dlmopen): Likewise.
18198
18199 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18200
18201         * include/netdb.h [!_ISOMAC]:
18202         Don't include <tls.h>.
18203         (h_errno, __libc_h_errno): Move declaration and macros out of
18204         [_LIBC_REENTRANT].
18205
18206         * include/resolv.h [_RESOLV_H_]:
18207         Don't include <tls.h>.
18208         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18209         * resolv/res_libc.c: Don't include <tls.h>.
18210         (_res): Use __attribute__ ((nocommon)) in place of
18211         __attribute__ ((section (".bss"))).
18212
18213         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18214         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18215
18216         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18217
18218         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18219         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18220
18221         * resolv/res_mkquery.c: Include <sys/time.h>.
18222
18223         * inet/ifreq.c: Moved to ...
18224         * sysdeps/unix/ifreq.c: ... here.
18225         * inet/ifreq.c: New file, true stub version.
18226
18227         * socket/sa_len.c: New file.
18228         * socket/Makefile (aux): Add it.
18229         * sysdeps/unix/sysv/linux/Makefile
18230         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18231         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18232         and #include <socket/sa_len.c>.
18233         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18234         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18235
18236         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18237         * bits/socket.h: ... here.
18238
18239         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18240         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18241         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18242
18243 2013-08-27  Andreas Schwab  <schwab@suse.de>
18244
18245         [BZ #15736]
18246         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18247         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18248         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18249         * string/test-strcasecmp.c (test_main): Run tests in several
18250         locales.
18251         * string/test-strncasecmp.c (test_main): Likewise.
18252
18253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18254         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18255         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18257         (__strncasecmp_ssse3) [PIC]: Likewise.
18258
18259 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18260
18261         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18262
18263         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18264         instead of explicitly declaring xdecrypt.
18265         * nis/nss_nis/nis-publickey.c: Likewise.
18266
18267 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18268
18269         [BZ #15890]
18270         * nscd/aicache.c: Include res_hconf.h.
18271         (addhstaiX): Initialize res_hconf.
18272
18273 2013-08-26  Andreas Schwab  <schwab@suse.de>
18274
18275         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18276         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18277
18278 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18279
18280         * nscd/aicache.c (addhstaiX): Fix indentation.
18281
18282 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18283
18284         * configure.ac: Quote $build_pt_chown test.
18285         * configure: Regenerated.
18286
18287 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18288
18289         [BZ #15532]
18290         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18291         * math/s_cexpf.c (__cexpf): Likewise.
18292         * math/s_cexpl.c (__cexpl): Likewise.
18293         * math/libm-test.inc (cexp_test_data): Correct expected return
18294         value for NaN + i0.  Add another test.
18295
18296 2013-08-22  David S. Miller  <davem@davemloft.net>
18297
18298         * po/ca.po: Update Catalan translation from translation project.
18299         * po/uk.po: Add Ukrainian translations from translation project.
18300
18301 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18302
18303         [BZ #15797]
18304         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18305         is infinite, not alongside NaN test.
18306         * math/s_fdimf.c (__fdimf): Likewise.
18307         * math/s_fdiml.c (__fdiml): Likewise.
18308         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18309         errno is unchanged.
18310
18311 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18312
18313         * argp/argp-help.c: Fix typos.
18314         * crypt/speeds.c: Likewise.
18315         * csu/check_fds.c: Likewise.
18316         * elf/dl-load.c: Likewise.
18317         * elf/dl-open.c: Likewise.
18318         * elf/reldep3.c: Likewise.
18319         * elf/reldep.c: Likewise.
18320         * elf/sprof.c: Likewise.
18321         * iconv/iconv_charmap.c: Likewise.
18322         * iconv/skeleton.c: Likewise.
18323         * iconv/strtab.c: Likewise.
18324         * io/lockf64.c: Likewise.
18325         * libio/libioP.h: Likewise.
18326         * resolv/gai_notify.c: Likewise.
18327         * resolv/ns_name.c: Likewise.
18328         * resolv/ns_samedomain.c: Likewise.
18329         * resolv/res_send.c: Likewise.
18330         * stdlib/random.c: Likewise.
18331         * sunrpc/rpc/xdr.h: Likewise.
18332         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18333         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18334         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18335         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18337         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18338         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18339         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18340         * sysdeps/mach/hurd/check_fds.c: Likewise.
18341         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18342         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18343         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18344         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18345         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18346         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18347         * sysdeps/pthread/aio_notify.c: Likewise.
18348         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18349         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18350         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18351         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18352         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18353
18354 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18355
18356         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18357         version if bit_Slow_SSE4_2 is set.
18358         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18359         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18360
18361 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18362
18363         [BZ #15867]
18364         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18365         trampoline stack frame information.
18366         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18368         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18369         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18370         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18371         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18372         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18373         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18374         sa_flags value.
18375         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18376         interrupting a syscall and set with option SA_SIGINFO.
18377
18378 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18379
18380         [BZ #15531]
18381         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18382         argument is infinite.
18383         * math/s_cprojf.c (__cprojf): Likewise.
18384         * math/s_cprojl.c (__cprojl): Likewise.
18385         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18386         * math/libm-test.inc (cproj_test_data): Add more tests.
18387
18388         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18389
18390         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18391         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18392         size.  Use __ffs to determine corresponding shift.
18393
18394 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18395             Roland McGrath  <roland@hack.frob.com>
18396
18397         * Makefile (INSTALL): Remove trailing blank lines from output of
18398         makeinfo.
18399
18400 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18401
18402         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18403         Align 32 bit compat elf_greg to 8 bytes.
18404
18405 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18406
18407         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18408
18409 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410
18411         * string/strcoll_l.c (coll_seq): New structure.
18412         (get_next_seq_cached): New function.
18413         (get_next_seq): New function.
18414         (do_compare): New function.
18415         (STRCOLL): Use GNU style definition.  Simplify implementation
18416         by using get_next_seq, get_next_seq_cached and do_compare.
18417
18418 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18419
18420         [BZ #14699]
18421         CVE-2013-4237
18422         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18423         member.
18424         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18425         member.
18426         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18427         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18428         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18429         conditional.
18430         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18431         GETDENTS_64BIT_ALIGNED.
18432         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18433         * manual/filesys.texi (Reading/Closing Directory): Document
18434         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18435         strongly.
18436         * manual/conf.texi (Limits for Files): Add portability note to
18437         NAME_MAX, PATH_MAX.
18438         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18439
18440 2013-08-13  Andreas Schwab  <schwab@suse.de>
18441
18442         [BZ #15749]
18443         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18444         of fabs.
18445         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18446         LDBL_MAX_EXP >= 16384]: Add tests for it.
18447
18448 2013-08-12  David S. Miller  <davem@davemloft.net>
18449
18450         * version.h (RELEASE): Set to "development".
18451         (VERSION): Set to "2.18.90".
18452         * NEWS: Add 2.19 section.
18453
18454 2013-08-03  David S. Miller  <davem@davemloft.net>
18455
18456         * po/ko.po: Update Korean translation from translation project.
18457
18458 2013-08-01  David S. Miller  <davem@davemloft.net>
18459
18460         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18461         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18462         Bilka.
18463
18464 2013-07-30  David S. Miller  <davem@davemloft.net>
18465
18466         * po/fr.po: Update French translation from translation project.
18467
18468 2013-07-28  David S. Miller  <davem@davemloft.net>
18469
18470         * po/cs.po: Update Czech translation from translation project.
18471
18472         * po/sv.po: Update Swedish translation from translation project.
18473
18474 2013-07-27  David S. Miller  <davem@davemloft.net>
18475
18476         * po/eo.po: Update Esperanto translation from translation project.
18477
18478         * po/vi.po: Update Vietnamese translation from translation project.
18479
18480         * po/de.po: Update German translation from translation project.
18481
18482 2013-07-26  David S. Miller  <davem@davemloft.net>
18483
18484         * po/bg.po: Update Bulgarian translation from translation project.
18485
18486         * po/nl.po: Update Dutch translation from translation project.
18487         * po/pl.po: Update Polish translation from translation project.
18488         * po/ru.po: Update Russian translation from translation project.
18489
18490 2013-07-24  David S. Miller  <davem@davemloft.net>
18491
18492         * po/libc.pot: Update.
18493
18494 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18495
18496         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18497         variable page size.
18498         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18499         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18500         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18501
18502 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18503
18504         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18505
18506 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18507             Andreas Schwab  <schwab@suse.de>
18508             Roland McGrath  <roland@hack.frob.com>
18509             Joseph Myers  <joseph@codesourcery.com>
18510             Carlos O'Donell  <carlos@redhat.com>
18511
18512         [BZ #15755]
18513         * config.h.in: Define HAVE_PT_CHOWN.
18514         * config.make.in (build-pt-chown): New variable.
18515         * configure.in (--enable-pt_chown): New configure option.
18516         * configure: Regenerate.
18517         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18518         build-pt-chown is enabled.
18519         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18520         pt_chown to fix pty ownership.
18521         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18522         CLOSE_ALL_FDS.
18523         * manual/install.texi (Configuring and compiling): Mention
18524         --enable-pt_chown. Add @findex for grantpt.
18525         * INSTALL: Regenerate.
18526
18527 2013-07-20  David S. Miller  <davem@davemloft.net>
18528
18529         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18530         difference between 32-bit and 64-bit.
18531
18532 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18533
18534         [BZ #15711]
18535         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18536         Avoid system header dependency with -ffreestanding.
18537         ($(objpfx)bits/syscall%d): Likewise.
18538
18539 2013-07-13  David S. Miller  <davem@davemloft.net>
18540
18541         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18542         underflows from atanl/atan2l due to bug 15319.
18543         (casinh_test_data): Likewise.
18544
18545 2013-07-07  David S. Miller  <davem@davemloft.net>
18546
18547         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18548
18549 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18550
18551         * sysdeps/i386/fpu/libm-test-ulps: Update.
18552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18553
18554 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18555
18556         * configure.in (--enable-lock-elision): Fix message text.
18557         * INSTALL: Regenerate.
18558         * configure: Regenerate.
18559
18560 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18561
18562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18563
18564 2013-07-03  Andreas Jaeger  <aj@suse.de>
18565
18566         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18567         define.
18568         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18569         (ptrace_peeksiginfo_args): Add.
18570         (__ptrace_peeksiginfo_flags): Add.
18571         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18572         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18573         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18574
18575 2013-07-03  Allan McRae  <allan@archlinux.org>
18576
18577         * sysdeps/i386/fpu/libm-test-ulps: Update.
18578
18579 2013-07-02  David S. Miller  <davem@davemloft.net>
18580
18581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18582
18583 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18584
18585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18586
18587 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18588
18589         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591
18592 2013-07-02  Andi Kleen <ak@linux.intel.com>
18593
18594         * config.h.in (ENABLE_LOCK_ELISION): Add.
18595         * configure.in (--enable-lock-elision): Add option.
18596         * manual/install.texi: Document --enable lock elision.
18597         * configure: Regenerate
18598         * INSTALL: Regenerate.
18599
18600 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18601
18602         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18603         SSE4.2 strcasecmp for libc.a.
18604         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18605
18606 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18607
18608         [BZ #13304]
18609         * soft-fp/op-common.h (_FP_FMA): New macro.
18610         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18611         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18612         (_FP_MUL_MEAT_1_imm): ... here.
18613         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18614         (_FP_MUL_MEAT_1_wide): ... here.
18615         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18616         (_FP_MUL_MEAT_1_hard): ... here.
18617         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18618         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18619         (_FP_MUL_MEAT_2_wide): ... here.
18620         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18621         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18622         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18623         (_FP_MUL_MEAT_2_gmp): ... here.
18624         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18625         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18626         (_FP_MUL_MEAT_4_wide): ... here.
18627         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18628         (_FP_MUL_MEAT_4_gmp): ... here.
18629         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18630         (_FP_WFRACBITS_DW_S): Likewise.
18631         (_FP_WFRACXBITS_DW_S): Likewise.
18632         (_FP_HIGHBIT_DW_S): Likewise.
18633         (FP_FMA_S): Likewise.
18634         (_FP_FRAC_HIGH_DW_S): Likewise.
18635         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18636         (_FP_WFRACBITS_DW_D): Likewise.
18637         (_FP_WFRACXBITS_DW_D): Likewise.
18638         (_FP_HIGHBIT_DW_D): Likewise.
18639         (FP_FMA_D): Likewise.
18640         (_FP_FRAC_HIGH_DW_D): Likewise.
18641         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18642         (_FP_WFRACBITS_DW_E): Likewise.
18643         (_FP_WFRACXBITS_DW_E): Likewise.
18644         (_FP_HIGHBIT_DW_E): Likewise.
18645         (FP_FMA_E): Likewise.
18646         (_FP_FRAC_HIGH_DW_E): Likewise.
18647         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18648         (_FP_WFRACBITS_DW_Q): Likewise.
18649         (_FP_WFRACXBITS_DW_Q): Likewise.
18650         (_FP_HIGHBIT_DW_Q): Likewise.
18651         (FP_FMA_Q): Likewise.
18652         (_FP_FRAC_HIGH_DW_Q): Likewise.
18653         * soft-fp/fmasf4.c: New file.
18654         * soft-fp/fmadf4.c: Likewise.
18655         * soft-fp/fmatf4.c: Likewise.
18656
18657 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18658
18659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18660         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18661         Silvermont.
18662         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18663         macro.
18664         (index_Slow_SSE4_2): Likewise.
18665         (index_Prefer_PMINUB_for_stringop): Likewise.
18666         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18667         bit_Slow_SSE4_2 is set.
18668         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18669         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18670
18671 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18672
18673         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18674         rtld_global._dl_hwcap2.
18675         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18676         POWER8.
18677         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18678         POWER8 feature descriptions defined in _dl_hwcap2.
18679         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18680         string handling for POWER8 feature bits.
18681         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18682         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18683         _dl_powerpc_cap_flags.
18684         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18685         * sysdeps/powerpc/rtld-global-offsets.sym
18686         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18687         _dl_hwcap2 in the rtld_global_ro structure.
18688
18689 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18690
18691         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18692         hardware capabilities in support of AT_HWCAP2.
18693         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18694         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18695         GLRO(dl_hwcap2).
18696         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18697         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18698         explicitly the unknown a_type display mechanism is used.
18699         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18700         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18701         struct member.
18702         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18703         to macro prototype for AT_HWCAP2 support.
18704         * sysdeps/i386/dl-procinfo.h: Likewise.
18705         * sysdeps/s390/dl-procinfo.h: Likewise.
18706         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18707         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18708         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18709         return -1 for unknown a_type display fallback.
18710         * sysdeps/sparc/dl-procinfo.h: Likewise.
18711         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18712         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18713
18714 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18715
18716         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18717         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18718
18719 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18720
18721         [BZ #12492]
18722         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18723         mprotect making __stack_prot writable.
18724
18725 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18726             Joseph Myers  <joseph@codesourcery.com>
18727
18728         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18729         as being properly aligned.
18730
18731 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18732
18733         * dlfcn/modstatic5.c: New file.
18734         * dlfcn/tststatic5.c: New file.
18735         * dlfcn/Makefile (tests): Add tststatic5.
18736         (tests-static): Likewise.
18737         (modules-names): Add modstatic5.
18738         (tststatic5-ENV): New variable.
18739         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18740
18741         [BZ #15022]
18742         * elf/dl-support.c (_dl_main_map): New variable.
18743         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18744         (_dl_nns, _dl_load_adds): Set to 1.
18745         (_dl_initial_searchlist): Refer to _dl_main_map.
18746         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18747         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18748         call to _dl_get_origin.
18749         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18750         around call_map.
18751         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18752         * dlfcn/modstatic3.c: New file.
18753         * dlfcn/tststatic3.c: New file.
18754         * dlfcn/tststatic4.c: New file.
18755         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18756         (tests-static): Likewise.
18757         (modules-names): Add modstatic3.
18758         (tststatic3-ENV, tststatic4-ENV): New variables.
18759         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18760         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18761
18762 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18763
18764         * configure.in (CC): Require GCC version 4.4 or later.
18765         * configure: Regenerated.
18766         * manual/install.texi (Tools for Compilation): Update GCC version
18767         requirement.
18768         * INSTALL: Regenerated.
18769
18770 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18771
18772         [BZ #15674]
18773         * string/test-memcmp.c (check2): New.
18774         (main): Call check2.
18775
18776         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18777
18778 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18779
18780         [BZ #15022]
18781         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18782         over to...
18783         (dl_open_worker) [!SHARED]: ... here.
18784
18785 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18786
18787         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18788
18789 2013-06-25  Richard Henderson  <rth@redhat.com>
18790
18791         * locale/programs/locarchive.c: Include <libc-internal.h>
18792
18793 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18794
18795         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18796         trailing whitespace removed.
18797
18798 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18799
18800         [BZ #10283]
18801         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18802         * locale/programs/locarchive.c: Include libc-mmap.h.
18803         (prepare_address_space): Take two new outputs (the mmap base and len).
18804         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18805         values.
18806         (create_archive): Declare new mmap base and len values for
18807         prepare_address_space, and store the result in ah.
18808         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18809         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18810         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18811         Declare new mmap base and len values for
18812         prepare_address_space, and store the result in new_ah.
18813         (open_archive): Declare new mmap base and len values for
18814         prepare_address_space, and store the result in ah.
18815         (close_archive): If ah->mmap_base is not NULL, use that and
18816         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18817         * sysdeps/generic/libc-mmap.h: New file.
18818
18819 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18820
18821         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18822         (ALIGN_UP): Likewise.
18823         (PTR_ALIGN_DOWN): Likewise.
18824         (PTR_ALIGN_UP): Likewise.
18825
18826 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18827
18828         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18829         entry mapped to PPC_PLATFORM_POWER8.
18830         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18831         POWER8.
18832         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18833         (_dl_string_platform): Add case for exporting platform position for
18834         POWER8.
18835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18836         search path to sysdeps/powerpc/powerpc32/power8 directory.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18838         search path to sysdeps/powerpc/powerpc64/power8 directory.
18839         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18840         power7 directories.
18841         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18842         power7 directories.
18843
18844 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18845
18846         * INSTALL: Regenerate.
18847
18848         * nscd/connections.c (nscd_init): Fix comment.
18849
18850 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18851
18852         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18853
18854         [BZ #15667]
18855         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18856         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18857
18858 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18859
18860         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18861         DL_DST_REQ_STATIC.
18862         (DL_DST_REQ_STATIC): Remove macro.
18863
18864 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18865
18866         [BZ #7006]
18867         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18868         with a shift of 0 bits.
18869
18870 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18871
18872         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18873         $(tststatic-ENV).
18874
18875 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18876
18877         [BZ #15655]
18878         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18879
18880 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18881
18882         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18883         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18884         accepts -fno-tree-loop-distribute-patterns.
18885         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18886         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18887         recursive call.
18888         * string/memset.c (memset): Likewise.
18889         * string/test-memmove.c (simple_memmove): Disable loop transformation
18890         to library calls.
18891         * string/test-memset.c (simple_memset): Likewise.
18892         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18893         * benchtests/bench-memset.c (simple_memset): Likewise.
18894         * configure: Regenerated.
18895
18896 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18897
18898         * math/test-misc.c (main): Ignore fesetround failure when failures
18899         of subsequent rounding tests would be ignored.
18900
18901         [BZ #15654]
18902         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18903         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18904         * math/fegetenv.c (__fegetenv): Return 0.
18905         * math/fegetexcept.c (fegetexcept): Return 0.
18906         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18907         FE_TONEAREST.
18908         * math/feholdexcpt.c (feholdexcept): Return 0.
18909         * math/fesetenv.c (__fesetenv): Return 0.
18910         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18911         argument FE_TONEAREST.
18912         * math/feupdateenv.c (__feupdateenv): Return 0.
18913         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18914
18915 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18916
18917         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18918         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18919         ($(objpfx)rtld-%.os rules): Use them.
18920
18921 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18922
18923         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18924         fields.
18925
18926 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18927
18928         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18929         length of target pattern, then descending length of dependency pattern.
18930         * configure.in (AWK): Require gawk 3.1.2 or newer.
18931         * manual/install.texi (Tools for Compilation): Say that we do.
18932         * configure: Regenerated.
18933
18934         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18935         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18936         * scripts/sysd-rules.awk: ... this new script.
18937         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18938         than a glob-style pattern.
18939
18940 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18941
18942         * math/test-misc.c (main): Do not treat incorrectly rounded
18943         conversions as failure unless ROUNDING_TESTS passes.
18944
18945 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18946
18947         [BZ #15631]
18948         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18949         restore exception state around main square root computation, then
18950         check for inexactness explicitly.
18951
18952         * math/libm-test.inc (fma_test_data): Add another test.
18953
18954 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18955
18956         * manual/threads.texi (Non-POSIX Extensions): New document
18957         node.  Document pthread_getattr_default_np and
18958         pthread_setattr_default_np.
18959
18960         * Versions.def (libpthread): Add GLIBC_2.18.
18961         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18963         Likewise.
18964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18965         Likewise.
18966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18967         Likewise.
18968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18969         Likewise.
18970         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18971         Likewise.
18972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18973         Likewise.
18974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18975         Likewise.
18976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18977         Likewise.
18978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18979         Likewise.
18980
18981 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18982
18983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18984         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18985
18986 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18987             H.J. Lu  <hjl.tools@gmail.com>
18988
18989         [BZ #15627]
18990         * sysdeps/x86_64/rtld-memset.c: Remove file.
18991         * sysdeps/x86_64/rtld-memset.S: New file.
18992
18993 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18994
18995         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18996         (test_in_one_mode): Take arguments for whether the rounding mode
18997         is supported for each floating-point type.
18998         (do_test): Pass new arguments to test_in_one_mode using
18999         ROUNDING_TESTS.
19000
19001 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19002
19003         * posix/tst-waitid.c (do_test): Distinguish different instances of
19004         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19005         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19006         before entering the kernel for waitpid.
19007
19008 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19009
19010         * NEWS: Fix note on clock function precision.  Text by Roland
19011         McGrath.
19012
19013 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19014
19015         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19016         it into place only when and if the sanity check passes.
19017
19018 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19019
19020         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19021         output for whether conversion result is exact.  Take argument
19022         indicating whether type is IBM long double.
19023         (round_for_all): Change need_exact field to ibm_ld.
19024         * stdlib/tst-strtod-round.c (struct exactness): New type.
19025         (struct test): Change bool ld_ok field to struct exactness exact.
19026         (TEST): Update all definitions for change to field.
19027         (tests): Regenerate array contents.
19028         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19029         field value.  Check for IBM long double here.
19030         (do_test): Update calls to test_in_one_mode.
19031
19032 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19033
19034         [BZ #12515]
19035         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19036         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19037
19038 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19039
19040         [BZ #15605]
19041         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19042         generated by the compiler on loop optimizations.
19043         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19044         general definitions.
19045
19046 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19047
19048         * math/bug-nextafter.c: Include <math-tests.h>.
19049         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19050         the relevant type.
19051         * math/bug-nexttoward.c: Include <math-tests.h>.
19052         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19053         the relevant type.
19054         * math/test-misc.c: Include <math-tests.h>.
19055         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19056         the relevant type.
19057
19058 2013-06-12  Andreas Jaeger  <aj@suse.de>
19059
19060         * po/ia.po: Update Interlingua translation from translation
19061         project.
19062
19063 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19064
19065         * include/fenv.h: Include stdbool.h.
19066         (struct rm_ctx): New structure.
19067         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19068         Define macro.
19069         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19070         (SET_RESTORE_ROUNDF): Likewise.
19071         (SET_RESTORE_ROUNDL): Likewise.
19072         (SET_RESTORE_ROUND_NOEX): Likewise.
19073         (SET_RESTORE_ROUND_NOEXF): Likewise.
19074         (SET_RESTORE_ROUND_NOEXL): Likewise.
19075         (SET_RESTORE_ROUND_53BIT): Likewise.
19076         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19077         (libc_feresetround_noexf_ctx): Likewise.
19078         (libc_feresetround_noexl_ctx): Likewise.
19079         (libc_feholdsetround_53bit_ctx): Likewise.
19080         (libc_feresetround_53bit_ctx): Likewise.
19081         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19082         (libc_feholdexcept_setround_sse_ctx): New function.
19083         (libc_fesetenv_sse_ctx): Likewise.
19084         (libc_feupdateenv_sse_ctx): Likewise.
19085         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19086         (libc_feholdexcept_setround_387_ctx): Likewise.
19087         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19088         (libc_feholdsetround_387_prec_ctx): Likewise.
19089         (libc_feholdsetround_387_ctx): Likewise.
19090         (libc_feholdsetround_387_53bit_ctx): Likewise.
19091         (libc_feholdsetround_sse_ctx): Likewise.
19092         (libc_feresetround_sse_ctx): Likewise.
19093         (libc_feresetround_387_ctx): Likewise.
19094         (libc_feupdateenv_387_ctx): Likewise.
19095         (libc_feholdexcept_setroundf_ctx): Define macro.
19096         (libc_fesetenvf_ctx): Likewise.
19097         (libc_feupdateenvf_ctx): Likewise.
19098         (libc_feholdsetroundf_ctx): Likewise.
19099         (libc_feresetroundf_ctx): Likewise.
19100         (libc_feholdexcept_setround_ctx): Likewise.
19101         (libc_fesetenv_ctx): Likewise.
19102         (libc_feupdateenv_ctx): Likewise.
19103         (libc_feholdsetround_ctx): Likewise.
19104         (libc_feresetround_ctx): Likewise.
19105         (libc_feholdexcept_setroundl_ctx): Likewise.
19106         (libc_feupdateenvl_ctx): Likewise.
19107         (libc_feholdsetroundl_ctx): Likewise.
19108         (libc_feresetroundl_ctx): Likewise.
19109         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19110         (libc_feresetround_53bit_ctx): Likewise.
19111
19112 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19113
19114         * locale/iso-639.def: Convert to UTF-8.
19115
19116 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19117
19118         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19119         (EXCEPTION_TESTS_double): Likewise.
19120         (EXCEPTION_TESTS_long_double): Likewise.
19121         (EXCEPTION_TESTS): Likewise.
19122         * math/libm-test.inc (test_exceptions): Only test exceptions if
19123         EXCEPTION_TESTS (FLOAT).
19124
19125 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19126
19127         * benchtests/Makefile (string-bench): Add strcpy_chk and
19128         stpcpy_chk.
19129         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19130         * benchtests/bench-stpcpy_chk.c: New file.
19131         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19132         * benchtests/bench-strcpy_chk.c: New file.
19133         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19134         code.
19135         (do_test): Likewise.
19136
19137 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19138
19139         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19140         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19141         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19142         with tabs where appropriate.
19143         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19144         dl-procinfo.h.
19145         [PPC_PLATFORM_PPC440]: Likewise.
19146         [PPC_PLATFORM_PPC464]: Likewise.
19147         [PPC_PLATFORM_PPC476]: Likewise.
19148         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19149         ppc464, and ppc476 platform strings merging from ports/
19150         dl-procinfo.h.
19151
19152 2013-06-11  Andreas Schwab  <schwab@suse.de>
19153
19154         [BZ #14991]
19155         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19156         (from_ucs4_idx): Regenerate.
19157         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19158         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19159         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19160         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19161         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19162         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19163         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19164         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19165         from FROM_LOOP and TO_LOOP specific macros.
19166         (BODY): Handle combining characters.
19167         * iconvdata/BIG5HKSCS.irreversible: Update.
19168         * iconvdata/BIG5HKSCS.precomposed: New file.
19169         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19170         characters.
19171         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19172
19173 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174
19175         * include/sys/time.h: Fix indentation and add copyright header.
19176
19177         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19178         (do_test): Likewise.
19179         * string/test-memchr.c (do_one_test): Likewise.
19180         (do_test): Likewise.
19181         * string/test-memcmp.c (do_one_test): Likewise.
19182         (do_test): Likewise.
19183         * string/test-memcpy.c (do_one_test): Likewise.
19184         (do_test): Likewise.
19185         * string/test-memmem.c (do_one_test): Likewise.
19186         (do_test): Likewise.
19187         (do_random_tests): Likewise.
19188         * string/test-memmove.c (do_one_test): Likewise.
19189         (do_test): Likewise.
19190         * string/test-memset.c (do_one_test): Likewise.
19191         (do_test): Likewise.
19192         * string/test-rawmemchr.c (do_one_test): Likewise.
19193         (do_test): Likewise.
19194         * string/test-strcasecmp.c (do_one_test): Likewise.
19195         (do_test): Likewise.
19196         * string/test-strcasestr.c (do_one_test): Likewise.
19197         (do_test): Likewise.
19198         * string/test-strcat.c (do_one_test): Likewise.
19199         (do_test): Likewise.
19200         * string/test-strchr.c (do_one_test): Likewise.
19201         (do_test): Likewise.
19202         * string/test-strcmp.c (do_one_test): Likewise.
19203         (do_test): Likewise.
19204         * string/test-strcpy.c (do_one_test): Likewise.
19205         (do_test): Likewise.
19206         * string/test-string.h: Likewise.
19207         (test_init): Likewise.
19208         * string/test-strlen.c (do_one_test): Likewise.
19209         (do_test): Likewise.
19210         * string/test-strncasecmp.c (do_one_test): Likewise.
19211         (do_test): Likewise.
19212         * string/test-strncat.c (do_one_test): Likewise.
19213         (do_test): Likewise.
19214         * string/test-strncmp.c (do_one_test): Likewise.
19215         (do_test_limit): Likewise.
19216         (do_test): Likewise.
19217         * string/test-strncpy.c (do_one_test): Likewise.
19218         (do_test): Likewise.
19219         * string/test-strnlen.c (do_one_test): Likewise.
19220         (do_test): Likewise.
19221         * string/test-strpbrk.c (do_one_test): Likewise.
19222         (do_test): Likewise.
19223         * string/test-strrchr.c (do_one_test): Likewise.
19224         (do_test): Likewise.
19225         * string/test-strspn.c (do_one_test): Likewise.
19226         (do_test): Likewise.
19227         * string/test-strstr.c (do_one_test): Likewise.
19228         (do_test): Likewise.
19229
19230         * benchtests/Makefile (string-bench): Add string benchmarks.
19231         * benchtests/bench-bcopy-ifunc.c: New file.
19232         * benchtests/bench-bcopy.c: New file.
19233         * benchtests/bench-bzero-ifunc.c: New file.
19234         * benchtests/bench-bzero.c: New file.
19235         * benchtests/bench-memccpy-ifunc.c: New file.
19236         * benchtests/bench-memccpy.c: New file.
19237         * benchtests/bench-memchr-ifunc.c: New file.
19238         * benchtests/bench-memchr.c: New file.
19239         * benchtests/bench-memcmp-ifunc.c: New file.
19240         * benchtests/bench-memcmp.c: New file.
19241         * benchtests/bench-memmem-ifunc.c: New file.
19242         * benchtests/bench-memmem.c: New file.
19243         * benchtests/bench-memmove-ifunc.c: New file.
19244         * benchtests/bench-memmove.c: New file.
19245         * benchtests/bench-mempcpy-ifunc.c: New file.
19246         * benchtests/bench-mempcpy.c: New file.
19247         * benchtests/bench-memset-ifunc.c: New file.
19248         * benchtests/bench-memset.c: New file.
19249         * benchtests/bench-rawmemchr-ifunc.c: New file.
19250         * benchtests/bench-rawmemchr.c: New file.
19251         * benchtests/bench-stpcpy-ifunc.c: New file.
19252         * benchtests/bench-stpcpy.c: New file.
19253         * benchtests/bench-stpncpy-ifunc.c: New file.
19254         * benchtests/bench-stpncpy.c: New file.
19255         * benchtests/bench-strcasecmp-ifunc.c: New file.
19256         * benchtests/bench-strcasecmp.c: New file.
19257         * benchtests/bench-strcasestr-ifunc.c: New file.
19258         * benchtests/bench-strcasestr.c: New file.
19259         * benchtests/bench-strcat-ifunc.c: New file.
19260         * benchtests/bench-strcat.c: New file.
19261         * benchtests/bench-strchr-ifunc.c: New file.
19262         * benchtests/bench-strchr.c: New file.
19263         * benchtests/bench-strchrnul-ifunc.c: New file.
19264         * benchtests/bench-strchrnul.c: New file.
19265         * benchtests/bench-strcmp-ifunc.c: New file.
19266         * benchtests/bench-strcmp.c: New file.
19267         * benchtests/bench-strcpy-ifunc.c: New file.
19268         * benchtests/bench-strcpy.c: New file.
19269         * benchtests/bench-strcspn-ifunc.c: New file.
19270         * benchtests/bench-strcspn.c: New file.
19271         * benchtests/bench-strlen-ifunc.c: New file.
19272         * benchtests/bench-strlen.c: New file.
19273         * benchtests/bench-strncasecmp-ifunc.c: New file.
19274         * benchtests/bench-strncasecmp.c: New file.
19275         * benchtests/bench-strncat-ifunc.c: New file.
19276         * benchtests/bench-strncat.c: New file.
19277         * benchtests/bench-strncmp-ifunc.c: New file.
19278         * benchtests/bench-strncmp.c: New file.
19279         * benchtests/bench-strncpy-ifunc.c: New file.
19280         * benchtests/bench-strncpy.c: New file.
19281         * benchtests/bench-strnlen-ifunc.c: New file.
19282         * benchtests/bench-strnlen.c: New file.
19283         * benchtests/bench-strpbrk-ifunc.c: New file.
19284         * benchtests/bench-strpbrk.c: New file.
19285         * benchtests/bench-strrchr-ifunc.c: New file.
19286         * benchtests/bench-strrchr.c: New file.
19287         * benchtests/bench-strspn-ifunc.c: New file.
19288         * benchtests/bench-strspn.c: New file.
19289         * benchtests/bench-strstr-ifunc.c: New file.
19290         * benchtests/bench-strstr.c: New file.
19291
19292         * benchtests/Makefile: Disable parallel execution of targets.
19293         (string-bench): Add memcpy.
19294         (benchset): New variable to store a list of benchmark sets.
19295         (bench-func): Renamed from bench.
19296         (bench-set): New target.
19297         (bench): Depend on bench-func and bench-set.
19298         * benchtests/README: Add section on benchmark sets.
19299         * benchtests/bench-memcpy-ifunc.c: New file.
19300         * benchtests/bench-memcpy.c: New file.
19301         * benchtests/bench-string.h: New file.
19302
19303 2013-06-11  Andreas Schwab  <schwab@suse.de>
19304
19305         [BZ #15577]
19306         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19307         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19308         values in the triple.
19309         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19310         terminator in the group key.
19311
19312 2013-06-11  Andreas Jaeger  <aj@suse.de>
19313
19314         * po/zh_TW.po: Update Chinese (traditional) translation from
19315         translation project.
19316
19317 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19318
19319         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19320         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19321         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19323         (clock_getcpuclockid): Likewise.
19324         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19325         Add weak_alias and libc_hidden_def.
19326         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19327         * rt/clock_gettime.c (clock_gettime): Rename to
19328         __clock_gettime.  Add weak_alias and libc_hidden_def.
19329         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19330         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19331         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19332         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19333         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19334         Likewise.
19335         * rt/clock_settime.c (clock_settime): Rename to
19336         __clock_settime.  Add weak_alias and libc_hidden_def.
19337         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19338
19339 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19340
19341         * mach/err_boot.sub: Remove trailing whitespace.
19342         * mach/err_ipc.sub: Likewise.
19343         * mach/err_mach.sub: Likewise.
19344
19345         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19346         (ROUNDING_TESTS_double): Likewise.
19347         (ROUNDING_TESTS_long_double): Likewise.
19348         (ROUNDING_TESTS): Likewise.
19349         * math/libm-test.inc: Include <math-tests.h>.
19350         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19351         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19352         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19353         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19354
19355 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19356
19357         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19358         of assigning.
19359
19360 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19361
19362         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19363         otherwise empty TRANS lines.
19364         * sysdeps/gnu/errlist.c: Regenerated.
19365
19366         * catgets/gencat.c (error_print): Use (void) in function
19367         definition.
19368         * crypt/crypt_util.c (__init_des): Likewise.
19369         * crypt/speeds.c (Stop): Likewise.
19370         (main): Likewise.
19371         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19372         * inet/ruserpass.c (token): Likewise.
19373         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19374         * intl/localealias.c (extend_alias_table): Likewise.
19375         * intl/plural-exp.c (init_germanic_plural): Likewise.
19376         * libio/fcloseall.c (__fcloseall): Likewise.
19377         * libio/genops.c (_IO_flush_all): Likewise.
19378         (_IO_flush_all_linebuffered): Likewise.
19379         (_IO_cleanup): Likewise.
19380         (_IO_iter_begin): Likewise.
19381         (_IO_iter_end): Likewise.
19382         (_IO_list_lock): Likewise.
19383         (_IO_list_unlock): Likewise.
19384         (_IO_list_resetlock): Likewise.
19385         * libio/getchar.c (getchar): Likewise.
19386         * libio/getchar_u.c (getchar_unlocked): Likewise.
19387         * libio/getwchar.c (getwchar): Likewise.
19388         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19389         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19390         * login/getpt.c (__getpt): Likewise.
19391         * login/tst-utmp.c (main): Likewise.
19392         * malloc/hooks.c (__malloc_check_init): Likewise.
19393         * malloc/malloc.c (__malloc_stats): Likewise.
19394         * malloc/mtrace.c (tr_break): Likewise.
19395         (mtrace): Likewise.
19396         (muntrace): Likewise.
19397         * misc/fstab.c (endfsent): Likewise.
19398         * misc/getclktck.c (__getclktck): Likewise.
19399         * misc/getdtsz.c (__getdtablesize): Likewise.
19400         * misc/gethostid.c (gethostid): Likewise.
19401         * misc/getpagesize.c (__getpagesize): Likewise.
19402         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19403         (__get_nprocs): Likewise.
19404         (__get_phys_pages): Likewise.
19405         (__get_avphys_pages): Likewise.
19406         * misc/getttyent.c (getttyent): Likewise.
19407         (setttyent): Likewise.
19408         (endttyent): Likewise.
19409         * misc/getusershell.c (getusershell): Likewise.
19410         (endusershell): Likewise.
19411         (setusershell): Likewise.
19412         (initshells): Likewise.
19413         * misc/hsearch.c (__hdestroy): Likewise.
19414         * misc/sync.c (sync): Likewise.
19415         * misc/syslog.c (closelog_internal): Likewise.
19416         (closelog): Likewise.
19417         * misc/ttyslot.c (ttyslot): Likewise.
19418         * misc/vhangup.c (vhangup): Likewise.
19419         * posix/fork.c (__fork): Likewise.
19420         * posix/getegid.c (__getegid): Likewise.
19421         * posix/geteuid.c (__geteuid): Likewise.
19422         * posix/getgid.c (__getgid): Likewise.
19423         * posix/getpid.c (__getpid): Likewise.
19424         * posix/getppid.c (__getppid): Likewise.
19425         * posix/getuid.c (__getuid): Likewise.
19426         * posix/pause.c (pause): Likewise.
19427         * posix/setpgrp.c (setpgrp): Likewise.
19428         * posix/setsid.c (__setsid): Likewise.
19429         * posix/test-vfork.c (noop): Likewise.
19430         * resolv/gethnamaddr.c (_endhtent): Likewise.
19431         (_gethtent): Likewise.
19432         (ht_endhostent): Likewise.
19433         (gethostent): Likewise.
19434         (dns_service): Likewise.
19435         * stdlib/drand48.c (drand48): Likewise.
19436         * stdlib/lrand48.c (lrand48): Likewise.
19437         * stdlib/mrand48.c (mrand48): Likewise.
19438         * stdlib/rand.c (rand): Likewise.
19439         * stdlib/random.c (__random): Likewise.
19440         * stdlib/setenv.c (clearenv): Likewise.
19441         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19442         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19443         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19444         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19445         (__get_nprocs): Likewise.
19446         (__get_phys_pages): Likewise.
19447         (__get_avphys_pages): Likewise.
19448         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19449         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19450         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19451         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19452         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19453         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19454         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19455         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19456         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19457         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19458         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19459         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19460         * sysdeps/posix/clock.c (clock): Likewise.
19461         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19462         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19463         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19464         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19465         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19467         (__get_nprocs_conf): Likewise.
19468         (__get_phys_pages): Likewise.
19469         (__get_avphys_pages): Likewise.
19470         * time/clock.c (clock): Likewise.
19471         * time/tzset.c (__tzname_max): Likewise.
19472
19473 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19474
19475         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19476         (__bswap_32): Do not use "register".
19477         * crypt/crypt.c (_ufc_doit_r): Likewise.
19478         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19479         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19480         * gmon/gmon.c (__monstartup): Likewise.
19481         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19482         * hurd/hurdmalloc.c (more_memory): Likewise.
19483         (malloc): Likewise.
19484         (free): Likewise.
19485         (realloc): Likewise.
19486         (malloc_fork_prepare): Likewise.
19487         (malloc_fork_parent): Likewise.
19488         (malloc_fork_child): Likewise.
19489         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19490         (_svcauth_des): Likewise.
19491         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19492         * inet/inet_net.c (inet_network): Likewise.
19493         * inet/inet_netof.c (inet_netof): Likewise.
19494         * inet/rcmd.c (__validuser2_sa): Likewise.
19495         * io/fts.c (fts_open): Likewise.
19496         (fts_load): Likewise.
19497         (fts_close): Likewise.
19498         (fts_read): Likewise.
19499         (fts_children): Likewise.
19500         (fts_build): Likewise.
19501         (fts_stat): Likewise.
19502         (fts_sort): Likewise.
19503         (fts_alloc): Likewise.
19504         (fts_lfree): Likewise.
19505         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19506         (_IO_file_xsgetn): Likewise.
19507         (_IO_file_xsgetn_mmap): Likewise.
19508         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19509         (_IO_cookie_write): Likewise.
19510         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19511         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19512         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19513         * malloc/obstack.c (_obstack_begin): Likewise.
19514         (_obstack_begin_1): Likewise.
19515         (_obstack_newchunk): Likewise.
19516         (_obstack_allocated_p): Likewise.
19517         (obstack_free): Likewise.
19518         (_obstack_memory_used): Likewise.
19519         * misc/getttyent.c (getttynam): Likewise.
19520         (getttyent): Likewise.
19521         (skip): Likewise.
19522         (value): Likewise.
19523         * misc/getusershell.c (initshells): Likewise.
19524         * misc/syslog.c (__vsyslog_chk): Likewise.
19525         * misc/ttyslot.c (ttyslot): Likewise.
19526         * nis/nis_hash.c (__nis_hash): Likewise.
19527         * posix/fnmatch_loop.c (FCT): Likewise.
19528         * posix/getconf.c (print_all): Likewise.
19529         (main): Likewise.
19530         * posix/getopt.c (exchange): Likewise.
19531         * posix/glob.c (globfree): Likewise.
19532         (prefix_array): Likewise.
19533         (__glob_pattern_type): Likewise.
19534         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19535         (NS_GET32): Likewise.
19536         (NS_PUT16): Likewise.
19537         (NS_PUT32): Likewise.
19538         * resolv/gethnamaddr.c (getanswer): Likewise.
19539         (gethostbyname2): Likewise.
19540         (gethostbyaddr): Likewise.
19541         (_gethtent): Likewise.
19542         (_gethtbyname2): Likewise.
19543         (_gethtbyaddr): Likewise.
19544         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19545         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19546         * resolv/res_init.c (__res_vinit): Likewise.
19547         (net_mask): Likewise.
19548         * resolv/res_mkquery.c (outchar): Likewise.
19549         (PRINT): Likewise.
19550         * stdio-common/printf_fp.c (outchar): Likewise.
19551         (PRINT): Likewise.
19552         * stdio-common/printf_fphex.c (outchar): Likewise.
19553         (PRINT): Likewise.
19554         * stdio-common/printf_size.c (outchar): Likewise.
19555         (PRINT): Likewise.
19556         * stdio-common/test_rdwr.c (main): Likewise.
19557         * stdio-common/tfformat.c (matches): Likewise.
19558         * stdio-common/vfprintf.c (outchar): Likewise.
19559         (printf_unknown): Likewise.
19560         (buffered_vfprintf): Likewise.
19561         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19562         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19563         (ReadFile): Likewise.
19564         * stdlib/qsort.c (SWAP): Likewise.
19565         (_quicksort): Likewise.
19566         * stdlib/setenv.c (__add_to_environ): Likewise.
19567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19568         * stdlib/strtol_l.c (__strtol_l): Likewise.
19569         * stdlib/tst-strtod.c (main): Likewise.
19570         * stdlib/tst-strtol.c (main): Likewise.
19571         * stdlib/tst-strtoll.c (main): Likewise.
19572         * string/bits/string2.h (__strcmp_cc): Likewise.
19573         (__strcmp_cg): Likewise.
19574         (__strcspn_c1): Likewise.
19575         (__strcspn_c2): Likewise.
19576         (__strcspn_c3): Likewise.
19577         (__strspn_c1): Likewise.
19578         (__strspn_c2): Likewise.
19579         (__strspn_c3): Likewise.
19580         (__strsep_1c): Likewise.
19581         (__strsep_2c): Likewise.
19582         (__strsep_3c): Likewise.
19583         * string/memccpy.c (__memccpy): Likewise.
19584         * string/stpcpy.c (__stpcpy): Likewise.
19585         * string/strcmp.c (strcmp): Likewise.
19586         * string/strrchr.c (strrchr): Likewise.
19587         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19588         Likewise.
19589         * sysdeps/mach/hurd/getcwd.c
19590         (_hurd_canonicalize_directory_name_internal): Likewise.
19591         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19592         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19593         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19594         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19595         Likewise, in both definitions.
19596         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19597         definitions.
19598         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19599         64] (__bswap_64): Likewise.
19600         * time/test_time.c (main): Likewise.
19601         * time/tzfile.c (__tzfile_read): Likewise.
19602         (__tzfile_compute): Likewise.
19603         * time/tzset.c (__tzset_parse_tz): Likewise.
19604         (tzset_internal): Likewise.
19605         (compute_change): Likewise.
19606         * wcsmbs/wcscat.c (__wcscat): Likewise.
19607         * wcsmbs/wcschr.c (wcschr): Likewise.
19608         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19609         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19610         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19611         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19612         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19613         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19614         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19615         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19616         * wcsmbs/wmemset.c (wmemset): Likewise.
19617
19618 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19619
19620         * scripts/config.guess: Update to version 2013-05-16.
19621         * scripts/config.sub: Update to version 2013-04-24.
19622         * scripts/install-sh: Update to version 2011-11-20.07.
19623         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19624         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19625
19626 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19627
19628         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19629         * elf/sln.c: Likewise.
19630         * hurd/hurd/ioctl.h: Likewise.
19631         * hurd/hurdmalloc.c: Likewise.
19632         * hurd/xattr.c: Likewise.
19633         * include/shlib-compat.h: Likewise.
19634         * inet/ruserpass.c: Likewise.
19635         * libio/iofgets_u.c: Likewise.
19636         * libio/iofgetws_u.c: Likewise.
19637         * locale/programs/ld-identification.c: Likewise.
19638         * locale/programs/ld-time.c: Likewise.
19639         * mach/msg-destroy.c: Likewise.
19640         * nss/nss_files/files-netgrp.c: Likewise.
19641         * resolv/res_data.c: Likewise.
19642         * soft-fp/op-1.h: Likewise.
19643         * soft-fp/op-2.h: Likewise.
19644         * soft-fp/op-4.h: Likewise.
19645         * soft-fp/op-common.h: Likewise.
19646         * stdio-common/printf_fphex.c: Likewise.
19647         * stdlib/strtod_l.c: Likewise.
19648         * sunrpc/rpc/clnt.h: Likewise.
19649         * sysdeps/generic/framestate.c: Likewise.
19650         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19651         * sysdeps/i386/bsd-setjmp.S: Likewise.
19652         * sysdeps/i386/__longjmp.S: Likewise.
19653         * sysdeps/i386/setjmp.S: Likewise.
19654         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19655         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19656         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19657         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19659         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19661         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19662         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19663         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19664         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19665         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19666         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19667         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19668         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19669         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19670         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19671         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19672         * sysdeps/ieee754/support.c: Likewise.
19673         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19674         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19675         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19676         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19677         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19678         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19679         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19680         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19681         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19682         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19683         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19684         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19685         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19686         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19687         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19688         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19689         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19691
19692 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19693
19694         * posix/transbug.c: Remove executable mode.
19695
19696 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19697
19698         * crypt/speeds.c: Remove trailing whitespace.
19699         * dlfcn/default.c: Likewise.
19700         * elf/ifuncdep2.c: Likewise.
19701         * elf/ifuncmain1.c: Likewise.
19702         * elf/ifuncmain1vis.c: Likewise.
19703         * elf/testobj.h: Likewise.
19704         * elf/tst-stackguard1.c: Likewise.
19705         * gmon/sys/gmon.h: Likewise.
19706         * hurd/hurdmsg.c: Likewise.
19707         * hurd/new-fd.c: Likewise.
19708         * hurd/ports-get.c: Likewise.
19709         * iconvdata/ibm1008_420.c: Likewise.
19710         * inet/tst-getni1.c: Likewise.
19711         * inet/tst-getni2.c: Likewise.
19712         * libio/ioungetc.c: Likewise.
19713         * libio/wfiledoalloc.c: Likewise.
19714         * manual/libm-err-tab.pl: Likewise.
19715         * math/w_dremf.c: Likewise.
19716         * misc/ftruncate.c: Likewise.
19717         * posix/bug-glob2.c: Likewise.
19718         * posix/tst-pcre.c: Likewise.
19719         * posix/wait4.c: Likewise.
19720         * resolv/README: Likewise.
19721         * resolv/res_debug.h: Likewise.
19722         * resolv/tst-inet_ntop.c: Likewise.
19723         * setjmp/bug269-setjmp.c: Likewise.
19724         * soft-fp/extended.h: Likewise.
19725         * soft-fp/op-1.h: Likewise.
19726         * soft-fp/op-2.h: Likewise.
19727         * soft-fp/op-4.h: Likewise.
19728         * soft-fp/op-8.h: Likewise.
19729         * soft-fp/testit.c: Likewise.
19730         * stdio-common/bug16.c: Likewise.
19731         * stdlib/random.c: Likewise.
19732         * sunrpc/rpcsvc/rquota.x: Likewise.
19733         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19734         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19735         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19736         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19737         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19738         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19739         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19740         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19741         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19742         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19743         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19744         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19745         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19746         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19747         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19748         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19749         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19750         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19751         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19752         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19753         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19754         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19755         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19756         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19757         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19758         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19761         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19762         * sysdeps/ieee754/s_lib_version.c: Likewise.
19763         * sysdeps/mach/hurd/check_fds.c: Likewise.
19764         * sysdeps/mach/hurd/getsockname.c: Likewise.
19765         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19766         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19767         * sysdeps/powerpc/bits/link.h: Likewise.
19768         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19769         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19770         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19771         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19772         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19773         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19774         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19775         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19776         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19777         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19778         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19779         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19780         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19781         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19782         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19783         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19784         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19785         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19786         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19787         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19788         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19789         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19790         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19791         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19792         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19793         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19795         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19796         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19801         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19802         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19803         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19804         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19805         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19806         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19807         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19808         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19809         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19810         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19811         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19812         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19813         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19814         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19815         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19816         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19817         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19820         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19821         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19822         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19823         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19824         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19826         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19827         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19828         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19829         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19830         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19831         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19832         * sysdeps/powerpc/sysdep.h: Likewise.
19833         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19834         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19835         * sysdeps/sh/dl-trampoline.S: Likewise.
19836         * sysdeps/sh/memset.S: Likewise.
19837         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19838         * sysdeps/sh/strlen.S: Likewise.
19839         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19840         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19841         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19842         * sysdeps/sparc/sparc32/rem.S: Likewise.
19843         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19844         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19845         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19846         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19847         * sysdeps/sparc/sparc32/urem.S: Likewise.
19848         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19849         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19850         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19851         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19852         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19853         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19854         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19855         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19856         * sysdeps/unix/bsd/times.c: Likewise.
19857         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19858         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19862         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19863         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19864         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19866         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19867         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19868         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19869         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19870         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19871         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19872         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19873         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19874         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19875         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19876         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19877         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19878         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19879         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19880         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19881         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19882         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19883         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19884         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19885         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19886         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19887         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19888         * sysdeps/x86_64/strcspn.S: Likewise.
19889
19890 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19891
19892         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19893         generated file.  Regenerate properly from gen-translit.pl.
19894         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19895         locale/C-translit.h.
19896
19897 2013-06-05  Andreas Schwab  <schwab@suse.de>
19898
19899         [BZ #15100]
19900         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19901         week as 6 instead of -1.
19902         * time/tst-strptime.c (day_tests): Add test case.
19903
19904 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19905
19906         * sysdeps/generic/math_private.h
19907         (libc_feholdexcept_setround_53bit): Replace with
19908         libc_feholdsetround_53bit.
19909         (libc_feupdateenv_53bit): Replace with
19910         libc_feresetround_53bit.
19911         (SET_RESTORE_ROUND_53BIT): Adjust.
19912
19913 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19914
19915         * string/test-strchrnul.c: Add copyright header.
19916
19917         * posix/tst-getaddrinfo4.c: Increase test timeout.
19918
19919 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19920
19921         [BZ #15536]
19922         * math/libm-test.inc (MAX_EXP): Remove
19923         (MIN_EXP): Define.
19924         (ulp): Use MIN_EXP - MANT_DIG.
19925         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19926
19927 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19928
19929         * po/be.po: Revert last change.
19930         * po/zh_CN.po: Likewise.
19931         * po/header.pot: Likewise.
19932
19933 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19934
19935         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19936         link-libc-deps to empty as target-specific variable.
19937         * Makerules (link-libc-args): New variable.
19938         (libc-for-link): Likewise.
19939         (link-libc-deps): Likewise.
19940         (lib%.so): Depend on $(link-libc-deps).  Link with
19941         $(link-libc-args).
19942         (build-module): Link with $(link-libc-args).
19943         (build-module-asneeded): Likewise.
19944         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19945         list of objects.
19946         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19947         target-specific variable.
19948         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19949         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19950         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19951         libc.
19952         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19953         libc and ld.so.
19954         ($(objpfx)libpcprofile.so): Likewise.
19955         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19956         libc_nonshared.a.
19957         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19958         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19959         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19960         $(link-libc-deps).
19961         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19962         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19963         * login/Makefile ($(objpfx)libutil.so): Likewise.
19964         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19965         * math/Makefile ($(objpfx)libm.so): Likewise.
19966         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19967         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19968         variable instead of depending directly on libc.
19969         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19970         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19971         $(link-libc-deps).
19972         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19973         libc.
19974         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19975         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19976         ($(objpfx)libanl.so): Likewise.
19977         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19978         ld.so.
19979         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19980         $(link-libc-deps).
19981         * sysdeps/i386/fpu/Makefile: Remove file.
19982         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19983         ($(objpfx)libm.so): Remove dependency on ld.so.
19984
19985 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19986
19987         [BZ # 15553]
19988         * nis/yp_xdr.c (XDRMAXNAME): Define.
19989         (XDRMAXRECORD): Define.
19990         (xdr_domainname): Use XDRMAXNAME.
19991         (xdr_mapname): Likewise.
19992         (xdr_peername): Likewise.
19993         (xdr_keydat): Use XDRMAXRECORD.
19994         (xdr_valdat): Likewise.
19995
19996 2013-05-30  Jeff Law  <law@redhat.com>
19997
19998         [BZ #14256]
19999         * manual/errno.texi (ESTALE): Update to account for more than
20000         just NFS file systems.
20001         * sysdeps/gnu/errlist.c: Regenerated.
20002
20003 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20004
20005         [BZ #15465]
20006         * elf/Makefile (tests): Add tst-null-argv.
20007         (modules-names):  Add tst-null-argv-lib.
20008         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20009         (tst-null-argv-ENV): Set environment for tst-null-argv.
20010         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20011         (RTLD_PROGNAME): New macro.
20012         * elf/tst-null-argv.c: New test case.
20013         * elf/tst-null-argv-lib.c: Library for test case.
20014         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20015         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20016         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20017         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20018         * elf/dl-init.c (call_init): Likewise.
20019         (_dl_init): Likewise.
20020         * elf/dl-load.c (print_search_path): Likewise.
20021         (_dl_map_object): Likewise.
20022         * elf/dl-lookup.c (do_lookup_x): Likewise.
20023         (add_dependency): Likewise.
20024         (_dl_lookup_symbol_x): Likewise.
20025         (_dl_debug_bindings): Likewise.
20026         * elf/dl-open.c (_dl_show_scope): Likewise.
20027         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20028         * elf/dl-version.c (match_symbol): Likewise.
20029         (_dl_check_map_versions): Likewise.
20030         * elf/rtld.c (dl_main): Likewise.
20031         (print_unresolved): Use RTLD_PROGNAME.
20032         (print_missing_version): Likewise.
20033         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20034         (elf_machine_rela): Likewise.
20035         * sysdeps/powerpc/powerpc32/dl-machine.c
20036         (__process_machine_rela): Likewise.
20037         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20038         Likewise.
20039         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20040         Likewise.
20041         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20042         Likewise.
20043         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20044         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20045         Likewise.
20046         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20047         Likewise.
20048         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20049
20050 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20051
20052         * po/be.po: Add descriptive title.
20053         * po/zh_CN.po: Likewise.
20054         * po/header.pot: Likewise.
20055
20056 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20057
20058         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20059         error message.
20060         (enlarge_archive): Likewise.
20061
20062 2013-05-28  Ben North  <ben@redfrontdoor.org>
20063
20064         * manual/arith.texi (frexp): It is the magnitude of the return
20065         value which lies in [0.5, 1), not the return value itself.
20066
20067 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20068
20069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20070
20071 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20072
20073         * stdio-common/bug26.c (main): Correct fscanf template.
20074
20075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20076         declare _dl_skip_args.
20077
20078         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20079         Don't declare.
20080
20081         * manual/platform.texi: Add missing @end deftypefun.
20082
20083 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20084
20085         [BZ #15529]
20086         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20087         bit of mantissa of 2^16382.
20088         * math/libm-test.inc (hypot_test_data): Add more tests.
20089
20090         * math/libm-test.inc: Add drem and pow10 to list of tested
20091         functions.
20092         (pow10_test): New function.
20093         (drem_test): Likewise.
20094         (drem_test_tonearest): Likewise.
20095         (drem_test_towardzero): Likewise.
20096         (drem_test_downward): Likewise.
20097         (drem_test_upward): Likewise.
20098         (main): Call the new functions.
20099
20100         * math/libm-test.inc (finite_test_data): Remove.
20101         (finite_test): Run tests from isfinite_test_data.
20102         (gamma_test_data): Remove.
20103         (gamma_test): Run tests from lgamma_test_data.
20104         * sysdeps/i386/fpu/libm-test-ulps: Update.
20105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20106
20107 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20108
20109         * manual/platform.texi: Add PowerPC PPR function set documentation.
20110         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20111         implementation.
20112
20113 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20114
20115         * math/libm-test.inc (MAX_EXP): Define.
20116         (ULPDIFF): Define.
20117         (ulp): New function.
20118         (check_float_internal): Use ULPDIFF.
20119         (cpow_test): Disable failing test.
20120         (check_ulp): Test ulp() implemetnation.
20121         (main): Call check_ulp before starting tests.
20122
20123 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20124
20125         * math/gen-libm-test.pl (generate_testfile): Do not handle
20126         START_DATA and END_DATA.
20127         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20128         END_DATA.
20129         (acos_tonearest_test_data): Likewise.
20130         (acos_towardzero_test_data): Likewise.
20131         (acos_downward_test_data): Likewise.
20132         (acos_upward_test_data): Likewise.
20133         (acosh_test_data): Likewise.
20134         (asin_test_data): Likewise.
20135         (asin_tonearest_test_data): Likewise.
20136         (asin_towardzero_test_data): Likewise.
20137         (asin_downward_test_data): Likewise.
20138         (asin_upward_test_data): Likewise.
20139         (asinh_test_data): Likewise.
20140         (atan_test_data): Likewise.
20141         (atanh_test_data): Likewise.
20142         (atan2_test_data): Likewise.
20143         (cabs_test_data): Likewise.
20144         (cacos_test_data): Likewise.
20145         (cacosh_test_data): Likewise.
20146         (carg_test_data): Likewise.
20147         (casin_test_data): Likewise.
20148         (casinh_test_data): Likewise.
20149         (catan_test_data): Likewise.
20150         (catanh_test_data): Likewise.
20151         (cbrt_test_data): Likewise.
20152         (ccos_test_data): Likewise.
20153         (ccosh_test_data): Likewise.
20154         (ceil_test_data): Likewise.
20155         (cexp_test_data): Likewise.
20156         (cimag_test_data): Likewise.
20157         (clog_test_data): Likewise.
20158         (clog10_test_data): Likewise.
20159         (conj_test_data): Likewise.
20160         (copysign_test_data): Likewise.
20161         (cos_test_data): Likewise.
20162         (cos_tonearest_test_data): Likewise.
20163         (cos_towardzero_test_data): Likewise.
20164         (cos_downward_test_data): Likewise.
20165         (cos_upward_test_data): Likewise.
20166         (cosh_test_data): Likewise.
20167         (cosh_tonearest_test_data): Likewise.
20168         (cosh_towardzero_test_data): Likewise.
20169         (cosh_downward_test_data): Likewise.
20170         (cosh_upward_test_data): Likewise.
20171         (cpow_test_data): Likewise.
20172         (cproj_test_data): Likewise.
20173         (creal_test_data): Likewise.
20174         (csin_test_data): Likewise.
20175         (csinh_test_data): Likewise.
20176         (csqrt_test_data): Likewise.
20177         (ctan_test_data): Likewise.
20178         (ctan_tonearest_test_data): Likewise.
20179         (ctan_towardzero_test_data): Likewise.
20180         (ctan_downward_test_data): Likewise.
20181         (ctan_upward_test_data): Likewise.
20182         (ctanh_test_data): Likewise.
20183         (ctanh_tonearest_test_data): Likewise.
20184         (ctanh_towardzero_test_data): Likewise.
20185         (ctanh_downward_test_data): Likewise.
20186         (ctanh_upward_test_data): Likewise.
20187         (erf_test_data): Likewise.
20188         (erfc_test_data): Likewise.
20189         (exp_test_data): Likewise.
20190         (exp_tonearest_test_data): Likewise.
20191         (exp_towardzero_test_data): Likewise.
20192         (exp_downward_test_data): Likewise.
20193         (exp_upward_test_data): Likewise.
20194         (exp10_test_data): Likewise.
20195         (exp2_test_data): Likewise.
20196         (expm1_test_data): Likewise.
20197         (fabs_test_data): Likewise.
20198         (fdim_test_data): Likewise.
20199         (finite_test_data): Likewise.
20200         (floor_test_data): Likewise.
20201         (fma_test_data): Likewise.
20202         (fma_towardzero_test_data): Likewise.
20203         (fma_downward_test_data): Likewise.
20204         (fma_upward_test_data): Likewise.
20205         (fmax_test_data): Likewise.
20206         (fmin_test_data): Likewise.
20207         (fmod_test_data): Likewise.
20208         (fpclassify_test_data): Likewise.
20209         (frexp_test_data): Likewise.
20210         (gamma_test_data): Likewise.
20211         (hypot_test_data): Likewise.
20212         (ilogb_test_data): Likewise.
20213         (isfinite_test_data): Likewise.
20214         (isgreater_test_data): Likewise.
20215         (isgreaterequal_test_data): Likewise.
20216         (isinf_test_data): Likewise.
20217         (isless_test_data): Likewise.
20218         (islessequal_test_data): Likewise.
20219         (islessgreater_test_data): Likewise.
20220         (isnan_test_data): Likewise.
20221         (isnormal_test_data): Likewise.
20222         (issignaling_test_data): Likewise.
20223         (isunordered_test_data): Likewise.
20224         (j0_test_data): Likewise.
20225         (j1_test_data): Likewise.
20226         (jn_test_data): Likewise.
20227         (ldexp_test_data): Likewise.
20228         (lgamma_test_data): Likewise.
20229         (lrint_test_data): Likewise.
20230         (lrint_tonearest_test_data): Likewise.
20231         (lrint_towardzero_test_data): Likewise.
20232         (lrint_downward_test_data): Likewise.
20233         (lrint_upward_test_data): Likewise.
20234         (llrint_test_data): Likewise.
20235         (llrint_tonearest_test_data): Likewise.
20236         (llrint_towardzero_test_data): Likewise.
20237         (llrint_downward_test_data): Likewise.
20238         (llrint_upward_test_data): Likewise.
20239         (log_test_data): Likewise.
20240         (log10_test_data): Likewise.
20241         (log1p_test_data): Likewise.
20242         (log2_test_data): Likewise.
20243         (logb_test_data): Likewise.
20244         (logb_downward_test_data): Likewise.
20245         (lround_test_data): Likewise.
20246         (llround_test_data): Likewise.
20247         (modf_test_data): Likewise.
20248         (nearbyint_test_data): Likewise.
20249         (nextafter_test_data): Likewise.
20250         (nexttoward_test_data): Likewise.
20251         (pow_test_data): Likewise.
20252         (pow_tonearest_test_data): Likewise.
20253         (pow_towardzero_test_data): Likewise.
20254         (pow_downward_test_data): Likewise.
20255         (pow_upward_test_data): Likewise.
20256         (remainder_test_data): Likewise.
20257         (remainder_tonearest_test_data): Likewise.
20258         (remainder_towardzero_test_data): Likewise.
20259         (remainder_downward_test_data): Likewise.
20260         (remainder_upward_test_data): Likewise.
20261         (remquo_test_data): Likewise.
20262         (rint_test_data): Likewise.
20263         (rint_tonearest_test_data): Likewise.
20264         (rint_towardzero_test_data): Likewise.
20265         (rint_downward_test_data): Likewise.
20266         (rint_upward_test_data): Likewise.
20267         (round_test_data): Likewise.
20268         (scalb_test_data): Likewise.
20269         (scalbn_test_data): Likewise.
20270         (scalbln_test_data): Likewise.
20271         (signbit_test_data): Likewise.
20272         (sin_test_data): Likewise.
20273         (sin_tonearest_test_data): Likewise.
20274         (sin_towardzero_test_data): Likewise.
20275         (sin_downward_test_data): Likewise.
20276         (sin_upward_test_data): Likewise.
20277         (sincos_test_data): Likewise.
20278         (sinh_test_data): Likewise.
20279         (sinh_tonearest_test_data): Likewise.
20280         (sinh_towardzero_test_data): Likewise.
20281         (sinh_downward_test_data): Likewise.
20282         (sinh_upward_test_data): Likewise.
20283         (sqrt_test_data): Likewise.
20284         (tan_test_data): Likewise.
20285         (tan_tonearest_test_data): Likewise.
20286         (tan_towardzero_test_data): Likewise.
20287         (tan_downward_test_data): Likewise.
20288         (tan_upward_test_data): Likewise.
20289         (tanh_test_data): Likewise.
20290         (tgamma_test_data): Likewise.
20291         (trunc_test_data): Likewise.
20292         (y0_test_data): Likewise.
20293         (y1_test_data): Likewise.
20294         (yn_test_data): Likewise.
20295         (significand_test_data): Likewise.
20296
20297         * math/gen-libm-test.pl (@functions): Remove variable.
20298         (generate_testfile): Don't handle START and END lines.
20299         * math/libm-test.inc (START): New macro.
20300         (END): Likewise.
20301         (END_COMPLEX): Likewise.
20302         (acos_test): Use END macro without arguments.
20303         (acos_test_tonearest): Likewise.
20304         (acos_test_towardzero): Likewise.
20305         (acos_test_downward): Likewise.
20306         (acos_test_upward): Likewise.
20307         (acosh_test): Likewise.
20308         (asin_test): Likewise.
20309         (asin_test_tonearest): Likewise.
20310         (asin_test_towardzero): Likewise.
20311         (asin_test_downward): Likewise.
20312         (asin_test_upward): Likewise.
20313         (asinh_test): Likewise.
20314         (atan_test): Likewise.
20315         (atanh_test): Likewise.
20316         (atan2_test): Likewise.
20317         (cabs_test): Likewise.
20318         (cacos_test): Use END_COMPLEX macro without arguments.
20319         (cacosh_test): Likewise.
20320         (carg_test): Use END macro without arguments.
20321         (casin_test): Use END_COMPLEX macro without arguments.
20322         (casinh_test): Likewise.
20323         (catan_test): Likewise.
20324         (catanh_test): Likewise.
20325         (cbrt_test): Use END macro without arguments.
20326         (ccos_test): Use END_COMPLEX macro without arguments.
20327         (ccosh_test): Likewise.
20328         (ceil_test): Use END macro without arguments.
20329         (cexp_test): Use END_COMPLEX macro without arguments.
20330         (cimag_test): Use END macro without arguments.
20331         (clog_test): Use END_COMPLEX macro without arguments.
20332         (clog10_test): Likewise.
20333         (conj_test): Likewise.
20334         (copysign_test): Use END macro without arguments.
20335         (cos_test): Likewise.
20336         (cos_test_tonearest): Likewise.
20337         (cos_test_towardzero): Likewise.
20338         (cos_test_downward): Likewise.
20339         (cos_test_upward): Likewise.
20340         (cosh_test): Likewise.
20341         (cosh_test_tonearest): Likewise.
20342         (cosh_test_towardzero): Likewise.
20343         (cosh_test_downward): Likewise.
20344         (cosh_test_upward): Likewise.
20345         (cpow_test): Use END_COMPLEX macro without arguments.
20346         (cproj_test): Likewise.
20347         (creal_test): Use END macro without arguments.
20348         (csin_test): Use END_COMPLEX macro without arguments.
20349         (csinh_test): Likewise.
20350         (csqrt_test): Likewise.
20351         (ctan_test): Likewise.
20352         (ctan_test_tonearest): Likewise.
20353         (ctan_test_towardzero): Likewise.
20354         (ctan_test_downward): Likewise.
20355         (ctan_test_upward): Likewise.
20356         (ctanh_test): Likewise.
20357         (ctanh_test_tonearest): Likewise.
20358         (ctanh_test_towardzero): Likewise.
20359         (ctanh_test_downward): Likewise.
20360         (ctanh_test_upward): Likewise.
20361         (erf_test): Use END macro without arguments.
20362         (erfc_test): Likewise.
20363         (exp_test): Likewise.
20364         (exp_test_tonearest): Likewise.
20365         (exp_test_towardzero): Likewise.
20366         (exp_test_downward): Likewise.
20367         (exp_test_upward): Likewise.
20368         (exp10_test): Likewise.
20369         (exp2_test): Likewise.
20370         (expm1_test): Likewise.
20371         (fabs_test): Likewise.
20372         (fdim_test): Likewise.
20373         (finite_test): Likewise.
20374         (floor_test): Likewise.
20375         (fma_test): Likewise.
20376         (fma_test_towardzero): Likewise.
20377         (fma_test_downward): Likewise.
20378         (fma_test_upward): Likewise.
20379         (fmax_test): Likewise.
20380         (fmin_test): Likewise.
20381         (fmod_test): Likewise.
20382         (fpclassify_test): Likewise.
20383         (frexp_test): Likewise.
20384         (gamma_test): Likewise.
20385         (hypot_test): Likewise.
20386         (ilogb_test): Likewise.
20387         (isfinite_test): Likewise.
20388         (isgreater_test): Likewise.
20389         (isgreaterequal_test): Likewise.
20390         (isinf_test): Likewise.
20391         (isless_test): Likewise.
20392         (islessequal_test): Likewise.
20393         (islessgreater_test): Likewise.
20394         (isnan_test): Likewise.
20395         (isnormal_test): Likewise.
20396         (issignaling_test): Likewise.
20397         (isunordered_test): Likewise.
20398         (j0_test): Likewise.
20399         (j1_test): Likewise.
20400         (jn_test): Likewise.
20401         (ldexp_test): Likewise.
20402         (lgamma_test): Likewise.
20403         (lrint_test): Likewise.
20404         (lrint_test_tonearest): Likewise.
20405         (lrint_test_towardzero): Likewise.
20406         (lrint_test_downward): Likewise.
20407         (lrint_test_upward): Likewise.
20408         (llrint_test): Likewise.
20409         (llrint_test_tonearest): Likewise.
20410         (llrint_test_towardzero): Likewise.
20411         (llrint_test_downward): Likewise.
20412         (llrint_test_upward): Likewise.
20413         (log_test): Likewise.
20414         (log10_test): Likewise.
20415         (log1p_test): Likewise.
20416         (log2_test): Likewise.
20417         (logb_test): Likewise.
20418         (logb_test_downward): Likewise.
20419         (lround_test): Likewise.
20420         (llround_test): Likewise.
20421         (modf_test): Likewise.
20422         (nearbyint_test): Likewise.
20423         (nextafter_test): Likewise.
20424         (nexttoward_test): Likewise.
20425         (pow_test): Likewise.
20426         (pow_test_tonearest): Likewise.
20427         (pow_test_towardzero): Likewise.
20428         (pow_test_downward): Likewise.
20429         (pow_test_upward): Likewise.
20430         (remainder_test): Likewise.
20431         (remainder_test_tonearest): Likewise.
20432         (remainder_test_towardzero): Likewise.
20433         (remainder_test_downward): Likewise.
20434         (remainder_test_upward): Likewise.
20435         (remquo_test): Likewise.
20436         (rint_test): Likewise.
20437         (rint_test_tonearest): Likewise.
20438         (rint_test_towardzero): Likewise.
20439         (rint_test_downward): Likewise.
20440         (rint_test_upward): Likewise.
20441         (round_test): Likewise.
20442         (scalb_test): Likewise.
20443         (scalbn_test): Likewise.
20444         (scalbln_test): Likewise.
20445         (signbit_test): Likewise.
20446         (sin_test): Likewise.
20447         (sin_test_tonearest): Likewise.
20448         (sin_test_towardzero): Likewise.
20449         (sin_test_downward): Likewise.
20450         (sin_test_upward): Likewise.
20451         (sincos_test): Likewise.
20452         (sinh_test): Likewise.
20453         (sinh_test_tonearest): Likewise.
20454         (sinh_test_towardzero): Likewise.
20455         (sinh_test_downward): Likewise.
20456         (sinh_test_upward): Likewise.
20457         (sqrt_test): Likewise.
20458         (tan_test): Likewise.
20459         (tan_test_tonearest): Likewise.
20460         (tan_test_towardzero): Likewise.
20461         (tan_test_downward): Likewise.
20462         (tan_test_upward): Likewise.
20463         (tanh_test): Likewise.
20464         (tgamma_test): Likewise.
20465         (trunc_test): Likewise.
20466         (y0_test): Likewise.
20467         (y1_test): Likewise.
20468         (yn_test): Likewise.
20469         (significand_test): Likewise.
20470
20471 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20472
20473         [BZ #15381]
20474         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20475
20476 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20477
20478         [BZ #14894]
20479         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20480         __ppc_mdoio and __ppc_mdoom.
20481         * manual/platform.texi: Document new functions __ppc_yield,
20482         __ppc_mdoio and __ppc_mdoom.
20483
20484 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20485
20486         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20487         (main): Mention "tls" pseudo-hwcap is legacy.
20488         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20489
20490 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20491
20492         * math/gen-libm-test.pl (parse_args): Output only string of
20493         arguments as text for test name, not full call or descriptions of
20494         tests for extra outputs.
20495         (generate_testfile): Do not pass function name to parse_args.
20496         Generate this_func variable from START.
20497         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20498         field to arg_str.
20499         (struct test_ff_f_data): Likewise.
20500         (test_ff_f_data_nexttoward): Likewise.
20501         (struct test_fi_f_data): Likewise.
20502         (struct test_fl_f_data): Likewise.
20503         (struct test_if_f_data): Likewise.
20504         (struct test_fff_f_data): Likewise.
20505         (struct test_c_f_data): Likewise.
20506         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20507         (struct test_fF_f1_data): Likewise.
20508         (struct test_ffI_f1_data): Likewise.
20509         (struct test_c_c_data): Rename test_name field to arg_str.
20510         (struct test_cc_c_data): Likewise.
20511         (struct test_f_i_data): Likewise.
20512         (struct test_ff_i_data): Likewise.
20513         (struct test_f_l_data): Likewise.
20514         (struct test_f_L_data): Likewise.
20515         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20516         and extra2_name.
20517         (COMMON_TEST_SETUP): New macro.
20518         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20519         (COMMON_TEST_CLEANUP): Likewise.
20520         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20521         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20522         macros.
20523         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20524         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20525         macros.
20526         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20527         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20528         cleanup macros.
20529         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20530         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20531         macros.
20532         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20533         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20534         macros.
20535         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20536         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20537         cleanup macros.
20538         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20539         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20540         cleanup macros.
20541         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20542         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20543         cleanup macros.
20544         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20545         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20546         macros.
20547         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20548         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20549         macros.
20550         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20551         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20552         macros.
20553         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20554         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20555         cleanup macros.
20556         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20557         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20558         cleanup macros.
20559         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20560         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20561         macros.
20562         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20563         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20564         cleanup macros.
20565         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20566         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20567         macros.
20568         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20569         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20570         macros.
20571         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20572         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20573         cleanup macros.
20574         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20575
20576 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20577
20578         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20579         to _sifields.sigfault.
20580         (si_addr_lsb): Define new macro.
20581         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20582         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20583         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20584
20585 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20586
20587         [BZ #15441]
20588         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20589         returns -1.
20590         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20591         null return -1.
20592         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20593         loading the domain.
20594
20595 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20596
20597         * math/gen-libm-test.pl (parse_args): Do not include expected
20598         result in test name.
20599         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20600         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20601         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20602         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20603         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605
20606 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20607
20608         * benchtests/Makefile: Sort function entries.
20609
20610         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20611         tanh, asinh, acosh, atanh.
20612         * benchtests/acos-inputs: New file.
20613         * benchtests/acosh-inputs: New file.
20614         * benchtests/asin-inputs: New file.
20615         * benchtests/asinh-inputs: New file.
20616         * benchtests/atanh-inputs: New file.
20617         * benchtests/cosh-inputs: New file.
20618         * benchtests/log-inputs: New file.
20619         * benchtests/sinh-inputs: New file.
20620         * benchtests/tanh-inputs: New file.
20621
20622 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20623
20624         [BZ #15339]
20625         * posix/tst-getaddrinfo4.c: New test.
20626         * posix/Makefile (tests): Add it.
20627
20628 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20629
20630         [BZ #15339]
20631         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20632         when no services were used.
20633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20634         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20635
20636 2013-05-21  Andreas Schwab  <schwab@suse.de>
20637
20638         [BZ #15014]
20639         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20640         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20641         successful.
20642         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20643         redundant variable declarations and reallocation of buffer when
20644         parsing as IPv6 address.  Always set NSS status when called from
20645         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20646         buffer too small.  Correct computation of needed size.
20647         * nss/Makefile (tests): Add test-digits-dots.
20648         * nss/test-digits-dots.c: New test.
20649
20650 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20651
20652         * benchtests/Makefile: Remove instructions for adding
20653         benchmark tests.
20654         * benchtests/README: New file to explain how to execute and
20655         enhance the benchmark tests.
20656
20657 2013-05-21  Andreas Schwab  <schwab@suse.de>
20658
20659         [BZ #15493]
20660         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20661         * setjmp/tst-sigsetjmp.c: New test.
20662
20663 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20664
20665         * sysdeps/x86_64/memset.S (memset): New implementation.
20666         (__bzero): Likewise.
20667         (__memset_tail): New function.
20668
20669 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20670
20671         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20672         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20673         __memcpy_sse2_unaligned ifunc selection.
20674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20675         Add memcpy-sse2-unaligned.S.
20676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20677         Add: __memcpy_sse2_unaligned.
20678
20679 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20680
20681         [BZ #15490]
20682         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20683         math_force_eval before restoring floating-point envrionment.
20684         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20685         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20686         Likewise.
20687         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20688         <math_private.h>.
20689         (__nearbyintl): Use math_force_eval before restoring
20690         floating-point environment.
20691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20692
20693         * math/gen-libm-test.pl (special_functions): Remove.
20694         (parse_args): Don't handle TEST_extra.  Handle functions with no
20695         return value.
20696         * math/libm-test.inc (struct test_sincos_data): Replace with
20697         struct test_fFF_11_data.
20698         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20699         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20700         (sincos_test_data): Change element type to struct
20701         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20702         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20703         RUN_TEST_LOOP_sincos.
20704         * math/README.libm-test: Don't mention special handling of
20705         individual functions.
20706         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20707         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20708         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20709         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20710         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20712
20713         * math/gen-libm-test.pl (get_variable): Remove function.
20714         (parse_args): Don't show pointer parameters to call in test
20715         names.  Use "extra output N" in test names for extra outputs
20716         rather than naming variables.
20717
20718 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20719
20720         [BZ #15488]
20721         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20722         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20723         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20724         double tests.
20725         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20726         disable.
20727         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20728         check_long_double.
20729
20730         * math/gen-libm-test.pl (@tests): Remove variable.
20731         ($count): Likewise.
20732         (new_test): Remove function.
20733         (show_exceptions): New function.
20734         (special_functions): Use show_exceptions instead of new_test.
20735         (parse_args): Likewise.
20736         (generate_testfile): Pass only function name in generated call to
20737         print_max_error or print_complex_max_error.
20738         (get_ulps): Do not handle complex tests specially.
20739         (output_test): Rename to ...
20740         (get_all_ulps_for_test): ... this.  Return a string rather than
20741         printing to a file.  Require ulps to be present.
20742         (output_ulps): Generate arrays rather than #defines.
20743         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20744         (struct ulp_data): New type.
20745         (BUILD_COMPLEX_ULP): Remove macro.
20746         (compare_ulp_data): New function.
20747         (find_ulps): Likewise.
20748         (find_test_ulps): Likewise.
20749         (find_function_ulps): Likewise.
20750         (find_complex_function_ulps): Likewise.
20751         (print_max_error): Determine allowed ulps using
20752         find_function_ulps.
20753         (print_complex_max_error): Determine allowed ulps using
20754         find_complex_function_ulps.
20755         (check_float_internal): Determine max ulps using find_test_ulps.
20756         (check_float): Do not take max_ulp parameter.  Update call to
20757         check_float_internal.
20758         (check_complex): Likewise.
20759         (check_int): Do not take max_ulp parameter.
20760         (check_long): Likewise.
20761         (check_bool): Likewise.
20762         (check_longlong): Likewise.
20763         (struct test_f_f_data): Remove max_ulp field.
20764         (struct test_ff_f_data): Likewise.
20765         (struct test_ff_f_data_nexttoward): Likewise.
20766         (struct test_fi_f_data): Likewise.
20767         (struct test_fl_f_data): Likewise.
20768         (struct test_if_f_data): Likewise.
20769         (struct test_fff_f_data): Likewise.
20770         (struct test_c_f_data): Likewise.
20771         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20772         (struct test_fF_f1_data): Likewise.
20773         (struct test_ffI_f1_data): Likewise.
20774         (struct test_c_c_data): Remove max_ulp field.
20775         (struct test_cc_c_data): Likewise.
20776         (struct test_f_i_data): Likewise.
20777         (struct test_ff_i_data): Likewise.
20778         (struct test_f_l_data): Likewise.
20779         (struct test_f_L_data): Likewise.
20780         (struct test_sincos_data): Likewise.
20781         (RUN_TEST_f_f): Do not handle ulps.
20782         (RUN_TEST_LOOP_f_f): Likewise.
20783         (RUN_TEST_2_f): Likewise.
20784         (RUN_TEST_LOOP_2_f): Likewise.
20785         (RUN_TEST_fff_f): Likewise.
20786         (RUN_TEST_LOOP_fff_f): Likewise.
20787         (RUN_TEST_c_f): Likewise.
20788         (RUN_TEST_LOOP_c_f): Likewise.
20789         (RUN_TEST_f_f1): Likewise.
20790         (RUN_TEST_LOOP_f_f1): Likewise.
20791         (RUN_TEST_fF_f1): Likewise.
20792         (RUN_TEST_LOOP_fF_f1): Likewise.
20793         (RUN_TEST_fI_f1): Likewise.
20794         (RUN_TEST_LOOP_fI_f1): Likewise.
20795         (RUN_TEST_ffI_f1): Likewise.
20796         (RUN_TEST_LOOP_ffI_f1): Likewise.
20797         (RUN_TEST_c_c): Likewise.
20798         (RUN_TEST_LOOP_c_c): Likewise.
20799         (RUN_TEST_cc_c): Likewise.
20800         (RUN_TEST_LOOP_cc_c): Likewise.
20801         (RUN_TEST_f_i): Likewise.
20802         (RUN_TEST_LOOP_f_i): Likewise.
20803         (RUN_TEST_f_i_tg): Likewise.
20804         (RUN_TEST_LOOP_f_i_tg): Likewise.
20805         (RUN_TEST_ff_i_tg): Likewise.
20806         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20807         (RUN_TEST_f_b): Likewise.
20808         (RUN_TEST_LOOP_f_b): Likewise.
20809         (RUN_TEST_f_b_tg): Likewise.
20810         (RUN_TEST_LOOP_f_b_tg): Likewise.
20811         (RUN_TEST_f_l): Likewise.
20812         (RUN_TEST_LOOP_f_l): Likewise.
20813         (RUN_TEST_f_L): Likewise.
20814         (RUN_TEST_LOOP_f_L): Likewise.
20815         (RUN_TEST_sincos): Likewise.
20816         (RUN_TEST_LOOP_sincos): Likewise.
20817
20818 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20819
20820         [BZ #15480]
20821         [BZ #15485]
20822         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20823         main case of finite arguments, set rounding mode to FE_TONEAREST
20824         and discard exceptions.
20825         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20826         exceptions.
20827         (remainder_tonearest_test_data): New variable.
20828         (remainder_test_tonearest): New function.
20829         (remainder_towardzero_test_data): New variable.
20830         (remainder_test_towardzero): New function.
20831         (remainder_downward_test_data): New variable.
20832         (remainder_test_downward): New function.
20833         (remainder_upward_test_data): New variable.
20834         (remainder_test_upward): New function.
20835         (main): Call the new test functions.
20836
20837         * math/libm-test.inc (struct test_f_f1_data): Remove field
20838         extra_init.
20839         (struct test_fF_f1_data): Likewise.
20840         (struct test_ffI_f1_data): Likewise.
20841         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20842         based on value of EXTRA_EXPECTED.
20843         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20844         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20845         EXTRA_VAR based on value of EXTRA_EXPECTED.
20846         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20847         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20848         EXTRA_VAR based on value of EXTRA_EXPECTED.
20849         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20850         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20851         EXTRA_VAR based on value of EXTRA_EXPECTED.
20852         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20853         * math/gen-libm-test.pl (parse_args): Don't output initializers
20854         for extra output values.
20855
20856         * math/libm-test.inc (check_int): Expect result to be exactly
20857         equal to expected value and do not handle ulps.
20858         (check_long): Likewise.
20859         (check_longlong): Likewise.
20860
20861         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20862         exceptions.
20863         (cimag_test_data): Likewise.
20864         (conj_test_data): Likewise.
20865         (copysign_test_data): Likewise.
20866         (cproj_test_data): Likewise.
20867         (creal_test_data): Likewise.
20868         (fabs_test_data): Likewise.
20869         (fdim_test_data): Likewise.
20870         (finite_test_data): Likewise.
20871         (floor_test_data): Likewise.
20872         (fmax_test_data): Likewise.
20873         (fmin_test_data): Likewise.
20874         (fmod_test_data): Likewise.
20875         (fpclassify_test_data): Likewise.
20876         (frexp_test_data): Likewise.
20877         (ilogb_test_data): Likewise.
20878         (isfinite_test_data): Likewise.
20879         (isgreater_test_data): Likewise.
20880         (isgreaterequal_test_data): Likewise.
20881         (isinf_test_data): Likewise.
20882         (isless_test_data): Likewise.
20883         (islessequal_test_data): Likewise.
20884         (islessgreater_test_data): Likewise.
20885         (isnan_test_data): Likewise.
20886         (isnormal_test_data): Likewise.
20887         (issignaling_test_data): Likewise.
20888         (isunordered_test_data): Likewise.
20889         (ldexp_test_data): Likewise.
20890         (lrint_test_data): Likewise.
20891         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20892         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20893         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20894         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20895         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20896         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20897         test input.
20898         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20899         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20900         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20901         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20902         that test input.
20903         (lrint_downward_test_data): Test for "inexact" exceptions.
20904         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20905         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20906         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20907         test input.
20908         (lrint_upward_test_data): Test for "inexact" exceptions.
20909         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20910         test input.
20911         (llrint_test_data): Test for "inexact" exceptions.
20912         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20913         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20914         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20915         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20916         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20917         (llrint_downward_test_data): Test for "inexact" exceptions.
20918         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20919         (llrint_upward_test_data): Test for "inexact" exceptions.
20920         (logb_test_data): Likewise.
20921         (logb_downward_test_data): Likewise.
20922         (nextafter_test_data): Likewise.
20923         (nexttoward_test_data): Likewise.
20924         (remainder_test_data): Likewise.
20925         (remquo_test_data): Likewise.
20926         (scalbn_test_data): Likewise.
20927         (scalbln_test_data): Likewise.
20928         (signbit_test_data): Likewise.
20929         (sqrt_test_data): Likewise.
20930         (significand_test_data): Likewise.
20931
20932 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933
20934         [BZ #15424]
20935         * benchtests/bench-modf.c (struct args): Mark arg0 as
20936         volatile.
20937         * scripts/bench.pl: Mark members of struct args as volatile.
20938
20939 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20940
20941         [BZ # 15497]
20942         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20943         negative infinity on POWER6 or lower.
20944         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20945
20946 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20947
20948         [BZ #15442]
20949         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20950         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20951         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20952         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20953         (_FP_SETQNAN): New macro.
20954         (_FP_SETQNAN_SEMIRAW): Likewise.
20955         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20956         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20957         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20958         (FP_EXTEND): Use _FP_FRAC_SNANP.
20959         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20960         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20961         into account.
20962         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20963         New macro.
20964         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20965         Likewise.
20966
20967 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20968
20969         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20970         with DIVIDE_BY_ZERO_EXCEPTION.
20971         (gamma_test_data): Likewise.
20972         (lgamma_test_data): Likewise.
20973         (log_test_data): Likewise.
20974         (log10_test_data): Likewise.
20975         (log2_test_data): Likewise.
20976         (tgamma_test_data): Likewise.
20977
20978         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20979         (acos_test_tonearest): Likewise.
20980         (acos_test_towardzero): Likewise.
20981         (acos_test_downward): Likewise.
20982         (acos_test_upward): Likewise.
20983         (acosh_test): Likewise.
20984         (asin_test): Likewise.
20985         (asin_test_tonearest): Likewise.
20986         (asin_test_towardzero): Likewise.
20987         (asin_test_downward): Likewise.
20988         (asin_test_upward): Likewise.
20989         (asinh_test): Likewise.
20990         (atan_test): Likewise.
20991         (atanh_test): Likewise.
20992         (atan2_test): Likewise.
20993         (cabs_test): Likewise.
20994         (cacos_test): Likewise.
20995         (cacosh_test): Likewise.
20996         (casin_test): Likewise.
20997         (casinh_test): Likewise.
20998         (catan_test): Likewise.
20999         (catanh_test): Likewise.
21000         (cbrt_test): Likewise.
21001         (ccos_test): Likewise.
21002         (ccosh_test): Likewise.
21003         (cexp_test): Likewise.
21004         (clog_test): Likewise.
21005         (clog10_test): Likewise.
21006         (cos_test): Likewise.
21007         (cos_test_tonearest): Likewise.
21008         (cos_test_towardzero): Likewise.
21009         (cos_test_downward): Likewise.
21010         (cos_test_upward): Likewise.
21011         (cosh_test): Likewise.
21012         (cosh_test_tonearest): Likewise.
21013         (cosh_test_towardzero): Likewise.
21014         (cosh_test_downward): Likewise.
21015         (cosh_test_upward): Likewise.
21016         (cpow_test): Likewise.
21017         (csin_test): Likewise.
21018         (csinh_test): Likewise.
21019         (csqrt_test): Likewise.
21020         (ctan_test): Likewise.
21021         (ctan_test_tonearest): Likewise.
21022         (ctan_test_towardzero): Likewise.
21023         (ctan_test_downward): Likewise.
21024         (ctan_test_upward): Likewise.
21025         (ctanh_test): Likewise.
21026         (ctanh_test_tonearest): Likewise.
21027         (ctanh_test_towardzero): Likewise.
21028         (ctanh_test_downward): Likewise.
21029         (ctanh_test_upward): Likewise.
21030         (erf_test): Likewise.
21031         (erfc_test): Likewise.
21032         (exp_test): Likewise.
21033         (exp_test_tonearest): Likewise.
21034         (exp_test_towardzero): Likewise.
21035         (exp_test_downward): Likewise.
21036         (exp_test_upward): Likewise.
21037         (exp10_test): Likewise.
21038         (exp2_test): Likewise.
21039         (expm1_test): Likewise.
21040         (fmod_test): Likewise.
21041         (gamma_test): Likewise.
21042         (hypot_test): Likewise.
21043         (j0_test): Likewise.
21044         (j1_test): Likewise.
21045         (jn_test): Likewise.
21046         (lgamma_test): Likewise.
21047         (log_test): Likewise.
21048         (log10_test): Likewise.
21049         (log1p_test): Likewise.
21050         (log2_test): Likewise.
21051         (logb_test_downward): Likewise.
21052         (pow_test): Likewise.
21053         (pow_test_tonearest): Likewise.
21054         (pow_test_towardzero): Likewise.
21055         (pow_test_downward): Likewise.
21056         (pow_test_upward): Likewise.
21057         (remainder_test): Likewise.
21058         (remquo_test): Likewise.
21059         (sin_test): Likewise.
21060         (sin_test_tonearest): Likewise.
21061         (sin_test_towardzero): Likewise.
21062         (sin_test_downward): Likewise.
21063         (sin_test_upward): Likewise.
21064         (sincos_test): Likewise.
21065         (sinh_test): Likewise.
21066         (sinh_test_tonearest): Likewise.
21067         (sinh_test_towardzero): Likewise.
21068         (sinh_test_downward): Likewise.
21069         (sinh_test_upward): Likewise.
21070         (sqrt_test): Likewise.
21071         (tan_test): Likewise.
21072         (tan_test_tonearest): Likewise.
21073         (tan_test_towardzero): Likewise.
21074         (tan_test_downward): Likewise.
21075         (tan_test_upward): Likewise.
21076         (tanh_test): Likewise.
21077         (tgamma_test): Likewise.
21078         (y0_test): Likewise.
21079         (y1_test): Likewise.
21080         (yn_test): Likewise.
21081
21082         * math/gen-libm-test.pl (adjust_arg): Remove function.
21083         (special_function): Remove argument $in_func.  Only handle
21084         generating output for tables of tests, not inside functions.
21085         (parse_args): Likewise.
21086         (generate_testfile): Remove variable $in_func.  Update call to
21087         parse_args.
21088         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21089         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21090         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21091         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21092         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21093         (MAX_VALUE_INIT): Rename macro to max_value.
21094         (MIN_VALUE_INIT): Rename macro to min_value.
21095         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21096         (plus_zero): Remove variable.
21097         (minus_zero): Likewise.
21098         (plus_infty): Likewise.
21099         (minus_infty): Likewise.
21100         (qnan_value): Likewise.
21101         (max_value): Likewise.
21102         (min_value): Likewise.
21103         (min_subnorm_value): Likewise.
21104
21105 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21106
21107         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21108         uint64_t or uint32_t usage.
21109         * crypt/sha256-block.c: Likewise.
21110         * crypt/sha256-crypt.c: Likewise.
21111         * crypt/sha256.c: Likewise.
21112         * crypt/sha512-block.c: Likewise.
21113         * crypt/sha512-crypt.c: Likewise.
21114         * crypt/sha512.c: Likewise.
21115         * debug/backtrace-tst.c: Likewise.
21116         * debug/pcprofiledump.c: Likewise.
21117         * elf/cache.c: Likewise.
21118         * elf/dl-cache.c: Likewise.
21119         * elf/dl-misc.c: Likewise.
21120         * elf/dl-profile.c: Likewise.
21121         * elf/dl-support.c: Likewise.
21122         * elf/ldconfig.c: Likewise.
21123         * elf/sprof.c: Likewise.
21124         * iconv/dummy-repertoire.c: Likewise.
21125         * iconv/iconv_charmap.c: Likewise.
21126         * iconv/skeleton.c: Likewise.
21127         * iconvdata/8bit-generic.c: Likewise.
21128         * iconvdata/cp737.h: Likewise.
21129         * iconvdata/cp775.h: Likewise.
21130         * iconvdata/ibm1008.h: Likewise.
21131         * iconvdata/ibm1025.h: Likewise.
21132         * iconvdata/ibm1046.h: Likewise.
21133         * iconvdata/ibm1097.h: Likewise.
21134         * iconvdata/ibm1112.h: Likewise.
21135         * iconvdata/ibm1122.h: Likewise.
21136         * iconvdata/ibm1123.h: Likewise.
21137         * iconvdata/ibm1124.h: Likewise.
21138         * iconvdata/ibm1129.h: Likewise.
21139         * iconvdata/ibm1130.h: Likewise.
21140         * iconvdata/ibm1132.h: Likewise.
21141         * iconvdata/ibm1133.h: Likewise.
21142         * iconvdata/ibm1137.h: Likewise.
21143         * iconvdata/ibm1140.h: Likewise.
21144         * iconvdata/ibm1141.h: Likewise.
21145         * iconvdata/ibm1142.h: Likewise.
21146         * iconvdata/ibm1143.h: Likewise.
21147         * iconvdata/ibm1144.h: Likewise.
21148         * iconvdata/ibm1145.h: Likewise.
21149         * iconvdata/ibm1146.h: Likewise.
21150         * iconvdata/ibm1147.h: Likewise.
21151         * iconvdata/ibm1148.h: Likewise.
21152         * iconvdata/ibm1149.h: Likewise.
21153         * iconvdata/ibm1153.h: Likewise.
21154         * iconvdata/ibm1154.h: Likewise.
21155         * iconvdata/ibm1155.h: Likewise.
21156         * iconvdata/ibm1156.h: Likewise.
21157         * iconvdata/ibm1157.h: Likewise.
21158         * iconvdata/ibm1158.h: Likewise.
21159         * iconvdata/ibm1160.h: Likewise.
21160         * iconvdata/ibm1161.h: Likewise.
21161         * iconvdata/ibm1162.h: Likewise.
21162         * iconvdata/ibm1163.h: Likewise.
21163         * iconvdata/ibm1164.h: Likewise.
21164         * iconvdata/ibm1166.h: Likewise.
21165         * iconvdata/ibm1167.h: Likewise.
21166         * iconvdata/ibm12712.h: Likewise.
21167         * iconvdata/ibm1390.h: Likewise.
21168         * iconvdata/ibm1399.h: Likewise.
21169         * iconvdata/ibm16804.h: Likewise.
21170         * iconvdata/ibm4517.h: Likewise.
21171         * iconvdata/ibm4899.h: Likewise.
21172         * iconvdata/ibm4909.h: Likewise.
21173         * iconvdata/ibm4971.h: Likewise.
21174         * iconvdata/ibm5347.h: Likewise.
21175         * iconvdata/ibm803.h: Likewise.
21176         * iconvdata/ibm856.h: Likewise.
21177         * iconvdata/ibm901.h: Likewise.
21178         * iconvdata/ibm902.h: Likewise.
21179         * iconvdata/ibm9030.h: Likewise.
21180         * iconvdata/ibm9066.h: Likewise.
21181         * iconvdata/ibm921.h: Likewise.
21182         * iconvdata/ibm922.h: Likewise.
21183         * iconvdata/ibm9448.h: Likewise.
21184         * iconvdata/isiri-3342.h: Likewise.
21185         * iconvdata/jis0201.h: Likewise.
21186         * include/link.h: Likewise.
21187         * include/netdb.h: Likewise.
21188         * inet/check_native.c: Likewise.
21189         * inet/check_pf.c: Likewise.
21190         * inet/getipv4sourcefilter.c: Likewise.
21191         * inet/getnameinfo.c: Likewise.
21192         * inet/getsourcefilter.c: Likewise.
21193         * inet/htonl.c: Likewise.
21194         * inet/setipv4sourcefilter.c: Likewise.
21195         * inet/setsourcefilter.c: Likewise.
21196         * inet/test-inet6_opt.c: Likewise.
21197         * inet/tst-network.c: Likewise.
21198         * locale/C-collate.c: Likewise.
21199         * locale/C-ctype.c: Likewise.
21200         * locale/C-time.c: Likewise.
21201         * locale/C-translit.h: Likewise.
21202         * locale/loadarchive.c: Likewise.
21203         * locale/programs/3level.h: Likewise.
21204         * locale/programs/charmap.c: Likewise.
21205         * locale/programs/charmap.h: Likewise.
21206         * locale/programs/ld-address.c: Likewise.
21207         * locale/programs/ld-collate.c: Likewise.
21208         * locale/programs/ld-ctype.c: Likewise.
21209         * locale/programs/ld-identification.c: Likewise.
21210         * locale/programs/ld-measurement.c: Likewise.
21211         * locale/programs/ld-messages.c: Likewise.
21212         * locale/programs/ld-monetary.c: Likewise.
21213         * locale/programs/ld-name.c: Likewise.
21214         * locale/programs/ld-numeric.c: Likewise.
21215         * locale/programs/ld-paper.c: Likewise.
21216         * locale/programs/ld-telephone.c: Likewise.
21217         * locale/programs/ld-time.c: Likewise.
21218         * locale/programs/linereader.c: Likewise.
21219         * locale/programs/locale.c: Likewise.
21220         * locale/programs/locarchive.c: Likewise.
21221         * locale/programs/locfile.h: Likewise.
21222         * locale/programs/repertoire.c: Likewise.
21223         * locale/programs/simple-hash.c: Likewise.
21224         * locale/programs/simple-hash.h: Likewise.
21225         * malloc/memusage.c: Likewise.
21226         * malloc/memusagestat.c: Likewise.
21227         * nis/nis_defaults.c: Likewise.
21228         * nis/nis_hash.c: Likewise.
21229         * nis/nis_print.c: Likewise.
21230         * nis/nis_xdr.c: Likewise.
21231         * nscd/connections.c: Likewise.
21232         * nscd/hstcache.c: Likewise.
21233         * nscd/nscd_gethst_r.c: Likewise.
21234         * nscd/nscd_getserv_r.c: Likewise.
21235         * nscd/nscd_helper.c: Likewise.
21236         * nscd/servicescache.c: Likewise.
21237         * nss/makedb.c: Likewise.
21238         * nss/nss_db/db-XXX.c: Likewise.
21239         * nss/nss_db/db-initgroups.c: Likewise.
21240         * nss/nss_db/db-netgrp.c: Likewise.
21241         * nss/nss_files/files-network.c: Likewise.
21242         * nss/nss_files/files-parse.c: Likewise.
21243         * posix/bug-regex5.c: Likewise.
21244         * posix/fnmatch_loop.c: Likewise.
21245         * posix/regcomp.c: Likewise.
21246         * posix/regexec.c: Likewise.
21247         * posix/tst-rfc3484-2.c: Likewise.
21248         * posix/tst-rfc3484-3.c: Likewise.
21249         * posix/tst-rfc3484.c: Likewise.
21250         * resolv/nss_dns/dns-canon.c: Likewise.
21251         * resolv/nss_dns/dns-network.c: Likewise.
21252         * resolv/res_init.c: Likewise.
21253         * resolv/res_mkquery.c: Likewise.
21254         * resolv/tst-aton.c: Likewise.
21255         * stdlib/cxa_atexit.c: Likewise.
21256         * stdlib/cxa_finalize.c: Likewise.
21257         * stdlib/gen-fpioconst.c: Likewise.
21258         * stdlib/strtol_l.c: Likewise.
21259         * string/tst-endian.c: Likewise.
21260         * sunrpc/auth_des.c: Likewise.
21261         * sunrpc/clnt_udp.c: Likewise.
21262         * sunrpc/rtime.c: Likewise.
21263         * sunrpc/svcauth_des.c: Likewise.
21264         * sunrpc/xdr.c: Likewise.
21265         * sunrpc/xdr_intXX_t.c: Likewise.
21266         * sunrpc/xdr_rec.c: Likewise.
21267         * sysdeps/generic/ldconfig.h: Likewise.
21268         * sysdeps/generic/ldsodefs.h: Likewise.
21269         * sysdeps/generic/memusage.h: Likewise.
21270         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21272         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21273         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21274         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21276         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21277         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21278         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21279         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21280         * sysdeps/posix/getaddrinfo.c: Likewise.
21281         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21282         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21283         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21284         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21285         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21286         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21287         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21288         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21289         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21290         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21291         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21292         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21293         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21294         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21295         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21296         * sysdeps/x86_64/dl-tls.h: Likewise.
21297         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21298         * time/alt_digit.c: Likewise.
21299         * time/era.c: Likewise.
21300         * wcsmbs/tst-c16c32-1.c: Likewise.
21301
21302 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21303
21304         * math/libm-test.inc (struct test_sincos_data): New type.
21305         (RUN_TEST_LOOP_sincos): New macro.
21306         (sincos_test_data): New variable.
21307         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21308
21309 2013-05-16  Richard Henderson  <rth@redhat.com>
21310
21311         * math/atest-exp2.c (LIMB64): New macro.
21312         (CONSTSZ): New macro.
21313         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21314         (hexdig): Move ...
21315         (print_mpn_fp): ... to function scope.
21316         (read_mpn_hex): Remove.
21317         (get_log2): Remove.
21318         (exp2_mpn): Use mp_log2.
21319         (main): Use mp_exp1.
21320
21321 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21322
21323         * math/libm-test.inc: Remove comment about not testing "inexact"
21324         exceptions.
21325         (INEXACT_EXCEPTION): New macro.
21326         (NO_INEXACT_EXCEPTION): Likewise.
21327         (INVALID_EXCEPTION_OK): Update value.
21328         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21329         (OVERFLOW_EXCEPTION_OK): Likewise.
21330         (UNDERFLOW_EXCEPTION_OK): Likewise.
21331         (IGNORE_ZERO_INF_SIGN): Likewise.
21332         (ERRNO_UNCHANGED): Likewise.
21333         (ERRNO_EDOM): Likewise.
21334         (ERRNO_ERANGE): Likewise.
21335         (test_exceptions): Handle testing "inexact" exceptions.
21336         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21337         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21338         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21339         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21340         INEXACT_EXCEPTION.
21341         (rint_towardzero_test_data): Likewise.
21342         (rint_downward_test_data): Likewise.
21343         (rint_upward_test_data): Likewise.
21344
21345         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21346         with OVERFLOW_EXCEPTION.
21347         (exp10_test_data): Likewise.
21348         (exp2_test_data): Likewise.
21349         (expm1_test_data): Likewise.
21350         (lgamma_test_data): Likewise.
21351         (pow_test_data): Likewise.
21352         (tgamma_test_data): Likewise.
21353         (yn_test_data): Remove duplicate test of overflow.
21354
21355         * math/libm-test.inc (struct test_cc_c_data): New type.
21356         (RUN_TEST_LOOP_cc_c): New macro.
21357         (cpow_test_data): New variable.
21358         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21359
21360         * math/libm-test.inc (struct test_f_L_data): New type.
21361         (RUN_TEST_LOOP_f_L): New macro.
21362         (llrint_test_data): New variable.
21363         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21364         (llrint_tonearest_test_data): New variable.
21365         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21366         (llrint_towardzero_test_data): New variable.
21367         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21368         (llrint_downward_test_data): New variable.
21369         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21370         (llrint_upward_test_data): New variable.
21371         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21372         (llround_test_data): New variable.
21373         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21374
21375 2013-05-13  Peter Collingbourne  <pcc@google.com>
21376
21377         * math/atest-exp2.c (get_log2): Remove const attribute.
21378
21379 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21380
21381         * math/libm-test.inc (struct test_f_l_data): New type.
21382         (RUN_TEST_LOOP_f_l): New macro.
21383         (lrint_test_data): New variable.
21384         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21385         (lrint_tonearest_test_data): New variable.
21386         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21387         (lrint_towardzero_test_data): New variable.
21388         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21389         (lrint_downward_test_data): New variable.
21390         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21391         (lrint_upward_test_data): New variable.
21392         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21393         (lround_test_data): New variable.
21394         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21395
21396 2013-05-15  Peter Collingbourne  <pcc@google.com>
21397
21398         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21399         (EXTRACT_WORDS64) Use where appropriate.
21400         (INSERT_WORDS64) Likewise.
21401
21402         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21403         constraints with x constraints.
21404         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21405
21406         * malloc/obstack.c (_obstack_compat): Add initializer.
21407
21408 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21409
21410         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21411         si_trapno and add si_addr_lsb to _sifields.sigfault.
21412         (si_trapno): Remove macro.
21413         (si_addr_lsb): Define new macro.
21414         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21415
21416 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21417
21418         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21419         instead of TEST_f_l.
21420         (llrint_test_tonearest): Likewise.
21421         (llrint_test_towardzero): Likewise.
21422         (llrint_test_downward): Likewise.
21423         (llrint_test_upward): Likewise.
21424         (llround_test): Likewise.
21425
21426         * math/libm-test.inc (struct test_f_i_data): Add comment.
21427         (RUN_TEST_LOOP_f_b): New macro.
21428         (RUN_TEST_LOOP_f_b_tg): Likewise.
21429         (finite_test_data): New variable.
21430         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21431         (isfinite_test_data): New variable.
21432         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21433         (isinf_test_data): New variable.
21434         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21435         (isnan_test_data): New variable.
21436         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21437         (isnormal_test_data): New variable.
21438         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21439         (issignaling_test_data): New variable.
21440         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21441         (signbit_test_data): New variable.
21442         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21443
21444         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21445         with INVALID_EXCEPTION.
21446         (acosh_test_data): Likewise.
21447         (asin_test_data): Likewise.
21448         (atanh_test_data): Likewise.
21449         (fmod_test_data): Likewise.
21450         (log_test_data): Likewise.
21451         (log10_test_data): Likewise.
21452         (log2_test_data): Likewise.
21453         (pow_test_data): Likewise.
21454         (sqrt_test_data): Likewise.
21455         (y0_test_data): Likewise.
21456         (y1_test_data): Likewise.
21457         (yn_test_data): Likewise.
21458
21459         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21460         function contents.
21461
21462         * math/libm-test.inc (struct test_ff_i_data): New type.
21463         (RUN_TEST_LOOP_ff_i_tg): New macro.
21464         (isgreater_test_data): New variable.
21465         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21466         (isgreaterequal_test_data): New variable.
21467         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21468         (isless_test_data): New variable.
21469         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21470         (islessequal_test_data): New variable.
21471         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21472         (islessgreater_test_data): New variable.
21473         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21474         (isunordered_test_data): New variable.
21475         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21476
21477 2013-05-14  David S. Miller  <davem@davemloft.net>
21478
21479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21480
21481 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21482
21483         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21484
21485         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21486         extra_test to int.
21487         (struct test_f_i_data): Change type of max_ulp to int.
21488
21489         * math/libm-test.inc (test_ffI_f1_data): New type.
21490         (RUN_TEST_LOOP_ffI_f1): New macro.
21491         (remquo_test_data): New variable.
21492         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21493
21494         * setjmp/tst-setjmp-fp.c: New file.
21495         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21496         (link-libm): New variable.
21497         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21498
21499         * math/libm-test.inc (struct test_f_i_data): New type.
21500         (RUN_TEST_LOOP_f_i): New macro.
21501         (RUN_TEST_LOOP_f_i_tg): Likewise.
21502         (fpclassify_test_data): New variable.
21503         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21504         (ilogb_test_data): New variable.
21505         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21506
21507         * math/libm-test.inc (scalbln_test): Correct function name in END
21508         call.
21509
21510         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21511         (RUN_TEST_LOOP_fI_f1): New macro.
21512         (frexp_test_data): New variable.
21513         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21514
21515         * math/libm-test.inc (struct test_fF_f1_data): New type.
21516         (RUN_TEST_LOOP_fF_f1): New macro.
21517         (modf_test_data): New variable.
21518         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21519
21520         * math/libm-test.inc (struct test_f_f1_data): New type.
21521         (RUN_TEST_LOOP_f_f1): New macro.
21522         (gamma_test_data): New variable.
21523         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21524         (lgamma_test_data): New variable.
21525         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21526
21527 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21528
21529         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21530         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21531         (main): Comment "tls" pseudo-hwcap.
21532
21533 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21534
21535         * math/libm-test.inc (struct test_fl_f_data): New type.
21536         (RUN_TEST_LOOP_fl_f): New variable.
21537         (scalbln_test_data): New variable.
21538         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21539
21540         * math/libm-test.inc (struct test_fi_f_data): New type.
21541         (RUN_TEST_LOOP_fi_f): New macro.
21542         (ldexp_test_data): New variable.
21543         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21544         (scalbn_test_data): New variable.
21545         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21546
21547         * math/libm-test.inc (struct test_c_f_data): New type.
21548         (RUN_TEST_LOOP_c_f): New macro.
21549         (cabs_test_data): New variable.
21550         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21551         (carg_test_data): New variable.
21552         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21553         (cimag_test_data): New variable.
21554         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21555         (creal_test_data): New variable.
21556         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21557
21558         * math/libm-test.inc (struct test_if_f_data): New type.
21559         (RUN_TEST_LOOP_if_f): New macro.
21560         (jn_test_data): New variable.
21561         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21562         (yn_test_data): New variable.
21563         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21564
21565         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21566
21567 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21568
21569         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21570         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21571
21572 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21573
21574         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21575         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21576         (bench-deps): Add bench-timing.h.
21577         * benchtests-bench-skeleton.c: Include bench-timing.h.
21578         (main): Use TIMING_* macros instead of clock_gettime.
21579         * benchtests/bench-timing.h: New file.
21580
21581         [BZ #14582]
21582         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21583         Renamed from _LIB_VERSION.
21584         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21585
21586 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21587
21588         * math/libm-test.inc (struct test_fff_f_data): New type.
21589         (RUN_TEST_LOOP_fff_f): New macro.
21590         (fma_test_data): New variable.
21591         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21592         (fma_towardzero_test_data): New variable.
21593         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21594         (fma_downward_test_data): New variable.
21595         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21596         (fma_upward_test_data): New variable.
21597         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21598
21599         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21600         (struct test_c_c_data): New type.
21601         (RUN_TEST_LOOP_c_c): New macro.
21602         (cacos_test_data): New variable.
21603         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21604         (cacosh_test_data): New variable.
21605         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21606         (casin_test_data): New variable.
21607         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21608         (casinh_test_data): New variable.
21609         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21610         (catan_test_data): New variable.
21611         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21612         (catanh_test_data): New variable.
21613         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21614         (ccos_test_data): New variable.
21615         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21616         (ccosh_test_data): New variable.
21617         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21618         (cexp_test_data): New variable.
21619         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21620         (clog_test_data): New variable.
21621         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21622         (clog10_test_data): New variable.
21623         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21624         (conj_test_data): New variable.
21625         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21626         (cproj_test_data): New variable.
21627         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21628         (csin_test_data): New variable.
21629         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21630         (csinh_test_data): New variable.
21631         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21632         (csqrt_test_data): New variable.
21633         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21634         (ctan_test_data): New variable.
21635         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21636         (ctan_tonearest_test_data): New variable.
21637         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21638         (ctan_towardzero_test_data): New variable.
21639         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21640         (ctan_downward_test_data): New variable.
21641         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21642         (ctan_upward_test_data): New variable.
21643         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21644         (ctanh_test_data): New variable.
21645         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21646         (ctanh_tonearest_test_data): New variable.
21647         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21648         (ctanh_towardzero_test_data): New variable.
21649         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21650         (ctanh_downward_test_data): New variable.
21651         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21652         (ctanh_upward_test_data): New variable.
21653         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21654         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21655         of BUILD_COMPLEX.
21656
21657         * math/libm-test.inc (struct test_ff_f_data): New type.
21658         (struct test_ff_f_data_nexttoward): Likewise.
21659         (RUN_TEST_LOOP_2_f): New macro.
21660         (RUN_TEST_LOOP_ff_f): Likewise.
21661         (atan2_test_data): New variable.
21662         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21663         (copysign_test_data): New variable.
21664         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21665         (fdim_test_data): New variable.
21666         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21667         (fmax_test_data): New variable.
21668         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21669         (fmin_test_data): New variable.
21670         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21671         (fmod_test_data): New variable.
21672         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21673         (hypot_test_data): New variable.
21674         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21675         (nextafter_test_data): New variable.
21676         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21677         (nexttoward_test_data): New variable.
21678         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21679         (pow_test_data): New variable.
21680         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21681         (pow_tonearest_test_data): New variable.
21682         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21683         (pow_towardzero_test_data): New variable.
21684         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21685         (pow_downward_test_data): New variable.
21686         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21687         (pow_upward_test_data): New variable.
21688         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21689         (remainder_test_data): New variable.
21690         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21691         (scalb_test_data): New variable.
21692         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21693         * sysdeps/i386/fpu/libm-test-ulps: Update.
21694
21695 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21696
21697         * math/libm-test.inc (fma_test): Use max_value instead of local
21698         variable fltmax.
21699         (nextafter_test): Likewise.
21700
21701         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21702         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21703         (acos_downward_test_data): New variable.
21704         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21705         (acos_upward_test_data): New variable.
21706         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21707         (acosh_test_data): New variable.
21708         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21709         (asin_test_data): New variable.
21710         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21711         (asin_tonearest_test_data): New variable.
21712         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21713         (asin_towardzero_test_data): New variable.
21714         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21715         (asin_downward_test_data): New variable.
21716         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21717         (asin_upward_test_data): New variable.
21718         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21719         (asinh_test_data): New variable.
21720         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21721         (atan_test_data): New variable.
21722         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21723         (atanh_test_data): New variable.
21724         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21725         (cbrt_test_data): New variable.
21726         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21727         (ceil_test_data): New variable.
21728         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21729         (cos_test_data): New variable.
21730         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21731         (cos_tonearest_test_data): New variable.
21732         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21733         (cos_towardzero_test_data): New variable.
21734         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21735         (cos_downward_test_data): New variable.
21736         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21737         (cos_upward_test_data): New variable.
21738         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21739         (cosh_test_data): New variable.
21740         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21741         (cosh_tonearest_test_data): New variable.
21742         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21743         (cosh_towardzero_test_data): New variable.
21744         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21745         (cosh_downward_test_data): New variable.
21746         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21747         (cosh_upward_test_data): New variable.
21748         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21749         (erf_test_data): New variable.
21750         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21751         (erfc_test_data): New variable.
21752         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21753         (exp_test_data): New variable.
21754         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21755         (exp_tonearest_test_data): New variable.
21756         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21757         (exp_towardzero_test_data): New variable.
21758         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21759         (exp_downward_test_data): New variable.
21760         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21761         (exp_upward_test_data): New variable.
21762         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21763         (exp10_test_data): New variable.
21764         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21765         (exp2_test_data): New variable.
21766         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21767         (expm1_test_data): New variable.
21768         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21769         (fabs_test_data): New variable.
21770         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21771         (floor_test_data): New variable.
21772         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21773         (j0_test_data): New variable.
21774         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21775         (j1_test_data): New variable.
21776         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21777         (log_test_data): New variable.
21778         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21779         (log10_test_data): New variable.
21780         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21781         (log1p_test_data): New variable.
21782         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21783         (log2_test_data): New variable.
21784         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21785         (logb_test_data): New variable.
21786         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21787         (logb_downward_test_data): New variable.
21788         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21789         (nearbyint_test_data): New variable.
21790         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21791         (rint_test_data): New variable.
21792         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21793         (rint_tonearest_test_data): New variable.
21794         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21795         (rint_towardzero_test_data): New variable.
21796         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21797         (rint_downward_test_data): New variable.
21798         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21799         (rint_upward_test_data): New variable.
21800         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21801         (round_test_data): New variable.
21802         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21803         (sin_test_data): New variable.
21804         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21805         (sin_tonearest_test_data): New variable.
21806         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21807         (sin_towardzero_test_data): New variable.
21808         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21809         (sin_downward_test_data): New variable.
21810         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21811         (sin_upward_test_data): New variable.
21812         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21813         (sinh_test_data): New variable.
21814         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21815         (sinh_tonearest_test_data): New variable.
21816         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21817         (sinh_towardzero_test_data): New variable.
21818         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21819         (sinh_downward_test_data): New variable.
21820         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21821         (sinh_upward_test_data): New variable.
21822         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21823         (sqrt_test_data): New variable.
21824         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21825         (tan_test_data): New variable.
21826         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21827         (tan_tonearest_test_data): New variable.
21828         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21829         (tan_towardzero_test_data): New variable.
21830         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21831         (tan_downward_test_data): New variable.
21832         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21833         (tan_upward_test_data): New variable.
21834         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21835         (tanh_test_data): New variable.
21836         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21837         (tgamma_test_data): New variable.
21838         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21839         (trunc_test_data): New variable.
21840         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21841         (y0_test_data): New variable.
21842         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21843         (y1_test_data): New variable.
21844         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21845         (significand_test_data): New variable.
21846         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21847
21848 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21849
21850         [BZ #12387]
21851         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21852
21853 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21854
21855         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21856
21857 2013-05-10  Andreas Jaeger  <aj@suse.de>
21858
21859         [BZ #15448]
21860         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21861         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21862
21863 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21864
21865         * math/gen-libm-test.pl (adjust_arg): New function.
21866         (special_functions): Handle generating output in both functions
21867         and arrays.
21868         (parse_args): Likewise.
21869         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21870         $in_func argument to parse_args.
21871         * math/libm-test.inc (struct test_f_f_data): New type.
21872         (IF_ROUND_INIT_): New macro.
21873         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21874         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21875         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21876         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21877         (ROUND_RESTORE_): Likewise.
21878         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21879         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21880         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21881         (ROUND_RESTORE_FE_UPWARD): Likewise.
21882         (RUN_TEST_LOOP_f_f): New macro.
21883         (acos_test_data): New variable.
21884         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21885         (acos_tonearest_test_data): New variable.
21886         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21887
21888 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21889
21890         * benchtests/bench-skeleton.c (startup): Fix coding style.
21891
21892 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21893
21894         [BZ #6809]
21895         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21896         negative infinity argument.
21897         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21898         negative infinity argument.
21899         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21900         negative infinity argument.
21901         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21902         domain errors.
21903
21904 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21905
21906         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21907         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21908         * iconv/iconv_prog.c (main): Likewise.
21909         * locale/programs/charmap-dir.c (charmap_readdir)
21910         (fopen_uncompressed): Likewise.
21911         * locale/programs/locfile.c (siblings_uncached)
21912         (write_locale_data): Use lstat64 instead of lstat.
21913         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21914         stat.
21915
21916 2013-05-10  Andreas Jaeger  <aj@suse.de>
21917
21918         [BZ #15395]
21919         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21920         localization.
21921         Include <locale.h>.
21922
21923 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21924
21925         * elf/dl-close.c (_dl_close_worker): Add comments.
21926
21927 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21928
21929         [BZ #15359]
21930         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21931         high part of pi/2.
21932         (__ieee754_rem_pio2l): Update comments.
21933
21934         [BZ #15429]
21935         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21936         high part of pi/2.
21937         (__ieee754_rem_pio2l): Update comments.
21938
21939         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21940         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21941
21942         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21943         M_PI_4l.
21944
21945         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21946         (M_PI_34_LOG10El): Likewise.
21947         (M_PI2_LOG10El): Likewise.
21948         (M_PI4_LOG10El): Likewise.
21949         (M_PI_LOG10El): Likewise.
21950
21951 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21952
21953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21954
21955 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21956
21957         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21958         (MINUS_ZERO_INIT): Likewise.
21959         (PLUS_INFTY_INIT): Likewise.
21960         (MINUS_INFTY_INIT): Likewise.
21961         (QNAN_VALUE_INIT): Likewise.
21962         (MAX_VALUE_INIT): Likewise.
21963         (MIN_VALUE_INIT): Likewise.
21964         (MIN_SUBNORM_VALUE_INIT): Likewise.
21965         (plus_zero): Initialize with PLUS_ZERO_INIT.
21966         (minus_zero): Initialize with MINUS_ZERO_INIT.
21967         (plus_infty): Initialize with PLUS_INFTY_INIT.
21968         (minus_infty): Initialize with MINUS_INFTY_INIT.
21969         (qnan_value): Initialize with QNAN_VALUE_INIT.
21970         (max_value): Initialize with MAX_VALUE_INIT.
21971         (min_value): Initialize with MIN_VALUE_INIT.
21972         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21973
21974         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21975         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21976         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21977         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21978
21979         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21980         (RUN_TEST_2_f): Likewise.
21981         (RUN_TEST_ff_f): Likewise.
21982         (RUN_TEST_fi_f): Likewise.
21983         (RUN_TEST_fl_f): Likewise.
21984         (RUN_TEST_fff_f): Likewise.
21985         (RUN_TEST_c_f): Likewise.
21986         (RUN_TEST_f_f1): Likewise.
21987         (RUN_TEST_fF_f1): Likewise.
21988         (RUN_TEST_fI_f1): Likewise.
21989         (RUN_TEST_ffI_f1): Likewise.
21990         (RUN_TEST_c_c): Likewise.
21991         (RUN_TEST_cc_c): Likewise.
21992         (RUN_TEST_f_i): Likewise.
21993         (RUN_TEST_f_i_tg): Likewise.
21994         (RUN_TEST_ff_i_tg): Likewise.
21995         (RUN_TEST_f_b): Likewise.
21996         (RUN_TEST_f_b_tg): Likewise.
21997         (RUN_TEST_f_l): Likewise.
21998         (RUN_TEST_f_L): Likewise.
21999         (RUN_TEST_sincos): Likewise.
22000         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22001         whether to show exceptions.  Do not include ");\n" in return
22002         value.
22003         (special_functions): Output call to RUN_TEST_sincos instead of
22004         check_float calls.  Update calls to new_test.
22005         (parse_args): Output call to single RUN_TEST_* macro instead of
22006         check_* calls and other assignments.  Update calls to new_test.
22007
22008         [BZ #2546]
22009         [BZ #2560]
22010         [BZ #5159]
22011         [BZ #15426]
22012         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22013         input to result for tgamma overflow.
22014         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22015         (gamma_coeff): New variable.
22016         (NCOEFF): New macro.
22017         (gamma_positive): New function.
22018         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22019         underflow here.  Use gamma_positive instead of exp (lgamma) for
22020         other arguments.
22021         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22022         (gamma_coeff): New variable.
22023         (NCOEFF): New macro.
22024         (gammaf_positive): New function.
22025         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22026         underflow here.  Use gamma_positive instead of exp (lgamma) for
22027         other arguments.
22028         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22029         (gamma_coeff): New variable.
22030         (NCOEFF): New macro.
22031         (gammal_positive): New function.
22032         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22033         underflow here.  Use gamma_positive instead of exp (lgamma) for
22034         other arguments.
22035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22036         (gamma_coeff): New variable.
22037         (NCOEFF): New macro.
22038         (gammal_positive): New function.
22039         (__ieee754_gammal_r): Handle positive infinity, overflow and
22040         underflow here.  Handle NaN the same as positive infinity.  Remove
22041         check x < 0xffffffff for negative integers.  Use gamma_positive
22042         instead of exp (lgamma) for other arguments.
22043         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22044         (gamma_coeff): New variable.
22045         (NCOEFF): New macro.
22046         (gammal_positive): New function.
22047         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22048         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22049         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22050         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22051         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22052         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22053         * sysdeps/generic/math_private.h (__gamma_productf): New
22054         prototype.
22055         (__gamma_product): Likewise.
22056         (__gamma_productl): Likewise.
22057         * math/Makefile (libm-calls): Add gamma_product.
22058         * math/libm-test.inc (tgamma_test): Add more tests.
22059         * sysdeps/i386/fpu/libm-test-ulps: Update.
22060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22061
22062 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22063
22064         * benchtests/bench-skeleton.c (main): Preheat CPU.
22065
22066 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22067
22068         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22069
22070 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22071
22072         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22073         and _dl_skip_args_internal.
22074
22075 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22076
22077         * manual/message.texi (Message Translation): Talk about users.
22078         Message to key mapping impacts design.
22079
22080 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22081
22082         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22083
22084         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22085
22086         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22087         * sysdeps/wordsize-64/glob64.c: ... here.
22088
22089         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22090         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22091         New macros.
22092
22093         * debug/getlogin_r_chk.c: Moved to ...
22094         * login/getlogin_r_chk.c: ... here.
22095         * debug/Makefile (routines): Move getlogin_r_chk to ...
22096         * login/Makefile (routines): ... here.
22097         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22098         * login/Versions (libc: GLIBC_2.4): ... here.
22099
22100         * io/poll.c (__poll): Renamed from poll.
22101         Add libc_hidden_def.
22102         (poll): Define as weak alias.
22103
22104         * debug/ptsname_r_chk.c: Moved to ...
22105         * login/ptsname_r_chk.c: ... here.
22106         * debug/Makefile (routines): Move ptsname_r_chk to ...
22107         * login/Makefile (routines): ... here.
22108         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22109         * login/Versions (libc: GLIBC_2.4): ... here.
22110
22111         * posix/getlogin.c: Moved to ...
22112         * login/getlogin.c: ... here.
22113         * posix/getlogin_r.c: Moved to ...
22114         * login/getlogin_r.c: ... here.
22115         * posix/getlogin_r.c: Moved to ...
22116         * login/getlogin_r.c: ... here.
22117         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22118         * login/Makefile (routines): ... here.
22119         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22120         * login/Versions (libc: GLIBC_2.0): ... here.
22121
22122         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22123         (setrlimit): Define as weak alias.
22124
22125         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22126         Call __ names for open, ftruncate, and close.
22127         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22128         (truncate): Define as weak alias.
22129
22130 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22131
22132         * math/gen-libm-test.pl (parse_args): Initialize x before each
22133         test of frexp, modf and remquo.
22134
22135         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22136         test signgam value.
22137
22138 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22139
22140         [BZ #15418]
22141         [BZ #15419]
22142         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22143         internal tests.
22144         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22145
22146 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22147
22148         * elf/dl-writev.h: New file.
22149         * elf/dl-misc.c: Include it.
22150         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22151         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22152
22153 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22154
22155         * math/libm-test.inc (noXFails): Remove variable.
22156         (noXPasses): Likewise.
22157         (BUILD_COMPLEX_INT): Remove macro.
22158         (print_screen): Remove xfail argument.
22159         (print_screen_max_error): Likewise.
22160         (update_stats): Likewise.
22161         (print_max_error): Likewise.  Update calls to other affected
22162         functions.
22163         (print_complex_max_error): Likewise.
22164         (test_single_exception): Update calls to print_screen.
22165         (test_single_errno): Likewise.
22166         (check_float_internal): Remove xfail argument.  Update calls to
22167         other affected functions.
22168         (check_float): Likewise.
22169         (check_complex): Likewise.
22170         (check_int): Likewise.
22171         (check_long): Likewise.
22172         (check_bool): Likewise.
22173         (check_longlong): Likewise.
22174         (main): Don't print noXFails and noXPasses.
22175         * math/gen-libm-test.pl (top level): Don't mention expected
22176         failure handling in comment.
22177         (new_test): Don't handle expected failures.
22178         (parse_args): Don't mention expected failure handling in comment.
22179         (generate_testfile): Don't handle expected failures.
22180         (parse_ulps): Likewise.
22181         (print_ulps_file): Likewise.
22182         (get_failure): Remove function.
22183         (output_test): Don't handle expected failures.
22184         * make/README.libm-test: Don't mention expected failure handling.
22185
22186         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22187         (minus_zero): Likewise.
22188         (plus_infty): Likewise.
22189         (minus_infty): Likewise.
22190         (qnan_value): Likewise.
22191         (max_value): Likewise.
22192         (min_value): Likewise.
22193         (min_subnorm_value): Likewise.
22194         (initialize): Do not initialize those variables dynamically.
22195
22196 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22197
22198         * io/open.c (__open_2): Moved to ...
22199         * io/open_2.c: ... this new file.
22200         * io/open64.c (__open64_2): Moved to ...
22201         * io/open64_2.c: ... this new file.
22202         * io/openat.c (__openat_2): Moved to ...
22203         * io/openat_2.c: ... this new file.
22204         * io/openat64.c (__openat64_2): Moved to ...
22205         * io/openat64_2.c: ... this new file.
22206         * io/Makefile (routines): Add them.
22207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22208         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22209         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22210         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22211         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22212         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22213         (__openat64): Add hidden_ver.
22214         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22215         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22216
22217         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22218         Separately conditionalize setting of GLRO(dl_sysinfo) so
22219         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22220         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22221
22222 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22223
22224         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22225         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22226         definition.
22227         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22228         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22229         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22230         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22231         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22232
22233 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22234
22235         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22236         test signgam value.
22237
22238         * math/libm-test.inc (hypot_test): Do not use
22239         IGNORE_ZERO_INF_SIGN.
22240
22241 2013-05-03  Andreas Jaeger  <aj@suse.de>
22242
22243         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22244         Linux 3.9.
22245         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22246         (PF_MAX): Adjust for VSOCK change.
22247
22248 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22249
22250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22251
22252 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22253
22254         [BZ #15264]
22255         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22256         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22257         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22258
22259 2013-05-02  David S. Miller  <davem@davemloft.net>
22260
22261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22262
22263 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22264
22265         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22266
22267 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22268
22269         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22270
22271 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22272
22273         [BZ #14952]
22274         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22275         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22276         Use __attribute__ ((__gnu_inline__)).
22277         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22278         Don't use __attribute__ ((__gnu_inline__)).
22279
22280 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22281
22282         [BZ #15423]
22283         * math/s_catan.c (__catan): Handle small real or imaginary part of
22284         input specially to avoid spurious underflow.
22285         * math/s_catanf.c (__catanf): Likewise.
22286         * math/s_catanh.c (__catanh): Likewise.
22287         * math/s_catanhf.c (__catanhf): Likewise.
22288         * math/s_catanhl.c (__catanhl): Likewise.
22289         * math/s_catanl.c (__catanl): Likewise.
22290         * math/libm-test.inc (catan_test): Add more tests.
22291         (catanh_test): Likewise.
22292         * sysdeps/i386/fpu/libm-test-ulps: Update.
22293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294
22295 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22296
22297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22298
22299 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22300
22301         [BZ #15416]
22302         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22303         accurately for denominator in atan2.
22304         * math/s_catanf.c (__catanf): Likewise.
22305         * math/s_catanh.c (__catanh): Likewise.
22306         * math/s_catanhf.c (__catanhf): Likewise.
22307         * math/s_catanhl.c (__catanhl): Likewise.
22308         * math/s_catanl.c (__catanl): Likewise.
22309         * math/libm-test.inc (catan_test): Add more tests.
22310         (catanh_test): Likewise.
22311         * sysdeps/i386/fpu/libm-test-ulps: Update.
22312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22313
22314 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22315
22316         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22317
22318         * benchtests/Makefile (bench): Remove slow benchmarks.
22319         * benchtests/atan-inputs: Add slow benchmark inputs.
22320         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22321         (BENCH_FUNC): Accept variant offset.
22322         (VARIANT): Define.
22323         * benchtests/bench-skeleton.c (main): Run benchmark for each
22324         variant.
22325         * benchtests/cos-inputs: Add slow benchmark inputs.
22326         * benchtests/exp-inputs: Likewise.
22327         * benchtests/pow-inputs: Likewise.
22328         * benchtests/sin-inputs: Likewise.
22329         * benchtests/slowatan-inputs: Remove.
22330         * benchtests/slowatan.c: Remove.
22331         * benchtests/slowcos-inputs: Remove.
22332         * benchtests/slowcos.c: Remove.
22333         * benchtests/slowexp-inputs: Remove.
22334         * benchtests/slowexp.c: Remove.
22335         * benchtests/slowpow-inputs: Remove.
22336         * benchtests/slowpow.c: Remove.
22337         * benchtests/slowsin-inputs: Remove.
22338         * benchtests/slowsin.c: Remove.
22339         * benchtests/slowtan-inputs: Remove.
22340         * benchtests/slowtan.c: Remove.
22341         * benchtests/tan-inputs: Add slow benchmark inputs.
22342         * scripts/bench.pl: Parse comments and directives.
22343
22344         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22345         in CPPFLAGS.
22346         ($(objpfx)bench-%.c): Remove *-ITER.
22347         * benchtests/bench-modf.c: Remove definition of ITER.
22348         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22349         (main): Loop for DURATION seconds instead of fixed number of
22350         iterations.
22351         * scripts/bench.pl: Don't expect iterations in parameters.
22352
22353 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22354
22355         * io/fchdir.c (__fchdir): Renamed from fchdir.
22356         (fchdir): Define as weak alias.
22357
22358 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22359
22360         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22361         (ERRNO_EDOM): Likewise.
22362         (ERRNO_ERANGE): Likewise.
22363         (noErrnoTests): New variable.
22364         (init_max_error): Set errno to 0.
22365         (test_single_errno): New function.
22366         (test_errno): Likewise.
22367         (check_float_internal): Call test_errno.  Set errno to 0.
22368         (check_complex): Refer to errno tests in comment.
22369         (check_int): Call test_errno.  Set errno to 0.
22370         (check_long): Likewise.
22371         (check_bool): Likewise.
22372         (check_longlong): Likewise.
22373         (cos_test): Use ERRNO_* flags for errno tests instead of
22374         check_int.
22375         (expm1_test): Likewise.
22376         (fmod_test): Likewise.
22377         (ilogb_test): Likewise.
22378         (lgamma_test): Likewise.
22379         (pow_test): Likewise.
22380         (remainder_test): Likewise.
22381         (sin_test): Likewise.
22382         (tan_test): Likewise.
22383         (yn_test): Likewise.
22384         (initialize): Set errno to 0.
22385         (main): Print number of errno tests.
22386         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22387
22388 2013-04-29  Andreas Jaeger  <aj@suse.de>
22389
22390         [BZ #15084]
22391         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22392         and RES_USEVC.
22393
22394         [BZ #15085]
22395         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22396         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22397         unimplemented.
22398
22399         [BZ #15380]
22400         * stdlib/random.c (__initstate): Return NULL if
22401         __initstate fails.
22402
22403         [BZ #15086]
22404         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22405         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22406         RES_SNGLKUPREOP.
22407
22408 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22409
22410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22411
22412 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22413
22414         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22415         of individual tests.
22416         (casin_test): Likewise.
22417         (casinh_test): Likewise.
22418
22419 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22420
22421         [BZ #15409]
22422         * math/s_catan.c (__catan): Handle arguments with large real or
22423         imaginary part separately without squaring.
22424         * math/s_catanf.c (__catanf): Likewise.
22425         * math/s_catanh.c (__catanh): Likewise.
22426         * math/s_catanhf.c (__catanhf): Likewise.
22427         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22428         and redefine.
22429         (__catanhl): Handle arguments with large real or imaginary part
22430         separately without squaring.
22431         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22432         and redefine.
22433         (__catanl): Handle arguments with large real or imaginary part
22434         separately without squaring.
22435         * math/libm-test.inc (catan_test): Add more tests.
22436         (catanh_test): Likewise.
22437         * sysdeps/i386/fpu/libm-test-ulps: Update.
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22439
22440 2013-04-27  Andreas Jaeger  <aj@suse.de>
22441
22442         [BZ #15007]
22443         * stdlib/stdlib.h: Update guards for qecvt.
22444         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22445         <stdlib.h>.
22446
22447 2013-04-27  Allan McRae  <allan@archlinux.org>
22448
22449         * sysdeps/i386/fpu/libm-test-ulps: Update.
22450
22451 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22452
22453         [BZ #15406]
22454         * math/s_catan.c: Include <float.h>.
22455         (__catan): Ensure underflow exception occurs for underflowed
22456         result.
22457         * math/s_catanf.c: Include <float.h>.
22458         (__catanf): Ensure underflow exception occurs for underflowed
22459         result.
22460         * math/s_catanh.c: Include <float.h>.
22461         (__catanh): Ensure underflow exception occurs for underflowed
22462         result.
22463         * math/s_catanhf.c: Include <float.h>.
22464         (__catanhf): Ensure underflow exception occurs for underflowed
22465         result.
22466         * math/s_catanhl.c: Include <float.h>.
22467         (__catanhl): Ensure underflow exception occurs for underflowed
22468         result.
22469         * math/s_catanl.c: Include <float.h>.
22470         (__catanl): Ensure underflow exception occurs for underflowed
22471         result.
22472         * math/libm-test.inc (catan_test): Add more tests.
22473         (catanh_test): Likewise.
22474
22475         [BZ #15405]
22476         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22477         underflowed result.
22478         * math/s_ccoshf.c (__ccoshf): Likewise.
22479         * math/s_ccoshl.c (__ccoshl): Likewise.
22480         * math/s_csin.c (__csin): Likewise.
22481         * math/s_csinf.c (__csinf): Likewise.
22482         * math/s_csinh.c (__csinh): Likewise.
22483         * math/s_csinhf.c (__csinhf): Likewise.
22484         * math/s_csinhl.c (__csinhl): Likewise.
22485         * math/s_csinl.c (__csinl): Likewise.
22486         * math/libm-test.inc (ccos_test): Add more tests.
22487         (ccosh_test): Likewise.
22488         (csin_test): Likewise.
22489         (csinh_test): Likewise.
22490
22491 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22492
22493         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22494         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22495         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22496         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22497         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22498         powerpc/power5+/fpu folders.
22499         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22500
22501
22502 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22503
22504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22505
22506 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22507
22508         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22509         additions to variable.
22510         [$(config-machine) = x86_64] (modules-names): Likewise.
22511         ($(objpfx)tst-audit3): Remove dependency.
22512         ($(objpfx)tst-audit3.out): Likewise.
22513         ($(objpfx)tst-audit4): Likewise.
22514         ($(objpfx)tst-audit4.out): Likewise.
22515         ($(objpfx)tst-audit5): Likewise.
22516         ($(objpfx)tst-audit5.out): Likewise.
22517         ($(objpfx)tst-audit6): Likewise.
22518         ($(objpfx)tst-audit6.out): Likewise.
22519         ($(objpfx)tst-audit7): Likewise.
22520         ($(objpfx)tst-audit7.out): Likewise.
22521         (tst-audit3-ENV): Remove variable.
22522         (tst-audit4-ENV): Likewise.
22523         (tst-audit5-ENV): Likewise.
22524         (tst-audit6-ENV): Likewise.
22525         (tst-audit7-ENV): Likewise.
22526         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22527         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22528         addition to variable.
22529         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22530         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22532         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22533         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22534         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22535         tst-audit3, tst-audit4 and tst-audit5.
22536         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22537         tst-audit6 and tst-audit7.
22538         [$(subdir) = elf] (modules-names): Add audit modules for those
22539         tests.
22540         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22541         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22542         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22543         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22544         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22545         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22546         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22547         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22548         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22549         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22550         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22551         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22552         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22553         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22554         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22555         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22556         Likewise.
22557         [$(subdir) = elf && $(config-cflags-avx) = yes]
22558         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22559         [$(subdir) = elf && $(config-cflags-avx) = yes]
22560         (CFLAGS-tst-auditmod4a.c): Likewise.
22561         [$(subdir) = elf && $(config-cflags-avx) = yes]
22562         (CFLAGS-tst-auditmod4b.c): Likewise.
22563         [$(subdir) = elf && $(config-cflags-avx) = yes]
22564         (CFLAGS-tst-auditmod6b.c): Likewise.
22565         [$(subdir) = elf && $(config-cflags-avx) = yes]
22566         (CFLAGS-tst-auditmod6c.c): Likewise.
22567         [$(subdir) = elf && $(config-cflags-avx) = yes]
22568         (CFLAGS-tst-auditmod7b.c): Likewise.
22569         * elf/tst-audit3.c: Move to ...
22570         * sysdeps/x86_64/tst-audit3.c: ... here.
22571         * elf/tst-audit4.c: Move to ...
22572         * sysdeps/x86_64/tst-audit4.c: ... here.
22573         * elf/tst-audit5.c: Move to ...
22574         * sysdeps/x86_64/tst-audit5.c: ... here.
22575         * elf/tst-audit6.c: Move to ...
22576         * sysdeps/x86_64/tst-audit6.c: ... here.
22577         * elf/tst-audit7.c: Move to ...
22578         * sysdeps/x86_64/tst-audit7.c: ... here.
22579         * elf/tst-auditmod3a.c: Move to ...
22580         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22581         * elf/tst-auditmod3b.c: Move to ...
22582         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22583         * elf/tst-auditmod4a.c: Move to ...
22584         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22585         * elf/tst-auditmod4b.c: Move to ...
22586         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22587         * elf/tst-auditmod5a.c: Move to ...
22588         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22589         * elf/tst-auditmod5b.c: Move to ...
22590         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22591         * elf/tst-auditmod6a.c: Move to ...
22592         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22593         * elf/tst-auditmod6b.c: Move to ...
22594         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22595         * elf/tst-auditmod6c.c: Move to ...
22596         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22597         * elf/tst-auditmod7a.c: Move to ...
22598         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22599         * elf/tst-auditmod7b.c: Move to ...
22600         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22601
22602 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22603
22604         [BZ #15366]
22605         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22606         define unconditionally.
22607         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22608         define unconditionally.
22609         (INT8_C, INT16_C, etc.): Likewise.
22610
22611 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22612
22613         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22614         __ehdr_start with hidden visibility.
22615
22616         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22617
22618 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22619
22620         * math/libm-test.inc (cos_test): Use accurate hex constants.
22621         (sincost_test): Likewise.
22622
22623 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22624
22625         * math/libm-test.inc (catan_test): Add more tests.
22626         (catanh_test): Likewise.
22627
22628         * math/s_catanf.c (__catanf): Use suffixed floating-point
22629         constants.
22630         * math/s_catanhf.c (__catanhf): Likewise.
22631         * math/s_catanhl.c (__catanhl): Likewise.
22632         * math/s_catanl.c (__catanl): Likewise.
22633
22634         [BZ #15394]
22635         * math/s_catan.c (__catan): Calculate imaginary part of result
22636         with log1p not log unless computing log of number close to 0.
22637         * math/s_catanf.c (__catanf): Likewise.
22638         * math/s_catanl.c (__catanl): Likewise.
22639         * math/s_catanh.c (__catanh): Calculate real part of result with
22640         log1p not log unless computing log of number close to 0.
22641         * math/s_catanhf.c (__catanhf): Likewise.
22642         * math/s_catanhl.c (__catanhl): Likewise.
22643         * math/libm-test.inc (catan_test): Add more tests.
22644         (catanh_test): Likewise.
22645         * sysdeps/i386/fpu/libm-test-ulps: Update.
22646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647
22648 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22649
22650         * benchtests/Makefile: Mention files in which fast and slow
22651         paths of math functions are implemented.
22652
22653 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22654
22655         * sysdeps/posix/timespec_get.c: New file.
22656
22657 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22658
22659         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22660         POWER.
22661         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22662         for POWER.
22663         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22664         powerpc/power5/fpu folders.
22665         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22666         * benchtests/Makefile: Add modf testcase.
22667         * benchtests/bench-modf.c: New file: Benchmark test for mo
22668
22669 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22670
22671         [BZ #14888]
22672         * time/Makefile (tests): Add tst-strptime-whitespace.
22673         * time/strptime_l.c (get_number): Use ISSPACE.
22674         (__strptime_internal): Likewise.
22675         * time/tst-strptime-whitespace.c: New test case.
22676
22677 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22678
22679         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22680         member.
22681         (_nss_files_init): Set it here.
22682
22683 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22684
22685         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22686         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22687         unsigned.
22688
22689 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22690
22691         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22692
22693 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22694
22695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22696         size just once.
22697
22698 2013-04-21  David S. Miller  <davem@davemloft.net>
22699
22700         * po/ru.po: Update Russion translation from translation project.
22701
22702 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22703
22704         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22705         and setfsgid.
22706
22707 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22708
22709         * configure.in: Remove i386 configure warning. Remove i386 case.
22710         * configure: Regenerate.
22711         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22712         Add example to error message.
22713         * sysdeps/i386/configure: Regenerate.
22714
22715 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716
22717         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22718         slowtan.
22719         * benchtests/cos-inputs: New file.
22720         * benchtests/slowcos-inputs: New file.
22721         * benchtests/slowcos.c: New file.
22722         * benchtests/slowtan-inputs: New file.
22723         * benchtests/slowtan.c: New file.
22724         * benchtests/tan-inputs: New file.
22725
22726 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22727
22728         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22729         considered kosher.
22730
22731 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732
22733         * benchtests/Makefile: Include cppflags-iterator.mk to add
22734         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22735
22736         * Makefile.in (bench-clean): New target.
22737         * benchtests/Makefile (bench-clean): Likewise.
22738
22739 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22740
22741         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22742
22743 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22744
22745         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22746
22747 2013-04-15  Andreas Schwab  <schwab@suse.de>
22748
22749         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22751         * nscd/pwdcache.c (cache_addpw): Likewise.
22752         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22753         more than recsize.
22754
22755 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22756
22757         * benchtests/Makefile (bench): Write all output to
22758         bench-out.tmp together.
22759
22760 2013-04-15  Andreas Schwab  <schwab@suse.de>
22761
22762         * nscd/nscd.c (main): Don't fork again after closing files.
22763
22764 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22765
22766         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22767
22768         * benchtests/Rules (bench-deps): Collect dependencies into a
22769         single variable.  Add Makefile to dependencies.
22770         ($(objpfx)bench-%.c): Depend on bench-deps.
22771
22772 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22773             Xavier Roche  <roche+kml2@exalead.com>
22774
22775         [BZ #15361]
22776         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22777         just that it's a file descriptor.
22778         * manual/llio.texi (Synchronizing AIO Operations): Update description
22779         for EBADF error from aio_fsync.
22780
22781 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22782
22783         * Rules (bench): Move target definition...
22784         * benchtests/Makefile: ... here.
22785
22786 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22787
22788         * math/libm-test.inc (cos_test): Fix PI/2 test.
22789         (sincos_test): Likewise.
22790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22791         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22792
22793 2013-04-11  Andreas Schwab  <schwab@suse.de>
22794
22795         [BZ #13988]
22796         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22797         accept exponent character only when digits were seen.
22798         * stdio-common/Makefile (tests): Add bug26.
22799         * stdio-common/bug26.c: New file.
22800
22801         [BZ #14293]
22802         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22803         non-freeable.
22804
22805 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22806
22807         * Makeconfig (rtld-prefix): Define built linker prefix.
22808         * Rules (run-bench): Use it.
22809         * math/Makefile (run-regen-ulps): Likewise.
22810
22811         * Rules (bench): Remove eval.
22812
22813 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22814             Roland McGrath  <roland@hack.frob.com>
22815             Ondrej Bilka  <neleai@seznam.cz>
22816
22817         [BZ #15346]
22818         * time/getdate.c: Include ctype.h and alloca.h.
22819         (__getdate_r): Trim leading and trailing spaces of input.
22820         * time/tst-getdate.c (tests): Add tests with leading and
22821         trailing spaces.
22822
22823 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22824
22825         [BZ #14280]
22826         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22827         when computing value.
22828
22829 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22830
22831         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22832         Use testrun.sh to run libm tests.
22833
22834         [BZ #15309]
22835         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22836
22837 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22838
22839         [BZ #15264]
22840         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22841
22842 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22843
22844         * Makefile.in (regen-ulps): New target.
22845         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22846         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22847         [ifneq (no,$(PERL)] (regen-ulps): New target.
22848         [ifeq (no,$(PERL)] (regen-ulps): New target.
22849         * math/libm-test.inc (ulps_file_name): Define.
22850         (output_dir): New variable.
22851         (options): Add "output-dir" option.
22852         (parse_opt): Handle 'o' case.
22853         (main): If output_dir is non-NULL use it as a prefix
22854         otherwise use "".
22855         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22856
22857 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22858
22859         [BZ #10060, #10062]
22860         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22861         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22862         fail configure if __sync_val_compare_and_swap is not inlined.
22863         * sysdeps/i386/configure: Regenerate.
22864         * configure.in: Build for i686 when configured for i386.
22865         * configure: Regenerate.
22866         * README: Remove i386 reference.
22867
22868 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22869
22870         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22871         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22872
22873 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22874
22875         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22876         (lmsnanval): New variables.
22877         (F): Add conversion tests.
22878         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22879         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22880
22881         * stdio-common/tstdiomisc.c (F): Properly collect individual
22882         tests' results.
22883
22884         [BZ #14686, #15336]
22885         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22886         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22887         Instead, use input NaN values or generate a qNaN by arithmetic
22888         operation.  Also fix bugs to comply with the standard.
22889         * math/libm-test.inc (remainder_test): Add more tests.
22890
22891         [BZ #15335, #15342]
22892         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22893         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22894         input NaN values or generate a qNaN by arithmetic operation.
22895
22896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22897         unreachable code.
22898
22899         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22900         definitions.
22901
22902 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22903
22904         [BZ #14478]
22905         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22906         underflowed result.
22907         * math/s_cexpf.c (__cexpf): Likewise.
22908         * math/s_cexpl.c (__cexpl): Likewise.
22909         * math/libm-test.inc (cexp_test): Add more tests.
22910
22911 2013-04-03  Andreas Schwab  <schwab@suse.de>
22912
22913         [BZ #15330]
22914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22915         order arrays from heap if bigger than alloca cutoff.
22916
22917 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22918
22919         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22920         (SNAN_TESTS_double): Refer to GCC PR56831.
22921         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22922         GCC PR56828.
22923
22924 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22925
22926         * Rules (bench): Move bench.out after the run is complete.
22927
22928         * Rules (bench): Echo currently running benchmark.
22929
22930         * benchtests/Makefile (bench): Add atan and slowatan.
22931         * benchtests/atan-inputs: New file.
22932         * benchtests/slowatan-inputs: New file.
22933         * benchtests/slowatan.c: New file.
22934
22935         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22937         its value.
22938
22939         [BZ #15305]
22940         * sysdeps/unix/sysv/linux/kernel-features.h
22941         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22942         __ASSUME_XFS_RESTRICTED_CHOWN.
22943         * sysdeps/unix/sysv/linux/pathconf.c
22944         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22945         Save and restore errno.
22946
22947 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22948
22949         [BZ #15327]
22950         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22951         arguments using __kernel_casinh.
22952         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22953         arguments using __kernel_casinhf.
22954         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22955         arguments using __kernel_casinhl.
22956         * math/libm-test.inc (cacosh_test): Add more tests.
22957         * sysdeps/i386/fpu/libm-test-ulps: Update.
22958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22959
22960 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22961
22962         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22964
22965         * bench/Makefile (bench): Add sin and slowsin.
22966         * benchtests/sin-inputs: New file.
22967         * benchtests/slowsin-inputs: New file.
22968         * benchtests/slowsin.c: New file.
22969
22970         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22971         (bench): Add slowexp and slowpow.
22972         (exp-ITER): Increase iterations.
22973         (pow-ITER): Likewise.
22974         * benchtests/exp-inputs: Change input.
22975         * benchtests/pow-inputs: Likewise.
22976         * benchtests/slowexp-inputs: New file.
22977         * benchtests/slowexp.c: New file.
22978         * benchtests/slowpow-inputs: New file.
22979         * benchtests/slowpow.c: New file.
22980
22981 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22982
22983         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22984         instructions.
22985         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22986         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22987         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22988         * benchtests/Makefile: Add rint benchtest.
22989         * benchtests/rint-inputs: Input for rint benchtest.
22990
22991 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22992
22993         * Versions.def (libm): Add GLIBC_2.18.
22994         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22995         hidden libm prototypes.
22996         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22997         * math/Makefile (libm-calls): Add s_issignaling.
22998         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22999         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23000         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23001         declaration.
23002         * math/math.h [__USE_GNU] (issignaling): New macro.
23003         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23004         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23005         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23006         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23007         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23008         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23009         * manual/arith.texi (issignaling): New section.
23010         * manual/libm-err-tab.pl (@all_functions): Update comment.
23011         * math/gen-libm-test.pl (parse_args): Apply special handling for
23012         issignaling.
23013         * math/libm-test.inc (print_float, issignaling_test): New
23014         functions.
23015         (check_float_internal): Add issignaling checks.
23016         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23017         default definition.
23018         * sysdeps/powerpc/math-tests.h: New file.
23019         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23020         tests.
23021         * math/test-snan.c (TEST_FUNC): Likewise.
23022
23023 2013-03-30  David S. Miller  <davem@davemloft.net>
23024
23025         * po/de.po: Update from translation team.
23026
23027 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23028
23029         [BZ #10357]
23030         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23031         imaginary part less than 1.0 and real part less than 0.5
23032         specially.
23033         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23034         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23035         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23036         (cacos_test): Add more tests.
23037         (casin_test): Likewise.
23038         (casinh_test): Likewise.
23039         * sysdeps/i386/fpu/libm-test-ulps: Update.
23040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23041
23042 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23043
23044         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23045         ONE with its value.
23046
23047         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23048         (__pow_mp): Replace ONE and MONE with their values.
23049         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23050         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23051         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23052         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23053         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23054         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23055
23056         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23057
23058         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23059         (__pow_mp): Replace ZERO and MZERO with their values.
23060         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23061         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23064         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23065         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23066         (__sqr): Likewise.
23067
23068         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23069
23070         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23071
23072 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23073
23074         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23075         Declare with __attribute__ ((weak)).
23076         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23077         Call __call_tls_dtors only if it's not NULL.
23078
23079 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23080
23081         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23082         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23083         magic __ehdr_start linker symbol if it's defined.
23084         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23085         them up here if it was already done.
23086
23087         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23088         (_dl_aux_init): Use const in cast when setting it.
23089         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23090         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23091         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23092
23093         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23094         Declare them here.
23095         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23096         * csu/libc-tls.c: Nor here.
23097         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23098
23099         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23100         (__libc_message): Never call vsyslog.
23101
23102 2013-03-28  Alan Modra  <amodra@gmail.com>
23103
23104         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23105         Define as empty.
23106         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23107         Likewise.
23108
23109 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23110
23111         [BZ #15214]
23112         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23113         underflow.
23114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23115
23116 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23117
23118         [BZ #15304]
23119         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23120         Don't add gid passed as argument.
23121
23122         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23123
23124 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23125
23126         [BZ #15307]
23127         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23128         imaginary part between 1.0 and 1.5 and real part less than 0.5
23129         specially.
23130         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23131         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23132         * math/libm-test.inc (cacos_test): Add more tests.
23133         (casin_test): Likewise.
23134         (casinh_test): Likewise.
23135         * sysdeps/i386/fpu/libm-test-ulps: Update.
23136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23137
23138 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23139
23140         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23141         constants.
23142         (norm): Likewise.
23143         (denorm): Likewise.
23144         (__dbl_mp): Likewise.
23145         (add_magnitudes): Likewise.
23146         (sub_magnitudes): Likewise.
23147         (__add): Likewise.
23148         (__sub): Likewise.
23149         (__mul): Likewise.
23150         (__sqr): Likewise.
23151         (__inv): Likewise.
23152         (__dvd): Likewise.
23153
23154         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23155         commented code.
23156         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23157         (__dubcos): Likewise.
23158         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23159         (__ieee754_acos): Likewise.
23160         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23161         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23162         (__exp1): Likewise.
23163         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23165         (log1): Likewise.
23166         (my_log2): Likewise.
23167         (checkint): Likewise.
23168         * sysdeps/ieee754/dbl-64/e_remainder.c
23169         (__ieee754_remainder): Likewise.
23170         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23172         (bsloww): Likewise.
23173         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23174
23175         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23176         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23177         MANTISSA_STORE_T to store computations on mantissa.  Use
23178         macros for rounding and division.
23179         (denorm): Likewise.
23180         (__dbl_mp): Likewise.
23181         (add_magnitudes): Likewise.
23182         (sub_magnitudes): Likewise.
23183         (__mul): Likewise.
23184         (__sqr): Likewise.
23185         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23186         powers of two in terms of TWOPOW macro.
23187         (mp_no): Make type of mantissa as MANTISSA_T.
23188         [!RADIXI]: Define RADIXI.
23189         [!TWO52]: Define TWO52.
23190         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23191
23192 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23193
23194         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23195         llroundl symbol when building for PPC32.
23196
23197 2013-03-24  Mark H Weaver  <mhw@netris.org>
23198
23199         * manual/arith.texi (Normalization Functions): Fix prototypes for
23200         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23201
23202 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23203
23204         [BZ #13889]
23205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23206         high value to check if expl overflow.
23207         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23208         to check for underflow and overflow.
23209         * math/libm-test.inc: Add exp test.
23210
23211 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23212
23213         [BZ #11120]
23214         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23215         with NOT_IN_libc.
23216
23217 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23218
23219         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23220         symbol.
23221
23222 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23223
23224         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23225         wrap blocks consisting of several statements.
23226
23227         * sysdeps/generic/math-tests.h: New file.
23228         * sysdeps/i386/fpu/math-tests.h: Likewise.
23229         * math/test-snan.c: Include it.
23230         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23231
23232 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23233
23234         [BZ #15285]
23235         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23236         (__ieee754_j0l): Do not improve calculations using cos of twice
23237         input for inputs above LDBL_MAX / 2.0L.
23238         (__ieee754_y0l): Likewise.
23239         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23240         (__ieee754_j1l): Do not improve calculations using cos of twice
23241         input for inputs above LDBL_MAX / 2.0L.
23242         (__ieee754_y1l): Likewise.
23243         * math/libm-test.inc (j0_test): Add another test.
23244         (j1_test): Likewise.
23245         (y0_test): Likewise.
23246         (y1_test): Likewise.
23247         * sysdeps/i386/fpu/libm-test-ulps: Update.
23248
23249 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23250
23251         * Rules ($(objpfx)bench-%.c): Include code from a C source
23252         file.
23253
23254 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23255
23256         [BZ #15287]
23257         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23258         imaginary part 1.0 and real part less than 0.5 specially.
23259         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23260         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23261         * math/libm-test.inc (cacos_test): Add more tests.
23262         (casin_test): Likewise.
23263         (casinh_test): Likewise.
23264         * sysdeps/i386/fpu/libm-test-ulps: Update.
23265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23266
23267 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268
23269         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23270         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23271
23272 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23273
23274         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23275         * config.make.in (config-cflags-sse4): Remove variable.
23276         (config-cflags-avx): Likewise.
23277         (config-cflags-sse2avx): Likewise.
23278         (config-cflags-novzeroupper): Likewise.
23279         (config-asflags-i686): Likewise.
23280         (have-mfma4): Likewise.
23281         (have-as-vis3): Likewise.
23282         (MIG): Likewise.
23283         * configure.in (MIG): Do not AC_SUBST.
23284         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23285         (libc_cv_cc_sse4): Do not AC_SUBST.
23286         (libc_cv_cc_avx): Likewise.
23287         (libc_cv_cc_sse2avx): Likewise.
23288         (libc_cv_cc_novzeroupper): Likewise.
23289         (libc_cv_cc_fma4): Likewise.
23290         (libc_cv_as_i686): Likewise.
23291         (libc_cv_sparc_as_vis3): Likewise.
23292         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23293         LIBC_CONFIG_VAR.
23294         (config-asflags-i686): Likewise.
23295         (config-cflags-avx): Likewise.
23296         (config-cflags-sse2avx): Likewise.
23297         (have-mfma4): Likewise.
23298         (config-cflags-novzeroupper): Likewise.
23299         * sysdeps/mach/configure.in (MIG): Likewise.
23300         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23301         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23302         LIBC_CONFIG_VAR.
23303         (config-cflags-avx): Likewise.
23304         (config-cflags-sse2avx): Likewise.
23305         (have-mfma4): Likewise.
23306         (config-cflags-novzeroupper): Likewise.
23307         * configure: Regenerated.
23308         * sysdeps/i386/configure: Likewise.
23309         * sysdeps/mach/configure: Likewise.
23310         * sysdeps/sparc/configure: Likewise.
23311         * sysdeps/x86_64/configure: Likewise.
23312
23313 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23314
23315         [BZ #14812]
23316         * locale/programs/localedef.c (options): Put N_ translation marker
23317         on argument names, not just descriptions.
23318
23319 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23320
23321         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23322
23323 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23324
23325         [BZ #14176]
23326         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23327
23328 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23329
23330         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23331         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23332         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23333         [!BEFORE_ABORT] (before_abort): New function.
23334         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23335         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23336         (writev_for_fatal): New function.
23337         (WRITEV_FOR_FATAL): New macro; call that.
23338         (backtrace_and_maps): New function.
23339         (BEFORE_ABORT): New macro; call that.
23340         (struct str_list): Type removed.
23341         (__libc_message, __libc_fatal): Functions removed.
23342         Include <sysdeps/posix/libc_fatal.c> instead.
23343
23344 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23345
23346         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23347         constants.
23348         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23349         double constants.
23350
23351 2013-03-19  Andreas Schwab  <schwab@suse.de>
23352
23353         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23354         * sysdeps/gnu/configure: Regenerate.
23355
23356         * configure.in: Substitute libc_cv_rtlddir.
23357         * configure: Regenerate.
23358         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23359         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23360         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23361         * elf/Makefile (install-others, CFLAGS-interp.c)
23362         (ldso_install, common-ldd-rewrite): Likewise.
23363         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23364         $(inst_slibdir)/$(rtld-installed-name).
23365         * scripts/rellns-sh: Add -p option.
23366         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23367         for source.
23368
23369 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23370
23371         * manual/nptl.texi: Renamed to ...
23372         * manual/threads.texi: ... this.
23373         * manual/Makefile (chapters): Update.
23374
23375 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23376
23377         [BZ #14812]
23378         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23379         on argument names, not just descriptions.
23380         * malloc/memusagestat.c (options): Likewise.
23381         * nss/getent.c (options): Likewise.
23382
23383 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23384
23385         [BZ #14812]
23386         * iconv/iconv_prog.c (options): Put N_ translation marker
23387         on argument names, not just descriptions.
23388         * iconv/iconvconfig.c (options): Likewise.
23389
23390 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23391
23392         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23393         implementation which is faster on all x86_64 architectures.
23394         Tested on AMD, Intel Nehalem, SNB, IVB.
23395         * sysdeps/x86_64/strnlen.S: Likewise.
23396
23397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23398         Remove all multiarch strlen and strnlen versions.
23399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23400         Remove strlen and strnlen related parts.
23401
23402         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23403         Inline strlen part.
23404         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23405
23406         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23407         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23408         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23409         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23410         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23411         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23412
23413 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23414
23415         * manual/memory.texi (Malloc Tunable Parameters):
23416         Sort parameters alphabetically. Add comments for missing entries.
23417
23418 2013-03-17  David S. Miller  <davem@davemloft.net>
23419
23420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23421
23422 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23423
23424         [BZ #15283]
23425         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23426         for arguments at most half maximum finite value.
23427         * math/libm-test.inc (j0_test): Add more tests.
23428         (j1_test): Likewise.
23429         (y0_test): Likewise.
23430         (y1_test): Likewise.
23431         * sysdeps/i386/fpu/libm-test-ulps: Update.
23432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23433
23434         [BZ #14155]
23435         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23436         1 / x and functions P and Q for arguments above 0x1p256L.
23437         (__ieee754_y0l): Likewise.
23438         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23439         (__ieee754_y1l): Likewise.
23440         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23441         (j1_test): Likewise.
23442         (y0_test): Likewise.
23443         (y1_test): Likewise.
23444
23445 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23446
23447         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23448         variable.
23449
23450 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23451
23452         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23453         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23454         zero since it's initialized to EXEC_PAGESIZE.
23455
23456         * sysdeps/unix/sysv/linux/ldsodefs.h
23457         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23458         * sysdeps/generic/ldsodefs.h: ... here.
23459
23460 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23461
23462         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23463
23464         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23465         math/test-snan.c.
23466         * math/test-snan.c: Renamed from
23467         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23468         * math/Makefile (tests): Add test-snan.
23469         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23470         test-powerpc-snan.
23471
23472         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23473         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23474         functions.
23475         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23476         __builtin_nan family of functions.
23477         * math/libm-test.inc (initialize): Initialize qnan_value with
23478         __builtin_nan family of functions.
23479         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23480         Remove variables.
23481         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23482         Remove functions.
23483         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23484         storage class.  Initialize qNaN_var and sNaN_var with
23485         __builtin_nan and __builtin_nans families of functions,
23486         respectively.
23487
23488         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23489         (sqrt_test): Remove duplicate test with qNaN input.
23490         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23491         (round_test, signbit_test, significand_test): Note missing +/-Inf
23492         as well as qNaN tests.
23493
23494         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23495         qNaN_var.  Fix a few strings, too.
23496         * math/libm-test.inc (nan_value): Rename to qnan_value.
23497         * math/gen-libm-test.pl (%beautify): Adjust to that.
23498         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23499         * math/test-misc.c (main): Likewise.
23500         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23501         to __qnan_bytes, and __qnan_union, respectively.
23502         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23503         Likewise.
23504         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23505         and lqnanval, respectively.
23506         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23507         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23508         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23509         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23510
23511         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23512         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23513         doubles.
23514
23515         * math/test-misc.c (main): Fix copy'n'pastos.
23516         * misc/tst-efgcvt.c (special): Likewise.
23517
23518         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23519         Remove declarations.
23520
23521 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23522
23523         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23524         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23525         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23526         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23527
23528 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23529
23530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23531         macro to return vdso values correctly in IFUNC implementations.
23532         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23533         Optimization by using IFUNC.
23534
23535 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23536             Richard Henderson  <rth@redhat.com>
23537             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23538
23539         * Makefile.in (bench): New target.
23540         * NEWS: Mention the benchmark framework.
23541         * Rules (bench): Likewise.
23542         (binaries-bench): Generate binaries for functions to
23543         benchmark.
23544         * benchtests/Makefile: New makefile for benchmark tests.
23545         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23546         programs.
23547         * benchtests/exp-inputs: New input file for EXP function.
23548         * benchtests/pow-inputs: New input file for POW function.
23549         * scripts/bench.pl: New script to generate source files for
23550         benchmark programs.
23551
23552 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23553
23554         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23555         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23556         computations on mantissa.  Use macros for rounding and
23557         division.
23558         (denorm): Likewise.
23559         (__dbl_mp): Likewise.
23560         (add_magnitudes): Likewise.
23561         (sub_magnitudes): Likewise.
23562         (__mul): Likewise.
23563         (__sqr): Likewise.
23564         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23565         powers of two in terms of TWOPOW macro.
23566         (mp_no): Make type of mantissa as MANTISSA_T.
23567         [!RADIXI]: Define RADIXI.
23568         [!TWO52]: Define TWO52.
23569         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23570
23571         * manual/nptl.texi (cindex): Modify threads to pthreads.
23572
23573 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23574
23575         * sysdeps/x86_64/preconfigure: Regenerated.
23576
23577 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23578
23579         [BZ #14155]
23580         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23581         0x1p28 and above.
23582         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23583         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23584         0x1p28 and above.
23585         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23586         * math/libm-test.inc (j0_test): Do not allow one spurious
23587         underflow exception.
23588         (y1_test): Likewise.
23589
23590 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591
23592         * manual/Makefile (chapters): Add nptl.
23593         * manual/debug.texi (Debugging Support): Add link to Threads
23594         chapter.
23595         * manual/nptl.texi: New file.
23596
23597         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23598
23599 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23600
23601         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23602         for non-NULL pointer before the memory validity test. Pointed
23603         out by Holger Brunck <holger.brunck@keymile.com>.
23604
23605 2013-03-13  Andreas Schwab  <schwab@suse.de>
23606
23607         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23608         instead of .os.
23609
23610 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23611
23612         * timezone/zic.c: Update from tzcode 2013b.
23613
23614 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23615
23616         * manual/install.texi (Configuring and compiling):
23617         Mention i686 and i586.
23618         * INSTALL: Regenerate.
23619
23620 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23621
23622         * sysdeps/init_array/elf-init.c: New file.
23623         * csu/elf-init.c
23624         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23625         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23626
23627         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23628         __gmon_start__ as global, but as static with a .preinit_array pointer.
23629         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23630         * sysdeps/init_array/crti.S: New file, empty except for comments.
23631         * sysdeps/init_array/crtn.S: Likewise.
23632
23633 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23634
23635         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23636         definining bcopy.
23637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23638         Remove Prefer_SSE_for_memop.
23639         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23640         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23641         HAS_PREFER_SSE_FOR_MEMOP.
23642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23643         memset-x86-64.
23644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23645         Remove bzero, memset ifunc support.
23646         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23647         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23648         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23649         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23650
23651 2013-03-11  Andreas Schwab  <schwab@suse.de>
23652
23653         [BZ #15234]
23654         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23655         by SHLIB_COMPAT.
23656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23657         (GLIBC_2.16): Remove pthread_atfork.
23658
23659 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23660
23661         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23662         (ptestcases.h): Likewise.
23663
23664 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23665
23666         * Makeconfig ($(common-objpfx)config.status): Depend on
23667         sysdeps/*/preconfigure{,.in} too.
23668
23669 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23670
23671         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23672         (__free_hook): Use void * instead of __malloc_ptr_t.
23673         (__malloc_hook): Likewise.
23674         (__realloc_hook): Likewise.
23675         (__memalign_hook): Likewise.
23676         (__after_morecore_hook): Likewise.
23677         * malloc/arena.c (save_malloc_hook): Likewise.
23678         (save_free_hook): Likewise.
23679         * malloc/hooks.c (malloc_hook_ini): Likewise.
23680         (realloc_hook_ini): Likewise.
23681         (memalign_hook_ini): Likewise.
23682         * malloc/malloc.c (malloc_hook_ini): Likewise.
23683         (realloc_hook_ini): Likewise.
23684         (memalign_hook_ini): Likewise.
23685         (__free_hook): Likewise.
23686         (__malloc_hook): Likewise.
23687         (__realloc_hook): Likewise.
23688         (__memalign_hook): Likewise.
23689         (__libc_malloc): Likewise.
23690         (__libc_free): Likewise.
23691         (__libc_realloc): Likewise.
23692         (__libc_memalign): Likewise.
23693         (__libc_valloc): Likewise.
23694         (__libc_pvalloc): Likewise.
23695         (__libc_calloc): Likewise.
23696         (__posix_memalign): Likewise.
23697         * malloc/morecore.c (__sbrk): Likewise.
23698         (__default_morecore): Likewise.
23699
23700         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23701
23702         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23703         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23704         __malloc_ptrdiff_t.
23705
23706         * malloc/malloc.h (__malloc_size_t): Remove macro.
23707         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23708         __malloc_size_t.
23709         (old_memalign_hook): Likewise.
23710         (old_realloc_hook): Likewise.
23711         (struct hdr): Likewise.
23712         (flood): Likewise.
23713         (mallochook): Likewise.
23714         (memalignhook): Likewise.
23715         (reallochook): Likewise.
23716         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23717         (tr_old_realloc_hook): Likewise.
23718         (tr_old_memalign_hook): Likewise.
23719         (tr_mallochook): Likewise.
23720         (tr_reallochook): Likewise.
23721         (tr_memalignhook): Likewise.
23722
23723 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23724
23725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23726         default_ldbl_pack and using as default implementation.
23727         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23728         implementation.
23729         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23730         redundant definition.
23731         (ldbl_insert_mantissa): Likewise.
23732         (ldbl_canonicalize): Likewise.
23733         (ldbl_nearbyint): Likewise.
23734         (ldbl_pack): Rename to ldbl_pack_ppc.
23735         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23736         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23737         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23738
23739 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23740
23741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23742         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23743         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23744         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23746         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23747         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23748         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23749
23750 2013-03-07  Andreas Jaeger  <aj@suse.de>
23751
23752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23753         bits/mman-linux.h.
23754
23755 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23756
23757         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23758         Include mpa.h and declare __MPEXP.
23759         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23760         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23761         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23762         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23763         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23764         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23765         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23766
23767         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23768         (__slowpow): Use long double EXPL and LOGL functions to
23769         compute POW.
23770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23771         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23772         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23773         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23774         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23775         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23776
23777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23778         intermediate variable to calculate exponent.
23779         (__sqr): Likewise.
23780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23781         Likewise.
23782         (__sqr): Likewise.
23783
23784         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23785         [!NO__SQR]: Define __sqr.
23786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23787         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23788         sysdeps/ieee754/dbl-64/mpa.c.
23789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23790
23791         [BZ #12723]
23792         * posix/Makefile (tests): Add tst-pathconf.
23793         * posix/tst-pathconf.c: New test case.
23794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23795         _PC_PIPE_BUF.
23796         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23797
23798 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23799
23800         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23801
23802 2013-03-06  Andreas Jaeger  <aj@suse.de>
23803
23804         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23805         definition via __MAP_ANONYMOUS.
23806
23807         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23808         it's not part of Linux headers.
23809
23810         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23811         (MAP_HUGE_MASK): Define.
23812
23813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23814         Define.
23815         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23817         Define.
23818         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23819         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23820         Define.
23821         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23823         Define.
23824         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23825
23826         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23827         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23828         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23829         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23830         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23831         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23832
23833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23834         Handle f2fs.
23835
23836         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23837         Handle f2fs and efivarfs.
23838
23839         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23840         f2fs.
23841
23842         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23843         (EFIVARFS_MAGIC): Add.
23844         (F2FS_LINK_MAX): Add.
23845
23846 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23847
23848         * stdio-common/vfprintf.c: Replace __builtin_expect with
23849         __glibc_unlikely.
23850
23851 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23852
23853         [BZ #13550]
23854         * sysdeps/generic/bp-sym.h: Remove file.
23855         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23856         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23857         <bp-sym.h> and <bp-asm.h>.
23858         (__longjmp): Don't use BP_SYM.
23859         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23860         and <bp-asm.h>.
23861         (memcpy): Don't use BP_SYM.
23862         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23863         <bp-sym.h> and <bp-asm.h>.
23864         (memcpy): Don't use BP_SYM.
23865         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23866         <bp-asm.h>.
23867         (memcpy): Don't use BP_SYM.
23868         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23869         <bp-asm.h>.
23870         (memset): Don't use BP_SYM.
23871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23873         (__bzero): Don't use BP_SYM.
23874         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23875         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23876         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23877         <bp-sym.h> and <bp-asm.h>.
23878         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23879         pointers.
23880         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23881         <bp-sym.h> and <bp-asm.h>.
23882         (memcpy): Don't use BP_SYM.
23883         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23884         <bp-sym.h> and <bp-asm.h>.
23885         (memset): Don't use BP_SYM.
23886         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23887         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23888         (__bzero): Don't use BP_SYM.
23889         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23890         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23891         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23892         <bp-sym.h> and <bp-asm.h>.
23893         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23894         pointers.
23895         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23896         <bp-sym.h> and <bp-asm.h>.
23897         (memcpy): Don't use BP_SYM.
23898         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23899         <bp-sym.h> and <bp-asm.h>.
23900         (memset): Don't use BP_SYM.
23901         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23902         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23903         (__bzero): Don't use BP_SYM.
23904         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23905         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23906         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23907         <bp-sym.h> and <bp-asm.h>.
23908         (__memchr): Don't use BP_SYM.
23909         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23910         <bp-sym.h> and <bp-asm.h>.
23911         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23912         pointers.
23913         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23914         <bp-sym.h> and <bp-asm.h>.
23915         (memcpy): Don't use BP_SYM.
23916         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23917         <bp-sym.h> and <bp-asm.h>.
23918         (__mempcpy): Don't use BP_SYM.
23919         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23920         <bp-sym.h> and <bp-asm.h>.
23921         (__memrchr): Don't use BP_SYM.
23922         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23923         <bp-sym.h> and <bp-asm.h>.
23924         (memset): Don't use BP_SYM.
23925         (__bzero): Likewise.
23926         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23927         <bp-sym.h> and <bp-asm.h>.
23928         (__rawmemchr): Don't use BP_SYM.
23929         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23930         <bp-sym.h> and <bp-asm.h>.
23931         (__STRCMP): Don't use BP_SYM.
23932         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23933         <bp-sym.h> and <bp-asm.h>.
23934         (strchr): Don't use BP_SYM.
23935         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23936         <bp-sym.h> and <bp-asm.h>.
23937         (__strchrnul): Don't use BP_SYM.
23938         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23939         <bp-sym.h> and <bp-asm.h>.
23940         (strlen): Don't use BP_SYM.
23941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23942         <bp-sym.h> and <bp-asm.h>.
23943         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23944         pointers.
23945         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23946         <bp-sym.h> and <bp-asm.h>.
23947         (__strnlen): Don't use BP_SYM.
23948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23949         <bp-sym.h> and <bp-asm.h>.
23950         (__GI__setjmp): Don't use BP_SYM.
23951         (_setjmp): Likewise.
23952         (__sigsetjmp): Likewise.
23953         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23954         (L(start_addresses)): Don't use BP_SYM.
23955         (_start): Likewise.
23956         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23957         <bp-asm.h>.
23958         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23959         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23960         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23961         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23962         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23963         <bp-asm.h>.
23964         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23965         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23966         about bounded pointers.
23967         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23968         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23969         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23970         <bp-asm.h>.
23971         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23972         about bounded pointers.  Remove GKM FIXME comments.
23973         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23974         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23975         <bp-asm.h>.
23976         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23977         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23978         Remove GKM FIXME comments.
23979         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23980         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23981         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23982         <bp-asm.h>.
23983         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23984         about bounded pointers.  Remove GKM FIXME comment.
23985         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23986         and <bp-asm.h>.
23987         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23988         pointers.
23989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23990         <bp-sym.h> and <bp-asm.h>.
23991         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23993         <bp-sym.h> and <bp-asm.h>.
23994         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23995         comment.
23996
23997 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23998
23999         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24000         call free(NULL).
24001
24002 2013-03-05  David S. Miller  <davem@davemloft.net>
24003
24004         * po/es.po: Update from translation team.
24005
24006 2013-03-05  Andreas Jaeger  <aj@suse.de>
24007
24008         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24009         <bits/mman-linux.h>.
24010         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24011         is fine.
24012         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24013         <bits/mman-linux.h> to end of file.
24014         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24015         is fine.
24016         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24017         <bits/mman-linux.h> to end of file.
24018         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24019         is fine.
24020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24021         <bits/mman-linux.h> to end of file.
24022
24023         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24024         (MCL_CURRENT, MCL_FUTURE): Define here.
24025
24026 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24027
24028         [BZ #15232]
24029         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24030         attribute_hidden.
24031         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24032
24033 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24034
24035         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24036         fourth parameter needed for rt_sigprocmask syscall.
24037         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24038         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24039         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24040         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24041         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24042         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24043
24044 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24045
24046         [BZ #13550]
24047         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24048         comment about bounded pointers.
24049         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24050         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24051
24052 2013-03-04  Andreas Jaeger  <aj@suse.de>
24053
24054         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24055         common definitions.
24056
24057         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24058         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24059         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24060         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24061         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24062         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24063
24064 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24065
24066         [BZ #15055]
24067         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24068         __ieee754_sqrl instead of __sqrl.
24069
24070 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24071
24072         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24073         * sysdeps/powerpc/fpu_control.h: ... here.
24074         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24075         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24076         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24077         * sysdeps/powerpc/bits/mathinline.h: ... here.
24078
24079 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24080
24081         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24082         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24083         to just [NEED_DL_SYSINFO_DSO].
24084         * elf/dl-support.c: Likewise.
24085         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24086         * elf/rtld.c (dl_main): Likewise.
24087         * elf/setup-vdso.h (setup_vdso): Likewise.
24088         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24089         * sysdeps/unix/sysv/linux/dl-sysdep.c
24090         (_dl_discover_osversion): Likewise.
24091
24092 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24093
24094         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24095         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24096
24097 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098
24099         * NEWS: Mention libm performance improvements and non-x86 PI
24100         futex support.
24101
24102         * csu/libc-start.c (__pthread_initialize_minimal): Change
24103         function arguments.
24104         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24105
24106 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24107
24108         [BZ #13550]
24109         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24110         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24111         <bp-sym.h> and <bp-asm.h>.
24112         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24113         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24114         and <bp-asm.h>.
24115         (memcpy): Don't use BP_SYM.
24116         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24117         <bp-asm.h>.
24118         (__mpn_add_n): Don't use BP_SYM.
24119         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24120         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24121         and <bp-asm.h>.
24122         (__mpn_addmul_1): Don't use BP_SYM.
24123         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24124         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24125         <bp-sym.h>.
24126         (_setjmp): Don't use BP_SYM.
24127         (__novmx_setjmp): Likewise.
24128         (__GI__setjmp): Likewise.
24129         (__vmx_setjmp): Likewise.
24130         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24131         <bp-sym.h>.
24132         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24133         (__bzero): Don't use BP_SYM.
24134         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24135         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24136         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24137         <bp-sym.h> and <bp-asm.h>.
24138         (memcpy): Don't use BP_SYM.
24139         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24140         <bp-sym.h> and <bp-asm.h>.
24141         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24142         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24143         <bp-sym.h> and <bp-asm.h>.
24144         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24145         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24146         <bp-asm.h>.
24147         (__mpn_lshift): Don't use BP_SYM.
24148         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24149         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24150         <bp-asm.h>.
24151         (memset): Don't use BP_SYM.
24152         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24153         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24154         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24155         <bp-asm.h>.
24156         (__mpn_mul_1): Don't use BP_SYM.
24157         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24158         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24159         <bp-sym.h> and <bp-asm.h>.
24160         (memcmp): Don't use BP_SYM.
24161         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24162         <bp-sym.h> and <bp-asm.h>.
24163         (memcpy): Don't use BP_SYM.
24164         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24165         <bp-sym.h> and <bp-asm.h>.
24166         (memset): Don't use BP_SYM.
24167         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24168         <bp-sym.h> and <bp-asm.h>.
24169         (strncmp): Don't use BP_SYM.
24170         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24171         <bp-sym.h> and <bp-asm.h>.
24172         (memcpy): Don't use BP_SYM.
24173         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24174         <bp-sym.h> and <bp-asm.h>.
24175         (memset): Don't use BP_SYM.
24176         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24177         <bp-sym.h> and <bp-asm.h>.
24178         (__memchr): Don't use BP_SYM.
24179         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24180         <bp-sym.h> and <bp-asm.h>.
24181         (memcmp): Don't use BP_SYM.
24182         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24183         <bp-sym.h> and <bp-asm.h>.
24184         (memcpy): Don't use BP_SYM.
24185         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24186         <bp-sym.h> and <bp-asm.h>.
24187         (__mempcpy): Don't use BP_SYM.
24188         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24189         <bp-sym.h> and <bp-asm.h>.
24190         (__memrchr): Don't use BP_SYM.
24191         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24192         <bp-sym.h> and <bp-asm.h>.
24193         (memset): Don't use BP_SYM.
24194         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24195         <bp-sym.h> and <bp-asm.h>.
24196         (__rawmemchr): Don't use BP_SYM.
24197         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24198         <bp-sym.h> and <bp-asm.h>.
24199         (__STRCMP): Don't use BP_SYM.
24200         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24201         <bp-sym.h> and <bp-asm.h>.
24202         (strchr): Don't use BP_SYM.
24203         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24204         <bp-sym.h> and <bp-asm.h>.
24205         (__strchrnul): Don't use BP_SYM.
24206         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24207         <bp-sym.h> and <bp-asm.h>.
24208         (strlen): Don't use BP_SYM.
24209         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24210         <bp-sym.h> and <bp-asm.h>.
24211         (strncmp): Don't use BP_SYM.
24212         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24213         <bp-sym.h> and <bp-asm.h>.
24214         (__strnlen): Don't use BP_SYM.
24215         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24216         <bp-asm.h>.
24217         (__mpn_rshift): Don't use BP_SYM.
24218         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24219         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24220         <bp-sym.h> and <bp-asm.h>.
24221         (__sigsetjmp): Don't use BP_SYM.
24222         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24223         (L(start_addresses)): Don't use BP_SYM.
24224         (_start): Likewise.
24225         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24226         <bp-asm.h>.
24227         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24228         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24229         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24230         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24231         <bp-asm.h>.
24232         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24233         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24234         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24235         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24236         <bp-asm.h>.
24237         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24238         comments.
24239         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24240         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24241         <bp-asm.h>.
24242         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24243         FIXME comments.
24244         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24245         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24246         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24247         <bp-asm.h>.
24248         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24249         comment.
24250         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24251         and <bp-asm.h>.
24252         (strncmp): Don't use BP_SYM,
24253         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24254         <bp-asm.h>.
24255         (__mpn_sub_n): Don't use BP_SYM.
24256         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24257         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24258         and <bp-asm.h>.
24259         (__mpn_submul_1): Don't use BP_SYM.
24260         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24262         <bp-sym.h> and <bp-asm.h>.
24263         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24265         <bp-sym.h> and <bp-asm.h>.
24266         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24267         comment.
24268
24269 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24270
24271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24272         Use ZK to minimize writes to Z.
24273         (sub_magnitudes): Simplify code a bit.
24274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24275         Use ZK to minimize writes to Z.
24276         (sub_magnitudes): Simplify code a bit.
24277
24278 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24279
24280         * csu/gmon-start.c: Add special exception to license text.
24281
24282 2013-02-27  Richard Henderson  <rth@redhat.com>
24283
24284         * scripts/config.guess: Update from config.git.
24285         * scripts/config.sub: Likewise.
24286
24287 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24288
24289         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24290
24291         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24292
24293         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24294
24295         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24296
24297         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24298
24299 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24300
24301         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24302         [$(build-shared = yes].
24303
24304 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24305
24306         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24307         (__mul): Reduce iterations for calculating mantissa.
24308
24309         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24310         MPTWO.
24311         (__mpranred): Likewise.
24312
24313         [BZ #15160]
24314         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24315         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24316
24317 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24318
24319         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24320         Define __attribute__.
24321
24322 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24323
24324         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24325         unused.
24326         * posix/regex_internal.h (__attribute): Remove.
24327         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24328         (re_string_context_at): Likewise.
24329         (bitset_not): Use __attribute__ and mark function as possibly
24330         unused.
24331         (bitset_merge): Likewise.
24332         (bitset_mask): Likewise.
24333         (re_string_char_size_at): Likewise.
24334         (re_string_wchar_at): Likewise.
24335         (re_string_elem_size_at): Likewise.
24336
24337 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24338
24339         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24340         code.
24341         (cc32): Likewise.
24342
24343         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24344         (__acr): Likewise.
24345         (__cpy): Likewise.
24346         (norm): Likewise.
24347         (denorm): Likewise.
24348         (__dbl_mp): Likewise.
24349         (add_magnitudes): Likewise.
24350         (sub_magnitudes): Likewise.
24351         (__mul): Likewise.
24352         (__inv): Likewise.
24353
24354         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24355         style.
24356
24357         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24358         style.
24359
24360         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24361         code.
24362
24363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24364         up changes with default code.
24365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24366         Likewise.
24367
24368 2013-02-24  Allan McRae  <allan@archlinux.org>
24369
24370         * manual/socket.texi (The Internet Namespace): Order menu items
24371         to match that in the file.
24372
24373         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24374         node listing of the info page menu.
24375
24376 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24377
24378         [BZ #13550]
24379         * sysdeps/i386/bp-asm.h: Remove file.
24380         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24381         (PARMS): Do not use macros from bp-asm.h.
24382         (S1): Likewise.
24383         (S2): Likewise.
24384         (SIZE): Likewise.
24385         (__mpn_add_n): Do not use BP_SYM
24386         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24387         "bp-asm.h".
24388         (PARMS): Do not use macros from bp-asm.h.
24389         (S1): Likewise.
24390         (SIZE): Likewise.
24391         (__mpn_addmul_1): Do not use BP_SYM
24392         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24393         "bp-asm.h".
24394         (PARMS): Do not use macros from bp-asm.h.
24395         (SIGMSK): Likewise.
24396         (_setjmp): Likewise.  Do not use BP_SYM.
24397         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24398         "bp-asm.h".
24399         (PARMS): Do not use macros from bp-asm.h.
24400         (SIGMSK): Likewise.
24401         (setjmp): Likewise.  Do not use BP_SYM.
24402         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24403         "bp-asm.h".
24404         (PARMS): Do not use macros from bp-asm.h.
24405         (__frexp): Do not use BP_SYM.
24406         (frexp): Likewise.
24407         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24408         "bp-asm.h".
24409         (PARMS): Do not use macros from bp-asm.h.
24410         (__frexpf): Do not use BP_SYM.
24411         (frexpf): Likewise.
24412         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24413         "bp-asm.h".
24414         (PARMS): Do not use macros from bp-asm.h.
24415         (__frexpl): Do not use BP_SYM.
24416         (frexpl): Likewise.
24417         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24418         "bp-asm.h".
24419         (PARMS): Do not use macros from bp-asm.h.
24420         (__remquo): Do not use BP_SYM.
24421         (remquo): Likewise.
24422         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24423         "bp-asm.h".
24424         (PARMS): Do not use macros from bp-asm.h.
24425         (__remquof): Do not use BP_SYM.
24426         (remquof): Likewise.
24427         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24428         "bp-asm.h".
24429         (PARMS): Do not use macros from bp-asm.h.
24430         (__remquol): Do not use BP_SYM.
24431         (remquol): Likewise.
24432         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24433         "bp-asm.h".
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (DEST): Likewise.
24436         (SRC): Likewise.
24437         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24438         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24439         "bp-asm.h".
24440         (PARMS): Do not use macros from bp-asm.h.
24441         (strlen): Do not use BP_SYM.
24442         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24443         "bp-asm.h".
24444         (PARMS): Do not use macros from bp-asm.h.
24445         (S1): Likewise.
24446         (S2): Likewise.
24447         (SIZE): Likewise.
24448         (__mpn_add_n): Do not use BP_SYM.
24449         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24450         "bp-asm.h".
24451         (PARMS): Do not use macros from bp-asm.h.
24452         (S1): Likewise.
24453         (SIZE): Likewise.
24454         (__mpn_addmul_1): Do not use BP_SYM.
24455         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24456         weak_alias.
24457         (bzero): Likewise.
24458         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24459         "bp-asm.h".
24460         (PARMS): Do not use macros from bp-asm.h.
24461         (S): Likewise.
24462         (SIZE): Likewise.
24463         (__mpn_lshift): Do not use BP_SYM.
24464         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24465         "bp-asm.h".
24466         (PARMS): Do not use macros from bp-asm.h.
24467         (DEST): Likewise.
24468         (SRC): Likewise.
24469         (LEN): Likewise.
24470         (memcpy): Likewise.  Do not use BP_SYM.
24471         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24472         libc_hidden_def and weak_alias.
24473         (mempcpy): Do not use BP_SYM in weak_alias.
24474         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24475         "bp-asm.h".
24476         (PARMS): Do not use macros from bp-asm.h.
24477         (DEST): Likewise.
24478         (LEN): Likewise.
24479         [!BZERO_P] (CHR): Likewise.
24480         (memset): Likewise.  Do not use BP_SYM.
24481         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24482         "bp-asm.h".
24483         (PARMS): Do not use macros from bp-asm.h.
24484         (S1): Likewise.
24485         (SIZE): Likewise.
24486         (__mpn_mul_1): Do not use BP_SYM.
24487         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24488         "bp-asm.h".
24489         (PARMS): Do not use macros from bp-asm.h.
24490         (S): Likewise.
24491         (SIZE): Likewise.
24492         (__mpn_rshift): Do not use BP_SYM.
24493         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24494         "bp-asm.h".
24495         (PARMS): Do not use macros from bp-asm.h.
24496         (STR): Likewise.
24497         (CHR): Likewise.
24498         (strchr): Likewise.  Do not use BP_SYM.
24499         (index): Do not use BP_SYM in weak_alias.
24500         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24501         "bp-asm.h".
24502         (PARMS): Do not use macros from bp-asm.h.
24503         (DEST): Likewise.
24504         (SRC): Likewise.
24505         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24506         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24507         "bp-asm.h".
24508         (PARMS): Do not use macros from bp-asm.h.
24509         (strlen): Do not use BP_SYM.
24510         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24511         "bp-asm.h".
24512         (PARMS): Do not use macros from bp-asm.h.
24513         (S1): Likewise.
24514         (S2): Likewise.
24515         (SIZE): Likewise.
24516         (__mpn_sub_n): Do not use BP_SYM.
24517         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24518         "bp-asm.h".
24519         (PARMS): Do not use macros from bp-asm.h.
24520         (S1): Likewise.
24521         (SIZE): Likewise.
24522         (__mpn_submul_1): Do not use BP_SYM.
24523         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24524         "bp-asm.h".
24525         (PARMS): Do not use macros from bp-asm.h.
24526         (S1): Likewise.
24527         (S2): Likewise.
24528         (SIZE): Likewise.
24529         (__mpn_add_n): Do not use BP_SYM.
24530         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24531         weak_alias.
24532         (bzero): Likewise.
24533         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24534         "bp-asm.h".
24535         (PARMS): Do not use macros from bp-asm.h.
24536         (BLK2): Likewise.
24537         (LEN): Likewise.
24538         (memcmp): Do not use BP_SYM.
24539         (bcmp): Do not use BP_SYM in weak_alias.
24540         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24541         "bp-asm.h".
24542         (PARMS): Do not use macros from bp-asm.h.
24543         (DEST): Likewise.
24544         (SRC): Likewise.
24545         (LEN): Likewise.
24546         (memcpy): Likewise.  Do not use BP_SYM.
24547         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24548         "bp-asm.h".
24549         (PARMS): Do not use macros from bp-asm.h.
24550         (DEST): Likewise.
24551         (SRC): Likewise.
24552         (LEN): Likewise.
24553         (memmove): Likewise.  Do not use BP_SYM.
24554         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24555         "bp-asm.h".
24556         (PARMS): Do not use macros from bp-asm.h.
24557         (DEST): Likewise.
24558         (SRC): Likewise.
24559         (LEN): Likewise.
24560         (__mempcpy): Likewise.  Do not use BP_SYM.
24561         (mempcpy): Do not use BP_SYM in weak_alias.
24562         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24563         "bp-asm.h".
24564         (PARMS): Do not use macros from bp-asm.h.
24565         (DEST): Likewise.
24566         (LEN): Likewise.
24567         [!BZERO_P] (CHR): Likewise.
24568         (memset): Likewise.  Do not use BP_SYM.
24569         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24570         "bp-asm.h".
24571         (PARMS): Do not use macros from bp-asm.h.
24572         (STR2): Likewise.
24573         (strcmp): Do not use BP_SYM.
24574         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24575         "bp-asm.h".
24576         (PARMS): Do not use macros from bp-asm.h.
24577         (STR): Likewise.
24578         (DELIM): Likewise.
24579         [USE_AS_STRTOK_R] (SAVE): Likewise.
24580         (FUNCTION): Likewise.  Do not use BP_SYM.
24581         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24582         aliases.
24583         (strtok_r): Likewise.
24584         (__GI___strtok_r): Likewise.
24585         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24586         (PARMS): Do not use macros from bp-asm.h.
24587         (S): Likewise.
24588         (SIZE): Likewise.
24589         (__mpn_lshift): Do not use BP_SYM.
24590         * sysdeps/i386/memchr.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         (__memchr): Do not use BP_SYM.
24595         (memchr): Do not use BP_SYM in weak_alias.
24596         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24597         (PARMS): Do not use macros from bp-asm.h.
24598         (BLK2): Likewise.
24599         (LEN): Likewise.
24600         (memcmp): Do not use BP_SYM.
24601         (bcmp): Do not use BP_SYM in weak_alias.
24602         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24603         (PARMS): Do not use macros from bp-asm.h.
24604         (S1): Likewise.
24605         (SIZE): Likewise.
24606         (__mpn_mul_1): Do not use BP_SYM.
24607         * sysdeps/i386/rawmemchr.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         (CHR): Likewise.
24612         (__rawmemchr): Do not use BP_SYM.
24613         (rawmemchr): Do not use BP_SYM in weak_alias.
24614         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24615         (PARMS): Do not use macros from bp-asm.h.
24616         (S): Likewise.
24617         (SIZE): Likewise.
24618         (__mpn_rshift): Do not use BP_SYM.
24619         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24620         (PARMS): Do not use macros from bp-asm.h.
24621         (SIGMSK): Likewise.
24622         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24623         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24624         (_start): Do not use BP_SYM.
24625         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24626         (PARMS): Do not use macros from bp-asm.h.
24627         (DEST): Likewise.
24628         (SRC): Likewise.
24629         (__stpcpy): Likewise.  Do not use BP_SYM.
24630         (stpcpy): Do not use BP_SYM in weak_alias.
24631         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24632         "bp-asm.h".
24633         (PARMS): Do not use macros from bp-asm.h.
24634         (DEST): Likewise.
24635         (SRC): Likewise.
24636         (LEN): Likewise.
24637         (__stpncpy): Likewise.  Do not use BP_SYM.
24638         (stpncpy): Do not use BP_SYM in weak_alias.
24639         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24640         (PARMS): Do not use macros from bp-asm.h.
24641         (STR): Likewise.
24642         (CHR): Likewise.
24643         (strchr): Likewise.  Do not use BP_SYM.
24644         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24645         "bp-asm.h".
24646         (PARMS): Do not use macros from bp-asm.h.
24647         (STR): Likewise.
24648         (CHR): Likewise.
24649         (__strchrnul): Likewise.  Do not use BP_SYM.
24650         (strchrnul): Do not use BP_SYM in weak_alias.
24651         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24652         "bp-asm.h".
24653         (PARMS): Do not use macros from bp-asm.h.
24654         (STOP): Likewise.
24655         (strcspn): Do not use BP_SYM.
24656         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24657         "bp-asm.h".
24658         (PARMS): Do not use macros from bp-asm.h.
24659         (STR): Likewise.
24660         (STOP): Likewise.
24661         (strpbrk): Likewise.  Do not use BP_SYM.
24662         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24663         "bp-asm.h".
24664         (PARMS): Do not use macros from bp-asm.h.
24665         (STR): Likewise.
24666         (CHR): Likewise.
24667         (strrchr): Likewise.  Do not use BP_SYM.
24668         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24669         (PARMS): Do not use macros from bp-asm.h.
24670         (SKIP): Likewise.
24671         (strspn): Do not use BP_SYM.
24672         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24673         (PARMS): Do not use macros from bp-asm.h.
24674         (STR): Likewise.
24675         (DELIM): Likewise.
24676         (SAVE): Likewise.
24677         (FUNCTION): Likewise.  Do not use BP_SYM.
24678         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24679         aliases.
24680         (strtok_r): Likewise.
24681         (__GI___strtok_r): Likewise.
24682         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24683         (PARMS): Do not use macros from bp-asm.h.
24684         (S1): Likewise.
24685         (S2): Likewise.
24686         (SIZE): Likewise.
24687         (__mpn_sub_n): Do not use BP_SYM.
24688         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24689         "bp-asm.h".
24690         (PARMS): Do not use macros from bp-asm.h.
24691         (S1): Likewise.
24692         (SIZE): Likewise.
24693         (__mpn_submul_1): Do not use BP_SYM.
24694         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24695         <bp-sym.h>.
24696         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24697         and <bp-asm.h>.
24698         (PARMS): Do not use macros from bp-asm.h.
24699         (FLAGS): Likewise.
24700         (PTID): Likewise.
24701         (TLS): Likewise.
24702         (CTID): Likewise.
24703         (__clone): Do not use BP_SYM.
24704         (clone): Do not use BP_SYM in weak_alias.
24705         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24706         and <bp-asm.h>.
24707         (PARMS): Do not use macros from bp-asm.h.
24708         (LEN): Likewise.
24709         (__mmap64): Do not use BP_SYM.
24710         (mmap64): Do not use BP_SYM in weak_alias.
24711         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24712         <bp-sym.h> and <bp-asm.h>.
24713         (PARMS): Do not use macros from bp-asm.h.
24714         (__posix_fadvise64_l64): Do not use BP_SYM.
24715         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24716         (PARMS): Do not use macros from bp-asm.h.
24717         (NSOPS): Likewise.
24718         (semtimedop): Do not use BP_SYM.
24719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24720         and <bp-asm.h>.
24721
24722 2013-02-21  Allan McRae  <allan@archlinux.org>
24723
24724         * manual/message.texi (Charset conversion in gettext):
24725         Move @end statement to beginning of line.
24726
24727 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24728
24729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24730         static.
24731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24732         Likewise.
24733
24734         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24735         (denorm): Likewise.
24736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24738
24739 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24740
24741         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24742         tail-call to the resolved function if pltexit isn't needed.
24743
24744 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24745
24746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24747         or Y being zero as being unlikely.
24748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24749         Likewise.
24750
24751 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24752
24753         * manual/nss.texi (System Databases and Name Service Switch):
24754         Remove frobnicate @pxref.
24755
24756 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24757
24758         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24759         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24760
24761 2013-02-20  Petr Machata  <pmachata@redhat.com>
24762
24763         * elf/elf.h (R_ARM_TARGET1): New macro.
24764         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24765         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24766         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24767         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24768         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24769         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24770         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24771         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24772         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24773         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24774         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24775         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24776         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24777         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24778         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24779         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24780         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24781         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24782         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24783         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24784         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24785         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24786         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24787         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24788         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24789         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24790         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24791         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24792         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24793         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24794         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24795         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24796         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24797         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24798         (R_ARM_THM_GOT_BREL12): Likewise.
24799         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24800         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24801         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24802         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24803         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24804         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24805         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24806         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24807         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24808
24809 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24810
24811         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24812         __attribute_used__ to __attribute__ ((unused)).
24813
24814 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24815
24816         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24817         powerpc mpa.c.
24818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24819         comment formatting.
24820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24821
24822 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24823
24824         [BZ #13550]
24825         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24826         Remove macro.
24827         (ENTER): Remove both macro definitions.
24828         (LEAVE): Likewise.
24829         (CHECK_BOUNDS_LOW): Likewise.
24830         (CHECK_BOUNDS_HIGH): Likewise.
24831         (CHECK_BOUNDS_BOTH): Likewise.
24832         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24833         (RETURN_BOUNDED_POINTER): Likewise.
24834         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24835         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24836         (POP_ERRNO_LOCATION_RETURN): Likewise.
24837         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24838         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24839         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24840         macros.
24841         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24842         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24843         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24844         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24845         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24846         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24847         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24848         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24849         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24850         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24851         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24852         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24853         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24854         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24855         removed macros.
24856         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24857         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24858         macros.
24859         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24860         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24861         * sysdeps/i386/i586/memset.S (memset): Likewise.
24862         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24863         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24864         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24865         macros.
24866         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24867         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24868         Change uses of L(2) to L(out).
24869         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24870         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24871         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24872         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24873         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24874         removed macros.
24875         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24876         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24877         macros.
24878         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24879         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24880         (RETURN): Do not use macro LEAVE.
24881         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24882         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24883         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24884         * sysdeps/i386/i686/memset.S (memset): Likewise.
24885         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24886         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24887         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24888         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24889         Likewise.
24890         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24891         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24892         L(1_2) and L(1_3) into L(1).
24893         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24894         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24895         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24896         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24897         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24898         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24899         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24900         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24901         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24902         macros.
24903         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24904         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24905         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24906         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24907         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24908         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24909         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24910         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24911         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24912         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24913         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24914         * sysdeps/i386/strspn.S (strspn): Likewise.
24915         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24916         conditional code.
24917         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24918         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24919         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24920         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24921         L(1_3) into L(1_1).
24922         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24923         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24924         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24925         macros.
24926         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24927
24928 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24929
24930         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24931         macro.
24932
24933 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934
24935         * math/atest-exp.c (exp_mpn): Remove ROUND.
24936         * math/atest-exp2.c (exp_mpn): Likewise.
24937         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24938
24939         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24940         * stdlib/tst-tls-atexit-lib.c: Likewise.
24941         * stdlib/tst-tls-atexit.c: Likewise.
24942
24943 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24944
24945         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24946         and __attribute_alloc_size__.
24947
24948 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24949
24950         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24951         __attribute_alloc_size__.
24952         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24953         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24954
24955 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24956
24957         * include/programs/xmalloc.h: New file.
24958         * catgets/gencat.c: Include it.
24959         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24960         * elf/pldd.c: Likewise.
24961         * iconv/iconv_charmap.c: Likewise.
24962         * iconv/iconvconfig.c: Likewise.
24963         * iconv/strtab.c: Likewise.
24964         * locale/programs/locale.c: Likewise.
24965         * locale/programs/localedef.h: Likewise.
24966         * locale/programs/simple-hash.c: Likewise.
24967         * nscd/nscd.h: Likewise.
24968         * nss/makedb.c: Likewise.
24969         * sysdeps/generic/ldconfig.h: Likewise.
24970
24971 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972
24973         * Versions.def: Add GLIBC_2.18.
24974         * include/link.h (struct link_map): New member l_tls_dtor_count.
24975         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24976         (__call_tls_dtors): Likewise.
24977         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24978         __cxa_thread_atexit_impl.
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24980         Likewise.
24981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24982         Likewise.
24983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24984         Likewise.
24985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24986         Likewise.
24987         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24989         Likewise.
24990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24991         Likewise.
24992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24994         Likewise.
24995         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24996         (tests): Add test case tst-tls-atexit.
24997         (modules-names): Add shared library for tst-tls-atexit.
24998         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24999         (GLIBC_PRIVATE): Add __call_tls_dtors.
25000         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25001         for libstdc++.
25002         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25003         * stdlib/tst-tls-atexit.c: New test case.
25004         * stdlib/tst-tls-atexit-lib.c: New test case.
25005
25006         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25007
25008         * elf/Versions (ld): Add _dl_find_dso_for_object.
25009         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25010         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25011         (dl_open_worker): Use _dl_find_dso_for_object.
25012         * elf/dl-sym.c (do_sym): Likewise.
25013         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25014
25015 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25016
25017         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25018         Syntactic changes only.
25019         (_dl_runtime_profile): Do a tail-call to the resolved function.
25020
25021 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25022
25023         [BZ #13550]
25024         * sysdeps/x86_64/bp-asm.h: Remove file.
25025         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25026         <bp-sym.h> and <bp-asm.h>.
25027         (__clone): Do not use BP_SYM.
25028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25029         <bp-sym.h> and <bp-asm.h>.
25030         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25031         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25032         "bp-asm.h".
25033         (_setjmp): Do not use BP_SYM.
25034         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25035         "bp-asm.h".
25036         (setjmp): Do not use BP_SYM.
25037         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25038         libc_hidden_def.
25039         (mempcpy): Do not use BP_SYM in weak_alias.
25040         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25041         "bp-asm.h".
25042         (strchr): Do not use BP_SYM.
25043         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25044         "bp-asm.h".
25045         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25046         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25047         (_start): Do not use BP_SYM.
25048         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25049         "bp-asm.h".
25050         (strcat): Do not use BP_SYM.
25051         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25052         "bp-asm.h".
25053         (STRCMP): Do not use BP_SYM.
25054         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25055         "bp-asm.h".
25056         (STRCPY): Do not use BP_SYM.
25057         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25058         "bp-asm.h".
25059         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25060         "bp-asm.h".
25061         (FUNCTION): Do not use BP_SYM.
25062         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25063         weak_alias.
25064         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25065
25066 2013-02-17  Andreas Jaeger  <aj@suse.de>
25067
25068         * time/Versions: Sort entries.
25069         * string/Versions: Likewise.
25070         * resolv/Versions: Likewise.
25071         * posix/Versions: Likewise.
25072         * iconv/Versions: Likewise.
25073         * elf/Versions: Likewise.
25074         * wcsmbs/Versions: Likewise.
25075
25076 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25077
25078         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25079         loop termination condition.
25080
25081         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25082         variable to calculate EZ.
25083         (__sqr): Likewise.
25084
25085         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25086         the lower precision input.
25087
25088 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25089
25090         [BZ #13550]
25091         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25092         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25093         (run-via-rtld-prefix): Do not handle %-bp tests.
25094         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25095         (all-object-suffixes): Remove .ob.
25096         (bppfx): Remove variable.
25097         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25098         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25099         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25100         [$(build-bounded) = yes] (libtype.ob): Likewise.
25101         * Makerules (elide-routines.ob): Remove variable.
25102         (do-tests-clean): Do not handle *-bp.out.
25103         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25104         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25105         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25106         (tests): Do not include $(tests-bp.out).
25107         (xtests): Do not include $(xtests-bp.out).
25108         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25109         [$(build-bounded) = yes] ($(addprefix
25110         $(objpfx),$(binaries-bounded))): Remove rule.
25111         ($(objpfx)%-bp.out): Remove rule.
25112         * config.make.in (build-bounded): Remove variable.
25113         * crypt/Makefile [$(build-bounded) = yes]
25114         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25115         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25116         append to variable.
25117         [$(build-bounded) = yes] (install-lib): Likewise.
25118         [$(build-bounded) = yes] (generated): Likewise.
25119         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25120         Remove rule.
25121         * intl/Makefile [$(build-bounded) = yes]
25122         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25123         * math/Makefile [$(build-bounded) = yes]
25124         ($(tests:%=$(objpfx)%-bp): Likewise.
25125         * misc/Makefile [$(build-bounded) = yes]
25126         ($(objpfx)tst-tsearch-bp): Likewise.
25127         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25128         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25129         Remove dependency.
25130         * string/Makefile (o-objects.ob): Remove variable.
25131         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25132         (CFLAGS-.ob): Remove variable.
25133         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25134         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25135         both definitions of variable.
25136         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25137         (ASFLAGS-.ob): Remove variable.
25138
25139 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25140
25141         [BZ #13550]
25142         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25143         Remove __BOUNDED_POINTERS__ from condition.
25144         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25145         * string/bits/string2.h [!__NO_STRING_INLINES &&
25146         !__BOUNDED_POINTERS__]: Likewise.
25147         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25148         Likewise.
25149         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25150         Remove conditional code.
25151         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25152         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25153         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25154         condition.
25155
25156         [BZ #13550]
25157         * csu/libc-start.c: Do not include <bp-sym.h>.
25158         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25159         * elf/dl-open.c: Do not include <bp-sym.h>.
25160         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25161         * math/fegetenv.c: Do not include <bp-sym.h>.
25162         (fegetenv): Do not use BP_SYM in versioned symbols.
25163         * nptl/sysdeps/pthread/bits/libc-lockP.h
25164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25165         <bp-sym.h>.
25166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25167         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25169         (__pthread_mutex_destroy): Likewise.
25170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25171         (__pthread_mutex_lock): Likewise.
25172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25173         (__pthread_mutex_trylock): Likewise.
25174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25175         (__pthread_mutex_unlock): Likewise.
25176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25177         (__pthread_mutexattr_init): Likewise.
25178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25179         (__pthread_mutexattr_destroy): Likewise.
25180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25181         (__pthread_mutexattr_settype): Likewise.
25182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25183         (__pthread_rwlock_init): Likewise.
25184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25185         (__pthread_rwlock_destroy): Likewise.
25186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25187         (__pthread_rwlock_rdlock): Likewise.
25188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25189         (__pthread_rwlock_tryrdlock): Likewise.
25190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25191         (__pthread_rwlock_wrlock): Likewise.
25192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25193         (__pthread_rwlock_trywrlock): Likewise.
25194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25195         (__pthread_rwlock_unlock): Likewise.
25196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25197         (__pthread_key_create): Likewise.
25198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25199         (__pthread_setspecific): Likewise.
25200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25201         (__pthread_getspecific): Likewise.
25202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25203         Likewise.
25204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25205         (_pthread_cleanup_push_defer): Likewise.
25206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25207         (_pthread_cleanup_pop_restore): Likewise.
25208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25209         (pthread_setcancelstate): Likewise.
25210         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25211         <bp-sym.h>.
25212         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25213         (memchr): Do not use BP_SYM in weak_alias.
25214         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25215         (fegetenv): Do not use BP_SYM in versioned symbols.
25216         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25217         (fesetenv): Do not use BP_SYM in versioned symbols.
25218         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25219         (feupdateenv): Do not use BP_SYM in versioned symbols.
25220         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25221         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25222         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25223         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25224         (open64): Do not use BP_SYM in weak_alias.
25225         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25226         (fegetenv): Do not use BP_SYM in versioned symbols.
25227         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25228         (fesetenv): Do not use BP_SYM in versioned symbols.
25229         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25230         (feupdateenv): Do not use BP_SYM in versioned symbols.
25231         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25232         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25233         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25234         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25235         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25236         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25237         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25238         <bp-sym.h>.
25239         (__libc_start_main): Do not use BP_SYM.
25240
25241 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25242
25243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25244         redundant return line.
25245         (norm): Likewise.
25246         (denorm): Likewise.
25247         (dbl_mp): Likewise.
25248         (sub_magnitudes): Likewise.
25249         (__add): Likewise.
25250         (__sub): Likewise.
25251         (__mul): Likewise.
25252         (__inv): Likewise.
25253         (__dvd): Likewise.
25254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25255         (norm): Likewise.
25256         (denorm): Likewise.
25257         (dbl_mp): Likewise.
25258         (sub_magnitudes): Likewise.
25259         (__add): Likewise.
25260         (__sub): Likewise.
25261         (__mul): Likewise.
25262         (__inv): Likewise.
25263         (__dvd): Likewise.
25264
25265         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25266         instead of __mul.
25267         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25268         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25269         (cc32): Likewise.
25270
25271         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25272         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25274         of __mul for squares.
25275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25276         function
25277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25278         Likewise.
25279         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25280         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25281
25282 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25283
25284         [BZ #13550]
25285         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25286         code.
25287         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25288         prototype or function definition.  Rename ubp_* variables and
25289         parameters.  Remove argv definitions conditional on
25290         [__BOUNDED_POINTERS__].
25291         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25292         * elf/dl-runtime.c (_dl_fixup): Likewise.
25293         * include/set-hooks.h (RUN_HOOK): Likewise.
25294         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25295         definition.
25296         * string/strcpy.c (strcpy): Do not use __unbounded.
25297         * sysdeps/generic/frame.h (struct layout): Likewise.
25298         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25299         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25300         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25301         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25302         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25303         (__backtrace): Likewise.
25304         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25305         use __ptrvalue.
25306         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25307         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25308         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25309         Likewise.
25310         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25311         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25312         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25313         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25314         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25315         Do not use __unbounded.
25316         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25317         Rename __unboundedrlimits parameter to rlimits in prototype.
25318         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25319         Do not use __unbounded.
25320         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25321         not use __ptrvalue.
25322         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25323         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25324         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25325         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25326         __ptrvalue or __unbounded.
25327         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25328         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25329         use __unbounded.
25330         (__new_msgctl): Do not use __ptrvalue.
25331         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25332         __unbounded.
25333         (__libc_msgrcv): Do not use __ptrvalue.
25334         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25335         startup_info): Do not use __unbounded.
25336         (__libc_start_main): Likewise.  Rename ubp_* variables and
25337         parameters.  Remove argv definitions conditional on
25338         [__BOUNDED_POINTERS__].
25339         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25340         __ptrvalue.
25341         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25342         use __unbounded.
25343         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25344         or __ptrvalue.
25345         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25346         use __unbounded.
25347         (__new_shmctl): Do not use __ptrvalue.
25348         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25349         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25350         Likewise.
25351         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25352         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25353         (__libc_sigaction): Likewise.
25354         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25355         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25356         Likewise.
25357         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25358
25359 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25360
25361         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25362
25363         * string/mempcpy.c: Implement by calling memcpy.
25364
25365 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25366
25367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25368
25369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25370         evaluation.
25371
25372         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25373         values in the mantissa.
25374
25375         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25376         minimize writes to Z.
25377         (sub_magnitudes): Simplify code a bit.
25378
25379 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25380
25381         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25382         from the message.  The linker prefixes all warnings with that already.
25383
25384 2013-02-12  Andreas Schwab  <schwab@suse.de>
25385
25386         [BZ #15078]
25387         * posix/regexec.c (extend_buffers): Add parameter min_len.
25388         (check_matching): Pass minimum needed length.
25389         (clean_state_log_if_needed): Likewise.
25390         (get_subexp): Likewise.
25391         * posix/Makefile (tests): Add bug-regex34.
25392         (bug-regex34-ENV): Define.
25393         * posix/bug-regex34.c: New file.
25394
25395         [BZ #11561]
25396         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25397         elements compare against the byte sequence of it, not its name.
25398         * posix/Makefile (tests): Add bug-regex35.
25399         (bug-regex35-ENV): Define.
25400         * posix/bug-regex35.c: New file.
25401
25402 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25403
25404         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25405         comment.
25406         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25407         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25408         (CHECK_EOL): Add undef.
25409
25410 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25411
25412         * bits/stdlib-bsearch.h: New file.
25413         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25414         * stdlib/stdlib.h: Likewise.
25415
25416 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25417
25418         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25419         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25420         declaration.
25421         * manual/search.texi (Array Search Function): Add missing const in
25422         lfind prototype.
25423         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25424         declaration to use rlim_t.
25425         (Basic Scheduling Functions): Remove erroneous const from
25426         sched_getparam prototype.  Remove erroneous * from
25427         sched_get_priority_max and sched_get_priority_min prototypes.
25428         (Resource Usage): Fix summary @comment on vtimes to refer to
25429         sys/vtimes.h rather than vtimes.h.
25430         Add missing *s in vtimes prototype.
25431         (Limits on Resources): Fix ulimit prototype to return long int.
25432         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25433         prototypes to use long int rather than double.
25434         (BSD Random): Fix initstate and setstate to use char *, not void *.
25435         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25436         prototype to make second argument 'struct aiocb64 *const[]'.
25437         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25438         (Status of AIO Operations): Remove erroneous const in aio_return and
25439         aio_return64 prototypes.
25440         (Synchronizing I/O): Fix sync prototype to return void.
25441         * manual/startup.texi (Suboptions): Remove an erroneous const in
25442         getsubopt prototype.
25443         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25444         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25445         use size_t rather than int.
25446         (Scanning All Users): Likewise for getpwent_r.
25447         (Setting Groups): Add missing const to setgroups prototype.
25448         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25449         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25450         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25451         'const void *' rather than 'const char *'.
25452         (Host Address Functions): Likewise for inet_ntop.
25453         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25454         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25455         ssize_t for return value.
25456         (Sending Data): Likewise for send, sendto, sendmsg.
25457         (Socket Option Functions): Add a missing const in setsockopt prototype.
25458         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25459         use wchar_t for the argument.
25460         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25461         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25462         take no arguments.
25463         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25464         double/float/long double for second argument.
25465         Fix return types of significand, significandf, significandl.
25466         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25467         argument in fchmod prototype.
25468         (File Owner): Use uid_t and gid_t in fchown prototype.
25469         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25470         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25471         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25472         use 'const struct dirent **' as argument types to CMP function pointer
25473         argument.
25474         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25475         (File Times): Fix summary magic @comment for struct utimbuf and utime
25476         to refer to utime.h, not time.h.
25477         * manual/string.texi (Argz Functions): Add missing const in
25478         argz_extract and argz_next prototypes.
25479         (Finding Tokens in a String): Likewise for basename.
25480         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25481         (Copying and Concatenation): Fix typo in wmemmove prototype.
25482         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25483         (Signal Stack): Remove erroneous const in sigstack prototype.
25484         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25485         prototype.
25486         (Simple Calendar Time): Likewise for stime.
25487         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25488         prototype.
25489         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25490         say sys/sysctl.h instead.
25491         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25492         and vsyslog prototypes.
25493
25494 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25495
25496         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25497         Remove.
25498
25499 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25500
25501         * misc/sys/mman.h: Fix typo in mremap comment.
25502
25503 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25504
25505         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25506         the '\0' terminator.
25507
25508 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25509
25510         [BZ #13550]
25511         * debug/segfault.c: Don't include <bp-checks.h>.
25512         * sysdeps/generic/bp-checks.h: Remove file.
25513         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25514         (__GETDENTS): Don't use CHECK_N.
25515         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25516         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25517         (__getgroups): Don't use CHECK_N.
25518         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25519         (setgroups): Don't use CHECK_N.
25520         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25521         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25522         (__libc_msgrcv): Don't use CHECK_N.
25523         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25524         (__libc_msgsnd): Don't use CHECK_N.
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25526         <bp-checks.h>.
25527         (__libc_pread): Don't use CHECK_N.
25528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25529         include <bp-checks.h>.
25530         (__libc_pread64): Don't use CHECK_N.
25531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25532         include <bp-checks.h>.
25533         (__libc_pwrite): Don't use CHECK_N.
25534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25535         include <bp-checks.h>.
25536         (__libc_pwrite64): Don't use CHECK_N.
25537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25538         <bp-checks.h>.
25539         (__libc_pread): Don't use CHECK_N.
25540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25541         include <bp-checks.h>.
25542         (__libc_pread64): Don't use CHECK_N.
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25544         include <bp-checks.h>.
25545         (__libc_pwrite): Don't use CHECK_N.
25546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25547         include <bp-checks.h>.
25548         (__libc_pwrite64): Don't use CHECK_N.
25549         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25550         (do_pread): Don't use CHECK_N.
25551         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25552         (do_pread64): Don't use CHECK_N.
25553         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25554         (do_pwrite): Don't use CHECK_N.
25555         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25556         (do_pwrite64): Don't use CHECK_N.
25557         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25558         (__libc_readv): Don't use CHECK_N.
25559         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25560         (semop): Don't use CHECK_N.
25561         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25562         <bp-checks.h>.
25563         (semtimedop): Don't use CHECK_N.
25564         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25565         (__libc_pread): Don't use CHECK_N.
25566         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25567         <bp-checks.h>.
25568         (__libc_pread64): Don't use CHECK_N.
25569         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25570         <bp-checks.h>.
25571         (__libc_pwrite): Don't use CHECK_N.
25572         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25573         <bp-checks.h>.
25574         (__libc_pwrite64): Don't use CHECK_N.
25575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25576         <bp-checks.h>.
25577         (__libc_msgrcv): Don't use CHECK_N.
25578         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25579         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25580         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25581         (__libc_writev): Don't use CHECK_N.
25582
25583 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25584
25585         * string/strcpy.c: Removed unused variable.
25586
25587         * Makeconfig (+sysdep-includes): Define with := rather than =.
25588         Use an existing include/ subdir of each sysdeps dir before it.
25589
25590 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25591
25592         * nscd/connection.c (register_traced_file): Comment function.
25593         [HAVE_INOTIFY] (union __inev): Define.
25594         [HAVE_INOTIFY] (inotify_check_files): New function.
25595         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25596         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25597         clear_db_cache.
25598         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25599
25600 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25601
25602         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25603         loaded if not already and that a failure is permanent.
25604
25605 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25606
25607         [BZ #15006]
25608         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25609         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25610
25611 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25612
25613         [BZ #13550]
25614         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25615         (CHECK_1_NULL_OK): Likewise.
25616         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25617         (__fxstat): Do not use CHECK_1.
25618         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25619         <bp-checks.h>.
25620         (___fxstat64): Do not use CHECK_1.
25621         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25622         <bp-checks.h>.
25623         (__fxstatat): Do not use CHECK_1.
25624         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25625         <bp-checks.h>.
25626         (__fxstatat64): Do not use CHECK_1.
25627         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25628         <bp-checks.h>.
25629         (__fxstat): Do not use CHECK_1.
25630         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25631         <bp-checks.h>.
25632         (__fxstatat): Do not use CHECK_1.
25633         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25634         <bp-checks.h>.
25635         (__getresgid): Do not use CHECK_1.
25636         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25637         <bp-checks.h>.
25638         (__getresuid): Do not use CHECK_1.
25639         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25640         <bp-checks.h>.
25641         (__lxstat): Do not use CHECK_1.
25642         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25643         <bp-checks.h>.
25644         (__old_msgctl): Do not use CHECK_1.
25645         (__new_msgctl): Likewise.
25646         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25647         <bp-checks.h>.
25648         (__new_setrlimit): Do not use CHECK_1.
25649         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25650         <bp-checks.h>.
25651         (__old_shmctl): Do not use CHECK_1.
25652         (__new_shmctl): Likewise.
25653         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25654         <bp-checks.h>.
25655         (__xstat): Do not use CHECK_1.
25656         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25657         (__lxstat): Do not use CHECK_1.
25658         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25659         <bp-checks.h>.
25660         (___lxstat64): Do not use CHECK_1.
25661         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25662         (__old_msgctl): Do not use CHECK_1.
25663         (__new_msgctl): Likewise.
25664         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25665         <bp-checks.h>.
25666         (__gettimeofday): Do not use CHECK_1.
25667         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25668         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25669         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25670         <bp-checks.h>.
25671         (__gettimeofday): Do not use CHECK_1.
25672         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25673         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25674         (__new_shmctl): Do not use CHECK_1.
25675         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25676         <bp-checks.h>.
25677         (do_sigtimedwait): Do not use CHECK_1.
25678         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25679         <bp-checks.h>.
25680         (do_sigwaitinfo): Do not use CHECK_1.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25682         <bp-checks.h>.
25683         (msgctl): Do not use CHECK_1.
25684         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25685         <bp-checks.h>.
25686         (shmctl): Do not use CHECK_1.
25687         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25688         (ustat): Do not use CHECK_1.
25689         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25690         <bp-checks.h>.
25691         (__fxstat): Do not use CHECK_1.
25692         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25693         <bp-checks.h>.
25694         (__fxstatat): Do not use CHECK_1.
25695         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25696         <bp-checks.h>.
25697         (__lxstat): Do not use CHECK_1.
25698         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25699         <bp-checks.h>.
25700         (__xstat): Do not use CHECK_1.
25701         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25702         (__xstat): Do not use CHECK_1.
25703         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25704         (___xstat64): Do not use CHECK_1.
25705
25706         [BZ #13550]
25707         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25708         definitions.
25709         (CHECK_BOUNDS_HIGH): Likewise.
25710         * string/strcpy.c: Do not include <bp-checks.h>.
25711         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25712
25713 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25714
25715         * nscd/nscd-client.h (__nscd_drop_map_ref):
25716         Add __attribute__ ((unused)).
25717         * nis/nss-nisplus.h (niserr2nss): Likewise.
25718
25719         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25720         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25721
25722         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25723         Remove inline keyword.
25724         * include/rounding-mode.h (round_away): Likewise.
25725         * libio/wfileops.c (adjust_wide_data): Likewise.
25726         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25727         (__m128i_strloadu_tolower): Likewise.
25728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25729         (__m128i_strloadu_tolower): Likewise.
25730         * time/mktime.c (ydhms_diff): Likewise.
25731         * locale/elem-hash.h (elem_hash): Likewise.
25732         * locale/setlocale.c (setdata): Likewise.
25733         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25734         (re_string_wchar_at): Likewise.
25735         (bitset_not, bitset_merge, bitset_mask): Likewise.
25736         [!(__GNUC__ > 3)] (inline): Remove macro.
25737         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25738         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25739         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25740         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25741         * string/memcmp.c (memcmp_bytes): Likewise.
25742         * locale/programs/locarchive.c (compute_hashval): Likewise.
25743         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25744         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25745         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25746         * nss/getent.c (print_rpc, print_protocols): Likewise.
25747         (print_passwd, print_group, print_aliases): Likewise.
25748         * nis/nss-nisplus.h (niserr2nss): Likewise.
25749         * nscd/connections.c (restart_p): Likewise.
25750         Change return type to bool.
25751
25752 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25753
25754         * Makeconfig (all-Depend-files): Add existing
25755         $(sorted-subdirs:=/Depend) files.
25756         (all-subdirs): Remove nss.
25757         * sysdeps/unix/inet/Subdirs: Add it here instead.
25758         * hesiod/Depend: New file.
25759
25760         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25761         instead of calling alloca.
25762
25763         * io/lseek.c (__lseek): Rename to __libc_lseek.
25764         Define __lseek as an alias.
25765
25766         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25767
25768 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25769
25770         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25771         else clause and remove check for non-standard endianness.
25772
25773 2013-02-04  David S. Miller  <davem@davemloft.net>
25774
25775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25776
25777 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25778
25779         [BZ #13550]
25780         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25781         (__ubp_memchr): Remove prototype.
25782         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25783         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25784         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25785         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25786         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25787         Remove alias.
25788         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25789         (__ubp_memchr): Likewise.
25790         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25791         (__ubp_memchr): Likewise.
25792         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25793         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25794         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25795         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25796         CHECK_STRING.
25797         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25798         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25799         (__getcwd): Do not use CHECK_STRING.
25800         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25801         <bp-checks.h>.
25802         (__real_chown): Do not use CHECK_STRING.
25803         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25804         <bp-checks.h>.
25805         (fchownat): Do not use CHECK_STRING.
25806         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25807         CHECK_STRING.
25808         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25809         <bp-checks.h>.
25810         (__lchown): Do not use CHECK_STRING.
25811         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25812         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25813         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25814         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25816         include <bp-checks.h>.
25817         (truncate64): Do not use CHECK_STRING.
25818         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25819         <bp-checks.h>.
25820         (__real_chown): Do not use CHECK_STRING.
25821         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25822         <bp-checks.h>.
25823         (__lchown): Do not use CHECK_STRING.
25824         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25825         <bp-checks.h>.
25826         (__chown): Do not use CHECK_STRING.
25827         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25828         <bp-checks.h>.
25829         (truncate64): Do not use CHECK_STRING.
25830         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25831         Likewise.
25832         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25833         (__xmknod): Do not use CHECK_STRING.
25834         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25835         <bp-checks.h>.
25836         (__xmknodat): Do not use CHECK_STRING.
25837         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25838         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25839
25840 2013-02-04  Andreas Schwab  <schwab@suse.de>
25841
25842         [BZ #14142]
25843         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25844         * include/netdb.h: Likewise for h_errno.
25845         * elf/tst-stackguard1.c: Include <tls.h>.
25846
25847 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25848
25849         * elf/link.h (struct link_map): Extend the l_addr comment.
25850         * include/link.h (struct link_map): Likewise.
25851
25852 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25853
25854         [BZ #13550]
25855         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25856         (BOUNDED_1): Remove macro.
25857         * debug/backtrace.c: Don't include <bp-checks.h>.
25858         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25859         (__backtrace): Likewise.
25860         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25861         <bp-checks.h>.
25862         (__backtrace): Don't use BOUNDED_1.
25863         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25864         <bp-checks.h>.
25865         (__backtrace): Don't use BOUNDED_1.
25866         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25867         (__backtrace): Don't use BOUNDED_1.
25868         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25869         (shmat): Don't use BOUNDED_N.
25870
25871 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25872
25873         [BZ #13550]
25874         * sysdeps/generic/bp-start.h: Remove file.
25875         * csu/libc-start.c: Don't include <bp-start.h>.
25876         (LIBC_START_MAIN): Set up __environ directly instead of using
25877         INIT_ARGV_and_ENVIRON.
25878         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25879         <bp-start.h>.
25880
25881         [BZ #13550]
25882         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25883         definitions.
25884         (CHECK_FCNTL): Likewise.
25885         (CHECK_N_PAGES): Likewise.
25886
25887         [BZ #13550]
25888         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25889         definitions.
25890         (CHECK_SIGSET_NULL_OK): Likewise.
25891         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25892         <bp-checks.h>.
25893         (sigpending): Don't use CHECK_SIGSET.
25894         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25895         <bp-checks.h>.
25896         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25897         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25898         <bp-checks.h>.
25899         (do_sigsuspend): Don't use CHECK_SIGSET.
25900         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25901         use CHECK_SIGSET.
25902         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25903         (do_sigwait): Don't use CHECK_SIGSET.
25904         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25905         use CHECK_SIGSET.
25906         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25907         include <bp-checks.h>.
25908         (sigpending): Don't use CHECK_SIGSET.
25909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25910         include <bp-checks.h>.
25911         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25912         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25913         <bp-checks.h>.
25914         (sigpending): Don't use CHECK_SIGSET.
25915         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25916         <bp-checks.h>.
25917         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25918
25919         [BZ #13550]
25920         * sysdeps/generic/bp-semctl.h: Remove file.
25921         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25922         <bp-checks.h> and <bp-semctl.h>.
25923         (__old_semctl): Don't use CHECK_SEMCTL.
25924         (__new_semctl): Likewise.
25925         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25926         and <bp-semctl.h>.
25927         (__old_semctl): Don't use CHECK_SEMCTL.
25928         (__new_semctl): Likewise.
25929         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25930         <bp-checks.h> and <bp-semctl.h>.
25931         (__old_semctl): Don't use CHECK_SEMCTL.
25932         (__new_semctl): Likewise.
25933         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25934         <bp-checks.h> and <bp-semctl.h>.
25935         (semctl): Don't use CHECK_SEMCTL.
25936
25937         [BZ #13550]
25938         * Makerules (elide-bp-thunks): Remove variable.
25939         (elide-routines.oS): Don't use $(elide-bp-thunks).
25940         (elide-routines.os): Likewise.
25941         (elide-routines.o): Likewise.
25942         (elide-routines.op): Likewise.
25943         (elide-routines.og): Likewise.
25944         (objects): Don't use $(bp-thunks).
25945         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25946         include.
25947         (common-generated): Do not add s-proto-bp.d.
25948         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25949         (int): Likewise.
25950         (typ): Likewise.
25951         Do not generate makefile rules for bounded-pointer thunks.
25952         * sysdeps/generic/bp-thunks.h: Remove file.
25953         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25954         * sysdeps/unix/s-proto-bp.S: Likewise.
25955
25956         [BZ #15062]
25957         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25958         parts of result separately when argument is not close to line from
25959         -i to i and one part of argument is small.
25960         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25961         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25962         * math/libm-test.inc (cacos_test): Add more tests.
25963         (casin_test): Likewise.
25964         (casinh_test): Likewise.
25965         * sysdeps/i386/fpu/libm-test-ulps: Update.
25966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25967
25968 2013-01-31  David S. Miller  <davem@davemloft.net>
25969
25970         * po/de.po: Update from translation team.
25971
25972 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25973
25974         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25975
25976 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25977
25978         * configure.in (_AC_PROG_CC_C89): New definition.
25979         * configure: Regenerate.
25980
25981         * configure.in (AC_PROG_CPP): New definition.
25982         * configure: Regenerate.
25983
25984 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25985
25986         * debug/tst-backtrace.h: New file.
25987         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25988         (ret): Remove variable.
25989         (x): Likewise.
25990         (FAIL): Remove macro.
25991         (NO_INLINE): Likewise.
25992         (fn1): Use match function instead of strstr.
25993         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25994         (ret): Remove variable.
25995         (x): Likewise.
25996         (FAIL): Remove macro.
25997         (NO_INLINE): Likewise.
25998         (fn): Use match function instead of strstr.
25999         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26000         (ret): Remove variable.
26001         (x): Likewise.
26002         (FAIL): Remove macro.
26003         (NO_INLINE): Likewise.
26004         (handle_signal): Use match function instead of strstr.
26005         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26006         (ret): Remove variable.
26007         (x): Likewise.
26008         (FAIL): Remove macro.
26009         (NO_INLINE): Likewise.
26010         (handle_signal): Use match function instead of strstr.
26011
26012 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26013
26014         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26015
26016 2013-01-23  David S. Miller  <davem@davemloft.net>
26017
26018         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26019         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26020         argument of CAS if possible.
26021         * sysdeps/sparc/sparc64/bits/atomic.h
26022         (__arch_compare_and_exchange_val_32_acq): Likewise.
26023         (__arch_compare_and_exchange_val_64_acq): Likewise.
26024
26025 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26026
26027         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26028         * sysdeps/posix/ulimit.c: ... this.
26029         Include <limits.h>.
26030         * sysdeps/unix/bsd/ulimit.c: Remove file.
26031
26032 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26033
26034         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26035         (LDFLAGS-tst-array5): Likewise.
26036
26037 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26038
26039         [BZ #15036]
26040         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26041         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26042         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26043         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26044
26045 2013-01-21  David S. Miller  <davem@davemloft.net>
26046
26047         * sysdeps/sparc/backtrace.c: New file.
26048         * sysdeps/sparc/sparc32/backtrace.h: New file.
26049         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26050         * sysdeps/sparc/sparc64/backtrace.h: New file.
26051         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26052         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26053         -funwind-tables.
26054
26055 2013-01-21  Andreas Schwab  <schwab@suse.de>
26056
26057         [BZ #15020]
26058         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26059         closed its stdout.
26060
26061 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26062
26063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26064         "mpa2.h".
26065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26066
26067 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26068             Mark Mitchell  <mark@codesourcery.com>
26069             Tom de Vries  <tom@codesourcery.com>
26070             Paul Pluzhnikov  <ppluzhnikov@google.com>
26071
26072         * debug/tst-backtrace2.c: New file.
26073         * debug/tst-backtrace3.c: Likewise.
26074         * debug/tst-backtrace4.c: Likewise.
26075         * debug/tst-backtrace5.c: Likewise.
26076         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26077         (CFLAGS-tst-backtrace3.c): Likewise.
26078         (CFLAGS-tst-backtrace4.c): Likewise.
26079         (CFLAGS-tst-backtrace5.c): Likewise.
26080         (LDFLAGS-tst-backtrace2): Likewise.
26081         (LDFLAGS-tst-backtrace3): Likewise.
26082         (LDFLAGS-tst-backtrace4): Likewise.
26083         (LDFLAGS-tst-backtrace5): Likewise.
26084         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26085         tst-backtrace4 and tst-backtrace5.
26086
26087 2013-01-18  Anton Blanchard  <anton@samba.org>
26088             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26089
26090         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26091         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26092         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26093         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26095         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26096         "+r" and remove output regs list as redundant.  Add explicit inline
26097         asm to specify register of return val to work around compiler codegen
26098         bug.  Remove (int) cast on return value.  Add return type parameter to
26099         use in macro so that this macro does not truncate return value for
26100         64-bit values.
26101         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26102         pass to INTERNAL_VSYSCALL_NCS.
26103         (INLINE_VSYSCALL): Add 'long int' as return type to
26104         INTERNAL_VSYSCALL_NCS macro invocation.
26105         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26106         INTERNAL_VSYSCALL_NCS macro invocation.
26107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26108
26109 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26110
26111         [BZ #14496]
26112         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26113         Fix application of SIMD FP exception mask.
26114
26115         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26116         mp_no from a power of two.
26117         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26118         __mpexp_twomm1.  Use __pow_mp.
26119
26120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26121         multiplication.
26122
26123 2013-01-17  David S. Miller  <davem@davemloft.net>
26124
26125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26126
26127 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26128
26129         [BZ #15023]
26130         * include/complex.h: Condition contents on [!_COMPLEX_H].
26131         (__kernel_casinhf): New prototype.
26132         (__kernel_casinh): Likewise.
26133         (__kernel_casinhl): Likewise.
26134         * math/Makefile (libm_calls): Add k_casinh.
26135         * math/k_casinh.c: New file.
26136         * math/k_casinhf.c: Likewise.
26137         * math/k_casinhl.c: Likewise.
26138         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26139         finite nonzero arguments.
26140         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26141         finite nonzero arguments.
26142         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26143         finite nonzero arguments.
26144         * math/s_casinh.c: Do not include <float.h>.
26145         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26146         * math/s_casinhf.c: Do not include <float.h>.
26147         (__casinhf): Move code for finite nonzero arguments to
26148         k_casinhf.c.
26149         * math/s_casinhl.c: Do not include <float.h>.
26150         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26151         redefine.
26152         (__casinhl): Move code for finite nonzero arguments to
26153         k_casinhl.c.
26154         * math/libm-test.inc (cacos_test): Add more tests.
26155         * sysdeps/i386/fpu/libm-test-ulps: Update.
26156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26157
26158 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26159
26160         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26161         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26162         [!HAVE_MREMAP]: Remove [defined linux] case.
26163         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26164
26165 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26166
26167         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26168
26169 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26170
26171         * elf/elf.h (R_386_SIZE32): New relocation.
26172         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26173         R_386_SIZE32.
26174         (elf_machine_rela): Likewise.
26175         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26176         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26177
26178 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26179
26180         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26181         (FP_FAST_FMA): Do not define.
26182         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26183         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26184         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26185         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26186         !_SOFT_FLOAT]: Likewise.
26187         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26188         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26189         value.
26190         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26191         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26192         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26193         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26194         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26195         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26196         file.
26197
26198 2013-01-16  Andreas Schwab  <schwab@suse.de>
26199
26200         [BZ #14327]
26201         * include/stdlib.h (__mktemp): Add declaration.
26202         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26203         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26204
26205 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206
26207         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26208         definitions.
26209         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26210         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26211         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26212         definitions here.
26213         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26214         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26215         definitions.
26216         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26217         and ONE.
26218         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26219         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26220         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26221         definitions.
26222         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26223         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26224         definitions.
26225         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26226
26227         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26228
26229 2013-01-15  David S. Miller  <davem@davemloft.net>
26230
26231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26232         trunc{,f} to libm-sysdep_routes.
26233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26235         file.
26236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26238         file.
26239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26240         file.
26241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26243         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26244         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26245         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26246         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26247         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26248         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26249
26250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26251         nearbyint{,f} to libm-sysdep_routes.
26252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26254         New file.
26255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26256         file.
26257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26258         New file.
26259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26260         file.
26261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26263         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26264         file.
26265         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26266         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26267         file.
26268         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26269         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26270         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26271
26272         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26273         libc_feholdexcept and libc_fesetenv.
26274
26275 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26276
26277         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26278
26279 2013-01-14  David S. Miller  <davem@davemloft.net>
26280
26281         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26282         (SPARC_ASM_VIS2_IFUNC): Likewise.
26283         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26285         use of 'siam' instruction.
26286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26287         Likewise.
26288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26289         Likewise.
26290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26291         Likewise.
26292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26297         file.
26298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26299         file.
26300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26301         file.
26302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26303         file.
26304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26309         new VIS2 routines.
26310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26313         Likewise.
26314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26319         routines to libm-sysdep_routines.
26320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26321
26322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26323         fdim/fdimf to libm-sysdep_routines.
26324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26325         file.
26326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26328         file.
26329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26332         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26333         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26334         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26335         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26336
26337 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26338
26339         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26340         to optimize copies.
26341
26342         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26345
26346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26347         local variable MPTWO.
26348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26349         Likewise.
26350
26351 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26352
26353         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26354         GLOB_NOESCAPE.
26355
26356 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26357
26358         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26359
26360 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26361
26362         * manual/pattern.texi (glob_t): Document gl_flags.
26363         (glob64_t): Likewise.
26364
26365 2013-01-11  David S. Miller  <davem@davemloft.net>
26366
26367         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26368         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26369         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26370         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26371         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26372         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26373         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26374         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26375         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26376         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26377         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26378         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26379         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26380
26381         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26382         sparc V9 rather than using V8 code.
26383         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26384         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26385
26386         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26387         Move to...
26388         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26389         Here.
26390
26391 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26392
26393         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26394         not in the main loop.
26395         * configure: Regenerated.
26396
26397 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26398
26399         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26400         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26401         to just #else.
26402         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26403         [!__GLIBC_HAVE_LONG_LONG] case.
26404         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26405         condition to just #else.
26406         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26407         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26408         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26409         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26410         unconditional.
26411         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26412         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26413         #elif condition to just #else.
26414         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26415         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26416         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26417         #elif condition to just #else.
26418
26419 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26420
26421         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26422         (EF_MIPS_ARCH_64): Fix value.
26423         (EF_MIPS_ARCH_32R2): New.
26424         (EF_MIPS_ARCH_64R2): New.
26425
26426 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26427
26428         * Makeconfig (+link-pie-before-libc): New.
26429         (+link-pie-after-libc): Likewise.
26430         (+link-pie-tests): Likewise.
26431         (+link-pie): Rewritten.
26432         (link-before-libc): Remove $(config-LDFLAGS).
26433         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26434         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26435         (config-LDFLAGS): Renamed to ...
26436         (rtld-LDFLAGS): This.
26437         (rtld-tests-LDFLAGS): New macro.
26438         (link-libc-rpath-link): Likewise.
26439         (link-libc-tests-rpath-link): Likewise.
26440         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26441         (link-libc): Prepand $(link-libc-rpath-link).
26442         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26443         (test-program-prefix): New macro.
26444         (test-via-rtld-prefix): Likewise.
26445         (test-program-cmd): Likewise.
26446         (host-test-program-cmd): Likewise.
26447         * Makefile ($(common-objpfx)testrun.sh): Replace
26448         $(run-program-prefix) with $(test-program-prefix).
26449         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26450         $(rtld-LDFLAGS).
26451         ($(common-objpfx)shlib.lds): Likewise.
26452         (build-module-helper): Likewise.
26453         ($(common-objpfx)format.lds): Likewise.
26454         * Rules (binaries-pie-tests): New.
26455         (binaries-pie-notests): Likewise.
26456         (binaries-pie): Rewritten.
26457         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26458         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26459         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26460         (make-test-out): Replace $(host-built-program-cmd) with
26461         $(host-test-program-cmd).
26462         * config.make.in (build-hardcoded-path-in-tests): New variable.
26463         * configure.in (--enable-hardcoded-path-in-tests): New configure
26464         option.
26465         (hardcoded_path_in_tests): New AC_SUBST.
26466         * configure: Regenerated.
26467         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26468         $(built-program-cmd) with $(test-program-cmd).
26469         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26470         (test_program_cmd): This.
26471         * elf/Makefile ($(objpfx)order.out): Run test with
26472         $(test-program-prefix).
26473         ($(objpfx)order2.out): Likewise.
26474         ($(objpfx)tst-initorder.out): Likewise.
26475         ($(objpfx)tst-initorder2.out): Likewise.
26476         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26477         $(test-program-cmd).
26478         ($(objpfx)tst-array1-static.out): Likewise.
26479         ($(objpfx)tst-array2.out): Likewise.
26480         ($(objpfx)tst-array3.out): Likewise.
26481         ($(objpfx)tst-array4.out): Likewise.
26482         ($(objpfx)tst-array5.out): Likewise.
26483         ($(objpfx)tst-array5-static.out): Likewise.
26484         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26485         $(test-program-cmd).
26486         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26487         $(run-program-prefix) with $(test-program-prefix).
26488         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26489         (test_program_prefix): This.
26490         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26491         $(run-program-prefix) with $(test-program-prefix).
26492         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26493         (test_program_prefix): This.
26494         * iconvdata/tst-tables.sh: Likewise.
26495         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26496         $(run-program-prefix) with $(test-program-prefix).
26497         ($(objpfx)tst-translit.out): Likewise.
26498         ($(objpfx)tst-gettext2.out): Likewise.
26499         ($(objpfx)tst-gettext4.out): Likewise.
26500         ($(objpfx)tst-gettext6.out): Likewise.
26501         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26502         (test_program_prefix): This.
26503         * intl/tst-gettext2.sh: Likewise.
26504         * intl/tst-gettext4.sh  Likewise.
26505         * intl/tst-gettext6.sh: Likewise.
26506         * intl/tst-translit.sh: Likewise.
26507         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26508         with $(test-program-cmd).
26509         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26510         $(run-program-prefix) with $(test-program-prefix).
26511         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26512         (test_program_prefix): This.
26513         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26514         $(run-program-prefix) with $(test-program-prefix).
26515         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26516         (test_program_prefix): This.
26517         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26518         * posix/Makefile ($(objpfx)globtest.out): Replace
26519         $(run-via-rtld-prefix) and $(test-wrapper) with
26520         $(test-program-prefix) and $(test-via-rtld-prefix).
26521         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26522         $(test-program-prefix).
26523         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26524         $(host-test-program-cmd).
26525         (tst-spawn-ARGS): Likewise.
26526         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26527         $(test-program-prefix).
26528         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26529         (test_via_rtld_prefix): This.
26530         (test_wrapper): Renamed to ...
26531         (test_program_prefix): This.
26532         (run_program_prefix): Replaced by test_program_prefix.
26533         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26534         (test_program_prefix): This.
26535         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26536         with $(host-test-program-cmd).
26537         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26538         $(run-program-prefix) with $(test-program-prefix).
26539         ($(objpfx)tst-printf.out): Likewise.
26540         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26541         $(test-program-cmd).
26542         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26543         (test_program_prefix): This.
26544         * stdio-common/tst-unbputc.sh: Likewise.
26545         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26546         $(run-program-prefix) with $(test-program-prefix).
26547         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26548         (test_program_prefix): This.
26549         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26550         $(built-program-cmd) with $(test-program-cmd).
26551
26552 2013-01-11  Andreas Jaeger  <aj@suse.de>
26553
26554         [BZ #15003]
26555         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26556         value. Sync with Linux 3.7.
26557
26558 2013-01-10  David S. Miller  <davem@davemloft.net>
26559
26560         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26561         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26562         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26563
26564 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26565
26566         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26567         never set.
26568         * configure: Regenerated.
26569
26570 2013-01-10  David S. Miller  <davem@davemloft.net>
26571
26572         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26573         sparc V9 rather than using V8 code.
26574         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26575         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26576
26577 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26578
26579         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26580         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26581         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26582         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26583         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26584         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26585         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26586         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26587         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26588         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26589         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26590         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26591         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26592         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26593         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26594         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26595         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26596         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26597         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26598         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26599         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26600         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26601         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26602         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26603         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26604         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26605         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26606
26607 2013-01-10  David S. Miller  <davem@davemloft.net>
26608
26609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26610
26611 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26612
26613         * posix/Makefile (tests-static): New variable.
26614         (tests): Add $(tests-static).
26615         (tst-exec-static-ARGS): New variable.
26616         (tst-spawn-static-ARGS): Likewise.
26617         * posix/tst-exec-static.c: New file.
26618         * posix/tst-spawn-static.c: Likewise.
26619         * posix/tst-exec.c: Support run directly.
26620         * posix/tst-spawn.c: Likewise.
26621
26622 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26623
26624         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26625         long.
26626         * math/bits/mathcalls.h (llrint): Likewise.
26627         (llround): Likewise.
26628         * stdlib/stdlib.h (struct drand48_data): Likewise.
26629         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26630         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26631         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26632         Likewise.
26633         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26634         Likewise.
26635         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26636         (elf_greg_t): Likewise.
26637         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26638         (__jmp_buf): Likewise.
26639         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26640         definitions.
26641         (llrint): Likewise, for all definitions.
26642         (llrintl): Likewise.
26643
26644         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26645         Remove [__GNUC__] condition.
26646         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26647         condition to just [__USE_ISOC99].
26648         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26649
26650 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26651
26652         [BZ #14200]
26653         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26654         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26655         defined.
26656         (_POSIX_V6_ILP32_OFF32): Likewise.
26657         (_XBS5_ILP32_OFF32): Likewise.
26658         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26659         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26660
26661 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26662
26663         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26664
26665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26666         doubles __mpexp_twomm1.  Adjust usage.
26667         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26668         Remove.
26669
26670 2013-01-10  Andreas Schwab  <schwab@suse.de>
26671
26672         [BZ #14964]
26673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26674         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26675
26676 2013-01-09  David S. Miller  <davem@davemloft.net>
26677
26678         [BZ #15003]
26679         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26680         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26681         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26682         (TCP_FASTOPEN): Define.
26683         (tcp_repair_opt): New structure.
26684         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26685         enum values.
26686         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26687         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26688         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26689         (tcp_cookie_transactions): New structure.
26690
26691 2013-01-09  Anton Blanchard  <anton@samba.org>
26692
26693         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26694         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26695         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26696         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26697
26698 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26699
26700         * include/features.h (__USE_ANSI): Remove.
26701
26702 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26703
26704         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26705
26706         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26707
26708 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26709
26710         * sysdeps/s390/fpu/libm-test-ulps: Update.
26711
26712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26713
26714         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26715         (__acr): Likewise.
26716         (__cpy): Likewise.
26717         (norm): Likewise.
26718         (denorm): Likewise.
26719         (__mp_dbl): Likewise.
26720         (__dbl_mp): Likewise.
26721         (add_magnitudes): Likewise.
26722         (sub_magnitudes): Likewise.
26723         (__add): Likewise.
26724         (__sub): Likewise.
26725         (__mul): Likewise.
26726         (__inv): Likewise.
26727         (__dvd): Likewise.
26728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26729         (__acr): Likewise.
26730         (__cpy): Likewise.
26731         (norm): Likewise.
26732         (denorm): Likewise.
26733         (__mp_dbl): Likewise.
26734         (__dbl_mp): Likewise.
26735         (add_magnitudes): Likewise.
26736         (sub_magnitudes): Likewise.
26737         (__add): Likewise.
26738         (__sub): Likewise.
26739         (__mul): Likewise.
26740         (__inv): Likewise.
26741         (__dvd): Likewise.
26742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26743         (__acr): Likewise.
26744         (__cpy): Likewise.
26745         (norm): Likewise.
26746         (denorm): Likewise.
26747         (__mp_dbl): Likewise.
26748         (__dbl_mp): Likewise.
26749         (add_magnitudes): Likewise.
26750         (sub_magnitudes): Likewise.
26751         (__add): Likewise.
26752         (__sub): Likewise.
26753         (__mul): Likewise.
26754         (__inv): Likewise.
26755         (__dvd): Likewise.
26756
26757 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26758
26759         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26760         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26761         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26762         2 && __USE_EXTERN_INLINES]: Likewise.
26763
26764 2013-01-08  Andreas Jaeger  <aj@suse.de>
26765
26766         [BZ# 14985]
26767         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26768         Remove.
26769         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26770         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26771
26772 2013-01-07  Anton Blanchard  <anton@samba.org>
26773
26774         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26775         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26776         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26777         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26778         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26779         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26780         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26781         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26783         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26784         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26785         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26786         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26787         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26788         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26790         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26792         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26793         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26794         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26795         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26796         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26797         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26798         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26799         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26800         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26801         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26803         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26804         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26807         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26808         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26809         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26814         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26815         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26816         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26817
26818 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26819
26820         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26821         (__MALLOC_PMT): Likewise.
26822         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26823         [__GNUC__], only on [_LIBC].
26824         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26825         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26826         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26827         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26828         forward declaration.
26829         (realloc_hook_ini): Likewise.
26830         (memalign_hook_ini): Likewise.
26831         (__libc_memalign): Do not use __MALLOC_PMT in variable
26832         declaration.
26833         (__libc_valloc): Likewise.
26834         (__libc_pvalloc): Likewise.
26835         (__libc_calloc): Likewise.
26836         (__posix_memalign): Likewise.
26837
26838         [BZ #14996]
26839         * math/s_casinh.c: Include <float.h>.
26840         (__casinh): Do not do computation with squaring and square root
26841         for large arguments.
26842         * math/s_casinhf.c: Include <float.h>.
26843         (__casinhf): Do not do computation with squaring and square root
26844         for large arguments.
26845         * math/s_casinhl.c: Include <float.h>.
26846         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26847         (__casinhl): Do not do computation with squaring and square root
26848         for large arguments.
26849         * math/libm-test.inc (casin_test): Add more tests.
26850         (casinh_test): Likewise.
26851         * sysdeps/i386/fpu/libm-test-ulps: Update.
26852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26853
26854 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26855
26856         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26857         (__x86_64_raw_data_cache_size): Likewise.
26858         (__x86_64_data_cache_size_half): Likewise.
26859         (__x86_64_raw_data_cache_size_half): Likewise.
26860         (__x86_64_shared_cache_size): Likewise.
26861         (__x86_64_raw_shared_cache_size): Likewise.
26862         (__x86_64_shared_cache_size_half): Likewise.
26863         (__x86_64_raw_shared_cache_size_half): Likewise.
26864         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26865         to ...
26866         (__x86_data_cache_size): This.
26867         (__x86_64_raw_data_cache_size): Renamed to ...
26868         (__x86_raw_data_cache_size): This.
26869         (__x86_64_data_cache_size_half): Renamed to ...
26870         (__x86_data_cache_size_half): This.
26871         (__x86_64_raw_data_cache_size_half): Renamed to ...
26872         (__x86_raw_data_cache_size_half): This.
26873         (__x86_64_shared_cache_size): Renamed to ...
26874         (__x86_shared_cache_size): This.
26875         (__x86_64_raw_shared_cache_size): Renamed to ...
26876         (__x86_raw_shared_cache_size): This.
26877         (__x86_64_shared_cache_size_half): Renamed to ...
26878         (__x86_shared_cache_size_half): This.
26879         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26880         (__x86_raw_shared_cache_size_half): This.
26881         * sysdeps/x86_64/memcpy.S: Updated.
26882         * sysdeps/x86_64/memset.S: Likewise.
26883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26885         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26886
26887 2013-01-04  David S. Miller  <davem@davemloft.net>
26888
26889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26890
26891 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26892
26893         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26894         1 to avoid redefinition warning.
26895         (__USE_GNU): Don't define.
26896         (init_signaling_nan): Protoize.
26897
26898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26899
26900 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26901
26902         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26904         (__cpymn): Likewise.
26905         (norm): Remove commented code.
26906         (denorm): Likewise.
26907         (__mp_dbl): Likewise.
26908         (__inv): Likewise.
26909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26910         (__cpymn): Likewise.
26911         (norm): Remove commented code.
26912         (denorm): Likewise.
26913         (__mp_dbl): Likewise.
26914         (__inv): Likewise.
26915
26916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26917         mp_no value for 1.0 and 2.0.
26918         (norm): Use RADIXI instead of radixi.d.
26919         (denorm): Likewise.
26920         (__mul): Use 0.0 instead of zero.d.
26921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26922         mp_no value for 1.0 and 2.0.
26923         (norm): Use RADIXI instead of radixi.d.
26924         (denorm): Likewise.
26925         (__mul): Use 0.0 instead of zero.d.
26926
26927 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26928
26929         [BZ #14994]
26930         * math/s_casinh.c (__casinh): Reduce finite argument to first
26931         quadrant then set signs of results at the end.
26932         * math/s_casinhf.c (__casinhf): Likewise.
26933         * math/s_casinhl.c (__casinhl): Likewise.
26934         * math/libm-test.inc (casin_test): Add more tests.
26935         (casinh_test): Likewise.
26936         * sysdeps/i386/fpu/libm-test-ulps: Update.
26937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26938
26939 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26940
26941         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26942
26943         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26944
26945         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26946         declarations.
26947         (denorm): Likewise.
26948         (__mp_dbl): Likewise.
26949         (__inv): Likewise.
26950
26951         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26952         and adjust the header comment.
26953
26954         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26955         variable name from declaration.
26956
26957 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26958
26959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26960         Initialize COMMON_CPUID_INDEX_7 element.
26961         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26962         (CPUID_RTM): Likewise.
26963         (HAS_RTM): Likewise.
26964         (COMMON_CPUID_INDEX_7): New enum.
26965
26966 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26967
26968         [BZ #14981]
26969         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26970         size is zero, record memory as freed.
26971
26972 2013-01-03  Andreas Jaeger  <aj@suse.de>
26973
26974         * po/ia.po: Add new Interlingua translation.
26975
26976 2012-01-03  Allan McRae  <allan@archlinux.org>
26977
26978         * locale/programs/localedef.c: Fix description of '--posix' flag.
26979
26980 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26981
26982         * NEWS: Update dates in second copyright notice.
26983         * README: Update copyright dates in example.
26984         * manual/libc.texinfo: Update copyright dates.
26985         * scripts/test-installation.pl: Update copyright date in --version
26986         output.
26987
26988         * hurd/ctty-input.c: Fix copyright notice formatting.
26989         * hurd/ctty-output.c: Likewise.
26990         * hurd/dtable.c: Likewise.
26991         * hurd/hurd-raise.c: Likewise.
26992         * hurd/hurdprio.c: Likewise.
26993         * hurd/msgportdemux.c: Likewise.
26994         * misc/sys/file.h: Likewise.
26995         * misc/sys/ioctl.h: Likewise.
26996         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26997         * sysdeps/mach/hurd/chdir.c: Likewise.
26998         * sysdeps/mach/hurd/fchdir.c: Likewise.
26999         * sysdeps/mach/hurd/rename.c: Likewise.
27000         * sysdeps/mach/hurd/rmdir.c: Likewise.
27001         * sysdeps/mach/hurd/seekdir.c: Likewise.
27002         * sysdeps/mach/hurd/setsid.c: Likewise.
27003         * sysdeps/posix/wait3.c: Likewise.
27004
27005         * All files with FSF copyright notices: Update copyright dates
27006         using scripts/update-copyrights.
27007         * intl/plural.c: Regenerated.
27008         * locale/programs/charmap-kw.h: Likewise.
27009         * locale/programs/locfile-kw.h: Likewise.
27010
27011 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27012
27013         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27014         four values.
27015
27016         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27017         calculation loop and add branch prediction.
27018
27019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27020         check access beyond bounds of m1np.
27021
27022         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27023         MPTWO.
27024         (__inv): Remove local variable MPTWO to use the global
27025         constant.
27026         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27027         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27028         variable MPTWO.
27029         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27030         MP3HALFS static const.
27031
27032 2013-01-01  David S. Miller  <davem@davemloft.net>
27033
27034         * po/ca.po: Update from translation team.
27035
27036 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27037
27038         * scripts/update-copyrights: New file.
27039         * Makeconfig: Reformat copyright notice.
27040         * ctype/ctype.h: Likewise.
27041         * debug/swprintf_chk.c: Likewise.
27042         * elf/dl-cache.c: Likewise.
27043         * elf/dl-debug.c: Likewise.
27044         * elf/dl-object.c: Likewise.
27045         * grp/initgroups.c: Likewise.
27046         * hurd/Makefile: Likewise.
27047         * hurd/hurd/signal.h: Likewise.
27048         * hurd/hurdfault.c: Likewise.
27049         * hurd/hurdioctl.c: Likewise.
27050         * hurd/hurdlookup.c: Likewise.
27051         * hurd/intr-msg.c: Likewise.
27052         * iconv/gconv_open.c: Likewise.
27053         * libio/swprintf.c: Likewise.
27054         * locale/lc-ctype.c: Likewise.
27055         * locale/nl_langinfo.c: Likewise.
27056         * mach/Machrules: Likewise.
27057         * mach/Makefile: Likewise.
27058         * malloc/obstack.h: Likewise.
27059         * manual/Makefile: Likewise.
27060         * manual/tsort.awk: Likewise.
27061         * misc/bits/stab.def: Likewise.
27062         * nis/nis_print_group_entry.c: Likewise.
27063         * nis/nis_table.c: Likewise.
27064         * nis/nss_compat/compat-pwd.c: Likewise.
27065         * nis/nss_compat/compat-spwd.c: Likewise.
27066         * po/Makefile: Likewise.
27067         * posix/fnmatch.c: Likewise.
27068         * posix/regex.h: Likewise.
27069         * resolv/Makefile: Likewise.
27070         * resolv/nss_dns/dns-network.c: Likewise.
27071         * resolv/res_hconf.c: Likewise.
27072         * scripts/gen-sorted.awk: Likewise.
27073         * soft-fp/soft-fp.h: Likewise.
27074         * stdio-common/printf.h: Likewise.
27075         * stdlib/monetary.h: Likewise.
27076         * stdlib/random.c: Likewise.
27077         * stdlib/random_r.c: Likewise.
27078         * sysdeps/generic/Makefile: Likewise.
27079         * sysdeps/gnu/Makefile: Likewise.
27080         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27081         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27082         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27083         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27084         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27087         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27088         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27089         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27090         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27091         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27092         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27093         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27094         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27095         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27096         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27097         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27098         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27099         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27100         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27101         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27102         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27104         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27105         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27106         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27107         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27108         * sysdeps/mach/hurd/errnos.awk: Likewise.
27109         * sysdeps/mach/hurd/fork.c: Likewise.
27110         * sysdeps/mach/hurd/getcwd.c: Likewise.
27111         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27112         * sysdeps/mach/hurd/mmap.c: Likewise.
27113         * sysdeps/mach/hurd/utimes.c: Likewise.
27114         * sysdeps/mach/hurd/xmknod.c: Likewise.
27115         * sysdeps/posix/profil.c: Likewise.
27116         * sysdeps/posix/readdir_r.c: Likewise.
27117         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27118         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27119         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27120         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27122         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27123         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27124         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27126         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27127         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27128         * sysdeps/pthread/lio_listio.c: Likewise.
27129         * sysdeps/sparc/dl-procinfo.h: Likewise.
27130         * sysdeps/unix/i386/sysdep.S: Likewise.
27131         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27132         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27133         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27134         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27136         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27137         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27138         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27139         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27140         * sysdeps/wordsize-32/divdi3.c: Likewise.
27141         * time/sys/time.h: Likewise.
27142         * wcsmbs/Makefile: Likewise.
27143
27144 2013-01-01  David S. Miller  <davem@davemloft.net>
27145
27146         * po/fr.po: Update from translation team.
27147
27148         * catgets/gencat.c: Update copyright year.
27149         * csu/version.c: Likewise.
27150         * debug/catchsegv.sh: Likewise.
27151         * debug/pcprofiledump.c: Likewise.
27152         * debug/xtrace.sh: Likewise.
27153         * elf/ldconfig.c: Likewise.
27154         * elf/ldd.bash.in: Likewise.
27155         * elf/pldd.c: Likewise.
27156         * elf/sotruss.ksh: Likewise.
27157         * elf/sprof.c: Likewise.
27158         * iconv/iconv_prog.c: Likewise.
27159         * iconv/iconvconfig.c: Likewise.
27160         * locale/programs/locale.c: Likewise.
27161         * locale/programs/localedef.c: Likewise.
27162         * login/programs/pt_chown.c: Likewise.
27163         * malloc/memusage.sh: Likewise.
27164         * malloc/memusagestat.c: Likewise.
27165         * malloc/mtrace.pl: Likewise.
27166         * nscd/nscd.c: Likewise.
27167         * nss/getent.c: Likewise.
27168         * nss/makedb.c: Likewise.
27169         * posix/getconf.c: Likewise.
27170
27171 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27172
27173         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27174         numbers.
27175
27176 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27177
27178         * math/bits/mathcalls.h (modf): Use __nonnull.
27179
27180 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27181
27182         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27183         (split): Use macro CN instead of the bare value.
27184         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27185         could be used.
27186         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27187         instead of the bare value.
27188         (power1): Likewise.
27189
27190 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27191
27192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27193         __ATAN_TWOM.
27194         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27195
27196         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27197         their values.
27198         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27199         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27200         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27201         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27202
27203 2012-12-28  Andreas Jaeger  <aj@suse.de>
27204
27205         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27206         values are from Linux 3.7.
27207
27208         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27209         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27210
27211 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27212
27213         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27214         TRUE case.
27215
27216         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27217         (norm): Likewise.
27218         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27219         variables with preprocessor constants.
27220         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27221         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27222         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27223
27224 2012-12-27  Bruno Haible  <bruno@clisp.org>
27225
27226         [BZ #14317]
27227         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27228         only if needed.
27229
27230 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27231
27232         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27233         and use variable directly.
27234         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27235
27236         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27237         MPONE.
27238         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27239         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27240         variable MPONE.
27241         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27243         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27244         include directive.  Remove local variable MPONE.
27245         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27246         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27247         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27248
27249 2012-12-25  David S. Miller  <davem@davemloft.net>
27250
27251         * version.h (RELEASE): Set to "development".
27252         (VERSION): Set to "2.17.90".
27253         * NEWS: Add 2.18 section.
27254
27255 2012-12-21  David S. Miller  <davem@davemloft.net>
27256
27257         * po/hr.po: Update from translation team.
27258
27259 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27260
27261         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27262
27263 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27264
27265         * NEWS:  Mention new memcpy for MIPS.
27266
27267 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27268
27269         * manual/contrib.texi (Contributors): Spelling correction.
27270
27271 2012-12-15  David S. Miller  <davem@davemloft.net>
27272
27273         * po/ru.po: Update from translation team.
27274
27275 2012-12-13  David S. Miller  <davem@davemloft.net>
27276
27277         * NEWS: Mention IFUNC testsuite enhancements.
27278
27279         * po/pl.po: Update from translation team.
27280         * po/bg.po: Likewise.
27281
27282         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27283         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27284
27285 2012-12-11  David S. Miller  <davem@davemloft.net>
27286
27287         * po/sv.po: Update from translation team.
27288
27289         * po/vi.po: Update from translation team.
27290
27291         * po/cs.po: Update from translation team.
27292
27293         * po/de.po: Update from translation team.
27294         * po/eo.po: Likewise.
27295         * po/nl.po: Likewise.
27296
27297 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27298
27299         [BZ #14246]
27300         * manual/argp.texi (Argp Helper Functions): Move node to follow
27301         Argp Parsing State.
27302
27303         [BZ #14872]
27304         * manual/conf.texi (Limits on File System Capacity): Mention if
27305         terminating null is included in the max size.
27306
27307 2012-12-10  Andreas Jaeger  <aj@suse.de>
27308
27309         * po/cs.po: Update from translation team.
27310
27311 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27312
27313         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27314         void pointer and cast to uintptr_t.
27315         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27316         path.
27317         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27318         * sysdeps/s390/s390-64/memset.S: Likewise.
27319
27320 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27321
27322         [BZ #14833]
27323         * menual/message.texi (Message Translation): Fix typos.
27324         (Helper programs for gettext): Likewise.
27325
27326 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27327
27328         [BZ #14898]
27329         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27330         Change to -1.
27331
27332 2012-12-07  David S. Miller  <davem@davemloft.net>
27333
27334         * po/libc.pot: Update.
27335
27336 2012-12-07  Richard Henderson  <rth@redhat.com>
27337
27338         [BZ #10114]
27339         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27340         normal/normal case to before the switch.
27341         (_FP_DIV): Likewise.
27342
27343 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27344             Mike Frysinger  <vapier@gentoo.org>
27345
27346         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27347         check for __NR_fadvise64_64.
27348
27349 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27350
27351         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27352         0, not just to plain "0" as a statement.
27353         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27354         with cw.
27355
27356 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27357
27358         * NEWS: Use sourceware.org in Bugzilla URL.
27359
27360 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27361
27362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27363         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27364
27365         * stdio-common/tst-put-error.c (do_test): Add newline to the
27366         padded test to ensure flush.
27367
27368 2012-12-05  Jeff Law  <law@redhat.com>
27369
27370         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27371
27372 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27373
27374         * README: Don't refer to ports add-on as distributed separately.
27375         Mention AArch64 in list of systems supported in the ports add-on.
27376
27377         * LICENSES: Add more non-FSF copyright and license notices.
27378
27379         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27380         ((unused)).
27381
27382         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27383
27384         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27385         10000 as width of padded output.
27386
27387 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27388
27389         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27390
27391         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27392         variable LX with __attribute__ ((unused)).
27393         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27394         Likewise.
27395         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27398         with __attribute__ ((unused)).
27399
27400 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27401
27402         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27403
27404 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27405
27406         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27407         (CFLAGS-nldbl-acos.c): New variable.
27408         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27409         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27410         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27411         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27412         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27413         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27414         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27415         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27416         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27417         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27418         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27419         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27420         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27421         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27422         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27423         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27424         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27425         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27426         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27427         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27428         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27429         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27430         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27431         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27432         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27433         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27434         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27435         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27436         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27437         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27438         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27439         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27440         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27441         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27442         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27443         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27444         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27445         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27446         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27447         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27448         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27449         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27450         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27451         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27452         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27453         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27454         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27455         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27456         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27457         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27458         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27459         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27460         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27461         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27462         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27463         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27464         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27465         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27466         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27467         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27468         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27469         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27470         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27471         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27472         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27473         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27474         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27475         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27476         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27477         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27478         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27479         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27480         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27481         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27482         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27483         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27484         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27485         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27486         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27487         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27488         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27489         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27490         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27491         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27492         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27493         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27494         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27495         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27496         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27497         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27498         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27499         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27500         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27501         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27502         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27503         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27504         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27505
27506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27507         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27508
27509         [BZ #14914]
27510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27511         whole low double instead of just low 47 bits when splitting values
27512         into two parts.
27513
27514 2012-12-03  Allan McRae  <allan@archlinux.org>
27515
27516         * manual/stdio.texi (Predefined Printf Handlers): Remove
27517         @hsep and @vsep usage.
27518
27519 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27520
27521         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27522         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27523
27524 2012-12-03  Jeff Law  <law@redhat.com>
27525
27526         * time/sys/time.h (settimeofday): Do not mark TV argument
27527         as __nonnull.
27528
27529 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27530
27531         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27532         when currently writing and seek to current position when not.
27533         * libio/Makefile (tests): Remove bug-fclose1.
27534         * libio/bug-fclose1.c: Delete.
27535
27536 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27537
27538         * manual/arith.texi (feenableexcept): Fix typo.
27539         (fedisableexcept): Likewise.
27540
27541 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27542
27543         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27544         second, differently-typed declaration, rather than a cast.
27545
27546 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27547
27548         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27549         * include/rpc/svc.h: ... here.
27550
27551 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27552
27553         [BZ #13013]
27554         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27555         depending n and resplen2 to catch cases where answer
27556         equals answerp2.
27557
27558 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27559
27560         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27561         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27562
27563 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27564
27565         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27566
27567 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27568
27569         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27570
27571 2012-11-28  Jeff Law  <law@redhat.com>
27572
27573         [BZ #13761]
27574         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27575         dataset_temporary.  Track alloca usage into alloca_used.
27576         If dataset is large allocate and release it via malloc/free.
27577
27578 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27579
27580         [BZ #14197]
27581         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27582
27583 2012-11-28  David S. Miller  <davem@davemloft.net>
27584
27585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27586
27587 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27588
27589         [BZ #14803]
27590         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27591         of pi/2 rounded to nearest to 64 bits.
27592         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27593         nearest to 64 bits.
27594         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27595         bits.
27596
27597 2012-11-28  Jeff Law <law@redhat.com>
27598             Martin Osvald <mosvald@redhat.com>
27599
27600         [BZ #14889]
27601         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27602         * sunrpc/svc.c: Include time.h.
27603         (__svc_accept_failed): New function.
27604         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27605         any reason other than EINTR, call __svc_accept_failed.
27606         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27607         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27608
27609 2012-11-28  Andreas Schwab  <schwab@suse.de>
27610
27611         * scripts/abilist.awk: Also handle indirect functions in .opd
27612         section.
27613
27614 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27615
27616         [BZ #13881]
27617         * sysdeps/x86/fpu/powl_helper.c: New file.
27618         * sysdeps/x86/fpu/Makefile: Likewise.
27619         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27620         (p3): New object.
27621         (__ieee754_powl): Use __powl_helper for finite arguments except
27622         integer exponents below 8.
27623         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27624         (p3): New object.
27625         (__ieee754_powl): Use __powl_helper for finite arguments except
27626         integer exponents below 8.
27627         * math/libm-test.inc (pow_test): Add more tests and enable some
27628         previously disabled tests.
27629         * sysdeps/i386/fpu/libm-test-ulps: Update.
27630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27631
27632 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27633             Carlos O'Donell  <carlos_odonell@mentor.com>
27634
27635         * nss/makedb.c (is_prime): Assert that input is odd and greater
27636         than 4.  Note that fact in a comment too.
27637         (next_prime): Add 4 to input.
27638
27639 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27640
27641         [BZ #11741]
27642         * libio/Makefile (tests): Add test case tst-fwrite-error.
27643         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27644         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27645         * libio/tst-fwrite-error.c: New test case.
27646
27647 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27648
27649         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27650         before casting to void *.
27651         * include/libc-internal.h (__pointer_type): New macro.
27652         (__integer_if_pointer_type_sub): Likewise.
27653         (__integer_if_pointer_type): Likewise.
27654         (cast_to_integer): Likewise.
27655         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27656         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27657         before casting to atomic64_t.
27658         (atomic_exchange_acq): Likewise.
27659         (__arch_exchange_and_add_body): Likewise.
27660         (__arch_add_body): Likewise.
27661         (atomic_add_negative): Likewise.
27662         (atomic_add_zero): Likewise.
27663
27664 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27665
27666         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27667         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27668         (add_fdes): Likewise.
27669         (linear_search_fdes): Likewise.
27670         (binary_search_unencoded_fdes): Likewise.
27671
27672 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27673
27674         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27675
27676 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27677
27678         * configure.in: Autodetect C++ header directories.
27679         * configure: Regenerated.
27680
27681 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27682
27683         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27684
27685 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27686
27687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27688
27689 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27690
27691         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27692         LDBL_MANT_DIG == 106]: Disable some tests.
27693         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27694         Likewise.
27695         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27696         Likewise.
27697
27698         [BZ #14871]
27699         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27700         input for small inputs.  Return +/- pi/2 for large inputs.
27701         * math/libm-test.inc (atan_test): Add more tests.
27702
27703         * sysdeps/generic/unwind-dw2-fde-glibc.c
27704         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27705         __attribute__ ((unused)).
27706
27707         [BZ #14645]
27708         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27709         x * y if x and y are nonzero and z is zero.
27710
27711         [BZ #14811]
27712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27713         nonzero exponents with absolute value below 0x1p-117 to +/-
27714         0x1p-117.
27715
27716         [BZ #14869]
27717         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27718         up arguments below 2**-450, not just those below 2**-500.
27719         * math/libm-test.inc (hypot_test): Add another test.
27720
27721         [BZ #14868]
27722         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27723         Return a+b for ratio over 2**120, not 2**60.
27724         * math/libm-test.inc (hypot_test): Add another test.
27725
27726         * math/libm-test.inc (clog_test): Use
27727         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27728         (clog10_test): Likewise.
27729
27730         [BZ #6778]
27731         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27732
27733 2012-11-22  Andreas Schwab  <schwab@suse.de>
27734
27735         * sysdeps/i386/fpu/libm-test-ulps: Update.
27736
27737 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27738
27739         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27740         printf output with newline.
27741
27742 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27743
27744         [BZ #14865]
27745         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27746         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27747         -z nodlopen, -z initfirst and -z execstack support.
27748         * configure: Regenerated.
27749
27750         * elf/elf.h (DF_1_NODIRECT): New macro.
27751         (DF_1_IGNMULDEF): Likewise.
27752         (DF_1_NOKSYMS): Likewise.
27753         (DF_1_NOHDR): Likewise.
27754         (DF_1_EDITED): Likewise.
27755         (DF_1_NORELOC): Likewise.
27756         (DF_1_SYMINTPOSE): Likewise.
27757         (DF_1_GLOBAUDIT): Likewise.
27758         (DF_1_SINGLETON): Likewise.
27759         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27760         DT_1_SUPPORTED_MASK bits.
27761         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27762
27763 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27764
27765         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27766
27767 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27768
27769         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27770         macro.
27771
27772         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27773         (sendmmsg): Move declarations...
27774         * socket/sys/socket.h: ... here.
27775         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27776         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27777         include it from...
27778         * socket/recvmmsg.c: ... this new file.
27779         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27780         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27781         definition of __sendmmsg hidden.
27782         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27783         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27784         Move ENOSYS stub into and include it from...
27785         * socket/sendmmsg.c: ... this new file.
27786         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27787         (sysdep_routines): Move recvmmsg and sendmmsg...
27788         * socket/Makefile (routines): ... here.
27789         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27790         (GLIBC_PRIVATE): Add __sendmmsg.
27791         * include/sys/socket.h (__sendmmsg): Add declarations.
27792         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27793         sendmmsg.
27794
27795 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27796
27797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27798         variable I1 with __attribute__ ((unused)).
27799         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27800
27801 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27802
27803         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27804         DUMMY variables with __attribute__ ((unused)).
27805
27806         * bits/byteswap.h: Include <bits/types.h>.
27807         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27808
27809 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27810
27811         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27812         string_t.  Do not manually set errno.
27813         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27814         length with __strnlen.  Make sure to both set errno and return it on
27815         failure.
27816
27817 2012-11-19  David S. Miller  <davem@davemloft.net>
27818
27819         With help from Joseph Myers.
27820         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27821         very large arguments properly.
27822         * math/libm-test.inc (atan_test): New tests.
27823         (atan2_test): New tests.
27824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27826
27827 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27828
27829         [BZ #14856]
27830         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27831         Define to 3.
27832
27833         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27834         [POSIX] (EADDRNOTAVAIL): Likewise.
27835         [POSIX] (EAFNOSUPPORT): Likewise.
27836         [POSIX] (EALREADY): Likewise.
27837         [POSIX] (ECONNABORTED): Likewise.
27838         [POSIX] (ECONNREFUSED): Likewise.
27839         [POSIX] (ECONNRESET): Likewise.
27840         [POSIX] (EDESTADDRREQ): Likewise.
27841         [POSIX] (EDQUOT): Likewise.
27842         [POSIX] (EHOSTUNREACH): Likewise.
27843         [POSIX] (EIDRM): Likewise.
27844         [POSIX] (EISCONN): Likewise.
27845         [POSIX] (ELOOP): Likewise.
27846         [POSIX] (EMULTIHOP): Likewise.
27847         [POSIX] (ENETDOWN): Likewise.
27848         [POSIX] (ENETUNREACH): Likewise.
27849         [POSIX] (ENOBUFS): Likewise.
27850         [POSIX] (ENODATA): Likewise.
27851         [POSIX] (ENOLINK): Likewise.
27852         [POSIX] (ENOMSG): Likewise.
27853         [POSIX] (ENOPROTOOPT): Likewise.
27854         [POSIX] (ENOSR): Likewise.
27855         [POSIX] (ENOSTR): Likewise.
27856         [POSIX] (ENOTCONN): Likewise.
27857         [POSIX] (ENOTSOCK): Likewise.
27858         [POSIX] (EOPNOTSUPP): Likewise.
27859         [POSIX] (EOVERFLOW): Likewise.
27860         [POSIX] (EPROTO): Likewise.
27861         [POSIX] (EPROTONOSUPPORT): Likewise.
27862         [POSIX] (EPROTOTYPE): Likewise.
27863         [POSIX] (ESTALE): Likewise.
27864         [POSIX] (ETIME): Likewise.
27865         [POSIX] (ETXTBSY): Likewise.
27866         [POSIX] (EWOULDBLOCK): Likewise.
27867         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27868         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27869         [POSIX] (SEEK_CUR): Likewise.
27870         [POSIX] (SEEK_END): Likewise.
27871         [POSIX || UNIX98] (mode_t): Do not require.
27872         [POSIX] (off_t): Likewise.
27873         [POSIX] (pid_t): Likewise.
27874         [POSIX] (sys/stat.h): Do not allow header.
27875         [POSIX] (unistd.h): Likewise.
27876         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27877         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27878         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27879         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27880         require.
27881         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27882         sigevent): Specify elements.
27883         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27884         entry.
27885         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27886         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27887
27888         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27889         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27890         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27891         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27892         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27893         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27894         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27895         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27896         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27897         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27898         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27899         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27900         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27901         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27902         Likewise.
27903         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27904         Likewise.
27905         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27906         Likewise.
27907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27908         Likewise.
27909         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27910         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27911         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27912         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27913         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27914         Specify lower bound on value.
27915         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27916         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27917         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27918         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27919         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27920         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27921         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27922         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27923         value.
27924         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27925         as optional.
27926         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27927         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27928         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27929         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27930         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27931         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27932         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27933         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27934         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27935         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27936         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27937         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27938         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27939         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27940         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27941         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27942         entry.
27943         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27944         optional.
27945         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27946         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27947         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27948         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27949         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27950         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27951         Likewise.
27952         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27953         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27954         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27955         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27956         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27957         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27958         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27959         as optional.
27960         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27961         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27962         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27963         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27964         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27965         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27966         specify as optional.
27967         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27968         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27969         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27970         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27971         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27972         [XPG3] (NL_LANGMAX): Likewise.
27973         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27974         [POSIX || XPG3] (NL_NMAX): Likewise.
27975         [POSIX || XPG3] (NL_SETMAX): Likewise.
27976         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27977         [XPG3] (NZERO): Likewise.
27978         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27979         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27980         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27981         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27982         (REG_ERANGE): Expect.
27983         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27984         optional-constant.
27985         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27986         Use (void) in prototype.
27987         [POSIX] (*_t): Allow.
27988         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27989         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27990         (WRDE_BADVAL): Expect.
27991
27992         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27993         expect.
27994         [XPG3 || XPG4] (O_RSYNC): Likewise.
27995         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27996         Likewise.
27997         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27998         [XPG3 || XPG4] (sigqueue): Likewise.
27999         [XPG3 || XPG4] (sigtimedwait): Likewise.
28000         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28001         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28002         [XPG3 || XPG4] (vsnprintf): Likewise.
28003         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28004         Likewise.
28005         [XPG3 || XPG4] (blksize_t): Likewise.
28006         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28007         Likewise.
28008         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28009         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28010         [XPG3 || XPG4] (struct itimerspec): Likewise.
28011         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28012         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28013         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28014         [XPG3 || XPG4] (clockid_t): Likewise.
28015         [XPG3 || XPG4] (timer_t): Likewise.
28016         [XPG3 || XPG4] (clock_getres): Likewise.
28017         [XPG3 || XPG4] (clock_gettime): Likewise.
28018         [XPG3 || XPG4] (clock_settime): Likewise.
28019         [XPG3 || XPG4] (nanosleep): Likewise.
28020         [XPG3 || XPG4] (timer_create): Likewise.
28021         [XPG3 || XPG4] (timer_delete): Likewise.
28022         [XPG3 || XPG4] (timer_gettime): Likewise.
28023         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28024         [XPG3 || XPG4] (timer_settime): Likewise.
28025         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28026         [XPG3 || XPG4] (getlogin_r): Likewise.
28027         [XPG3 || XPG4] (pread): Likewise.
28028         [XPG3 || XPG4] (pthread_atfork): Likewise.
28029         [XPG3 || XPG4] (pwrite): Likewise.
28030
28031         [BZ #14835]
28032         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28033         <bits/siginfo.h>.
28034
28035 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28036
28037         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28038         finalizing MALLSTREAM.
28039
28040         * sysdeps/mach/hurd/syncfs.c: New file.
28041
28042 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28043
28044         [BZ #14719]
28045         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28046         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28047         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28048         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28049         (_nss_dns_gethostbyname4_r): Likewise.
28050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28051         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28052
28053 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28054
28055         [BZ #13763]
28056         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28057
28058 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28059
28060         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28061         * elf/cache.c (print_entry): Print ",AArch64" for
28062         FLAG_AARCH64_LIB64
28063
28064         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28065         * elf/cache.c (print_entry): Print ",hard-float" for
28066         FLAG_ARM_LIBHF.
28067
28068 2012-11-18  David S. Miller  <davem@davemloft.net>
28069
28070         With help from Joseph Myers.
28071         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28072         cutoff to 2**-13.
28073         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28074         cutoff to 2**-25.
28075         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28076         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28077         small.
28078         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28079         * math/libm-test.inc (y0_test): New tests.
28080         (y1_test): New tests.
28081         * sysdeps/i386/fpu/libm-test-ulps: Update.
28082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28084
28085 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28086
28087         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28088         64-bit targets.
28089         * configure: Regenerated.
28090
28091 2012-11-17  David S. Miller  <davem@davemloft.net>
28092
28093         [BZ #14811]
28094         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28095         nonzero exponents with absolute value below 0x1p-128 to +/-
28096         0x1p-128.
28097
28098 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28099
28100         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28101
28102         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28103
28104         * posix/getconf-speclist.c: New file.
28105         * posix/posix-envs.def: Likewise.
28106         * posix/confstr.c (START_ENV_GROUP): New macro.
28107         (END_ENV_GROUP): Likewise.
28108         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28109         (KNOWN_PRESENT_ENV_STRING): Likewise.
28110         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28111         (UNKNOWN_ENVIRONMENT): Likewise.
28112         (confstr): Include posix-envs.def instead of handling
28113         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28114         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28115         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28116         (END_ENV_GROUP): Likewise.
28117         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28118         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28119         (UNKNOWN_ENVIRONMENT): Likewise.
28120         (__sysconf): Include posix-envs.def instead of handling associated
28121         cases directly here.
28122         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28123         preprocessing getconf-speclist.c rather than running getconf or
28124         generating empty file.
28125
28126 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28127
28128         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28129
28130 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28131
28132         [BZ #14672]
28133         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28134
28135 2012-11-16  David S. Miller  <davem@davemloft.net>
28136
28137         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28138         smaller than LDBL_EPSILON/2.0L, just return xm1.
28139
28140 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28141
28142         * elf/tst-array1.c (init): Set constructor priority to 1000.
28143         (fini): Set destructor priority to 1000.
28144         * elf/tst-array2dep.c: Likewise.
28145
28146 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28147
28148         [BZ #11741]
28149         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28150         (_IO_new_file_xsputn): Also return EOF if none of the input
28151         data was written when overflow failed.
28152         * libio/iopadn.c (_IO_padn): Likewise.
28153         * libio/iowpadn.c (_IO_wpadn): Likewise.
28154         * stdio-common/tst-put-error.c: Add copyright notice.
28155         (do_test): Add case for printing padded string.
28156         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28157         _IO_padn returned error.
28158         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28159         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28160         return EOF.
28161
28162 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28163
28164         * libio/libioP.h: Add comment note that the references to C++
28165         bits are now obsolete.
28166
28167 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28168
28169         * math/libm-test.inc (check_complex): Use asprintf.
28170
28171 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28172
28173         * debug/pcprofiledump.c (print_version): Update copyright year.
28174         * malloc/memusagestat.c (print_version): Likewise.
28175
28176 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28177
28178         [BZ #14831]
28179         * elf/Makefile (tests): Add tst-audit8.
28180         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28181         ($(objpfx)tst-audit8.out): New target.
28182         (tst-audit8-ENV): New variable.
28183         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28184         audit if l_reloc_result is NULL.
28185         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28186         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28187         * elf/tst-audit8.c: New file.
28188
28189 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28190
28191         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28192         * misc/Makefile (CFLAGS-select.c): Define.
28193         * posix/Makefile (CFLAGS-pause.c): Define.
28194
28195 2012-11-13  David S. Miller  <davem@davemloft.net>
28196
28197         * crypt/Makefile: Move test targets after toplevel Rules
28198         inclusion.  Grab any necessary sysdep routines when linking.
28199         * crypt/md5.c (md5_process_block): Remove define, we will always
28200         name it __md5_process_block.
28201         (md5_finish_ctx): Update md5_process_block call.
28202         (md5_stream): Likewise.
28203         (md5_process_bytes): Likewise.
28204         (md5_process_block): Rename to __md5_process_block and move to ...
28205         * crypt/md5-block.c: ... here.
28206         * crypt/sha256.c (sha256_process_block): Move to ...
28207         * crypt/sha256-block.c: ... here.
28208         * crypt/sha512.c (sha512_process_block): Move to ...
28209         * crypt/sha512-block.c: ... here.
28210         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28211         path.
28212         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28213         * sysdeps/sparc/sparc64/multiarch/Makefile
28214         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28215         crypt subdir.
28216         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28217         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28218         multiarch changes.
28219         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28220         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28221         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28222         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28223         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28224         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28225         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28226         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28227         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28228         file.
28229         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28230         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28231         file.
28232         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28233
28234 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28235
28236         * timezone/tzselect.ksh: Update from tzcode git revision
28237         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28238         * timezone/zdump.c: Likewise.
28239         * timezone/zic.c: Likewise.
28240         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28241         in TZVERSION setting, not $(PKGVERSION).
28242         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28243         REPORT_BUGS_TO settings.
28244
28245         [BZ #14838]
28246         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28247         macro.
28248
28249 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28250
28251         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28252         detection to immediately after _FP_ROUND().
28253         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28254         bits are 0.
28255
28256 2012-11-11  David S. Miller  <davem@davemloft.net>
28257
28258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28259         inttypes.h
28260         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28261         __close rather than their public counterparts.
28262
28263 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28264
28265         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28266         file.
28267         [UNIX98] (sem_timedwait): Do not expect.
28268         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28269         [XPG4 || UNIX98] (sockatmark): Do not expect.
28270         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28271         (clock_getcpuclockid): Do not expect.
28272         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28273         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28274         Do not expect.
28275         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28276         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28277         [UNIX98] (vwscanf): Likewise.
28278         [UNIX98] (vswscanf): Likewise.
28279
28280 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28281
28282         * timezone/version.h: Remove file.
28283         * timezone/README: Do not refer to version.h.
28284         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28285         $(objpfx)version.h.
28286         ($(objpfx)zdump.o): Likewise.
28287         ($(objpfx)version.h): New target.
28288
28289         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28290         2012i.
28291         * timezone/README: Don't mention modification to tzselect.ksh.
28292         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28293         work on unmodified tzselect.ksh.  Substitute version numbers in
28294         tzselect.ksh.
28295
28296         * Makefile (format-me): Remove.
28297         (INSTALL): Adjust indentation.  Use commands directly instead of
28298         using $(format-me).
28299
28300         * aclocal.m4 (ACX_PKGVERSION): New macro.
28301         (ACX_BUGURL): Likewise.
28302         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28303         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28304         (REPORT_BUGS_TO): Likewise.
28305         * configure: Regenerated.
28306         * config.h.in (PKGVERSION): New macro.
28307         (REPORT_BUGS_TO): Likewise.
28308         * config.make.in (PKGVERSION): New variable.
28309         (PKGVERSION_TEXI): Likewise.
28310         (REPORT_BUGS_TO): Likewise.
28311         (REPORT_BUGS_TEXI): Likewise.
28312         * Makefile (format-me): Use -I$(common-objpfx)manual.
28313         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28314         ($(common-objpfx)manual/%): New target.
28315         (manual/%): Remove target.
28316         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28317         (print_version): Use PKGVERSION.
28318         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28319         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28320         and REPORT_BUGS_TO.
28321         ($(objpfx)xtrace): Likewise.
28322         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28323         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28324         (print_version): Use PKGVERSION.
28325         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28326         (do_version): Use PKGVERSION.
28327         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28328         REPORT_BUGS_TO.
28329         (common-ldd-rewrite): Likewise.
28330         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28331         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28332         (print_version): Use PKGVERSION.
28333         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28334         * elf/pldd.c (argp_program_bug_address): Remove variable.
28335         (more_help): New function.
28336         (argp): Use more_help.
28337         (print_version): Use PKGVERSION.
28338         * elf/sln.c (main): Use PKGVERSION.
28339         (usage): Use REPORT_BUGS_TO.
28340         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28341         (top level): Use PKGVERSION.
28342         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28343         (print_version): Use PKGVERSION.
28344         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28345         (print_version): Use PKGVERSION.
28346         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28347         (print_version): Use PKGVERSION.
28348         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28349         (print_version): Use PKGVERSION.
28350         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28351         (print_version): Use PKGVERSION.
28352         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28353         (print_version): Use PKGVERSION.
28354         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28355         and BUGURL.
28356         ($(objpfx)memusage): Likewise.
28357         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28358         (do_version): Use PKGVERSION.
28359         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28360         (print_version): Use PKGVERSION.
28361         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28362         ($PKGVERSION): New variable.
28363         ($REPORT_BUGS_TO): Likewise.
28364         (usage): Use $REPORT_BUGS_TO.
28365         (top level): Use $PKGVERSION.
28366         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28367         ($(objpfx)pkgvers.texi): New rule.
28368         ($(objpfx)stamp-pkgvers): Likewise.
28369         * manual/install.texi: Include pkgvers.texi.
28370         (--with-pkgversion): Document new configure option.
28371         (--with-bugurl): Likewise.
28372         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28373         than necessarily for this particular distribution.  Use
28374         REPORT_BUGS_TO for where to report bugs.
28375         * INSTALL: Regenerated.
28376         * manual/libc.texinfo: Include pkgvers.texi.
28377         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28378         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28379         (print_version): Use PKGVERSION.
28380         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28381         (print_version): Use PKGVERSION.
28382         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28383         (print_version): Use PKGVERSION.
28384         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28385         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28386         macro.
28387         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28388         (print_version): Use PKGVERSION.
28389         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28390         (print_version): Use PKGVERSION.
28391         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28392         and PKGVERSION.
28393
28394         * timezone/checktab.awk: Update from tzcode 2012i.
28395         * timezone/ialloc.c: Likewise.
28396         * timezone/private.h: Likewise.
28397         * timezone/scheck.c: Likewise.
28398         * timezone/tzfile.h: Likewise.
28399         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28400         (TZVERSION): Hardcode tzcode version number.
28401         * timezone/zdump.c: Update from tzcode 2012i.
28402         * timezone/zic.c: Likewise.
28403         * timezone/version.h: New file.
28404         * timezone/README: Describe version.h.  Update upstream location.
28405
28406         [BZ #14824]
28407         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28408         (mktemp): Enable declaration.
28409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28413         Likewise.
28414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28415         Likewise.
28416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28417         Likewise.
28418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28419         Likewise.
28420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28421         Likewise.
28422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28423         Likewise.
28424
28425         [BZ #14821]
28426         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28427         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28428         for copies of such integer values.
28429         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28430         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28431
28432 2012-11-09  Andreas Jaeger  <aj@suse.de>
28433
28434         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28435         definitions and declarations that are provided by
28436         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28437
28438 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28439
28440         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28441         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28442         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28443         definition.
28444
28445 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28446
28447         * elf/elf.h: Update comment before AArch64 relocations.
28448
28449 2012-11-07  David S. Miller  <davem@davemloft.net>
28450
28451         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28452         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28453         (__start_context): Declare.
28454         (__makecontext_ret): Delete.
28455         (__makecontext): Hook up __start_context instead of
28456         __makecontext_ret.
28457         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28458         (sysdep_routines): Add __start_context when in stdlib.
28459
28460 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28461
28462         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28463         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28464         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28465         hardcoded "nm".
28466         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28467         (READELF): New variable.  Use it instead of hardcoded "readelf".
28468
28469 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28470
28471         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28472         * sysdeps/x86/Makefile: Here.
28473         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28474         * sysdeps/x86/tst-xmmymm.sh: This.
28475
28476 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28477
28478         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28479         expectations.
28480         [UNIX98] (pthread_barrier_t): Do not expect.
28481         [UNIX98] (pthread_barrierattr_t): Likewise.
28482         [UNIX98] (pthread_spinlock_t): Likewise.
28483         [UNIX98] (pthread_barrier_destroy): Likewise.
28484         [UNIX98] (pthread_barrier_init): Likewise.
28485         [UNIX98] (pthread_barrier_wait): Likewise.
28486         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28487         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28488         [UNIX98] (pthread_barrierattr_init): Likewise.
28489         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28490         [UNIX98] (pthread_getcpuclockid): Likewise.
28491         [UNIX98] (pthread_mutex_timedlock): Likewise.
28492         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28493         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28494         [UNIX98] (pthread_sigmask): Likewise.
28495         [UNIX98] (pthread_spin_destroy): Likewise.
28496         [UNIX98] (pthread_spin_init): Likewise.
28497         [UNIX98] (pthread_spin_lock): Likewise.
28498         [UNIX98] (pthread_spin_trylock): Likewise.
28499         [UNIX98] (pthread_spin_unlock): Likewise.
28500         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28501         Do not expect.
28502         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28503         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28504         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28505         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28506         [XPG3 || XPG4] (pthread_key_t): Likewise.
28507         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28508         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28509         [XPG3 || XPG4] (pthread_once_t): Likewise.
28510         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28511         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28512         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28513         [XPG3 || XPG4] (pthread_t): Likewise.
28514
28515         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28516         not expect.
28517         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28518
28519         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28520         Change function return type to int.
28521
28522         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28523         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28524         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28525         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28526         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28527         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28528         [!POSIX] (posix_madvise): Likewise.
28529         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28530         && !UNIX98].
28531         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28532         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28533         (mode_t): Likewise.
28534         (posix_mem_offset): Likewise.
28535         (posix_typed_mem_get_info): Likewise.
28536         (posix_typed_mem_open): Likewise.
28537
28538         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28539         Change condition to [XOPEN2K8].
28540
28541         * conform/conformtest.pl: Preprocess allow-header data with -x c
28542         instead of from stdin.
28543         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28544         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28545         [C99-based standards] (cerfc): Likewise.
28546         [C99-based standards] (cexp2): Likewise.
28547         [C99-based standards] (cexpm1): Likewise.
28548         [C99-based standards] (clog10): Likewise.
28549         [C99-based standards] (clog1p): Likewise.
28550         [C99-based standards] (clog2): Likewise.
28551         [C99-based standards] (clgamma): Likewise.
28552         [C99-based standards] (ctgamma): Likewise.
28553         [C99-based standards] (cerff): Likewise.
28554         [C99-based standards] (cerfcf): Likewise.
28555         [C99-based standards] (cexp2f): Likewise.
28556         [C99-based standards] (cexpm1f): Likewise.
28557         [C99-based standards] (clog10f): Likewise.
28558         [C99-based standards] (clog1pf): Likewise.
28559         [C99-based standards] (clog2f): Likewise.
28560         [C99-based standards] (clgammaf): Likewise.
28561         [C99-based standards] (ctgammaf): Likewise.
28562         [C99-based standards] (cerfl): Likewise.
28563         [C99-based standards] (cerfcl): Likewise.
28564         [C99-based standards] (cexp2l): Likewise.
28565         [C99-based standards] (cexpm1l): Likewise.
28566         [C99-based standards] (clog10l): Likewise.
28567         [C99-based standards] (clog1pl): Likewise.
28568         [C99-based standards] (clog2l): Likewise.
28569         [C99-based standards] (clgammal): Likewise.
28570         [C99-based standards] (ctgammal): Likewise.
28571         * conform/data/inttypes.h-data [C99-based standards]: Include
28572         stdint.h-data.  Remove all expectations for stdint.h contents.
28573         [C99-based standards] (PRI*): Do not allow.
28574         [C99-based standards] (SCN*): Likewise.
28575         [C99-based standards] (*_t): Likewise.
28576         [C99-based-standards] (PRId8): Expect macro.
28577         [C99-based-standards] (PRIi8): Likewise.
28578         [C99-based-standards] (PRIo8): Likewise.
28579         [C99-based-standards] (PRIu8): Likewise.
28580         [C99-based-standards] (PRIx8): Likewise.
28581         [C99-based-standards] (PRIX8): Likewise.
28582         [C99-based-standards] (SCNd8): Likewise.
28583         [C99-based-standards] (SCNi8): Likewise.
28584         [C99-based-standards] (SCNo8): Likewise.
28585         [C99-based-standards] (SCNu8): Likewise.
28586         [C99-based-standards] (SCNx8): Likewise.
28587         [C99-based-standards] (PRIdLEAST8): Likewise.
28588         [C99-based-standards] (PRIiLEAST8): Likewise.
28589         [C99-based-standards] (PRIoLEAST8): Likewise.
28590         [C99-based-standards] (PRIuLEAST8): Likewise.
28591         [C99-based-standards] (PRIxLEAST8): Likewise.
28592         [C99-based-standards] (PRIXLEAST8): Likewise.
28593         [C99-based-standards] (SCNdLEAST8): Likewise.
28594         [C99-based-standards] (SCNiLEAST8): Likewise.
28595         [C99-based-standards] (SCNoLEAST8): Likewise.
28596         [C99-based-standards] (SCNuLEAST8): Likewise.
28597         [C99-based-standards] (SCNxLEAST8): Likewise.
28598         [C99-based-standards] (PRIdFAST8): Likewise.
28599         [C99-based-standards] (PRIiFAST8): Likewise.
28600         [C99-based-standards] (PRIoFAST8): Likewise.
28601         [C99-based-standards] (PRIuFAST8): Likewise.
28602         [C99-based-standards] (PRIxFAST8): Likewise.
28603         [C99-based-standards] (PRIXFAST8): Likewise.
28604         [C99-based-standards] (SCNdFAST8): Likewise.
28605         [C99-based-standards] (SCNiFAST8): Likewise.
28606         [C99-based-standards] (SCNoFAST8): Likewise.
28607         [C99-based-standards] (SCNuFAST8): Likewise.
28608         [C99-based-standards] (SCNxFAST8): Likewise.
28609         [C99-based-standards] (PRId16): Likewise.
28610         [C99-based-standards] (PRIi16): Likewise.
28611         [C99-based-standards] (PRIo16): Likewise.
28612         [C99-based-standards] (PRIu16): Likewise.
28613         [C99-based-standards] (PRIx16): Likewise.
28614         [C99-based-standards] (PRIX16): Likewise.
28615         [C99-based-standards] (SCNd16): Likewise.
28616         [C99-based-standards] (SCNi16): Likewise.
28617         [C99-based-standards] (SCNo16): Likewise.
28618         [C99-based-standards] (SCNu16): Likewise.
28619         [C99-based-standards] (SCNx16): Likewise.
28620         [C99-based-standards] (PRIdLEAST16): Likewise.
28621         [C99-based-standards] (PRIiLEAST16): Likewise.
28622         [C99-based-standards] (PRIoLEAST16): Likewise.
28623         [C99-based-standards] (PRIuLEAST16): Likewise.
28624         [C99-based-standards] (PRIxLEAST16): Likewise.
28625         [C99-based-standards] (PRIXLEAST16): Likewise.
28626         [C99-based-standards] (SCNdLEAST16): Likewise.
28627         [C99-based-standards] (SCNiLEAST16): Likewise.
28628         [C99-based-standards] (SCNoLEAST16): Likewise.
28629         [C99-based-standards] (SCNuLEAST16): Likewise.
28630         [C99-based-standards] (SCNxLEAST16): Likewise.
28631         [C99-based-standards] (PRIdFAST16): Likewise.
28632         [C99-based-standards] (PRIiFAST16): Likewise.
28633         [C99-based-standards] (PRIoFAST16): Likewise.
28634         [C99-based-standards] (PRIuFAST16): Likewise.
28635         [C99-based-standards] (PRIxFAST16): Likewise.
28636         [C99-based-standards] (PRIXFAST16): Likewise.
28637         [C99-based-standards] (SCNdFAST16): Likewise.
28638         [C99-based-standards] (SCNiFAST16): Likewise.
28639         [C99-based-standards] (SCNoFAST16): Likewise.
28640         [C99-based-standards] (SCNuFAST16): Likewise.
28641         [C99-based-standards] (SCNxFAST16): Likewise.
28642         [C99-based-standards] (PRId32): Likewise.
28643         [C99-based-standards] (PRIi32): Likewise.
28644         [C99-based-standards] (PRIo32): Likewise.
28645         [C99-based-standards] (PRIu32): Likewise.
28646         [C99-based-standards] (PRIx32): Likewise.
28647         [C99-based-standards] (PRIX32): Likewise.
28648         [C99-based-standards] (SCNd32): Likewise.
28649         [C99-based-standards] (SCNi32): Likewise.
28650         [C99-based-standards] (SCNo32): Likewise.
28651         [C99-based-standards] (SCNu32): Likewise.
28652         [C99-based-standards] (SCNx32): Likewise.
28653         [C99-based-standards] (PRIdLEAST32): Likewise.
28654         [C99-based-standards] (PRIiLEAST32): Likewise.
28655         [C99-based-standards] (PRIoLEAST32): Likewise.
28656         [C99-based-standards] (PRIuLEAST32): Likewise.
28657         [C99-based-standards] (PRIxLEAST32): Likewise.
28658         [C99-based-standards] (PRIXLEAST32): Likewise.
28659         [C99-based-standards] (SCNdLEAST32): Likewise.
28660         [C99-based-standards] (SCNiLEAST32): Likewise.
28661         [C99-based-standards] (SCNoLEAST32): Likewise.
28662         [C99-based-standards] (SCNuLEAST32): Likewise.
28663         [C99-based-standards] (SCNxLEAST32): Likewise.
28664         [C99-based-standards] (PRIdFAST32): Likewise.
28665         [C99-based-standards] (PRIiFAST32): Likewise.
28666         [C99-based-standards] (PRIoFAST32): Likewise.
28667         [C99-based-standards] (PRIuFAST32): Likewise.
28668         [C99-based-standards] (PRIxFAST32): Likewise.
28669         [C99-based-standards] (PRIXFAST32): Likewise.
28670         [C99-based-standards] (SCNdFAST32): Likewise.
28671         [C99-based-standards] (SCNiFAST32): Likewise.
28672         [C99-based-standards] (SCNoFAST32): Likewise.
28673         [C99-based-standards] (SCNuFAST32): Likewise.
28674         [C99-based-standards] (SCNxFAST32): Likewise.
28675         [C99-based-standards] (PRId64): Likewise.
28676         [C99-based-standards] (PRIi64): Likewise.
28677         [C99-based-standards] (PRIo64): Likewise.
28678         [C99-based-standards] (PRIu64): Likewise.
28679         [C99-based-standards] (PRIx64): Likewise.
28680         [C99-based-standards] (PRIX64): Likewise.
28681         [C99-based-standards] (SCNd64): Likewise.
28682         [C99-based-standards] (SCNi64): Likewise.
28683         [C99-based-standards] (SCNo64): Likewise.
28684         [C99-based-standards] (SCNu64): Likewise.
28685         [C99-based-standards] (SCNx64): Likewise.
28686         [C99-based-standards] (PRIdLEAST64): Likewise.
28687         [C99-based-standards] (PRIiLEAST64): Likewise.
28688         [C99-based-standards] (PRIoLEAST64): Likewise.
28689         [C99-based-standards] (PRIuLEAST64): Likewise.
28690         [C99-based-standards] (PRIxLEAST64): Likewise.
28691         [C99-based-standards] (PRIXLEAST64): Likewise.
28692         [C99-based-standards] (SCNdLEAST64): Likewise.
28693         [C99-based-standards] (SCNiLEAST64): Likewise.
28694         [C99-based-standards] (SCNoLEAST64): Likewise.
28695         [C99-based-standards] (SCNuLEAST64): Likewise.
28696         [C99-based-standards] (SCNxLEAST64): Likewise.
28697         [C99-based-standards] (PRIdFAST64): Likewise.
28698         [C99-based-standards] (PRIiFAST64): Likewise.
28699         [C99-based-standards] (PRIoFAST64): Likewise.
28700         [C99-based-standards] (PRIuFAST64): Likewise.
28701         [C99-based-standards] (PRIxFAST64): Likewise.
28702         [C99-based-standards] (PRIXFAST64): Likewise.
28703         [C99-based-standards] (SCNdFAST64): Likewise.
28704         [C99-based-standards] (SCNiFAST64): Likewise.
28705         [C99-based-standards] (SCNoFAST64): Likewise.
28706         [C99-based-standards] (SCNuFAST64): Likewise.
28707         [C99-based-standards] (SCNxFAST64): Likewise.
28708         [C99-based-standards] (PRIdMAX): Likewise.
28709         [C99-based-standards] (PRIiMAX): Likewise.
28710         [C99-based-standards] (PRIoMAX): Likewise.
28711         [C99-based-standards] (PRIuMAX): Likewise.
28712         [C99-based-standards] (PRIxMAX): Likewise.
28713         [C99-based-standards] (PRIXMAX): Likewise.
28714         [C99-based-standards] (SCNdMAX): Likewise.
28715         [C99-based-standards] (SCNiMAX): Likewise.
28716         [C99-based-standards] (SCNoMAX): Likewise.
28717         [C99-based-standards] (SCNuMAX): Likewise.
28718         [C99-based-standards] (SCNxMAX): Likewise.
28719         [C99-based-standards] (PRIdPTR): Likewise.
28720         [C99-based-standards] (PRIiPTR): Likewise.
28721         [C99-based-standards] (PRIoPTR): Likewise.
28722         [C99-based-standards] (PRIuPTR): Likewise.
28723         [C99-based-standards] (PRIxPTR): Likewise.
28724         [C99-based-standards] (PRIXPTR): Likewise.
28725         [C99-based-standards] (SCNdPTR): Likewise.
28726         [C99-based-standards] (SCNiPTR): Likewise.
28727         [C99-based-standards] (SCNoPTR): Likewise.
28728         [C99-based-standards] (SCNuPTR): Likewise.
28729         [C99-based-standards] (SCNxPTR): Likewise.
28730         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28731         allow.
28732         * conform/data/stdint.h-data: Update comments to clarify
28733         requirements.
28734         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28735         type.
28736         [C99-based standards] (INT8_MAX): Likewise.
28737         [C99-based standards] (INT16_MIN): Likewise.
28738         [C99-based standards] (INT16_MAX): Likewise.
28739         [C99-based standards] (INT32_MIN): Likewise.
28740         [C99-based standards] (INT32_MAX): Likewise.
28741         [C99-based standards] (INT64_MIN): Likewise.
28742         [C99-based standards] (INT64_MAX): Likewise.
28743         [C99-based standards] (UINT8_MAX): Likewise.
28744         [C99-based standards] (UINT16_MAX): Likewise.
28745         [C99-based standards] (UINT32_MAX): Likewise.
28746         [C99-based standards] (UINT64_MAX): Likewise.
28747         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28748         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28749         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28750         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28751         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28752         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28753         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28754         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28755         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28756         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28757         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28758         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28759         [C99-based standards] (INT_FAST8_MIN): Likewise.
28760         [C99-based standards] (INT_FAST8_MAX): Likewise.
28761         [C99-based standards] (INT_FAST16_MIN): Likewise.
28762         [C99-based standards] (INT_FAST16_MAX): Likewise.
28763         [C99-based standards] (INT_FAST32_MIN): Likewise.
28764         [C99-based standards] (INT_FAST32_MAX): Likewise.
28765         [C99-based standards] (INT_FAST64_MIN): Likewise.
28766         [C99-based standards] (INT_FAST64_MAX): Likewise.
28767         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28768         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28769         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28770         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28771         [C99-based standards] (INTPTR_MIN): Likewise.
28772         [C99-based standards] (INTPTR_MAX): Likewise.
28773         [C99-based standards] (UINTPTR_MAX): Likewise.
28774         [C99-based standards] (INTMAX_MIN): Likewise.
28775         [C99-based standards] (INTMAX_MAX): Likewise.
28776         [C99-based standards] (UINTMAX_MAX): Likewise.
28777         [C99-based standards] (PTRDIFF_MIN): Likewise.
28778         [C99-based standards] (PTRDIFF_MAX): Likewise.
28779         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28780         [C99-based standards] (SIZE_MAX): Likewise.
28781         [C99-based standards] (WCHAR_MAX): Likewise.
28782         [C99-based standards] (WINT_MAX): Likewise.
28783         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28784         constraint on value.
28785         [C99-based standards] (WCHAR_MIN): Likewise.
28786         [C99-based standards] (WINT_MIN): Likewise.
28787         [C99-based standards] (*_t): Allow.
28788         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28789         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28790         Include math.h-data and complex.h-data.  Remove all expectations
28791         of math.h and complex.h contents.
28792         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28793         at end of line.
28794         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28795         (struct tm): Expect tag.
28796         [C99-based-standards] (wcstof): Expect function.
28797         [C99-based-standards] (wcstold): Likewise.
28798         [C99-based-standards] (wcstoll): Likewise.
28799         [C99-based-standards] (wcstoull): Likewise.
28800         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28801         macro-int-constant.  Specify type.
28802         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28803         constraint on value.
28804         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28805         Specify type.
28806         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28807         Specify value.
28808         [ISO C standards]: Do not allow headers.
28809         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28810         wcs[abcdefghijklmnopqrstuvwxyz]*.
28811         [ISO C standards] (*_t): Do not allow.
28812         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28813         Expect function.
28814         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28815         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28816         Specify type.
28817         [ISO C standards]: Do not allow headers.
28818         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28819         is[abcdefghijklmnopqrstuvwxyz]*.
28820         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28821         to[abcdefghijklmnopqrstuvwxyz]*.
28822         [ISO C standards] (*_t): Do not allow.
28823         * conform/data/stdalign.h-data: New file.
28824         * conform/data/stdbool.h-data: Likewise.
28825         * conform/data/stdnoreturn.h-data: Likewise.
28826
28827 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28828
28829         [BZ #14815]
28830         * manual/filesys.texi (Directory Entries): Typo fix.
28831         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28832
28833 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28834
28835         * elf/elf.h (EM_AARCH64): New macro.
28836         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28837         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28838         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28839         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28840         (R_AARCH64_TLSDESC): Likewise.
28841         (NT_ARM_TLS): Likewise.
28842         (NT_ARM_HW_BREAK): Likewise.
28843         (NT_ARM_HW_WATCH): Likewise.
28844
28845 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28846
28847         [BZ #14811]
28848         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28849         (__ieee754_powl): Saturate nonzero exponents with absolute value
28850         below 0x1p-79 to +/- 0x1p-79.
28851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28852         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28853         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28854         nonzero exponents with absolute value below 0x1p-32 to +/-
28855         0x1p-32.
28856         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28857         (__ieee754_powl): Saturate nonzero exponents with absolute value
28858         below 0x1p-79 to +/- 0x1p-79.
28859         * math/libm-test.inc (pow_test): Add more tests.
28860
28861 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28862
28863         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28864         _dl_s390_cap_flags with kernel. Increase string length.
28865         (_dl_s390_platforms): Add z196 and zEC12.
28866
28867 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28868
28869         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28870         Change XOPEN21K to XOPEN2K.
28871
28872 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28873
28874         * string/memmove.c: Use memcpy when possible.
28875
28876 2012-11-06  Andreas Jaeger  <aj@suse.de>
28877
28878         * po/eo.po: Update from translation team.
28879
28880 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28881
28882         [BZ #14793]
28883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28884         exponent and small x and y exponents, scale x or y up.  Increase
28885         by 2 the exponent used in scaling up.
28886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28888         * math/libm-test.inc (fma_test): Add more tests.
28889         (fma_test_towardzero): Likewise.
28890         (fma_test_downward): Likewise.
28891         (fma_test_upward): Likewise.
28892
28893 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28894
28895         [BZ #14805]
28896         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28897         fenv_t *.
28898
28899         [BZ #14801]
28900         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28901         namespace for names of struct fields.
28902         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28903         fenv_t fields.
28904         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28905         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28906
28907 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28908
28909         [BZ #3665]
28910         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28911
28912 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28913
28914         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28915         PTR_DEMANGLE.
28916
28917         [BZ #5246]
28918         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28919         PTR_DEMANGLE.
28920
28921 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28922
28923         [BZ #14797]
28924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28925         definitely overflow as x * y not x * y + z.
28926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28928         * math/libm-test.inc (fma_test): Add more tests.
28929         (fma_test_towardzero): Likewise.
28930         (fma_test_downward): Likewise.
28931         (fma_test_upward): Likewise.
28932
28933 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28934
28935         [BZ #157]
28936
28937         * include/stub-tag.h: Remove file.
28938         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28939         '#include' of it.
28940         * manual/maint.texi (Porting): Don't reference it.
28941         * Makerules ($(objpfx)stubs): Likewise.
28942         * dirent/closedir.c: Don't include <stub-tag.h>.
28943         * dirent/dirfd.c: Likewise.
28944         * dirent/fdopendir.c: Likewise.
28945         * dirent/getdents.c: Likewise.
28946         * dirent/getdents64.c: Likewise.
28947         * dirent/opendir.c: Likewise.
28948         * dirent/readdir.c: Likewise.
28949         * dirent/readdir64.c: Likewise.
28950         * dirent/readdir64_r.c: Likewise.
28951         * dirent/readdir_r.c: Likewise.
28952         * dirent/rewinddir.c: Likewise.
28953         * dirent/seekdir.c: Likewise.
28954         * dirent/telldir.c: Likewise.
28955         * gmon/profil.c: Likewise.
28956         * grp/setgroups.c: Likewise.
28957         * inet/if_index.c: Likewise.
28958         * io/access.c: Likewise.
28959         * io/chdir.c: Likewise.
28960         * io/chmod.c: Likewise.
28961         * io/chown.c: Likewise.
28962         * io/close.c: Likewise.
28963         * io/dup.c: Likewise.
28964         * io/dup2.c: Likewise.
28965         * io/dup3.c: Likewise.
28966         * io/euidaccess.c: Likewise.
28967         * io/faccessat.c: Likewise.
28968         * io/fchdir.c: Likewise.
28969         * io/fchmod.c: Likewise.
28970         * io/fchmodat.c: Likewise.
28971         * io/fchown.c: Likewise.
28972         * io/fchownat.c: Likewise.
28973         * io/fcntl.c: Likewise.
28974         * io/flock.c: Likewise.
28975         * io/fstatfs.c: Likewise.
28976         * io/fstatfs64.c: Likewise.
28977         * io/fstatvfs.c: Likewise.
28978         * io/fstatvfs64.c: Likewise.
28979         * io/futimens.c: Likewise.
28980         * io/fxstat.c: Likewise.
28981         * io/fxstat64.c: Likewise.
28982         * io/fxstatat.c: Likewise.
28983         * io/fxstatat64.c: Likewise.
28984         * io/getcwd.c: Likewise.
28985         * io/isatty.c: Likewise.
28986         * io/lchmod.c: Likewise.
28987         * io/lchown.c: Likewise.
28988         * io/link.c: Likewise.
28989         * io/linkat.c: Likewise.
28990         * io/lseek.c: Likewise.
28991         * io/lseek64.c: Likewise.
28992         * io/lxstat64.c: Likewise.
28993         * io/mkdir.c: Likewise.
28994         * io/mkdirat.c: Likewise.
28995         * io/mkfifo.c: Likewise.
28996         * io/mkfifoat.c: Likewise.
28997         * io/open.c: Likewise.
28998         * io/open64.c: Likewise.
28999         * io/openat.c: Likewise.
29000         * io/openat64.c: Likewise.
29001         * io/pipe.c: Likewise.
29002         * io/pipe2.c: Likewise.
29003         * io/poll.c: Likewise.
29004         * io/posix_fadvise.c: Likewise.
29005         * io/posix_fadvise64.c: Likewise.
29006         * io/posix_fallocate.c: Likewise.
29007         * io/posix_fallocate64.c: Likewise.
29008         * io/read.c: Likewise.
29009         * io/readlink.c: Likewise.
29010         * io/readlinkat.c: Likewise.
29011         * io/rmdir.c: Likewise.
29012         * io/sendfile.c: Likewise.
29013         * io/sendfile64.c: Likewise.
29014         * io/statfs.c: Likewise.
29015         * io/statfs64.c: Likewise.
29016         * io/statvfs.c: Likewise.
29017         * io/statvfs64.c: Likewise.
29018         * io/symlink.c: Likewise.
29019         * io/symlinkat.c: Likewise.
29020         * io/ttyname.c: Likewise.
29021         * io/ttyname_r.c: Likewise.
29022         * io/umask.c: Likewise.
29023         * io/unlink.c: Likewise.
29024         * io/unlinkat.c: Likewise.
29025         * io/utime.c: Likewise.
29026         * io/utimensat.c: Likewise.
29027         * io/write.c: Likewise.
29028         * io/xmknod.c: Likewise.
29029         * io/xmknodat.c: Likewise.
29030         * io/xstat.c: Likewise.
29031         * io/xstat64.c: Likewise.
29032         * login/getpt.c: Likewise.
29033         * login/grantpt.c: Likewise.
29034         * login/unlockpt.c: Likewise.
29035         * math/e_acoshl.c: Likewise.
29036         * math/e_acosl.c: Likewise.
29037         * math/e_asinl.c: Likewise.
29038         * math/e_atan2l.c: Likewise.
29039         * math/e_atanhl.c: Likewise.
29040         * math/e_coshl.c: Likewise.
29041         * math/e_expl.c: Likewise.
29042         * math/e_fmodl.c: Likewise.
29043         * math/e_gammal_r.c: Likewise.
29044         * math/e_hypotl.c: Likewise.
29045         * math/e_j0l.c: Likewise.
29046         * math/e_j1l.c: Likewise.
29047         * math/e_jnl.c: Likewise.
29048         * math/e_lgammal_r.c: Likewise.
29049         * math/e_log10l.c: Likewise.
29050         * math/e_log2l.c: Likewise.
29051         * math/e_logl.c: Likewise.
29052         * math/e_powl.c: Likewise.
29053         * math/e_rem_pio2l.c: Likewise.
29054         * math/e_sinhl.c: Likewise.
29055         * math/e_sqrtl.c: Likewise.
29056         * math/fclrexcpt.c: Likewise.
29057         * math/fedisblxcpt.c: Likewise.
29058         * math/feenablxcpt.c: Likewise.
29059         * math/fegetenv.c: Likewise.
29060         * math/fegetexcept.c: Likewise.
29061         * math/fegetround.c: Likewise.
29062         * math/feholdexcpt.c: Likewise.
29063         * math/fesetenv.c: Likewise.
29064         * math/fesetround.c: Likewise.
29065         * math/feupdateenv.c: Likewise.
29066         * math/fgetexcptflg.c: Likewise.
29067         * math/fraiseexcpt.c: Likewise.
29068         * math/fsetexcptflg.c: Likewise.
29069         * math/ftestexcept.c: Likewise.
29070         * math/k_cosl.c: Likewise.
29071         * math/k_rem_pio2l.c: Likewise.
29072         * math/k_sinl.c: Likewise.
29073         * math/k_tanl.c: Likewise.
29074         * math/s_asinhl.c: Likewise.
29075         * math/s_atanl.c: Likewise.
29076         * math/s_cbrtl.c: Likewise.
29077         * math/s_erfl.c: Likewise.
29078         * math/s_expm1l.c: Likewise.
29079         * math/s_log1pl.c: Likewise.
29080         * math/s_tanhl.c: Likewise.
29081         * misc/acct.c: Likewise.
29082         * misc/brk.c: Likewise.
29083         * misc/chflags.c: Likewise.
29084         * misc/chroot.c: Likewise.
29085         * misc/fchflags.c: Likewise.
29086         * misc/fgetxattr.c: Likewise.
29087         * misc/flistxattr.c: Likewise.
29088         * misc/fremovexattr.c: Likewise.
29089         * misc/fsetxattr.c: Likewise.
29090         * misc/fsync.c: Likewise.
29091         * misc/ftruncate.c: Likewise.
29092         * misc/futimes.c: Likewise.
29093         * misc/futimesat.c: Likewise.
29094         * misc/getdomain.c: Likewise.
29095         * misc/getdtsz.c: Likewise.
29096         * misc/gethostid.c: Likewise.
29097         * misc/gethostname.c: Likewise.
29098         * misc/getloadavg.c: Likewise.
29099         * misc/getpagesize.c: Likewise.
29100         * misc/getsysstats.c: Likewise.
29101         * misc/getxattr.c: Likewise.
29102         * misc/gtty.c: Likewise.
29103         * misc/ioctl.c: Likewise.
29104         * misc/lgetxattr.c: Likewise.
29105         * misc/listxattr.c: Likewise.
29106         * misc/llistxattr.c: Likewise.
29107         * misc/lremovexattr.c: Likewise.
29108         * misc/lsetxattr.c: Likewise.
29109         * misc/lutimes.c: Likewise.
29110         * misc/madvise.c: Likewise.
29111         * misc/mincore.c: Likewise.
29112         * misc/mlock.c: Likewise.
29113         * misc/mlockall.c: Likewise.
29114         * misc/mmap.c: Likewise.
29115         * misc/mprotect.c: Likewise.
29116         * misc/msync.c: Likewise.
29117         * misc/munlock.c: Likewise.
29118         * misc/munlockall.c: Likewise.
29119         * misc/munmap.c: Likewise.
29120         * misc/preadv.c: Likewise.
29121         * misc/preadv64.c: Likewise.
29122         * misc/ptrace.c: Likewise.
29123         * misc/pwritev.c: Likewise.
29124         * misc/pwritev64.c: Likewise.
29125         * misc/readv.c: Likewise.
29126         * misc/reboot.c: Likewise.
29127         * misc/remap_file_pages.c: Likewise.
29128         * misc/removexattr.c: Likewise.
29129         * misc/revoke.c: Likewise.
29130         * misc/select.c: Likewise.
29131         * misc/setdomain.c: Likewise.
29132         * misc/setegid.c: Likewise.
29133         * misc/seteuid.c: Likewise.
29134         * misc/sethostid.c: Likewise.
29135         * misc/sethostname.c: Likewise.
29136         * misc/setregid.c: Likewise.
29137         * misc/setreuid.c: Likewise.
29138         * misc/setxattr.c: Likewise.
29139         * misc/sstk.c: Likewise.
29140         * misc/stty.c: Likewise.
29141         * misc/swapoff.c: Likewise.
29142         * misc/swapon.c: Likewise.
29143         * misc/sync.c: Likewise.
29144         * misc/syncfs.c: Likewise.
29145         * misc/syscall.c: Likewise.
29146         * misc/truncate.c: Likewise.
29147         * misc/ualarm.c: Likewise.
29148         * misc/usleep.c: Likewise.
29149         * misc/ustat.c: Likewise.
29150         * misc/utimes.c: Likewise.
29151         * misc/vhangup.c: Likewise.
29152         * misc/writev.c: Likewise.
29153         * posix/_exit.c: Likewise.
29154         * posix/alarm.c: Likewise.
29155         * posix/execve.c: Likewise.
29156         * posix/fexecve.c: Likewise.
29157         * posix/fork.c: Likewise.
29158         * posix/fpathconf.c: Likewise.
29159         * posix/getaddrinfo.c: Likewise.
29160         * posix/getegid.c: Likewise.
29161         * posix/geteuid.c: Likewise.
29162         * posix/getgid.c: Likewise.
29163         * posix/getgroups.c: Likewise.
29164         * posix/getlogin.c: Likewise.
29165         * posix/getlogin_r.c: Likewise.
29166         * posix/getpgid.c: Likewise.
29167         * posix/getpid.c: Likewise.
29168         * posix/getppid.c: Likewise.
29169         * posix/getresgid.c: Likewise.
29170         * posix/getresuid.c: Likewise.
29171         * posix/getsid.c: Likewise.
29172         * posix/getuid.c: Likewise.
29173         * posix/glob64.c: Likewise.
29174         * posix/nanosleep.c: Likewise.
29175         * posix/pathconf.c: Likewise.
29176         * posix/pause.c: Likewise.
29177         * posix/posix_madvise.c: Likewise.
29178         * posix/pread.c: Likewise.
29179         * posix/pread64.c: Likewise.
29180         * posix/pwrite.c: Likewise.
29181         * posix/pwrite64.c: Likewise.
29182         * posix/sched_getaffinity.c: Likewise.
29183         * posix/sched_getp.c: Likewise.
29184         * posix/sched_gets.c: Likewise.
29185         * posix/sched_primax.c: Likewise.
29186         * posix/sched_primin.c: Likewise.
29187         * posix/sched_rr_gi.c: Likewise.
29188         * posix/sched_setaffinity.c: Likewise.
29189         * posix/sched_setp.c: Likewise.
29190         * posix/sched_sets.c: Likewise.
29191         * posix/sched_yield.c: Likewise.
29192         * posix/setgid.c: Likewise.
29193         * posix/setlogin.c: Likewise.
29194         * posix/setpgid.c: Likewise.
29195         * posix/setresgid.c: Likewise.
29196         * posix/setresuid.c: Likewise.
29197         * posix/setsid.c: Likewise.
29198         * posix/setuid.c: Likewise.
29199         * posix/sleep.c: Likewise.
29200         * posix/spawni.c: Likewise.
29201         * posix/sysconf.c: Likewise.
29202         * posix/times.c: Likewise.
29203         * posix/wait.c: Likewise.
29204         * posix/wait3.c: Likewise.
29205         * posix/wait4.c: Likewise.
29206         * posix/waitpid.c: Likewise.
29207         * resolv/gai_sigqueue.c: Likewise.
29208         * resource/getpriority.c: Likewise.
29209         * resource/getrlimit.c: Likewise.
29210         * resource/getrusage.c: Likewise.
29211         * resource/nice.c: Likewise.
29212         * resource/setpriority.c: Likewise.
29213         * resource/setrlimit.c: Likewise.
29214         * resource/ulimit.c: Likewise.
29215         * rt/aio_cancel.c: Likewise.
29216         * rt/aio_fsync.c: Likewise.
29217         * rt/aio_read.c: Likewise.
29218         * rt/aio_sigqueue.c: Likewise.
29219         * rt/aio_suspend.c: Likewise.
29220         * rt/aio_write.c: Likewise.
29221         * rt/clock_getres.c: Likewise.
29222         * rt/clock_gettime.c: Likewise.
29223         * rt/clock_nanosleep.c: Likewise.
29224         * rt/clock_settime.c: Likewise.
29225         * rt/lio_listio.c: Likewise.
29226         * rt/mq_close.c: Likewise.
29227         * rt/mq_getattr.c: Likewise.
29228         * rt/mq_notify.c: Likewise.
29229         * rt/mq_open.c: Likewise.
29230         * rt/mq_receive.c: Likewise.
29231         * rt/mq_send.c: Likewise.
29232         * rt/mq_setattr.c: Likewise.
29233         * rt/mq_timedreceive.c: Likewise.
29234         * rt/mq_timedsend.c: Likewise.
29235         * rt/mq_unlink.c: Likewise.
29236         * rt/shm_open.c: Likewise.
29237         * rt/shm_unlink.c: Likewise.
29238         * rt/timer_create.c: Likewise.
29239         * rt/timer_delete.c: Likewise.
29240         * rt/timer_getoverr.c: Likewise.
29241         * rt/timer_gettime.c: Likewise.
29242         * rt/timer_settime.c: Likewise.
29243         * setjmp/__longjmp.c: Likewise.
29244         * setjmp/setjmp.c: Likewise.
29245         * signal/kill.c: Likewise.
29246         * signal/killpg.c: Likewise.
29247         * signal/raise.c: Likewise.
29248         * signal/sigaction.c: Likewise.
29249         * signal/sigaltstack.c: Likewise.
29250         * signal/sigblock.c: Likewise.
29251         * signal/sigignore.c: Likewise.
29252         * signal/sigintr.c: Likewise.
29253         * signal/signal.c: Likewise.
29254         * signal/sigpause.c: Likewise.
29255         * signal/sigpending.c: Likewise.
29256         * signal/sigqueue.c: Likewise.
29257         * signal/sigreturn.c: Likewise.
29258         * signal/sigset.c: Likewise.
29259         * signal/sigsetmask.c: Likewise.
29260         * signal/sigstack.c: Likewise.
29261         * signal/sigsuspend.c: Likewise.
29262         * signal/sigtimedwait.c: Likewise.
29263         * signal/sigvec.c: Likewise.
29264         * signal/sigwait.c: Likewise.
29265         * signal/sigwaitinfo.c: Likewise.
29266         * signal/sysv_signal.c: Likewise.
29267         * socket/accept.c: Likewise.
29268         * socket/accept4.c: Likewise.
29269         * socket/bind.c: Likewise.
29270         * socket/connect.c: Likewise.
29271         * socket/getpeername.c: Likewise.
29272         * socket/getsockname.c: Likewise.
29273         * socket/getsockopt.c: Likewise.
29274         * socket/isfdtype.c: Likewise.
29275         * socket/listen.c: Likewise.
29276         * socket/recv.c: Likewise.
29277         * socket/recvfrom.c: Likewise.
29278         * socket/recvmsg.c: Likewise.
29279         * socket/send.c: Likewise.
29280         * socket/sendmsg.c: Likewise.
29281         * socket/sendto.c: Likewise.
29282         * socket/setsockopt.c: Likewise.
29283         * socket/shutdown.c: Likewise.
29284         * socket/sockatmark.c: Likewise.
29285         * socket/socket.c: Likewise.
29286         * socket/socketpair.c: Likewise.
29287         * stdio-common/ctermid.c: Likewise.
29288         * stdio-common/cuserid.c: Likewise.
29289         * stdio-common/remove.c: Likewise.
29290         * stdio-common/rename.c: Likewise.
29291         * stdio-common/renameat.c: Likewise.
29292         * stdio-common/tempname.c: Likewise.
29293         * stdlib/getcontext.c: Likewise.
29294         * stdlib/makecontext.c: Likewise.
29295         * stdlib/setcontext.c: Likewise.
29296         * stdlib/swapcontext.c: Likewise.
29297         * stdlib/system.c: Likewise.
29298         * streams/fattach.c: Likewise.
29299         * streams/fdetach.c: Likewise.
29300         * streams/getmsg.c: Likewise.
29301         * streams/getpmsg.c: Likewise.
29302         * streams/putmsg.c: Likewise.
29303         * streams/putpmsg.c: Likewise.
29304         * sysdeps/unix/bsd/getpt.c: Likewise.
29305         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29306         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29307         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29309         Likewise.
29310         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29311         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29312         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29313         * sysvipc/msgctl.c: Likewise.
29314         * sysvipc/msgget.c: Likewise.
29315         * sysvipc/msgrcv.c: Likewise.
29316         * sysvipc/msgsnd.c: Likewise.
29317         * sysvipc/semctl.c: Likewise.
29318         * sysvipc/semget.c: Likewise.
29319         * sysvipc/semop.c: Likewise.
29320         * sysvipc/semtimedop.c: Likewise.
29321         * sysvipc/shmat.c: Likewise.
29322         * sysvipc/shmctl.c: Likewise.
29323         * sysvipc/shmdt.c: Likewise.
29324         * sysvipc/shmget.c: Likewise.
29325         * termios/tcdrain.c: Likewise.
29326         * termios/tcflow.c: Likewise.
29327         * termios/tcflush.c: Likewise.
29328         * termios/tcgetattr.c: Likewise.
29329         * termios/tcgetpgrp.c: Likewise.
29330         * termios/tcsendbrk.c: Likewise.
29331         * termios/tcsetattr.c: Likewise.
29332         * termios/tcsetpgrp.c: Likewise.
29333         * time/adjtime.c: Likewise.
29334         * time/clock.c: Likewise.
29335         * time/getitimer.c: Likewise.
29336         * time/gettimeofday.c: Likewise.
29337         * time/setitimer.c: Likewise.
29338         * time/settimeofday.c: Likewise.
29339         * time/stime.c: Likewise.
29340         * time/time.c: Likewise.
29341
29342 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29343
29344         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29345         /usr/old/bin.
29346
29347         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29348         instead of spaces.
29349         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29350
29351 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29352
29353         [BZ #14796]
29354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29355         FE_TONEAREST before applying Dekker multiplication and Knuth
29356         addition.  Clear inexact exceptions and check for exact zero
29357         results afterwards.
29358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29359         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29360         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29361         * math/libm-test.inc (fma_test): Add more tests.
29362         (fma_test_towardzero): Likewise.
29363         (fma_test_downward): Likewise.
29364         (fma_test_upward): Likewise.
29365         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29366         function.
29367         (libc_fesetround): New macro.
29368         (libc_fesetroundf): Likewise.
29369         (libc_fesetroundl): Likewise.
29370         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29371         function.
29372         (libc_fesetround_387): Likewise.
29373         (libc_fesetroundf): New macro.
29374         (libc_fesetround): Likewise.
29375         (libc_fesetroundl): Likewise.
29376         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29377         function.
29378         (libc_fesetroundf): New macro.
29379         (libc_fesetround): Likewise.
29380         (libc_fesetroundl): Likewise.
29381         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29382         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29383         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29384         libm_hidden_ver.
29385         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29386         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29387         libm_hidden_def.
29388         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29389         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29390         libm_hidden_ver.
29391         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29392         libm_hidden_def.
29393
29394         [BZ #3439]
29395         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29396         integer constant usable in #if and use that to give value to enum
29397         constant.
29398         (FE_DIVBYZERO): Likewise.
29399         (FE_UNDERFLOW): Likewise.
29400         (FE_OVERFLOW): Likewise.
29401         (FE_INVALID): Likewise.
29402         (FE_INVALID_SNAN): Likewise.
29403         (FE_INVALID_ISI): Likewise.
29404         (FE_INVALID_IDI): Likewise.
29405         (FE_INVALID_ZDZ): Likewise.
29406         (FE_INVALID_IMZ): Likewise.
29407         (FE_INVALID_COMPARE): Likewise.
29408         (FE_INVALID_SOFTWARE): Likewise.
29409         (FE_INVALID_SQRT): Likewise.
29410         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29411         (FE_TONEAREST): Likewise.
29412         (FE_TOWARDZERO): Likewise.
29413         (FE_UPWARD): Likewise.
29414         (FE_DOWNWARD): Likewise.
29415         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29416         (FE_DIVBYZERO): Likewise.
29417         (FE_OVERFLOW): Likewise.
29418         (FE_UNDERFLOW): Likewise.
29419         (FE_INEXACT): Likewise.
29420         (FE_TONEAREST): Likewise.
29421         (FE_DOWNWARD): Likewise.
29422         (FE_UPWARD): Likewise.
29423         (FE_TOWARDZERO): Likewise.
29424         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29425         (FE_UNDERFLOW): Likewise.
29426         (FE_OVERFLOW): Likewise.
29427         (FE_DIVBYZERO): Likewise.
29428         (FE_INVALID): Likewise.
29429         (FE_TONEAREST): Likewise.
29430         (FE_TOWARDZERO): Likewise.
29431         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29432         (FE_OVERFLOW): Likewise.
29433         (FE_UNDERFLOW): Likewise.
29434         (FE_DIVBYZERO): Likewise.
29435         (FE_INEXACT): Likewise.
29436         (FE_TONEAREST): Likewise.
29437         (FE_TOWARDZERO): Likewise.
29438         (FE_UPWARD): Likewise.
29439         (FE_DOWNWARD): Likewise.
29440         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29441         (FE_DIVBYZERO): Likewise.
29442         (FE_OVERFLOW): Likewise.
29443         (FE_UNDERFLOW): Likewise.
29444         (FE_INEXACT): Likewise.
29445         (FE_TONEAREST): Likewise.
29446         (FE_DOWNWARD): Likewise.
29447         (FE_UPWARD): Likewise.
29448         (FE_TOWARDZERO): Likewise.
29449
29450 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29451
29452         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29453
29454 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29455
29456         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29457         commands.  Quote $PWD.
29458         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29459         -x" by "export".
29460         (remove_newlines): Remove.
29461
29462 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29463
29464         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29465         * stdlib/stdlib.h (atof): Moved to ...
29466         * include/bits/stdlib-float.h: Here.  New file.
29467         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29468         * stdlib/bits/stdlib-float.h: New file.
29469         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29470         -mno-sse -mno-mmx.
29471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29472         <xmmintrin.h>.
29473
29474 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29475
29476         * conform/conformtest.pl (@headers): Add fenv.h.
29477         * conform/data/fenv.h-data: New file.
29478         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29479         include of <math/fenv.h>.
29480
29481         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29482         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29483         && !UNIX98].  Enables tests for XOPEN2K8.
29484         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29485         POSIX2008]: Likewise.
29486
29487         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29488         (struct rusage): Do not expect type or its members.
29489
29490         [BZ #3439]
29491         * math/math.h (FP_NAN): Define macro to integer constant usable in
29492         #if and use that to give value to enum constant.
29493         (FP_INFINITE): Likewise.
29494         (FP_ZERO): Likewise.
29495         (FP_SUBNORMAL): Likewise.
29496         (FP_NORMAL): Likewise.
29497
29498 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29499
29500         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29501         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29502         arguments.
29503
29504 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29505
29506         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29507         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29508         autoconf-time if not.
29509         * configure.in: Remove AC_PREREQ.
29510
29511 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29512
29513         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29514         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29515         of the internal implementation.
29516
29517 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29518
29519         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29520         except include of <misc/sys/syslog.h>.
29521
29522 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29523
29524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29525         function returns with a NULL context exit with zero.
29526
29527 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29528
29529         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29530
29531 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29532
29533         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29534         (run_program_cmd): This.
29535         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29536         (tst_langinfo): New variable.  Use it.
29537
29538 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29539
29540         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29541         floating point opcodes.
29542
29543 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29544
29545         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29546         variable.
29547
29548         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29549
29550         * sysdeps/mach/hurd/powerpc: Remove directory.
29551         * sysdeps/mach/powerpc: Likewise.
29552
29553 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29554
29555         * scripts/check-local-headers.sh: Ignore c++ headers.
29556
29557 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29558
29559         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29560         __libc_cleanup_region_start argument.
29561
29562 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29563
29564         [BZ #14784]
29565         [BZ #14785]
29566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29567         x * y using scaling, not as x * y + z.
29568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29570         * math/libm-test.inc (fma_test): Add more tests.
29571         (fma_test_towardzero): Likewise.
29572         (fma_test_downward): Likewise.
29573         (fma_test_upward): Likewise.
29574
29575 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29576
29577         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29578
29579 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29580
29581         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29582         New variable.
29583
29584 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29585
29586         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29587
29588 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29589
29590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29591         Fix sort order.
29592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29593         Likewise.
29594
29595 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29596
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29598         Fix the order of the list for glibc 2.17.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29600         Likewise.
29601
29602 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29603
29604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29605
29606 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29607
29608         [BZ #14610]
29609         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29610         for low part of x being zero before using __atanl (y).
29611         * math/libm-test.inc (atan2_test): Add another test.
29612
29613         * manual/install.texi (Configuring and compiling): Document
29614         general use of test-wrapper and test-wrapper-env.
29615         * INSTALL: Regenerated.
29616
29617         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29618         (__fma): Do not extract and scale down low bits on after-rounding
29619         systems when result rounded to normal precision would have normal
29620         exponent.
29621         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29622         (__fmal): Do not extract and scale down low bits on after-rounding
29623         systems when result rounded to normal precision would have normal
29624         exponent.
29625         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29626         (__fmal): Do not extract and scale down low bits on after-rounding
29627         systems when result rounded to normal precision would have normal
29628         exponent.
29629         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29630         macro.
29631         (fma_test): Add more tests.
29632         (fma_test_towardzero): Likewise.
29633         (fma_test_downward): Likewise.
29634         (fma_test_upward): Likewise.
29635
29636 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29637
29638         * sysdeps/i386/tininess.h: Renamed to ...
29639         * sysdeps/x86/tininess.h: This.
29640         * sysdeps/x86_64/tininess.h: Removed.
29641
29642 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29643
29644         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29645         input.  Use $(build-program-cmd).
29646         ($(objpfx)tst-array1-static.out): Likewise.
29647         ($(objpfx)tst-array2.out): Likewise.
29648         ($(objpfx)tst-array3.out): Likewise.
29649         ($(objpfx)tst-array4.out): Likewise.
29650         ($(objpfx)tst-array5.out): Likewise.
29651         ($(objpfx)tst-array5-static.out): Likewise.
29652
29653 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29654
29655         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29656         if defined.
29657
29658         * nss/nsswitch.h (nss_interface_function): Provide new
29659         macro for use with NSS functions.
29660         * grp/initgroups.c: Use new macro.
29661         * nss/getXXbyYY.c: Likewise.
29662         * nss/getXXbyYY_r.c: Likewise.
29663         * nss/getXXent.c: Likewise.
29664         * nss/getXXent_r.c: Likewise.
29665         * sysdeps/posix/getaddrinfo.c: Likewise.
29666
29667 2012-10-30  Andreas Jaeger  <aj@suse.de>
29668
29669         * po/ru.po: Update Russion translation from translation project.
29670
29671 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29672
29673         [BZ #14152]
29674         [BZ #14783]
29675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29676         result and shift together with sticky bit instead of replicating
29677         round-to-nearest rounding.
29678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29680         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29681         missing underflow exceptions.
29682         (fma_test_towardzero): Add more tests.
29683         (fma_test_downward): Likewise.
29684         (fma_test_upward): Likewise.
29685
29686         [BZ #14047]
29687         * sysdeps/generic/tininess.h: New file.
29688         * sysdeps/i386/tininess.h: Likewise.
29689         * sysdeps/sh/tininess.h: Likewise.
29690         * sysdeps/x86_64/tininess.h: Likewise.
29691         * stdlib/tst-strtod-underflow.c: Likewise.
29692         * stdlib/tst-tininess.c: Likewise.
29693         * stdlib/strtod_l.c: Include <tininess.h>.
29694         (round_and_return): Do not set errno for exact underflow cases.
29695         Force an underflow exception when setting errno for underflow.
29696         Determine underflow based on rounding to normal precision if
29697         TININESS_AFTER_ROUNDING.
29698         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29699         ERANGE for exact underflow cases.
29700         * stdlib/Makefile (tests): Add tst-tininess and
29701         tst-strtod-underflow.
29702         ($(objpfx)tst-tininess): Use $(link-libm).
29703         ($(objpfx)tst-strtod-underflow): Likewise.
29704
29705 2012-10-30  Andreas Jaeger  <aj@suse.de>
29706
29707         [BZ#14767]
29708         * elf/Makefile (tests): Remove conditional for have-initfini-array
29709         since this is now always required and the variable does not exist
29710         anymore.
29711         (tests-static): Likewise.
29712         (modules-names): Likewise.
29713
29714         * po/eo.po: Add Esperanto translation from translation project.
29715
29716         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29717         merged with constructor/destructor.
29718         (init_array): Likewise.
29719         * elf/tst-array2dep.c (fini_array): Likewise.
29720         (init_array): Likewise.
29721
29722 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29723
29724         * manual/message.texi: Delete @cartouche tags.
29725
29726 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29727
29728         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29729         EOPNOTSUPP.
29730         * sysdeps/mach/hurd/fsync.c: Likewise.
29731
29732         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29733         [_POSIX_REALTIME_SIGNALS]: Change condition to
29734         [_POSIX_REALTIME_SIGNALS > 0].
29735
29736 2012-10-27  Andreas Jaeger  <aj@suse.de>
29737
29738         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29739         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29741         [__WORDSIZE != 64]: Likewise.
29742
29743 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29744
29745         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29746         *  iconvdata/tst-tables.sh: Likewise.
29747
29748 2012-10-25  David S. Miller  <davem@davemloft.net>
29749
29750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29751         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29752         of strtoull.
29753
29754         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29755         ifunc-impl-list.c
29756         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29757         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29758         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29759         file.
29760
29761 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29762
29763         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29764         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29765         __getdirentries.
29766
29767 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29768             Jim Blandy  <jimb@codesourcery.com>
29769
29770         * scripts/cross-test-ssh.sh: New file.
29771         * manual/install.texi (Configuring and compiling): Document use of
29772         cross-test-ssh.sh.
29773         * INSTALL: Regenerated.
29774
29775 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29776
29777         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29778         EOPNOTSUPP.
29779
29780 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29781
29782         * Makeconfig (run-program-prefix): Fix comment.
29783
29784 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29785             Jim Blandy  <jimb@codesourcery.com>
29786
29787         * Makeconfig (test-wrapper): New variable,
29788         (test-wrapper-env): Likewise.
29789         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29790         (run-built-tests): Define to yes.
29791         (run-program-prefix): Use $(test-wrapper).
29792         (built-program-cmd): Likewise.
29793         * Rules (make-test-out): Use $(test-wrapper-env) and
29794         $(host-built-program-cmd).
29795         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29796         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29797         tst-pathopt.sh.
29798         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29799         $(test-wrapper-env) to tst-rtld-load-self.sh.
29800         ($(objpfx)order2.out): Use $(test-wrapper).
29801         ($(objpfx)tst-initorder.out): Likewise.
29802         ($(objpfx)tst-initorder2.out): Likewise.
29803         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29804         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29805         (test_wrapper_env): New variable.  Use it to run ld.so.
29806         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29807         Use it to run ld.so.
29808         (test_wrapper_env): Likewise.
29809         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29810         $(test-wrapper) to run-iconv-test.sh.
29811         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29812         (ICONV): Use $test_wrapper.
29813         * posix/Makefile ($(objpfx)globtest.out): Pass
29814         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29815         globtest.sh, not $(run-program-prefix).
29816         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29817         (test_wrapper): Likewise.
29818         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29819         set together with run_via_rtld_prefix.
29820         (run_program_prefix): Define in terms of test_wrapper and
29821         run_via_rtld_prefix.
29822
29823 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29824
29825         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29826         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29827         Targets removed.
29828
29829         [BZ #14743]
29830         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29831         Declare __clock_getres, __clock_gettime, __clock_settime,
29832         __clock_nanosleep, and __clock_getcpuclockid.
29833         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29834         Remove librt_hidden_def (clock_gettime).
29835         * sysdeps/unix/clock_gettime.c: Likewise.
29836         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29837         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29838         * rt/clock_getres.c: Define __clock_getres as an alias.
29839         * sysdeps/posix/clock_getres.c: Likewise.
29840         * rt/clock_settime.c: Define __clock_settime as an alias.
29841         * sysdeps/unix/clock_settime.c: Likewise.
29842         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29843         * sysdeps/unix/clock_nanosleep.c: Likewise.
29844         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29845         * rt/clock-compat.c: New file.
29846         * rt/Makefile (librt-routines): Add clock-compat and move
29847         $(clock-routines) to ...
29848         (routines): ... here, new variable.
29849         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29850         Don't add get_clockfreq here.
29851         * rt/Versions (libc: GLIBC_2.17): New version set.
29852         Add clock_* symbols here.
29853         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29854         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29855         (GLIBC_2.17): Add clock_* symbols.
29856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29858         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29860         Likewise.
29861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29862         Likewise.
29863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29867         * NEWS: Mention the move.
29868
29869         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29870         Use __open, __read, __close rather than their public counterparts.
29871         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29872         (__get_clockfreq_via_cpuinfo): Likewise.
29873         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29874         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29875
29876         * config.h.in (HAVE_IFUNC): New #undef.
29877         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29878         was successful.
29879         * configure: Regenerated.
29880
29881 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29882
29883         * configure.in: Move READELF check to start of file.
29884         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29885         libc_cv_asm_gnu_indirect_function in the process.
29886         * configure: Regenerated.
29887
29888 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29889
29890         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29891         send the output to /dev/null.
29892         (libc_cv_cc_with_libunwind): Likewise.
29893         (libc_cv_as_noexecstack): Likewise.
29894         * configure: Regenerate.
29895
29896 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29897
29898         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29899
29900         * posix/globtest.sh (TMPDIR): Do not set.
29901         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29902         (testout): Likewise.
29903
29904 2012-10-24  Andreas Jaeger  <aj@suse.de>
29905
29906         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29907         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29908         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29909         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29910         posix_fadvise64, posix_fallocate64.
29911
29912         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29913         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29914         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29915         Likewise.
29916         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29917         Likewise.
29918         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29919
29920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29921         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29922         <bits/fcntl-linux.h>.
29923         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29924
29925         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29926         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29927         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29928         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29929         [__WORDSIZE != 64]: Likewise.
29930
29931 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29932
29933         * Makeconfig (run-built-tests): New variable.
29934         * Rules [$(cross-compiling) = yes]: Change condition to
29935         [$(run-built-tests) = no].
29936         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29937         to [$(run-built-tests) = yes].
29938         * elf/Makefile [$(cross-compiling) = no]: Likewise
29939         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29940         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29941         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29942         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29943         * io/Makefile [$(cross-compiling) = no]: Likewise.
29944         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29945         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29946         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29947         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29948         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29949         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29950         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29951         * string/Makefile [$(cross-compiling) = no]: Likewise.
29952
29953         * posix/Makefile ($(objpfx)globtest.out): Pass
29954         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29955         $(rtld-installed-name).
29956         * posix/globtest.sh (elf_objpfx): Remove variable.
29957         (rtld_installed_name): Likewise.
29958         (library_path): Likewise.
29959         (run_program_prefix): New variable.  Use for running globtest
29960         binary.
29961
29962 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29963             Joseph Myers  <joseph@codesourcery.com>
29964
29965         * Makeconfig (host-built-program-cmd): New variable.
29966         * elf/Makefile (tst-stackguard1-ARGS): Use
29967         $(host-built-program-cmd).
29968         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29969         (tst-spawn-ARGS): Likewise.
29970         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29971
29972 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29973             Jim Blandy  <jimb@codesourcery.com>
29974
29975         * Makeconfig (run-via-rtld-prefix): New variable.
29976         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29977         (built-program-cmd): Likewise.
29978
29979 2012-10-22  Andreas Jaeger  <aj@suse.de>
29980
29981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29982         __O_RSYNC if it exists, otherwise to O_SYNC.
29983
29984 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29985             Joseph Myers  <joseph@codesourcery.com>
29986
29987         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29988         /dev/null.
29989         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29990         from /dev/null
29991         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29992         /dev/null.
29993
29994 2012-10-22  Andreas Jaeger  <aj@suse.de>
29995
29996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29997         Define always.
29998         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29999
30000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30001         bits/fcntl-linux.h.
30002
30003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30004         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30005
30006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30007         to __O_LARGEFILE.
30008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30009         to __O_LARGEFILE.
30010
30011 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30012             Joseph Myers  <joseph@codesourcery.com>
30013
30014         * config.make.in (NM): New variable.
30015
30016 2012-10-21  Andreas Jaeger  <aj@suse.de>
30017
30018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30019         definitions and declarations that are provided by
30020         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30021
30022 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30023
30024         [BZ #14683]
30025         * elf/Makefile (tests-static): Add tst-leaks1-static.
30026         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30027         ($(objpfx)tst-leaks1-static): New rule.
30028         ($(objpfx)tst-leaks1-static-mem): Likewise.
30029         (tst-leaks1-static-ENV): New macro.
30030         * elf/dl-open.c (dl_open_worker): Check the main application
30031         only if SHARED is defined.
30032         * elf/tst-leaks1-static.c: New file.
30033
30034 2012-10-20  Andreas Jaeger  <aj@suse.de>
30035
30036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30037         generic values for Linux.
30038         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30039         and declarations that are provided by <bits/fcntl-linux.h> and
30040         include <bits/fcntl-linux.h>.
30041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30043
30044 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30045
30046         * io/fcntl.h: Move include of <bits/types.h> to the top and
30047         include it unconditionally.
30048
30049 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30050
30051         * wcsmbs/Makefile (tests-ifunc): New variable.
30052         (tests): Add $(tests-ifunc).
30053         * wcsmbs/test-wcschr-ifunc.c: New file.
30054         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30055         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30056         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30057         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30058         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30059
30060         * string/Makefile (tests-ifunc): New variable.
30061         (tests): Add $(tests-ifunc).
30062         * string/test-memccpy.c (TEST_NAME): New macro.
30063         * string/test-memchr.c (TEST_NAME): Likewise.
30064         * string/test-memcmp.c (TEST_NAME): Likewise.
30065         * string/test-memcpy.c (TEST_NAME): Likewise.
30066         * string/test-memmem.c (TEST_NAME): Likewise.
30067         * string/test-memmove.c (TEST_NAME): Likewise.
30068         * string/test-memset.c (TEST_NAME): Likewise.
30069         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30070         * string/test-stpcpy.c (TEST_NAME): Likewise.
30071         * string/test-stpncpy.c (TEST_NAME): Likewise.
30072         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30073         * string/test-strcasestr.c (TEST_NAME): Likewise.
30074         * string/test-strcat.c (TEST_NAME): Likewise.
30075         * string/test-strchr.c (TEST_NAME): Likewise.
30076         * string/test-strcmp.c(TEST_NAME): Likewise.
30077         * string/test-strcpy.c (TEST_NAME): Likewise.
30078         * string/test-strcspn.c (TEST_NAME): Likewise.
30079         * string/test-strlen.c (TEST_NAME): Likewise.
30080         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30081         * string/test-strncmp.c (TEST_NAME): Likewise.
30082         * string/test-strncpy.c (TEST_NAME): Likewise.
30083         * string/test-strnlen.c (TEST_NAME): Likewise.
30084         * string/test-strpbrk.c (TEST_NAME): Likewise.
30085         * string/test-strrchr.c (TEST_NAME): Likewise.
30086         * string/test-strspn.c (TEST_NAME): Likewise.
30087         * string/test-strstr.c (TEST_NAME): Likewise.
30088         * string/test-bcopy-ifunc.c: New file.
30089         * string/test-bzero-ifunc.c: Likewise.
30090         * string/test-memccpy-ifunc.c: Likewise.
30091         * string/test-memchr-ifunc.c: Likewise.
30092         * string/test-memcmp-ifunc.c: Likewise.
30093         * string/test-memcpy-ifunc.c: Likewise.
30094         * string/test-memmem-ifunc.c: Likewise.
30095         * string/test-memmove-ifunc.c: Likewise.
30096         * string/test-mempcpy-ifunc.c: Likewise.
30097         * string/test-memset-ifunc.c: Likewise.
30098         * string/test-rawmemchr-ifunc.c: Likewise.
30099         * string/test-stpcpy-ifunc.c: Likewise.
30100         * string/test-stpncpy-ifunc.c: Likewise.
30101         * string/test-strcasecmp-ifunc.c: Likewise.
30102         * string/test-strcasestr-ifunc.c: Likewise.
30103         * string/test-strcat-ifunc.c: Likewise.
30104         * string/test-strchr-ifunc.c: Likewise.
30105         * string/test-strchrnul-ifunc.c: Likewise.
30106         * string/test-strcmp-ifunc.c: Likewise.
30107         * string/test-strcpy-ifunc.c: Likewise.
30108         * string/test-strcspn-ifunc.c: Likewise.
30109         * string/test-strlen-ifunc.c: Likewise.
30110         * string/test-strncasecmp-ifunc.c: Likewise.
30111         * string/test-strncat-ifunc.c: Likewise.
30112         * string/test-strncmp-ifunc.c: Likewise.
30113         * string/test-strncpy-ifunc.c: Likewise.
30114         * string/test-strnlen-ifunc.c: Likewise.
30115         * string/test-strpbrk-ifunc.c: Likewise.
30116         * string/test-strrchr-ifunc.c: Likewise.
30117         * string/test-strspn-ifunc.c: Likewise.
30118         * string/test-strstr-ifunc.c: Likewise.
30119
30120         * debug/Makefile (tests-ifunc): New variable.
30121         (tests): Add $(tests-ifunc).
30122         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30123         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30124         * debug/test-stpcpy_chk-ifunc.c: New file.
30125         * debug/test-strcpy_chk-ifunc.c: Likewise.
30126
30127 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30128
30129         [BZ #13601]
30130         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30131         header is not read in.
30132
30133 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30134
30135         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30136         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30137         directly.  Pass built executable to script as
30138         $(built-program-cmd).
30139         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30140         $testprogram without using LD_LIBRARY_PATH and $ldso.
30141
30142         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30143         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30144         $(rtld-installed-name).
30145         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30146         (rtld_installed_name): Likewise.
30147         (library_path): Likewise.
30148         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30149         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30150         $(run-program-prefix) to tst-tables.sh.
30151         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30152         it to run tst-table-from and tst-table-to.
30153         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30154         Pass it to tst-table.sh.
30155         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30156         $(run-program-prefix) to tst-gettext.sh.
30157         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30158         tst-translit.sh.
30159         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30160         tst-gettext2.sh.
30161         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30162         to run tst-gettext.
30163         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30164         to run tst-gettext2.
30165         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30166         to run tst-translit.
30167         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30168         $(run-program-prefix) to tst-mtrace.sh.
30169         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30170         to run tst-mtrace.
30171         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30172         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30173         $(rtld-installed-name).
30174         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30175         (rtld_installed_name): Likewise.
30176         (run_program_prefix): New variable.  Use it to run wordexp-test.
30177
30178         * Makeconfig (ARCH): Remove all definitions.
30179         (machine): Likewise.
30180         [ARCH]: Remove conditional code.
30181         [!objdir]: Give error.
30182         [!objdir] (objpfx): Remove.
30183         [!objdir] (common-objpfx): Likewise.
30184         [!objdir] (common-objdir): Likewise.
30185         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30186         AC_CONFIG_FILES call.
30187         * configure: Regenerated.
30188
30189         [BZ #13888]
30190         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30191         or TMPDIR.
30192         (testout): Likewise.
30193
30194         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30195         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30196         $(rtld-installed-name).
30197         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30198         (rtld_installed_name): Likwise.
30199         (runit): Remove function.
30200         (run_getconf): New variable,  Use it for running getconf binary.
30201
30202 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30203
30204         [BZ #14716]
30205         * string/test-memmem.c (check_result): New function.
30206         (do_one_test): Use it.
30207         (check1): New function.
30208         (test_main): Use it.
30209
30210 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30211
30212         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30213
30214 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30215
30216         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30217         (_G_LSEEK64): Likewise.
30218         (_G_MMAP64): Likewise.
30219         (_G_FSTAT64): Likewise.
30220         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30221         (_G_LSEEK64): Likewise.
30222         (_G_MMAP64): Likewise.
30223         (_G_FSTAT64): Likewise.
30224         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30225         unconditional.  Call __mmap64 directly.
30226         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30227         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30228         __lseek64 directly.
30229         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30230         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30231         __mmap64 directly.
30232         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30233         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30234         __lseek64 directly.
30235         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30236         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30237         __lseek64 directly.
30238         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30239         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30240         __lseek64 directly.
30241         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30242         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30243         __fxstat64 directly.
30244         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30245         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30246         unconditional.
30247         (freopen64) [!_G_OPEN64]: Remove conditional code.
30248         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30249         unconditional.
30250         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30251         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30252         unconditional.
30253         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30254         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30255         unconditional.
30256         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30257         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30258         unconditional.
30259         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30260         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30261         unconditional.
30262         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30263         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30264         unconditional.
30265         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30266         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30267         unconditional.
30268         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30269
30270 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30271
30272         [BZ #12140]
30273         * manual/memory.texi (Malloc Tunable Parameters): Add note
30274         about free list pointers overwriting some perturb bytes.
30275         Wording suggested by Roland McGrath.
30276
30277 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30278
30279         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30280         (lgamma_test): Likewise.
30281         (tgamma_test): Likewise.
30282
30283 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30284
30285         [BZ #14700]
30286         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30287         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30288
30289 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30290
30291         * NEWS: Mention BZ #14716.
30292         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30293         when removing AVAILABLE1_USES_J macro.
30294
30295 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30296
30297         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30298         (__bswap_64): __uint64_t for unsigned 64-bit int.
30299
30300 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30301
30302         * include/string.h (memmem): Declare libc hidden alias.
30303         * string/memmem.c (memmem): Define libc hidden alias.
30304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30305         __read, __close instead of open, read, close.
30306
30307 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30308
30309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30310         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30311         global and hidden.
30312         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30313         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30314         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30315         Likewise.
30316         (__rawmemchr_sse2): Likewise.
30317         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30318         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30319         (__strchr_sse2): Likewise.
30320         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30321         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30322         (__strcasecmp_sse2): Likewise.
30323         (__strncasecmp_sse2): Likewise.
30324         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30325         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30326         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30327         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30328         (__strrchr_sse2): Likewise.
30329         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30330         ifunc-impl-list.c.
30331         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30332         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30333         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30334         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30335         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30336         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30337         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30338         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30339         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30340         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30341         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30342         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30343         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30344         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30345         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30346         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30347         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30348         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30349         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30350         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30351         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30352         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30353         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30354         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30355         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30356         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30357         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30358         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30359         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30360         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30361
30362         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30363         global and hidden.
30364         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30365         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30366         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30367         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30368         Likewise.
30369         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30370         Likewise.
30371         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30372         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30373         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30374         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30375         ifunc-impl-list.c.
30376         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30394         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30408         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30409         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30410         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30411         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30412         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30413         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30414         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30415         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30416         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30417
30418         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30419         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30420         * include/ifunc-impl-list.h: New file.
30421         * misc/ifunc-impl-list.c: Likewise.
30422         * misc/Makefile (routines): Add ifunc-impl-list.
30423         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30424         * string/test-string.h: Include <ifunc-impl-list.h>.
30425         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30426         TEST_NAME]: New variables.
30427         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30428         are defined.
30429         (test_init): Call __libc_ifunc_impl_list to initialize
30430         func_list if TEST_IFUNC and TEST_NAME are defined.
30431
30432         * string/Makefile (strop-tests): Add bcopy and bzero.
30433         * string/test-bcopy.c: New file.
30434         * string/test-bzero.c: Likewise.
30435         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30436         defined.
30437         * string/test-memset.c: Support bzero test if TEST_BZERO is
30438         defined.
30439         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30440         __libc_memmove.
30441         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30442         __libc_memset.
30443         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30444         of memset.
30445
30446 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30447
30448         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30449         * configure: Regenerated.
30450
30451         * Makeconfig (+link-static-before-libc): Don't include
30452         $(link-static-libc).
30453
30454         * libio/libio.h (_IO_pos_t): Remove.
30455
30456 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30457
30458         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30459         McGrath.
30460
30461 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30462
30463         * crypt/crypt-entry.c: Include fips-private.h.
30464         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30465         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30466         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30467         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30468
30469 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30470
30471         * crypt/crypt-private.h: Include stdbool.h.
30472         (_ufc_setup_salt_r): Return bool.
30473         * crypt/crypt-entry.c: Include errno.h.
30474         (__crypt_r): Return NULL with EINVAL for bad salt.
30475         * crypt/crypt_util.c (bad_for_salt): New.
30476         (_ufc_setup_salt_r): Check that salt is long enough and within
30477         the specified alphabet.
30478         * crypt/badsalttest.c: New file.
30479         * crypt/Makefile (tests): Add it.
30480         ($(objpfx)badsalttest): New.
30481
30482 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30483
30484         * NEWS: Add entry for BZ #14602.
30485
30486 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30487
30488         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30489         type-generic.
30490         * math/libm-test.inc: Update comment listing what functions and
30491         macros are tested.
30492         (isgreater_test): New function.
30493         (isgreaterequal_test): Likewise.
30494         (isless_test): Likewise.
30495         (islessequal_test): Likewise.
30496         (islessgreater_test): Likewise.
30497         (isunordered_test): Likewise.
30498         (main): Call the new functions.
30499
30500 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30501
30502         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30503         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30504         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30505         * sysdeps/i386/configure: Regenerated.
30506         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30507         * sysdeps/mach/configure: Regenerated.
30508         * sysdeps/mach/hurd/configure: Regenerated.
30509         * sysdeps/powerpc/configure: Regenerated.
30510         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30511         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30512         * sysdeps/s390/s390-32/configure: Regenerated.
30513         * sysdeps/s390/s390-64/configure: Regenerated.
30514         * sysdeps/sh/configure: Regenerated.
30515         * sysdeps/sparc/configure: Regenerated.
30516         * sysdeps/unix/sysv/linux/configure: Regenerated.
30517         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30518         * sysdeps/x86_64/configure: Regenerated.
30519
30520         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30521         defined.  Don't check if MAP is NULL.
30522
30523 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30524
30525         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30526         (_G_stat64): Likewise.
30527         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30528         (_G_stat64): Likewise.
30529         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30530         instead of struct _G_stat64.
30531         * libio/fileops.c (mmap_remap_check): Likewise.
30532         (decide_maybe_mmap): Likewise.
30533         (_IO_new_file_seekoff): Likewise.
30534         (_IO_file_stat): Likewise.
30535         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30536         _G_off64_t.
30537         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30538         instead of struct _G_stat64.
30539         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30540
30541 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30542
30543         [BZ #14602]
30544         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30545         Replace with ...
30546         (CHECK_EOL): New macro.
30547         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30548         CHECK_EOL.
30549         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30550         Replace with CHECK_EOL.
30551         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30552         Replace with CHECK_EOL.
30553
30554 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30555
30556         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30557         type-generic.
30558         * math/libm-test.inc: Update comment listing what functions and
30559         macros are tested.
30560         (finite_test): New function.
30561         (isinf_test): Likewise.
30562         (isnan_test): Likewise.
30563         (fpclassify_test): Test subnormal input.
30564         (isfinite_test): Likewise.
30565         (isnormal_test): Likewise.
30566         (main): Call the new functions.
30567
30568 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30569
30570         [BZ #14660]
30571         * Makerules (%.dynsym): Force C locale when running
30572         $(OBJDUMP) --dynamic-syms.
30573
30574 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30575
30576         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30577         <stdint.h>.
30578
30579 2012-10-06  David S. Miller  <davem@davemloft.net>
30580
30581         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30582         upper 32-bits of the length value in %o2 since we use branch-on-register
30583         tests which consider the entire 64-bit register.
30584
30585 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30586
30587         * string/test-strstr.c (check2): Add a test for page boundary.
30588
30589 2012-10-05  David S. Miller  <davem@davemloft.net>
30590
30591         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30592         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30593         file.
30594         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30595         sysdep_routines.
30596         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30597         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30598         and bzero when HWCAP_SPARC_CRYPTO is present.
30599
30600 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30601
30602         [BZ #14602]
30603         * string/test-strstr.c (check2): New function.
30604         (test_main): Call check2.
30605
30606         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30607         and bug-strchr1.
30608         * string/bug-strcasestr1.c (do_test): Moved to ...
30609         * string/test-strcasestr.c (check1): Here.  New function.
30610         (do_one_test): Break out result checking code into ...
30611         (check_result): This.  New function.
30612         (do_one_test): Call check_result.
30613         (test_main): Call check1.
30614         * string/bug-strchr1.c (do_test): Moved to ...
30615         * string/test-strchr.c (check1): Here.  New function.
30616         (do_one_test): Break out result checking code into ...
30617         (check_result): This.  New function.
30618         (do_one_test): Call check_result.
30619         (test_main): Call check1.
30620         * string/bug-strstr1.c (main): Moved to ...
30621         * string/test-strstr.c (check1): Here.  New function.
30622         (do_one_test): Break out result checking code into ...
30623         (check_result): This.  New function.
30624         (do_one_test): Call check_result.
30625         (test_main): Call check1.
30626         * string/bug-strcasestr1.c: Removed.
30627         * string/bug-strchr1.c: Likewise.
30628         * string/bug-strstr1.c: Likewise.
30629
30630         * elf/Makefile (dl-routines): Add hwcaps.
30631         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30632         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30633         (_dl_important_hwcaps): Moved to ...
30634         * elf/dl-hwcaps.c: Here.  New file.
30635         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30636
30637         [BZ #14557]
30638         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30639         if IS_IN_rtld isn't defined.
30640
30641         * elf/dl-support.c (_dl_sysinfo_map): New.
30642         Include "get-dynamic-info.h" and "setup-vdso.h".
30643         (_dl_non_dynamic_init): Call setup_vdso.
30644         * elf/dynamic-link.h: Don't include <assert.h>.
30645         (elf_get_dynamic_info): Moved to ...
30646         * elf/get-dynamic-info.h: Here.  New file.
30647         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30648         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30649         * elf/setup-vdso.h: Here.  New file.
30650         * elf/rtld.c: Include "setup-vdso.h".
30651         (dl_main): Call setup_vdso.
30652
30653 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30654
30655         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30656         creal in comment listing functions tested.  List finite, isinf,
30657         isnan, isless, islessequal, isgreater, isgreaterequal,
30658         islessgreater, isunordered, lgamma_r and pow10 as functions and
30659         macros not tested.  Mention which functions not tested are aliases
30660         for other functions.  Fix typo.  Note that signs of NaNs are not
30661         tested.
30662
30663         * scripts/config.guess: Update from config.git.
30664         * scripts/config.sub: Likewise.
30665
30666 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30667
30668         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30669         * misc/madvise.c (madvise): Renamed to __madvise.
30670         Make madvise a weak alias.
30671         * include/sys/mman.h: Declare __madvise.
30672         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30673         * sysdeps/unix/syscalls.list
30674         (madvise): Make __madvise the strong name, and madvise a weak alias.
30675         * sysdeps/unix/sysv/linux/syscalls.list
30676         (madvise, mmap): Remove redundant entries.
30677         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30678         * malloc/malloc.c (mtrim): Likewise.
30679         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30680
30681 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30682
30683         * sysdeps/mach/hurd/dl-cache.c: File removed.
30684         * config.h.in (USE_LDCONFIG): New #undef.
30685         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30686         * configure: Regenerated.
30687         * elf/Makefile (dl-routines): Add dl-cache only under
30688         [$(use-ldconfig) = yes].
30689         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30690         cache on [USE_LDCONFIG].
30691         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30692         [USE_LDCONFIG].
30693         * elf/rtld.c (dl_main): Likewise.
30694
30695 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30696
30697         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30698         _SC_LEVEL4_CACHE_LINESIZE.
30699
30700 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30701
30702         * sysdeps/unix/bsd/confstr.h: File removed.
30703
30704 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30705
30706         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30707         sys/sdt-config.h.
30708
30709 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30710
30711         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30712         Make 'mapoff' field ElfW(Off) rather than off_t.
30713
30714 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30715
30716         * nscd/Makefile: Remove nscd-cflags and all its users.
30717         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30718         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30719
30720         [BZ #10631]
30721         * malloc.c (malloc_printerr): Clarify error message.
30722
30723 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30724
30725         [BZ #14648]
30726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30727         Set bit_FMA_Usable if FMA is supported.
30728         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30729         macro.
30730         (bit_FMA4_Usable): Updated.
30731         (index_FMA_Usable): New macro.
30732         (CPUID_FMA): Likewise
30733         (HAS_FMA): Defined with bit_FMA_Usable.
30734
30735 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30736
30737         * bits/types.h (__swblk_t): Type removed.
30738         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30739         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30741         (__SWBLK_T_TYPE): Likewise.
30742         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30743         (__SWBLK_T_TYPE): Likewise.
30744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30745         (__SWBLK_T_TYPE): Likewise.
30746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30747         (__SWBLK_T_TYPE): Likewise.
30748
30749 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30750             Honza Horak <hhorak@redhat.com>
30751
30752         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30753         (xdr_mapname): Use YPMAXMAP as maxsize.
30754         (xdr_peername): Use YPMAXPEER as maxsize.
30755         (xdr_keydat): Use YPAXRECORD as maxsize.
30756         (xdr_valdat): Use YPMAXRECORD as maxsize.
30757
30758 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30759
30760         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30761
30762         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30763         * csu/init-first.c: ... here.
30764         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30765         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30766         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30767         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30768         * sysdeps/i386/init-first.c: File removed.
30769         * sysdeps/sh/init-first.c: File removed.
30770
30771 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30772
30773         [BZ #14645]
30774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30775         if x * y might underflow to zero and z is zero.
30776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30777         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30778         * math/libm-test.inc (min_subnorm_value): New variable.
30779         (fma_test): Add more tests.
30780         (fma_test_towardzero): Likewise.
30781         (fma_test_downward): Likewise
30782         (fma_test_upward): Likewise.
30783         (initialize): Set min_subnorm_value.
30784
30785 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30786
30787         [BZ #14638]
30788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30789         0 + 0.
30790         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30791         mode for addition resulting in exact zero.
30792         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30794         exact 0 + 0.
30795         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30796         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30797         * math/libm-test.inc (fma_test): Add more tests.
30798         (fma_test_towardzero): New function.
30799         (fma_test_downward): Likewise.
30800         (fma_test_upward): Likewise.
30801         (main): Call the new functions.
30802
30803 2012-09-28  David S. Miller  <davem@davemloft.net>
30804
30805         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30806
30807 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30808
30809         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30810         instead of SIGALRM.
30811
30812         * sysdeps/gnu/_G_config.h: Moved to ...
30813         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30814         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30815         * sysdeps/generic/_G_config.h: ... here.
30816
30817         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30818
30819         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30820
30821         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30822         Conditionalize target on [libnss_test1.so-version].
30823
30824         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30825
30826         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30827         (elfobjdir): Move out of conditionals.
30828
30829         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30830         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30831         (__nss_lookup_function): Conditionalize label remove_from_tree on
30832         [!DO_STATIC_NSS || SHARED], matching its only use.
30833
30834 2012-09-28  David S. Miller  <davem@davemloft.net>
30835
30836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30837         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30838         file.
30839         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30840         sysdep_routines.
30841         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30843         when HWCAP_SPARC_CRYPTO is present.
30844
30845 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30846
30847         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30848
30849 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30850
30851         [BZ #6530]
30852         * stdio-common/vfprintf.c (process_string_arg): Revert
30853         2000-07-22 change.
30854
30855 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30856
30857         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30858         for testcase.
30859         * stdio-common/tst-sprintf.c: Include <locale.h>
30860         (main): Test sprintf's handling of incomplete multibyte
30861         characters.
30862
30863 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30864
30865         * elf/dl-runtime.c (VERSYMIDX): Removed.
30866         * elf/dl-version.c (VERSYMIDX): Likewise.
30867         * elf/do-rel.h (VERSYMIDX): Likewise.
30868         (VALIDX): Likewise.
30869         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30870         * elf/rtld.c (VALIDX): Likewise.
30871         (ADDRIDX): Likewise.
30872         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30873         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30874         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30875         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30876         (VALIDX): Likewise.
30877         (ADDRIDX): Likewise.
30878
30879 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30880
30881         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30882
30883 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30884
30885         [BZ #11438]
30886         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30887         to global scope.
30888         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30889         addresses are in the same scope as 192.0.2/24.
30890         * posix/gai.conf: Document new scope table defaults.
30891
30892 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30893
30894         [BZ #5298]
30895         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30896         for ftell.  Compute offsets from write pointers instead.
30897         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30898
30899 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30900
30901         [BZ #14543]
30902         * libio/Makefile (tests): New test case tst-fseek.
30903         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30904         combination works in wide mode.
30905         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30906         state when the external buffer state changes.
30907
30908 2012-09-27  David S. Miller  <davem@davemloft.net>
30909
30910         [BZ #14376]
30911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30912         pass reloc->r_addend in as the 'high' argument to
30913         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30914
30915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30916
30917 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30918
30919         * rt/tst-aio2.c: Include <pthread.h>.
30920         * rt/tst-aio3.c: Likewise.
30921
30922 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30923
30924         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30925
30926 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30927
30928         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30929         contents on [SHARED].
30930
30931 2012-09-26  Marek Polacek  <polacek@redhat.com>
30932
30933         [BZ #14530]
30934         [BZ #13741]
30935         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30936         for C++ and GCC <4.3 as well as for non GCC compilers.
30937
30938 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30939
30940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30941
30942 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30943
30944         * Makefile.in (all, install): Declare with .PHONY.
30945         Reported by Michael Hope <michael.hope@linaro.org>.
30946
30947 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30948
30949         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30950         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30951         system header.
30952         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30953         Likewise.
30954         (sydep_routines): Add the new and the internal functions.
30955         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30956         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30958         (GLIBC_2.17): Add the new function.
30959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30960         (GLIBC_2.17): Likewise.
30961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30962         (GLIBC_2.17): Likewise.
30963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30964         (GLIBC_2.17): Likewise.
30965         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30966
30967 2012-09-25  Alan Modra  <amodra@gmail.com>
30968
30969         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30970         Add release barrier before setting once_control to say
30971         initialisation is done.  Add hints on lwarx.  Use macro in
30972         place of isync.
30973         (clear_once_control): Add release barrier.
30974
30975 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30976
30977         [BZ #13629]
30978         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30979         specially.
30980         * math/s_clog10.c (__clog10): Likewise.
30981         * math/s_clog10f.c (__clog10f): Likewise.
30982         * math/s_clog10l.c (__clog10l): Likewise.
30983         * math/s_clogf.c (__clogf): Likewise.
30984         * math/s_clogl.c (__clogl): Likewise.
30985         * math/Makefile (libm-calls): Add x2y2m1.
30986         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30987         (__x2y2m1): Likewise.
30988         (__x2y2m1l): Likewise.
30989         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30990         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30991         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30992         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30993         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30994         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30995         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30996         * sysdeps/i386/fpu/libm-test-ulps: Update.
30997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30998
30999         [BZ #14621]
31000         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31001         int as type of variable DEPTH.
31002         (glob): Use size_t instead of int as type of variables NEWCOUNT
31003         and OLD_PATHC.
31004
31005 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31006
31007         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31008         Add s_sincosf-sse2.
31009         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31010         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31011         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31012         macros for using routine as __sincosf_ia32.
31013         Use macro for function declaration and weak_alias.
31014         * sysdeps/i386/fpu/libm-test-ulps: Update.
31015
31016         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31018
31019         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31020         subnormal argument.
31021         * math/s_cexpf.c (__cexpf): Likewise.
31022         * math/s_csinf.c (__csinf): Likewise.
31023         * math/s_csinhf.c (__csinhf): Likewise.
31024         * math/s_ctanf.c (__ctanf): Likewise.
31025         * math/s_ctanhf.c (__ctanhf): Likewise.
31026         * math/s_ccosh.c (__ccoshf): Likewise.
31027         * math/s_cexp.c (__cexpl): Likewise.
31028         * math/s_csin.c (__csin): Likewise.
31029         * math/s_csinh.c (__csinh): Likewise.
31030         * math/s_ctan.c (__ctan): Likewise.
31031         * math/s_ctanh.c (ctanh): Likewise.
31032         * math/s_ccoshl.c (__ccoshl): Likewise.
31033         * math/s_cexpl.c (__cexpl): Likewise.
31034         * math/s_csinl.c (__csinl): Likewise.
31035         * math/s_csinhl.c (__csinhl): Likewise.
31036         * math/s_ctanl.c (__ctanl): Likewise.
31037         * math/s_ctanhl.c (__ctanhl): Likewise.
31038
31039 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31040
31041         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31042         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31043         (_IO_off_t): Define to __off_t, not _G_off_t.
31044         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31045         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31046         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31047         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31048         type of __dummy and __dummy2 fields.
31049         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31050         (_G_ssize_t): Likewise.
31051         (_G_off_t): Likewise.
31052         (_G_pid_t): Likewise.
31053         (_G_uid_t): Likewise.
31054         (_G_wchar_t): Likewise.
31055         (_G_wint_t): Likewise.
31056         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31057         (_G_ssize_t): Likewise.
31058         (_G_off_t): Likewise.
31059         (_G_pid_t): Likewise.
31060         (_G_uid_t): Likewise.
31061         (_G_wchar_t): Likewise.
31062         (_G_wint_t): Likewise.
31063         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31064         (_G_ssize_t): Likewise.
31065         (_G_off_t): Likewise.
31066         (_G_pid_t): Likewise.
31067         (_G_uid_t): Likewise.
31068         (_G_wchar_t): Likewise.
31069         (_G_wint_t): Likewise.
31070
31071 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072
31073         * malloc/arena.c: Include malloc-sysdep.h.
31074         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31075         is sufficient to shrink the heap or an unmap is needed.
31076         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31077         new function check_may_shrink_heap.
31078         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31079         new function check_may_shrink_heap.
31080
31081 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31082
31083         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31084         comments.
31085
31086 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31087
31088         * catgets/test-gencat.sh: Add "set -e".
31089         * elf/tst-pathopt.sh: Likewise.
31090         * grp/tst_fgetgrent.sh: Likewise.
31091         * iconvdata/run-iconv-test.sh: Likewise.
31092         * intl/tst-gettext.sh: Likewise.
31093         * intl/tst-gettext2.sh: Likewise.
31094         * intl/tst-gettext4.sh: Likewise.
31095         * intl/tst-gettext6.sh: Likewise.
31096         * intl/tst-translit.sh: Likewise.
31097         * io/ftwtest-sh: Likewise.
31098         * libio/test-freopen.sh: Likewise.
31099         * malloc/tst-mtrace.sh: Likewise.
31100         * posix/globtest.sh: Likewise.
31101         * posix/tst-getconf.sh: Likewise.
31102         * posix/wordexp-tst.sh: Likewise.
31103         * stdio-common/tst-printf.sh: Likewise.
31104         * stdio-common/tst-unbputc.sh: Likewise.
31105         * stdlib/tst-fmtmsg.sh: Likewise.
31106         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31107         * catgets/Makefile: Do not specify -e option when running
31108         testsuite shell scripts.
31109         * elf/Makefile: Likewise.
31110         * grp/Makefile: Likewise.
31111         * iconvdata/Makefile: Likewise.
31112         * intl/Makefile: Likewise.
31113         * io/Makefile: Likewise.
31114         * libio/Makefile: Likewise.
31115         * malloc/Makefile: Likewise.
31116         * posix/Makefile: Likewise.
31117         * stdio-common/Makefile: Likewise.
31118         * stdlib/Makefile: Likewise.
31119         * sysdeps/x86_64/Makefile: Likewise.
31120
31121         * io/ftwtest-sh: Add copyright header.
31122         * posix/globtest.sh: Likewise.
31123         * posix/tst-getconf.sh: Likewise.
31124         * posix/wordexp-tst.sh: Likewise.
31125         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31126
31127 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31128
31129         [BZ #13679]
31130         * Makeconfig (+link): Defined as $(+link-static) if
31131         $(build-shared) isn't yes.
31132         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31133         isn't yes.
31134         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31135
31136         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31137
31138         [BZ #14562]
31139         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31140         new chunk size with MALLOC_ALIGN_MASK.
31141
31142 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31143
31144         [BZ #5044]
31145         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31146         <rounding-mode.h>.
31147         (__printf_fphex): Determine rounding using get_rounding_mode and
31148         round_away.
31149         * stdio-common/tst-printf-round.c (struct hex_test): New
31150         structure.
31151         (hex_tests): New variable.
31152         (test_hex_in_one_mode): New function.
31153         (do_test): Also run tests for hex float output.
31154
31155 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31156
31157         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31158         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31159         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31160         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31161         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31162         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31163         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31164         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31165
31166 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31167
31168         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31169         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31170         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31171         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31172
31173 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31174
31175         [BZ #14579]
31176         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31177         mode only.
31178         * elf/tst-rtld-load-self.sh: New test.
31179         * elf/Makefile: Run it.
31180
31181 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31182
31183         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31184         (tst-writev-ENV): Remove.
31185         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31186
31187 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31188
31189         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31190
31191 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31192
31193         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31194         unconditional.
31195         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31196         Likewise.
31197         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31198         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31199         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31200         Likewise.
31201
31202 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31203
31204         [BZ #14587]
31205         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31206         * config.make.in (have-cpp-asm-debuginfo): Removed.
31207         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31208         * configure: Regenerated.
31209
31210 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31211
31212         [BZ #5044]
31213         * stdio-common/printf_fp.c: Include <stdbool.h> and
31214         <rounding-mode.h>.
31215         (___printf_fp): Determine rounding using get_rounding_mode and
31216         round_away.
31217         * stdio-common/tst-printf-round.c: New file.
31218         * stdio-common/Makefile (tests): Add tst-printf-round.
31219         (link-libm): New variable.
31220         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31221
31222 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31223
31224         [BZ #14576]
31225         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31226         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31227         Likewise.
31228         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31229         Likewise.
31230
31231 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31232
31233         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31234         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31235         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31236         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31237
31238 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31239
31240         [BZ #14518]
31241         * include/rounding-mode.h: New file.
31242         * sysdeps/generic/get-rounding-mode.h: Likewise.
31243         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31244         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31245         (MAX_VALUE): New macro.
31246         (MIN_VALUE): Likewise.
31247         (overflow_value): New function.
31248         (underflow_value): Likewise.
31249         (round_and_return): Use overflow_value and underflow_value to
31250         determine return values in overflow and underflow cases.  Use
31251         round_away to determine rounding depending on rounding mode.
31252         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31253         determine return values in overflow and underflow cases.
31254         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31255         (struct test_results): New structure.
31256         (struct test): Use struct test_results to store expected results
31257         for all rounding modes.
31258         (TEST): Include expected results for all rounding modes.
31259         (test_in_one_mode): New function.
31260         (do_test): Use test_in_one_mode to compute and check results.
31261         Check results for all rounding modes.
31262         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31263         $(link-libm).
31264
31265 2012-12-09  Allan McRae  <allan@archlinux.org>
31266
31267         * sysdeps/i386/fpu/libm-test-ulps: Update
31268
31269 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31270
31271         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31272         (_G_int32_t): Likewise.
31273         (_G_uint16_t): Likewise.
31274         (_G_uint32_t): Likewise.
31275         (_G_HAVE_BOOL): Likewise.
31276         (_G_HAVE_ATEXIT): Likewise.
31277         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31278         (_G_HAVE_IO_FILE_OPEN): Likewise.
31279         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31280         (_G_int32_t): Likewise.
31281         (_G_uint16_t): Likewise.
31282         (_G_uint32_t): Likewise.
31283         (_G_HAVE_BOOL): Likewise.
31284         (_G_HAVE_ATEXIT): Likewise.
31285         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31286         (_G_HAVE_IO_FILE_OPEN): Likewise.
31287         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31288         (_G_int32_t): Likewise.
31289         (_G_uint16_t): Likewise.
31290         (_G_uint32_t): Likewise.
31291         (_G_HAVE_BOOL): Likewise.
31292         (_G_HAVE_ATEXIT): Likewise.
31293         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31294         (_G_HAVE_IO_FILE_OPEN): Likewise.
31295
31296 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31297
31298         * csu/libc-tls.c: Update copyright years.
31299
31300 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31301
31302         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31303         [!_G_USING_THUNKS]: Remove conditional code.
31304         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31305         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31306
31307         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31308         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31309         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31310         (_G_VTABLE_LABEL_PREFIX): Likewise.
31311         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31312         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31313         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31314         (_G_VTABLE_LABEL_PREFIX): Likewise.
31315         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31316         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31317         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31318         (_G_VTABLE_LABEL_PREFIX): Likewise.
31319         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31320
31321 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31322
31323         * libio/Makefile: Include ../Makeconfig before tests.
31324         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31325         only if $(build-shared) is yes.
31326
31327         * iconv/gconv_db.c: Update copyright years.
31328
31329 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31330
31331         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31332         unwind info if defined PIC. Fix special cases description.
31333         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31334
31335         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31336         DP_HI_MASK entry.
31337         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31338
31339 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31340
31341         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31342
31343         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31344         is NULL.
31345
31346         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31347         (LDLIBS-tst-chk4): This.
31348         (LDFLAGS-tst-chk5): Renamed to ...
31349         (LDLIBS-tst-chk5): This.
31350         (LDFLAGS-tst-chk6): Renamed to ...
31351         (LDLIBS-tst-chk6): This.
31352         (LDFLAGS-tst-lfschk4): Renamed to ...
31353         (LDLIBS-tst-lfschk4): This.
31354         (LDFLAGS-tst-lfschk5): Renamed to ...
31355         (LDLIBS-tst-lfschk5): This.
31356         (LDFLAGS-tst-lfschk6): Renamed to ...
31357         (LDLIBS-tst-lfschk6): This.
31358
31359         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31360         on $(common-objpfx)soversions.mk.
31361
31362 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31363
31364         [BZ #10014]
31365         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31366         example host name.
31367
31368 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31369
31370         * malloc/arena.c (arena_get_retry): New function that gets
31371         another arena for the caller to try its request on.
31372         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31373         current arena cannot fulfill the request.
31374         (__libc_memalign): Likewise.
31375         (__libc_memalign): Likewise.
31376         (__libc_pvalloc): Likewise.
31377         (__libc_calloc): Likewise.
31378
31379 2012-09-05  John Tobey  <john.tobey@gmail.com>
31380
31381         [BZ #13542]
31382         * manual/arith.texi (Operations on Complex): Fix description
31383         of carg branch cut.
31384
31385 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31386
31387         [BZ #10014]
31388         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31389         host name.
31390
31391         [BZ #10038]
31392         * manual/memory.texi (Memory): Make order of menu items match
31393         order of sections.
31394
31395 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31396
31397         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31398         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31399         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31400
31401 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31402
31403         * csu/libc-tls.c (static_dtv): Renamed to ...
31404         (_dl_static_dtv): This.  Make it global.
31405         (_dl_initial_dtv): Removed.
31406         (__libc_setup_tls): Updated.
31407         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31408         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31409         DL_INITIAL_DTV.
31410
31411 2012-09-06  Petr Machata  <pmachata@redhat.com>
31412
31413         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31414         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31415         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31416         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31417
31418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31419
31420         [BZ #14545]
31421         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31422         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31423         freeing dtv[-1].
31424
31425 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31426
31427         [BZ #14544]
31428         * Makeconfig (link-static-before-libc): Replace $(+prector)
31429         with $(+prectorT).
31430         (link-static-after-libc): Replace $(+postctor) with
31431         $(+postctorT).
31432         (link-bounded): Replace $(+prector)/$(+postctor) with
31433         $(+prectorT)/$(+postctorT).
31434         (+prectorT): New macro.
31435         (+postctorT): Likewise.
31436
31437 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31438
31439         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31440         (round_str): Handle values above the maximum for IBM long double
31441         as inexact.
31442         * stdlib/tst-strtod-round.c (tests): Regenerated.
31443
31444 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31445
31446         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31447         assembler flag.
31448         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31449         zarch_nohighgprs around the zarch optimized routines.
31450         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31451         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31452         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31453         for zarch.
31454
31455 2012-09-05  David S. Miller  <davem@davemloft.net>
31456
31457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31458
31459         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31460         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31461         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31462         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31463         entries.
31464
31465 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31466
31467         * malloc/arena.c: Fold copyright years.
31468         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31469
31470 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31471
31472         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31473
31474 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31475
31476         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31477
31478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31479
31480         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31481         change internal state upon failure.
31482
31483 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31484
31485         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31486         * malloc/memusage.c (mmap): Likewise.
31487         (mmap64, mremap): Likewise.  Adjust name in comment.
31488
31489 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31490
31491         * libio/fileops.c: Fix typos in comments.
31492         * libio/oldfileops.c: Likewise.
31493         * libio/wfileops.c: Likewise.
31494
31495 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31496
31497         [BZ #1349]
31498         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31499         (tst-malloc-usable-ENV): Set environment for test case.
31500         * malloc/hooks.c (malloc_check_get_size): New function to get
31501         requested size.
31502         * malloc/malloc.c (musable): Use malloc_check_get_size.
31503         * malloc/tst-malloc-usable.c: New test case.
31504
31505 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31506
31507         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31508
31509 2012-09-05  Allan McRae  <allan@archlinux.org>
31510
31511         [BZ #13966]
31512         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31513         determine header location.
31514         * configure: Regenerated.
31515
31516 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31517
31518         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31519         float format.
31520         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31521         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31522         format.
31523         (test): Regenerate.
31524
31525 2012-09-04  David S. Miller  <davem@davemloft.net>
31526
31527         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31528         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31529         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31530
31531 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31532
31533         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31534         failures.
31535
31536         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31537
31538 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31539
31540         [BZ #9914]
31541         * libio/iogetdelim.c: Include <limits.h>.
31542         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31543         + len + 1 would overflow.
31544
31545 2012-09-03  Andreas Jaeger  <aj@suse.de>
31546
31547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31548         * sysdeps/i386/fpu/libm-test-ulps: Update.
31549
31550 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31551
31552         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31553         Add s_sinf-sse2, s_conf-sse2.
31554
31555         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31556         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31557         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31558         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31559
31560         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31561         for using routine as __sinf_ia32.
31562         Use macro for function declaration and weak_alias.
31563         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31564         for using routine as __cosf_ia32.
31565         Use macro for function declaration and weak_alias.
31566
31567         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31568         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31569
31570         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31571         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31573
31574         * math/libm-test.inc (cos_test): Add more test cases.
31575         (sin_test): Likewise.
31576         (sincos_test): Likewise.
31577
31578 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31579
31580         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31581         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31582         hidden.
31583         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31584
31585 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31586
31587         [BZ #14538]
31588         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31589         first element of the GOT.
31590         (elf_machine_load_address): Return the difference between
31591         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31592
31593 2012-09-01  Allan McRae  <allan@archlinux.org>
31594
31595         [BZ #13412]
31596         * configure.in (AWK): Require gawk version 3.0 or later.
31597         * configure: Regenerated.
31598
31599 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31600
31601         * sysdeps/unix/sysv/linux/kernel-features.h
31602         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31603         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31604         [__NR_clock_getres]: Make code unconditional.
31605         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31606         (clock_getcpuclockid): Remove code left unreachable by removal of
31607         conditionals.
31608         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31609         code unconditional.
31610         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31611         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31612         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31613         Make code unconditional.
31614         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31615         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31616         * sysdeps/unix/sysv/linux/clock_settime.c
31617         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31618         conditional code.
31619         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31620         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31621
31622 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31623
31624         [BZ #14476]
31625         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31626         scripts/test-installation.pl.
31627
31628         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31629         and $ld_so_version if it is set.
31630
31631 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31632
31633         [BZ #14516]
31634         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31635         failure if reading from procfs failed.
31636         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31637
31638 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31639
31640         * sysdeps/unix/sysv/linux/kernel-features.h
31641         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31642         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31643         Remove conditional code.
31644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31645         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31646         Remove conditional code.
31647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31648         * sysdeps/unix/sysv/linux/i386/fxstat.c
31649         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31651         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31652         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31653         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31654         * sysdeps/unix/sysv/linux/i386/lxstat.c
31655         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31656         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31657         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31658         Remove conditional code.
31659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31660         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31661         Remove conditional code.
31662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31663         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31664         <kernel-features.h>.
31665         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31666         Remove.
31667         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31668         Remove conditional code.
31669         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31670         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31671         Remove conditional.
31672
31673 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31674
31675         [BZ #5400]
31676         * NEWS: Add fixed bug number.
31677
31678 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31679
31680         [BZ #14519]
31681         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31682         underflowing exponent in case of negative sign.
31683         * stdlib/tst-strtod-round-data: Add more tests.
31684         * stdlib/tst-strtod-round.c (tests): Regenerated.
31685
31686         [BZ #3479]
31687         * stdlib/strtod_l.c (NDIG): Remove.
31688         (HEXNDIG): Likewise.
31689         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31690         smallest representable value.
31691         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31692         lie within an exact representation of 1/2 ulp of the result.
31693         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31694         unconditionally.
31695         (TENS_P9_IDX): Define unconditionally.
31696         (TENS_P9_SIZE): Likewise.
31697         (TENS_P10_IDX): Likewise.
31698         (TENS_P10_SIZE): Likewise.
31699         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31700         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31701         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31702         entries for 10^2^13 and 10^2^14.
31703         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31704         (TENS_P13_IDX): Define.
31705         (TENS_P13_SIZE): Likewise.
31706         (TENS_P14_IDX): Likewise.
31707         (TENS_P14_SIZE): Likewise.
31708         (_fpioconst_pow10): Change array size to
31709         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31710         unconditional.
31711         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31712         1024]: Add entries for 10^2^13 and 10^2^14.
31713         [LAST_POW10 > _LAST_POW10]: Remove #error.
31714         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31715         (_fpioconst_pow10): Change array size to
31716         FPIOCONST_POW10_ARRAY_SIZE.
31717         * stdlib/gen-fpioconst.c: New file.
31718         * stdlib/gen-tst-strtod-round.c: Likewise.
31719         * stdlib/tst-strtod-round-data: Likewise.
31720         * stdlib/tst-strtod-round.c: Likewise.
31721         * stdlib/Makefile (tests): Add tst-strtod-round.
31722
31723         [BZ #14459]
31724         * stdlib/strtod_l.c: Include <stdint.h>.
31725         (NDEBUG): Do not define.
31726         (round_and_return): Change EXPONENT parameter to type intmax_t.
31727         Rearrange calculations to avoid internal overflow possibilities.
31728         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31729         Rearrange calculations to avoid internal overflow possibilities.
31730         Assert that number fits inside MPNSIZE limbs.
31731         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31732         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31733         calculations and add assertions to avoid internal overflow
31734         possibilities.  Add casts to avoid signed/unsigned operations.
31735         * stdlib/tst-strtod-overflow.c: New file.
31736         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31737
31738 2012-08-25  Marek Polacek  <polacek@redhat.com>
31739
31740         * time/time.h: Fix some typos in comments.
31741
31742 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31743
31744         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31745         * posix/tst-rfc3484-2.c: Likewise.
31746         * posix/tst-rfc3484-3.c: Likewise.
31747
31748 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31749
31750         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31751         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31752
31753 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31754
31755         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31756         #include of fxstatat64.c.
31757
31758 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31759
31760         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31761         * shadow/getspent_r.c: Likewise.
31762         * shadow/getspnam.c: Likewise.
31763         * shadow/getspnam_r.c: Likewise.
31764         * gshadow/getsgent.c: Likewise.
31765         * gshadow/getsgent_r.c: Likewise.
31766         * gshadow/getsgnam.c: Likewise.
31767         * gshadow/getsgnam_r.c: Likewise.
31768         * inet/getnetbyad.c: Likewise.
31769         * inet/getnetbyad_r.c: Likewise.
31770         * inet/getnetbynm.c: Likewise.
31771         * inet/getnetbynm_r.c: Likewise.
31772         * inet/getnetent.c: Likewise.
31773         * inet/getnetent_r.c: Likewise.
31774         * inet/getproto.c: Likewise.
31775         * inet/getproto_r.c: Likewise.
31776         * inet/getprtent.c: Likewise.
31777         * inet/getprtent_r.c: Likewise.
31778         * inet/getprtname.c: Likewise.
31779         * inet/getprtname_r.c: Likewise.
31780         * inet/getrpcbyname.c: Likewise.
31781         * inet/getrpcbyname_r.c: Likewise.
31782         * inet/getrpcbynumber.c: Likewise.
31783         * inet/getrpcbynumber_r.c: Likewise.
31784         * inet/getrpcent.c: Likewise.
31785         * inet/getrpcent_r.c: Likewise.
31786         * inet/getaliasent.c: Likewise.
31787         * inet/getaliasent_r.c: Likewise.
31788         * inet/getaliasname.c: Likewise.
31789         * inet/getaliasname_r.c: Likewise.
31790         * nscd/getgrgid_r.c: Likewise.
31791         * nscd/getgrnam_r.c: Likewise.
31792         * nscd/gethstbyad_r.c: Likewise.
31793         * nscd/gethstbynm3_r.c: Likewise.
31794         * nscd/getpwnam_r.c: Likewise.
31795         * nscd/getpwuid_r.c: Likewise.
31796         * nscd/getsrvbynm_r.c: Likewise.
31797         * nscd/getsrvbypt_r.c: Likewise.
31798         * nscd/gai.c: Likewise.
31799
31800         * configure.in (build_nscd): New substituted variable, set
31801         by --disable-build-nscd and defaults to $use_nscd.
31802         * configure: Regenerated.
31803         * config.make.in (build-nscd): New substituted variable.
31804         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31805         Change conditional to require [$(build-nscd) = yes] as well.
31806         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31807
31808         [BZ# 13696]
31809         * configure.in (use_nscd): New substituted variable, set by
31810         --disable-nscd.  If enabled, define USE_NSCD.
31811         * configure: Regenerated.
31812         * config.h.in: Add USE_NSCD.
31813         * config.make.in (use-nscd): New substituted variable.
31814         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31815         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31816         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31817         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31818         (CFLAGS-getgrnam_r.c): Likewise.
31819         (CFLAGS-initgroups.c): Likewise.
31820         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31821         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31822         Variables removed.
31823         * inet/getnetgrent_r.c
31824         (nscd_setnetgrent): New function, broken out of ...
31825         (setnetgrent): ... here.  Call it.
31826         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31827         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31828         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31829         * nscd/Makefile (routines, aux): Move definitions after include of
31830         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31831         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31832         Conditionalize on [USE_NSCD].
31833         (is_nscd, nscd_init_cb): Likewise.
31834         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31835         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31836         * nss/nss_db/db-init.c: Likewise.
31837         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31838         [USE_NSCD].
31839         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31840         (make_request): Use it.
31841         (cache_valid_p): New function.
31842         (__check_pf): Use it.
31843         * NEWS: Add item for --disable-nscd.
31844
31845 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31846
31847         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31848         to support sed >= 4.2.1-20-ga9bf076.
31849         * configure: Regenerated.
31850
31851 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31852
31853         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31854         Conditionalize whole body on [IREL].
31855
31856 2012-08-22  Jeff Law <law@redhat.com>
31857
31858         [BZ #14505]
31859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31860         if the family is PF_UNSPEC.
31861
31862 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31863
31864         * Makerules (lib-version): Rename from V.
31865         (install-lib-nosubdir): Change V to lib-version.
31866
31867 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31868
31869         [BZ #14252]
31870         * powerpc32/power6/wcschr.c: New file.
31871         * powerpc32/power6/wcscpy.c: New file.
31872         * powerpc32/power6/wcsrchr.c: New file.
31873         * powerpc64/power6/wcschr.c: New file.
31874         * powerpc64/power6/wcscpy.c: New file.
31875         * powerpc64/power6/wcsrchr.c: New file.
31876
31877 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31878
31879         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31880         (two_way_short_needle): Use it.
31881         * string/strstr.c (AVAILABLE1_USES_J): Define.
31882         * string/strcasestr.c: Likewise.
31883
31884         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31885         array references.
31886         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31887
31888         [BZ #11607]
31889         * NEWS: Add an entry.
31890         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31891         define their defaults.
31892         (two_way_short_needle): Detect end-of-string on-the-fly.
31893         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31894         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31895         * string/bug-strcasestr1.c: New test.
31896         * string/Makefile: Run it.
31897
31898 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31899
31900         [BZ #11607]
31901         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31902         the first character.
31903
31904 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31905
31906         * csu/elf-init.c (__libc_csu_irel): Function removed.
31907         * csu/libc-start.c (apply_irel): New function.
31908         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31909
31910 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31911
31912         * sysdeps/unix/sysv/linux/kernel-features.h
31913         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31914         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31915         <kernel-features.h>.
31916         [__NR_fadvise64_64]: Make code unconditional.
31917         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31918         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31919         !__NR_fadvise64_64)]: Likewise.
31920         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31921         !__NR_fadvise64_64))]: Likewise.
31922         [__NR_fadvise64]: Make code unconditional.
31923         [!__NR_fadvise64]: Remove conditional code.
31924         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31925         <kernel-features.h>.
31926         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31927         unconditional.
31928         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31929         conditional code.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31931         not include <kernel-features.h>.
31932         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31933         unconditional.
31934         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31935         conditional code.
31936         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31937         include <kernel-features.h>.
31938         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31939         unconditional.
31940         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31941         conditional code.
31942
31943 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31944
31945         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31946         slight instruction rearrangements per scrollpipe analysis.
31947         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31948
31949 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31950
31951         * manual/syslog.texi (syslog; vsyslog, closelog):
31952         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31953         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31954
31955         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31956         DSOCAPS to match condition on defining it.
31957
31958 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31959
31960         * sysdeps/unix/sysv/linux/kernel-features.h
31961         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31963         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31964         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31966         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31967         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31969         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31970         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31971
31972         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31973         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31974
31975         * sysdeps/unix/sysv/linux/kernel-features.h
31976         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31977         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31978         unconditional.
31979         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31980         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31981         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31982         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31983         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31984         Make code unconditional.
31985         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31986         (__mmap64) [!__NR_mmap2]: Likewise.
31987         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31988         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31989         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31990         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31991         [__NR_mmap2]: Make code unconditional.
31992         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31993         (__mmap64) [!__NR_mmap2]: Likewise.
31994
31995 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31996
31997         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31998
31999 2012-08-18  Andreas Jaeger  <aj@suse.de>
32000
32001         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32002
32003 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32004
32005         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32006         * include/unistd.h (__have_sock_cloexec): Likewise.
32007         (__have_pipe2): Likewise.
32008         (__have_dup3): Likewise.
32009
32010 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32011
32012         [BZ #9685]
32013         * include/unistd.h (__have_pipe2): Change define into an extern int.
32014         (__have_dup3): Likewise.
32015         * socket/have_sock_cloexec.c: Include fcntl.h.
32016         (__have_pipe2): New variable.
32017         (__have_dup3): Likewise.
32018
32019 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32020
32021         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32022
32023 2012-08-17  Marek Polacek  <polacek@redhat.com>
32024
32025         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32026         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32027
32028 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32029
32030         * configure.in: Add AC_SUBST for sysheaders.
32031         * configure: Regenerated.
32032         * config.make.in (sysheaders): New substituted variable.
32033
32034         * sysdeps/unix/mkfifo.c: Moved ...
32035         * sysdeps/posix/mkfifo.c: ... here.
32036         * sysdeps/unix/mkfifoat.c: Moved ...
32037         * sysdeps/posix/mkfifoat.c: ... here.
32038
32039         * sysdeps/unix/utime.c: Moved ...
32040         * sysdeps/posix/utime.c: ... here.
32041
32042         * sysdeps/unix/time.c: Moved ...
32043         * sysdeps/posix/time.c: ... here.
32044         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32045         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32046
32047         * sysdeps/unix/nice.c: Moved ...
32048         * sysdeps/posix/nice.c: ... here.
32049
32050         * sysdeps/unix/alarm.c: Moved ...
32051         * sysdeps/posix/alarm.c: ... here.
32052
32053         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32054
32055 2012-08-17  Jeff Law <law@redhat.com>
32056
32057         * intl/Makefile (codeset_mo): New variable.
32058         ($(codeset_mo)): New target.
32059         (tst-codeset.out): Depend on that.  Remove explicit rule.
32060         (tst-gettext3.out, tst-gettext5.out): Likewise.
32061         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32062         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32063         * intl/tst-codeset.sh: Remove.
32064         * intl/tst-gettext3.sh: Likewise.
32065         * intl/tst-gettext5.sh: Likewise.
32066
32067 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32068
32069         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32070         * sysdeps/unix/syscalls.list: ... here.
32071
32072         * sysdeps/posix/getaddrinfo.c
32073         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32074         (gaiconf_init, gaiconf_reload): Use them.
32075         [!_STATBUF_ST_NSEC]
32076         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32077         Define using time_t rather than struct timespec.
32078
32079         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32080         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32081         Macros removed.
32082         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32083         [!NO_THREADS].
32084         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32085         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32086         Likewise.
32087
32088         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32089         __libc_cleanup_push argument.
32090
32091         * bits/param.h: New file.
32092         * misc/sys/param.h: New file.
32093         * include/sys/param.h: New file.
32094         * misc/Makefile (headers): Add bits/param.h.
32095         * sysdeps/generic/sys/param.h: File removed.
32096         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32097         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32098         * sysdeps/mach/hurd/bits/param.h: New file.
32099         * sysdeps/mach/hurd/sys/param.h: File removed.
32100
32101         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32102         last change.
32103
32104         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32105         [_IO_MTSAFE_IO].
32106         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32107         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32108         New macros.
32109
32110         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32111         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32112         rather than -D_IO_MTSAFE_IO conditionally.
32113         * stdio-common/Makefile (CPPFLAGS): Likewise.
32114         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32115         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32116         Use $(libio-mtsafe).
32117         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32118         of -D_IO_MTSAFE_IO.
32119         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32120         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32121         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32122         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32123         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32124         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32125         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32126         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32127         (CFLAGS-fread_u_chk.c): Likewise.
32128         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32129         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32130         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32131         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32132         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32133         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32134         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32135         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32136         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32137
32138         * libio/Makefile: Test [$(libc-reentrant) = yes]
32139         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32140
32141         * Makeconfig
32142         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32143         * sysdeps/pthread/configure: File removed.
32144         * sysdeps/pthread/Makeconfig: New file.
32145         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32146         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32147
32148 2012-08-16  Gary Benson  <gbenson@redhat.com>
32149
32150         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32151         unmapping the first object in a namespace.
32152
32153 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32154
32155         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32156         (__internal_setnetgrent): ... this.  Add internal_function to
32157         definition.  Add libc_hidden_def.
32158         (setnetgrent): Update caller.
32159         (internal_endnetgrent): Renamed to ...
32160         (__internal_endnetgrent): ... this.  Add internal_function to
32161         definition.  Add libc_hidden_def.
32162         (endnetgrent): Update caller.
32163         (internal_getnetgrent_r): Renamed to ...
32164         (__internal_getnetgrent_r): ... this.  Add internal_function to
32165         definition.  Add libc_hidden_def.
32166         (__getnetgrent_r): Update caller.
32167         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32168
32169 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32170
32171         * stdlib/longlong.h: Update from GCC.
32172
32173 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32174
32175         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32176         on _QL, which is set by umul_ppmm but never used.
32177         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32178         variables, which are set by GMP macros but never used.
32179         * stdio-common/_itowa.c (_itowa): Likewise.
32180         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32181         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32182
32183 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32184
32185         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32186         struct La_sh_regs is not constant.
32187         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32188         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32189         and struct La_sparc64_regs are not constant.
32190
32191 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32192
32193         * sysdeps/unix/sysv/linux/kernel-features.h
32194         (__ASSUME_POSIX_TIMERS): Remove.
32195         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32196         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32197         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32198         Make code unconditional.
32199         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32200         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32201         Make code unconditional.
32202         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32203         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32204         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32205         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32206         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32207         Make code unconditional.
32208         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32209         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32210         (__libc_missing_posix_timers): Remove.
32211
32212 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32213
32214         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32215         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32216
32217         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32218
32219         * elf/dl-sym.c: Include <stdlib.h>.
32220
32221         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32222         constants, which avoids warnings in 32-bit builds.
32223
32224         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32225         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32226
32227         * misc/lseek.c: File moved to ...
32228         * io/lseek.c: ... here.
32229
32230         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32231
32232         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32233         shifting LEN more than 31 bits at once.
32234
32235 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32236
32237         [BZ #14195]
32238         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32239         segmentation fault for a case of two empty input strings.
32240         * string/test-strncasecmp.c (check1): Renamed to...
32241         (bz12205): ...this.
32242         (bz14195): Add new testcase for two empty input strings and N > 0.
32243         (test_main): Call new testcase, adapt for renamed function.
32244
32245 2012-08-15  Andreas Jaeger  <aj@suse.de>
32246
32247         [BZ #14090]
32248         * crypt/md5test2.c: New test, based on test supplied by Serge
32249         Belyshev <belyshev@depni.sinp.msu.ru>.
32250         * crypt/Makefile (xtests): Add md5test-giant..
32251         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32252
32253 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32254
32255         [BZ #14090]
32256         * crypt/md5.c (md5_process_block): Don't assume the buffer
32257         length is less than 2**32.
32258         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32259         length is less than 2**64.
32260
32261 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32262
32263         * string/str-two-way.h: Include <sys/param.h>.
32264         (MAX): Macro removed.
32265
32266         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32267         Move #define and #undef of memmove to just before and after
32268         including <string.h>.
32269
32270         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32271         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32272         and after including <string.h>.  Move declarations of
32273         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32274         to before #include "string/memmove.c".
32275
32276         * include/dirent.h: Declare __getdirentries.
32277
32278         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32279         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32280
32281 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32282
32283         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32284         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32285         * sysdeps/i386/configure: Regenerated.
32286         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32287         STABS_CURRENT_FILE, and STABS_FUN.
32288         (END): Remove call to STABS_FUN_END.
32289         (STABS_CURRENT_FILE1): Delete.
32290         (STABS_CURRENT_FILE): Likewise.
32291         (STABS_FUN): Likewise.
32292         (STABS_FUN_END): Likewise.
32293         (STABS_FUN2): Likewise.
32294         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32295         * sysdeps/x86_64/configure: Regenerated.
32296
32297 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32298
32299         * elf/dl-open.c: Include <atomic.h>.
32300         * elf/dl-lookup.c: Likewise.
32301
32302 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32303
32304         * sysdeps/unix/sysv/linux/kernel-features.h
32305         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32306         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32307         unconditionally.
32308         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32309         unconditionally.
32310         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32311         condition on __ASSUME_CLONE_THREAD_FLAGS.
32312
32313 2012-08-14  Andreas Jaeger  <aj@suse.de>
32314
32315         * sysdeps/i386/fpu/libm-test-ulps: Update.
32316
32317 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32318
32319         * include/atomic.h (atomic_exchange_and_add): Split into ...
32320         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32321         New atomic macros.
32322
32323 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32324
32325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32326
32327 2012-08-13  Jeff Law <law@redhat.com>
32328
32329         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32330         null byte in the output string.
32331
32332 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32333
32334         * sysdeps/unix/sysv/linux/kernel-features.h
32335         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32336         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32337         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32338         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32339         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32340         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32341         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32342
32343 2012-08-09  Jeff Law <law@redhat.com>
32344
32345         [BZ #13939]
32346         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32347         When avoid_arena is set, don't retry in the that arena.  Pick the
32348         next one, whatever it might be.
32349         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32350         (arena_lock): Pass in new parameter to arena_get2.
32351         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32352         arena_get2.
32353         (__libc_malloc): Unify retrying after main arena failure with
32354         __libc_memalign version.
32355         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32356
32357 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32358
32359         [BZ #14166]
32360         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32361         to __redirect_strstr.
32362         (__strstr_sse42): Use typeof __redirect_strstr.
32363         (__strstr_ia32): Likewise.
32364         (__libc_strstr): New prototype.
32365         (strstr): Renamed to ...
32366         (__libc_strstr): This.
32367         (strstr): New strong alias of __libc_strstr.
32368         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32369         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32370         __redirect_time.
32371         Include <time.h>.
32372         (__libc_time): New prototype.
32373         (time_ifunc): Replace time with __libc_time.
32374         (time): New strong alias and hidden definition of __libc_time.
32375         (__GI_time): Remove strong alias.
32376         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32377         Include <stddef.h>.
32378         (memmove): Redefined to __redirect_memmove.
32379         (__memmove_sse2): Use typeof __redirect_memmove.
32380         (__memmove_ssse3): Likewise.
32381         (__memmove_ssse3_back): Likewise.
32382         (__libc_memmove): New prototype.
32383         (memmove): Renamed to ...
32384         (__libc_memmove): This.
32385         (memmove): New strong alias of __libc_memmove.
32386
32387 2012-08-08  Mark Salter  <msalter@redhat.com>
32388
32389         * elf/elf.h
32390         (R_MN10300_TLS_GD): Define.
32391         (R_MN10300_TLS_LD): Likewise.
32392         (R_MN10300_TLS_LDO): Likewise.
32393         (R_MN10300_TLS_GOTIE): Likewise.
32394         (R_MN10300_TLS_IE): Likewise.
32395         (R_MN10300_TLS_LE): Likewise.
32396         (R_MN10300_TLS_DTPMOD): Likewise.
32397         (R_MN10300_TLS_DTPOFF): Likewise.
32398         (R_MN10300_TLS_TPOFF): Likewise.
32399         (R_MN10300_SYM_DIFF): Likewise.
32400         (R_MN10300_ALIGN): Likewise.
32401         (R_MN10300_NUM): Update.
32402
32403 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32404
32405         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32406         Remove.
32407
32408 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32409
32410         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32411
32412         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32413         sysdeps/unix -> sysdeps/posix move.
32414         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32415
32416 2012-08-07      Allan McRae     <allan@archlinux.org>
32417
32418         [BZ #14303]
32419         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32420         (SUNOS_CPP): Likewise.
32421         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32422         not found.
32423         (open_input): Call CPP using execvp.
32424
32425 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32426
32427         * sysdeps/unix/sysv/linux/kernel-features.h
32428         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32429         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32430         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32431         (__ASSUME_WAITID_SYSCALL): Likewise.
32432         * sysdeps/unix/sysv/linux/dl-execstack.c
32433         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32434         code unconditional.
32435         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32436         conditional code.
32437         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32438         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32439         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32440         code.
32441         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32442         unconditional.
32443         [__ASSUME_WAITID_SYSCALL]: Likewise.
32444         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32445
32446 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32447
32448         * sysdeps/unix/closedir.c: Renamed to ...
32449         * sysdeps/posix/closedir.c: ... here.
32450         * sysdeps/unix/dirfd.c: Renamed to ...
32451         * sysdeps/posix/dirfd.c: ... here.
32452         * sysdeps/unix/dirstream.h: Renamed to ...
32453         * sysdeps/posix/dirstream.h: ... here.
32454         * sysdeps/unix/fdopendir.c: Renamed to ...
32455         * sysdeps/posix/fdopendir.c: ... here.
32456         * sysdeps/unix/opendir.c: Renamed to ...
32457         * sysdeps/posix/opendir.c: ... here.
32458         * sysdeps/unix/readdir.c: Renamed to ...
32459         * sysdeps/posix/readdir.c: ... here.
32460         * sysdeps/unix/readdir_r.c: Renamed to ...
32461         * sysdeps/posix/readdir_r.c: ... here.
32462         * sysdeps/unix/rewinddir.c: Renamed to ...
32463         * sysdeps/posix/rewinddir.c: ... here.
32464         * sysdeps/unix/seekdir.c: Renamed to ...
32465         * sysdeps/posix/seekdir.c: ... here.
32466         * sysdeps/unix/telldir.c: Renamed to ...
32467         * sysdeps/posix/telldir.c: ... here.
32468         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32469         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32470         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32471         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32472
32473         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32474         * bits/fcntl.h: ... here.
32475
32476         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32477         not 0.
32478         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32479         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32480         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32481         (struct flock): Move l_start, l_len to the beginning.
32482         Use __pid_t for l_pid.
32483         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32484         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32485         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32486         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32487         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32488         [__USE_LARGEFILE64] (struct flock64): New type.
32489         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32490
32491         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32492         * bits/dirent.h: ... here.
32493
32494         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32495         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32496
32497 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32498
32499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32500         Change from 2.6.0 to 2.6.16.
32501         * sysdeps/unix/sysv/linux/configure: Regenerated.
32502         * sysdeps/unix/sysv/linux/kernel-features.h
32503         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32504         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32505         version.
32506         (__ASSUME_UTIMES): Likewise.
32507         (__ASSUME_CLONE_STOPPED): Remove.
32508         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32509         architectures, not kernel version.
32510         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32511         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32512         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32513         (__ASSUME_WAITID_SYSCALL): Likewise.
32514         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32515         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32516         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32517         refer to older versions.
32518
32519 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32520
32521         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32522         Define alphasort64 as an alias.
32523         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32524         Define versionsort64 as an alias.
32525         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32526         Define scandir64 as an alias.
32527         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32528         Define scandirat64 as an alias.
32529         * dirent/alphasort64.c (alphasort64):
32530         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32531         * dirent/versionsort64.c: Likewise.
32532         * dirent/scandir64.c: Likewise.
32533         * dirent/scandirat64.c: Likewise.
32534         * sysdeps/wordsize-64/alphasort.c: File removed.
32535         * sysdeps/wordsize-64/alphasort64.c: File removed.
32536         * sysdeps/wordsize-64/scandir.c: File removed.
32537         * sysdeps/wordsize-64/scandir64.c: File removed.
32538         * sysdeps/wordsize-64/scandirat.c: File removed.
32539         * sysdeps/wordsize-64/scandirat64.c: File removed.
32540         * sysdeps/wordsize-64/versionsort.c: File removed.
32541         * sysdeps/wordsize-64/versionsort64.c: File removed.
32542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32544         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32545         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32546         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32547         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32548         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32549         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32550
32551         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32553         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32554         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32555         [defined __arch64__ || defined __sparcv9]
32556         (__INO_T_MATCHES_INO64_T): New macro.
32557         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32558         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32559         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32560         * sysdeps/unix/sysv/linux/bits/dirent.h
32561         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32562         (_DIRENT_MATCHES_DIRENT64): New macro.
32563
32564         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32565         Define lockf64 as an alias.
32566         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32567         Define fseeko64 as an alias.
32568         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32569         Define ftello64 as an alias.
32570         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32571         Define _IO_fgetpos64 and fgetpos64 as aliases.
32572         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32573         Define _IO_fsetpos64 and fsetpos64 as aliases.
32574         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32575         Conditionalize body on this.
32576         * libio/fseeko64.c: Likewise.
32577         * libio/ftello64.c: Likewise.
32578         * libio/iofgetpos64.c: Likewise.
32579         * libio/iofsetpos64.c: Likewise.
32580         * sysdeps/wordsize-64/lockf.c: File removed.
32581         * sysdeps/wordsize-64/lockf64.c: File removed.
32582         * sysdeps/wordsize-64/fseeko.c: File removed.
32583         * sysdeps/wordsize-64/fseeko64.c: File removed.
32584         * sysdeps/wordsize-64/ftello.c: File removed.
32585         * sysdeps/wordsize-64/ftello64.c: File removed.
32586         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32587         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32588         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32589         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32591         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32592         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32593         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32594         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32595         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32596         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32597         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32598         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32599         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32600
32601         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32602         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32603         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32604         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32605         [defined __arch64__ || defined __sparcv9]
32606         (__OFF_T_MATCHES_OFF64_T): New macro.
32607         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32608         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32610         (__OFF_T_MATCHES_OFF64_T): New macro.
32611
32612 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32613
32614         * stdlib/secure-getenv.c (__secure_getenv): Replace
32615         GLIBC_2_16 with GLIBC_2_17.
32616
32617 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32618
32619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32620         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32621
32622 2012-08-03  David S. Miller  <davem@davemloft.net>
32623
32624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32625
32626 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32627
32628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32629         Remove.
32630         (__ASSUME_CORRECT_SI_PID): Likewise.
32631         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32632         (__ASSUME_TMPFS_NAME): Likewise.
32633         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32634         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32635         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32636         (HAVE_AUX_SECURE): Make definition unconditional.
32637         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32638         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32639
32640 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32641
32642         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32643         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32644         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32645         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32646         __eloop_threshold instead of SYMLOOP_MAX.
32647
32648         * sysdeps/generic/eloop-threshold.h: New file.
32649         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32650         of MAXSYMLINKS.
32651         * elf/chroot_canon.c (chroot_canon): Likewise.
32652
32653 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32654
32655         [BZ #13717]
32656         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32657         Change to 2.6.0 everywhere.
32658         * sysdeps/unix/sysv/linux/configure: Regenerated.
32659         * sysdeps/unix/sysv/linux/kernel-features.h
32660         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32661         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32662         kernel versions.
32663         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32664         (__ASSUME_FUTEX_REQUEUE): Remove.
32665         (__ASSUME_STATFS64): Define unconditionally.
32666         (__ASSUME_AT_SECURE): Likewise.
32667         (__ASSUME_CORRECT_SI_PID): Likewise.
32668         (__ASSUME_TGKILL): Define without depending on kernel version for
32669         i386.
32670         (__ASSUME_UTIMES): Likewise.
32671         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32672         kernel version.
32673         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32674         (__ASSUME_TMPFS_NAME): Likewise.
32675         * README: Update reference to Linux kernel versions.
32676
32677 2012-08-02  Marek Polacek  <polacek@redhat.com>
32678
32679         [BZ# 14150]
32680         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32681         libc_cv_asm_type_prefix with %.
32682         * configure: Regenerated.
32683         * include/libc-symbols.h: Remove comment about
32684         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32685         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32686         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32687         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32688         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32689         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32690         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32691         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32692         * elf/tst-unique2mod1.c: Likewise.
32693         * elf/tst-unique1mod2.c: Likewise.
32694         * elf/tst-unique1mod1.c: Likewise.
32695         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32696         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32697         Replace ASM_TYPE_DIRECTIVE with .type.
32698         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32699         * sysdeps/i386/sysdep.h: Likewise.
32700         * sysdeps/x86_64/sysdep.h: Likewise.
32701         * sysdeps/sh/sysdep.h: Likewise.
32702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32703         Do not define ASM_TYPE_DIRECTIVE.
32704         * sysdeps/powerpc/sysdep.h: Likewise.
32705         * sysdeps/powerpc/powerpc32/sysdep.h:
32706         Replace ASM_TYPE_DIRECTIVE with .type.
32707         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32708         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32709         * sysdeps/i386/fpu/e_powf.S: Likewise.
32710         * sysdeps/i386/fpu/e_expl.S: Likewise.
32711         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32712         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32713         * sysdeps/i386/fpu/e_pow.S: Likewise.
32714         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32715         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32716         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32717         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32718         * sysdeps/i386/fpu/e_log2.S: Likewise.
32719         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32720         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32721         * sysdeps/i386/fpu/e_powl.S: Likewise.
32722         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32723         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32724         * sysdeps/i386/fpu/e_logl.S: Likewise.
32725         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32726         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32727         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32728         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32729         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32730         * sysdeps/i386/fpu/e_log.S: Likewise.
32731         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32732         * sysdeps/i386/fpu/e_logf.S: Likewise.
32733         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32734         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32735         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32736         * sysdeps/i386/fpu/e_log10.S: Likewise.
32737         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32738         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32739         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32740         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32741         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32742         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32743         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32744         * sysdeps/i386/i686/strtok.S: Likewise.
32745         * sysdeps/i386/i386-mcount.S: Likewise.
32746         * sysdeps/i386/strtok.S: Likewise.
32747         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32748         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32749         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32750         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32751         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32752         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32753         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32754         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32755         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32756         * sysdeps/x86_64/_mcount.S: Likewise.
32757         * sysdeps/x86_64/strtok.S: Likewise.
32758         * sysdeps/sh/_mcount.S: Likewise.
32759
32760 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32761
32762         * libio/iofopen.c: Include <fcntl.h>.
32763         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32764         (_IO_fopen64, fopen64): Define as aliases.
32765         * libio/iofopen64.c: Include <fcntl.h>.
32766         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32767         Conditionalize body on this.
32768         * sysdeps/wordsize-64/iofopen.c: File removed.
32769         * sysdeps/wordsize-64/iofopen64.c: File removed.
32770
32771 2012-08-01  Marek Polacek  <polacek@redhat.com>
32772
32773         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32774         Use dlfcn directly instead of a variable.
32775         (binfmt-subdir): Do not define.
32776         (dlfcn): Likewise.
32777
32778 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32779
32780         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32781         Remove all definitions.
32782         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32783         <kernel-features.h>.
32784         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32785         (miss_F_GETOWN_EX): Remove all definitions.
32786         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32787         macro definition.
32788         [!__ASSUME_FCNTL64]: Remove conditional code.
32789         [__ASSUME_FCNTL64]: Make code unconditional.
32790         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32791         <kernel-features.h>.
32792         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32793         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32794         (lockf64) [__NR_fcntl64]: Make code unconditional.
32795         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32796
32797         * sysdeps/unix/sysv/linux/kernel-features.h
32798         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32799         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32800         Make code unconditional.
32801         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32802         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32804         [__NR_vfork]: Make code unconditional.
32805         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32806         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32808         [__NR_vfork]: Make code unconditional.
32809         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32810         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32811
32812 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32813
32814         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32815         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32816
32817         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32818         Define mkstemp64 as an alias.
32819         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32820         Define mkstemps64 as an alias.
32821         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32822         Define mkostemp64 as an alias.
32823         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32824         Define mkostemps64 as an alias.
32825         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32826         Conditionalize body on this.
32827         * misc/mkostemp64.c: Likewise.
32828         * misc/mkostemps64.c: Likewise.
32829         * misc/mkstemps64.c: Likewise.
32830         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32831         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32832         * sysdeps/wordsize-64/mkostemp.c: File removed.
32833         * sysdeps/wordsize-64/mkstemp.c: File removed.
32834         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32835         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32836         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32837         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32838
32839         [BZ #14138]
32840         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32841         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32842         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32843         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32844
32845         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32846         compat_symbol macros from <shlib-compat.h> rather than the underlying
32847         default_symbol_version and symbol_version macros, so that DEFAULT
32848         lines in shlib-versions are respected.
32849         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32850
32851 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32852
32853         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32854         Declare with warn_unused_result.
32855         (setgid, setregid, setegid, setresgid): Likewise.
32856         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32857         Likewise.
32858         * WUR-REPORT: Remove set*id functions.
32859
32860 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32861
32862         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32863
32864 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32865
32866         [BZ #10191]
32867         * include/sys/socket.h (__libc_accept, __libc_accept4):
32868         Add attribute_hidden.
32869         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32870
32871         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32872         use of PTR_MANGLE.
32873         * inet/getnetgrent_r.c (setup): Likewise.
32874
32875         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32876
32877 2012-07-31  David S. Miller  <davem@davemloft.net>
32878
32879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32880
32881 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32882
32883         [BZ #13629]
32884         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32885         value between 1.0 and 2.0 and smaller part has absolute value less
32886         than 1.0.
32887         * math/s_clog10.c (__clog10): Likewise.
32888         * math/s_clog10f.c (__clog10f): Likewise.
32889         * math/s_clog10l.c (__clog10l): Likewise.
32890         * math/s_clogf.c (__clogf): Likewise.
32891         * math/s_clogl.c (__clogl): Likewise.
32892         * math/libm-test.inc (clog_test): Add more tests.
32893         (clog10_test): Likewise.
32894         * sysdeps/i386/fpu/libm-test-ulps: Update.
32895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32896
32897 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32898
32899         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32900         Exit with zero in case no suitable GID is found, and write a
32901         message to standard error.
32902
32903 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32904
32905         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32906         rather than to 1.
32907         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32908         (MAXPATHLEN): Removed.
32909         (NOGROUP, NODEV): New macros.
32910         (setbit, clrbit, isset, isclr): New macros.
32911         (howmany, roundup, powerof2): New macros.
32912         (DEV_BSIZE): New macro.
32913
32914         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32915         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32916
32917         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32918         definition on [!__NO_LONG_DOUBLE_MATH].
32919
32920         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32921         PTR_MANGLE and PTR_DEMANGLE.
32922
32923         * socket/accept4.c (accept4): Rename to __libc_accept4.
32924         Define accept4 as a weak alias.
32925
32926         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32927         on [_DIRENT_HAVE_D_TYPE].
32928         * io/ftw.c (ftw_dir): Likewise.
32929
32930         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32931
32932         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32933
32934         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32935         Use the BSD numbers rather than the arbitrary ones we had.
32936         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32937         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32938         (SIGXCPU, SIGXFSZ): New macros.
32939         (_NSIG): Now 32.
32940
32941         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32942         initializer on [_LIBC_REENTRANT].
32943
32944         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32945         definitions inside [_POSIX_MAPPED_FILES].
32946
32947         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32948
32949         * dirent/opendir.c: Include <fcntl.h>.
32950
32951         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32952         (__libc_getspecific): Likewise.
32953         (__libc_key_create): Likewise.
32954
32955         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32956         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32957         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32958         (tmpfile64): Define as alias.
32959         * sysdeps/wordsize-64/tmpfile.c: File removed.
32960         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32961         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32962         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32963
32964         * stdio-common/vfscanf.c: Include <stdbool.h>.
32965         * nss/makedb.c: Likewise.
32966         * stdio-common/_i18n_number.h: Likewise.
32967         * argp/argp-help.c: Likewise.
32968         * posix/wordexp.c: Likewise.
32969         * sysdeps/posix/spawni.c: Likewise.
32970         * nss/nss_files/files-initgroups.c: Likewise.
32971         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32972         * nss/nss_files/files-initgroups.c: Likewise.
32973         * nss/nss_db/db-netgrp.c: Likewise.
32974         * nss/nss_db/db-initgroups.c: Likewise.
32975         * io/fchmodat.c: Include <sys/stat.h>.
32976
32977         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32978         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32979
32980         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32981         [HAVE_MMAP].
32982
32983         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32984         Add multiple inclusion protection.
32985
32986 2012-07-27  David S. Miller  <davem@davemloft.net>
32987
32988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32989
32990 2012-07-27  Gary Benson  <gbenson@redhat.com>
32991
32992         [BZ #14298]
32993         * elf/rtld.c: Include <stap-probe.h>.
32994         (dl_main): Added static probes "init_start" and "init_complete".
32995         * elf/dl-load.c: Include <stap-probe.h>.
32996         (lose): Take new parameter "nsid".
32997         Added static probe "map_failed".
32998         (_dl_map_object_from_fd): Pass namespace id to lose.
32999         Added static probe "map_start".
33000         (open_verify): Pass namespace id to lose.
33001         * elf/dl-open.c: Include <stap-probe.h>.
33002         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33003         and "reloc_complete".
33004         * elf/dl-close.c: Include <stap-probe.h>.
33005         (_dl_close_worker): Added static probes "unmap_start" and
33006         "unmap_complete".
33007         * elf/rtld-debugger-interface.txt: New file documenting the above.
33008
33009 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33010
33011         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33012         rather than a string variable.
33013         * sunrpc/rpc_main.c (h_output): Likewise.
33014         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33015
33016 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33017
33018         * inet/check_native.c: New file.
33019
33020 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33021
33022         [BZ #13629]
33023         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33024         if larger part has absolute value 1.0.
33025         * math/s_clog10.c (__clog10): Likewise.
33026         * math/s_clog10f.c (__clog10f): Likewise.
33027         * math/s_clog10l.c (__clog10l): Likewise.
33028         * math/s_clogf.c (__clogf): Likewise.
33029         * math/s_clogl.c (__clogl): Likewise.
33030         * math/libm-test.inc (clog_test): Add more tests.
33031         (clog10_test): Likewise.
33032         * sysdeps/i386/fpu/libm-test-ulps: Update.
33033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33034
33035         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33036         (pltexit): Likewise.
33037         (La_regs): Likewise.
33038         (La_retval): Likewise.
33039         (int_retval): Likewise.
33040         Update #error for removed macros to refer only to definitions in
33041         tst-audit.h.
33042         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33043         macro.
33044         (pltexit): Likewise.
33045         (La_regs): Likewise.
33046         (La_retval): Likewise.
33047         (int_retval): Likewise.
33048         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33049         macro.
33050         (pltexit): Likewise.
33051         (La_regs): Likewise.
33052         (La_retval): Likewise.
33053         (int_retval): Likewise.
33054         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33055         macro.
33056         (pltexit): Likewise.
33057         (La_regs): Likewise.
33058         (La_retval): Likewise.
33059         (int_retval): Likewise.
33060         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33061         macro.
33062         (pltexit): Likewise.
33063         (La_regs): Likewise.
33064         (La_retval): Likewise.
33065         (int_retval): Likewise.
33066         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33067         macro.
33068         (pltexit): Likewise.
33069         (La_regs): Likewise.
33070         (La_retval): Likewise.
33071         (int_retval): Likewise.
33072         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33073         macro.
33074         (pltexit): Likewise.
33075         (La_regs): Likewise.
33076         (La_retval): Likewise.
33077         (int_retval): Likewise.
33078         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33079         macro definitions in tst-audit.h.
33080         * sysdeps/i386/tst-audit.h: New file.
33081         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33082         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33083         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33084         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33085         * sysdeps/sh/tst-audit.h: Likewise.
33086         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33087         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33088         * sysdeps/x86_64/tst-audit.h: Likewise.
33089
33090 2012-07-26  Andreas Jaeger  <aj@suse.de>
33091
33092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33093         ptrace.
33094
33095         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33096         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33097         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33098         PTRACE_O_MASK.
33099         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33100         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33101         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33102
33103         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33104         value.
33105
33106         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33107         _sigsys.
33108         (si_call_addr, si_syscall, si_arch): Define new macro.
33109         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33110         _sigsys.
33111         (si_call_addr, si_syscall, si_arch): Define new marcro.
33112         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33113         _sigsys.
33114         (si_call_addr, si_syscall, si_arch): Define new macro.
33115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33116         _sigsys.
33117         (si_call_addr, si_syscall, si_arch): Define new macro.
33118
33119 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33120
33121         [BZ #13717]
33122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33123         Change to 2.4.21 where previously 2.4.1.
33124         * sysdeps/unix/sysv/linux/configure: Regenerated.
33125         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33126         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33127         Linux kernel version.
33128         (__ASSUME_STD_AUXV): Remove.
33129         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33130         kernel version.
33131         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33132         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33133         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33134         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33135         (__ASSUME_NETLINK_SUPPORT): Likewise.
33136         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33137         (__no_netlink_support): Remove conditional definition.
33138         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33139         Remove.
33140         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33141         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33142         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33143         (if_nameindex_ioctl): Remove.
33144         (if_nameindex_netlink): Do not handle __no_netlink_support.
33145         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33146         code.
33147         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33148         Remove conditional code.
33149         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33150         code.
33151         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33152         unconditional.
33153         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33154         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33155         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33156         Remove.
33157         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33158         [!__ASSUME_STD_AUXV]: Remove conditional code.
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33160         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33161         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33163         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33164         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33165         code.
33166         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33168         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33169         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33170         conditional code.
33171         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33173         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33174         code.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33176         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33177         conditional code.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33179         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33180         code unconditional.
33181         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33182         conditional code.
33183         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33184         unconditional.
33185         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33186         conditional code.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33188         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33189         unconditional.
33190         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33191         conditional code.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33193         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33194         code unconditional.
33195         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33196         conditional code.
33197         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33198         unconditional.
33199         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33200         conditional code.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33202         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33203         code unconditional.
33204         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33205         conditional code.
33206         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33207         unconditional.
33208         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33209         conditional code.
33210
33211 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33212
33213         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33214         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33215         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33216         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33217         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33218         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33219         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33220         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33221         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33222         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33223         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33224         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33225         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33226         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33227         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33228         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33229         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33230         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33231         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33232         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33233         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33234         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33235         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33236
33237 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33238
33239         * Versions.def: Add GLIBC_2.17.
33240         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33241         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33242         Introduce __libc_secure_getenv.
33243         * stdlib/Versions (2.17): Add secure_getenv
33244         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33245         * stdlib/secure-getenv.c: Rename __secure_getenv to
33246         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33247         symbol __secure_getenv for GLIBC_2.0.
33248         * stdlib/tst-secure-getenv.c: New.
33249         * stdlib/Makefile (tests): Add testcase.
33250         * manual/startup.texi (Environment Access): Document
33251         secure_getenv.
33252         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33253         __libc_secure_getenv.
33254         * inet/ruserpass.c (ruserpass): Likewise.
33255         * malloc/mtrace.c (mtrace): Likewise.
33256         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33257         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33258         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33259         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33260         HAVE_SECURE_GETENV.
33261         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33262         __secure_getenv to __libc_secure_getenv.
33263         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33265         Likewise.
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33267         Likewise.
33268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33275
33276 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33277
33278         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33279         (struct La_i86_retval): Likewise.
33280         (struct La_x86_64_regs): Likewise.
33281         (struct La_x86_64_retval): Likewise.
33282         (struct La_x32_regs): Likewise.
33283         (struct La_x32_retval): Likewise.
33284         (struct La_ppc32_regs): Likewise.
33285         (struct La_ppc32_retval): Likewise.
33286         (struct La_ppc64_regs): Likewise.
33287         (struct La_ppc64_retval): Likewise.
33288         (struct La_sh_regs): Likewise.
33289         (struct La_sh_retval): Likewise.
33290         (struct La_s390_32_regs): Likewise.
33291         (struct La_s390_32_retval): Likewise.
33292         (struct La_s390_64_regs): Likewise.
33293         (struct La_s390_64_retval): Likewise.
33294         (struct La_sparc32_regs): Likewise.
33295         (struct La_sparc32_retval): Likewise.
33296         (struct La_sparc64_regs): Likewise.
33297         (struct La_sparc64_retval): Likewise.
33298         (struct audit_ifaces): Remove architecture-specific pltenter and
33299         pltexit members.
33300         * sysdeps/i386/ldsodefs.h: New file.
33301         * sysdeps/powerpc/ldsodefs.h: Likewise.
33302         * sysdeps/s390/ldsodefs.h: Likewise.
33303         * sysdeps/sh/ldsodefs.h: Likewise.
33304         * sysdeps/sparc/ldsodefs.h: Likewise.
33305         * sysdeps/x86_64/ldsodefs.h: Likewise.
33306
33307 2012-07-25  Marek Polacek  <polacek@redhat.com>
33308
33309         [BZ #6808]
33310         * math/libm-test.inc (yn_test): Add another test.
33311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33312         to ERANGE when the result is +-Inf.
33313         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33314         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33315         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33316         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33317
33318 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33319
33320         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33321         equal to 0.
33322         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33323         clock_t.
33324         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33325
33326 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33327
33328         * configure.in <sysdeps resolving>: Correct printing
33329         Implies_before.
33330         * configure: Regenerate.
33331
33332 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33333
33334         * math/w_ilogb.c: Include <limits.h>.
33335         * math/w_ilogbl.c: Likewise.
33336
33337 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33338
33339         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33340         va_copy.  Document allowing for unavailable va_copy only as
33341         pre-C99 compatibility.
33342         * manual/string.texi (Copying and Concatenation): Use va_copy
33343         instead of __va_copy in concat example.
33344
33345 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33346
33347         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33348         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33349         it if not null.
33350
33351         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33352         with O_NOLINK passed to __file_name_lookup.
33353
33354         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33355         with O_NOLINK passed to __file_name_lookup.
33356
33357         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33358         negative N or less than NGIDS.
33359
33360         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33361         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33362         enough.  Use memcpy instead of strncpy.
33363
33364 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33365
33366         * elf/Makefile (check-data): Remove.
33367         (localplt.data): New vpath directive.
33368         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33369         instead of $(check-data).
33370         * scripts/data/localplt-generic.data: Move to ...
33371         * sysdeps/generic/localplt.data: ... here.
33372         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33373         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33374         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33376         ... here.
33377         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33379         ... here.
33380         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33382         ... here.
33383         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33385         ... here.
33386         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33388         ... here.
33389         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33391         ... here.
33392
33393 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33394
33395         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33396         PPC32 and PPC64 files.
33397         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33398         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33399
33400 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33401
33402         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33403         __makecontext_ret to ...
33404         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33405         ... here and call exit if uc_link is NULL.  New file.
33406         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33407         __makecontext_ret.S.
33408         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33409         __makecontext_ret to ...
33410         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33411         ... here and call exit if uc_link is NULL.  New file.
33412         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33413         __makecontext_ret.S.
33414
33415 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33416
33417         * elf/elf.h (R_390_IRELATIVE): New definition.
33418         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33419         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33420         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33421         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33422         (elf_machine_lazy_rel): Likewise.
33423         * sysdeps/s390/dl-irel.h: New file.
33424         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33425         * sysdeps/s390/s390-64/memset.S: New asm code.
33426         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33427         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33428         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33429         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33430         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33431         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33432         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33433         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33434         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33435         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33436         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33437         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33438         * sysdeps/s390/s390-32/memset.S: New asm code.
33439         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33440
33441 2012-07-17  Marek Polacek  <polacek@redhat.com>
33442
33443         [BZ #14349]
33444         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33445         * sysdeps/s390/s390-64/configure.in: Likewise.
33446         * sysdeps/sparc/configure.in: Likewise.
33447         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33448         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33449         * sysdeps/i386/configure.in: Likewise.
33450         * sysdeps/x86_64/configure.in: Likewise.
33451         * sysdeps/sh/configure.in: Likewise.
33452         * sysdeps/s390/s390-32/configure: Regenerated.
33453         * sysdeps/s390/s390-64/configure: Likewise.
33454         * sysdeps/x86_64/configure: Likewise.
33455         * sysdeps/sh/configure: Likewise.
33456         * sysdeps/powerpc/powerpc64/configure: Likewise.
33457         * sysdeps/powerpc/powerpc32/configure: Likewise.
33458         * sysdeps/sparc/configure: Likwise.
33459         * sysdeps/i386/configure: Likewise.
33460
33461         * elf/dl-open.c: Comment fixes.
33462
33463 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33464
33465         * Makefile [CXX] (check-data): Remove.
33466         [CXX] (c++-types.data): New vpath directive.
33467         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33468         vpath.  Do not allow for C++ type data being missing.
33469         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33470         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33471         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33472         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33473         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33474         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33475         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33477         ... here.
33478         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33480         ... here.
33481         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33483         ... here.
33484         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33486         ... here.
33487         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33489         ... here.
33490         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33492         ... here.
33493         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33495         ... here.
33496         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33498
33499         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33500         definitions to architecture-specific files.
33501         (TLS_IE): Likewise.
33502         (TLS_LD): Likewise.
33503         (TLS_GD): Likewise.
33504         * sysdeps/i386/tls-macros.h: New file.
33505         * sysdeps/powerpc/tls-macros.h: Likewise.
33506         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33507         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33508         * sysdeps/sh/tls-macros.h: Likewise.
33509         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33510         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33511         * sysdeps/x86_64/tls-macros.h: Likewise.
33512
33513 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33514
33515         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33516         zero value for regular exit case.
33517
33518         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33519         (__start_context): Preserve zero value for regular exit case.
33520
33521 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33522             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33523
33524         * manual/setjmp.texi (setcontext): Clarify normal process
33525         termination when uc_link is the null pointer.
33526         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33527         exit call.
33528
33529 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33530
33531         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33532         preprocessor.  Test for each exception mask separately.
33533
33534 2012-07-16  Andreas Jaeger  <aj@suse.de>
33535
33536         * po/ru.po: Update from translation team.
33537
33538 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33539
33540         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33541         equal to 0.
33542         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33543         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33544         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33545         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33546         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33547
33548 2012-07-13  Andreas Jaeger  <aj@suse.de>
33549
33550         * po/fr.po: Update from translation team.
33551
33552 2012-07-12  Marek Polacek  <polacek@redhat.com>
33553
33554         [BZ #14173]
33555         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33556         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33557         loop condition.
33558
33559 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33560
33561         [BZ #13717]
33562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33563         Change to 2.4.1 where previously 2.4.0.
33564         * sysdeps/unix/sysv/linux/configure: Regenerated.
33565         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33566         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33567         version.
33568         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33569         (__ASSUME_AT_CLKTCK): Remove.
33570         (__ASSUME_AT_PAGESIZE): Likewise.
33571         (__ASSUME_AT_XID): Likewise.
33572         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33573         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33574         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33575         unconditionally.
33576         (HAVE_AUX_PAGESIZE): Likewise.
33577         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33578         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33579         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33580
33581 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33582
33583         [BZ #14307]
33584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33585         the temporary buffer used to invoke __gethostbyname2_r,
33586         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33587         host_data / struct gaih_addrtuple.
33588         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33589         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33590         header file nss/nsswitch.h.
33591         * nss/nsswitch.h (global scope): Add definition of implementation
33592         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33593         resolv/nss_dns/dns-host.c).
33594
33595 2012-07-11  Andreas Jaeger  <aj@suse.de>
33596
33597         * po/fr.po: Update from translation team.
33598
33599         * po/sv.po: Update from translation team
33600         * po/fr.po: Another update from translation team.
33601
33602 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33603
33604         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33605         for subnormals or multiply small sinh result by itself.
33606         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33608
33609 2012-07-11  David S. Miller  <davem@davemloft.net>
33610
33611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33612
33613 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33614
33615         [BZ #14347]
33616         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33617         (INTERNAL_MARK): Shift it here.
33618
33619 2012-07-10  Marek Polacek  <polacek@redhat.com>
33620
33621         [BZ #14151]
33622         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33623         libc_cv_asm_global_directive with .globl.
33624         * configure: Regenerated.
33625         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33626         with .globl.
33627         * sysdeps/i386/configure: Regenerated.
33628         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33629         with .globl.
33630         * sysdeps/x86_64/configure: Regenerated.
33631         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33632         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33633         * elf/tst-unique2mod2.c: Likewise.
33634         * elf/tst-unique2mod1.c: Likewise.
33635         * elf/tst-unique1mod2.c: Likewise.
33636         * elf/tst-unique1mod1.c: Likewise.
33637         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33638         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33639         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33640         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33641         * sysdeps/mach/sysdep.h: Likewise.
33642         * sysdeps/i386/sysdep.h: Likewise.
33643         * sysdeps/i386/i386-mcount.S: Likewise.
33644         * sysdeps/x86_64/_mcount.S: Likewise.
33645         * sysdeps/x86_64/sysdep.h: Likewise.
33646         * sysdeps/sh/_mcount.S: Likewise.
33647         * sysdeps/sh/sysdep.h: Likewise.
33648         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33649         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33650         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33651         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33652         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33653         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33654         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33655         * locale/localeinfo.h: Likewise.
33656         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33657         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33658
33659 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33660
33661         [BZ #14336]
33662         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33663         system".
33664         * manual/message.texi (The Uniforum approach): Likewise.
33665         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33666         (glibc iconv Implementation): Likewise.
33667
33668 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33669
33670         [BZ #14337]
33671         * math/s_clog.c (__clog): Avoid scaling a value down where that
33672         could result in underflow.
33673         * math/s_clog10.c (__clog10): Likewise.
33674         * math/s_clog10f.c (__clog10f): Likewise.
33675         * math/s_clog10l.c (__clog10l): Likewise.
33676         * math/s_clogf.c (__clogf): Likewise.
33677         * math/s_clogl.c (__clogl): Likewise.
33678         * math/libm-test.inc (clog_test): Add more tests.
33679         (clog10_test): Likewise.
33680         * sysdeps/i386/fpu/libm-test-ulps: Update.
33681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33682
33683 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33684
33685         [BZ #14283]
33686         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33687         by 7 not 8 to examine high bit of fractional part.
33688
33689         [BZ #14042]
33690         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33691         for call to __mcount_internal.
33692         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33693         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33694         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33695
33696 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33697
33698         [BZ #14154]
33699         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33700         approximation for values within 0x1p-13f of an odd multiple of
33701         pi/4.
33702         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33703         exception.  Add more tests.
33704         * sysdeps/i386/fpu/libm-test-ulps: Update.
33705
33706         [BZ #6778]
33707         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33708         inputs and return -1 for them.  Do not check for +Inf in case not
33709         reachable for +Inf.
33710         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33711         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33712         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33713         and return -1 for them.  Do not check for +Inf in case not
33714         reachable for +Inf.
33715         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33716         define.
33717         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33718         and return -1 for them.  Do not check for +Inf in case not
33719         reachable for +Inf.
33720         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33721         spurious underflow.
33722         * sysdeps/i386/fpu/libm-test-ulps: Update.
33723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33724
33725 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33726
33727         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33728
33729 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33730
33731         [BZ #14157]
33732         [BZ #14331]
33733         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33734         could result in spurious underflow.  Scale down values above
33735         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33736         * math/s_csqrtf.c (__csqrtf): Likewise.
33737         * math/s_csqrtl.c (__csqrtl): Likewise.
33738         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33739         spurious underflow.
33740         * sysdeps/i386/fpu/libm-test-ulps: Update.
33741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33742
33743 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33744
33745         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33746         xopen-msg.sed.
33747         * catgets/xopen-msg.awk: New file.
33748         * catgets/xopen-msg.sed: Removed.
33749
33750         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33751         po2text.sed.
33752         * intl/po2test.awk: New file.
33753         * intl/po2test.sed: Removed.
33754
33755 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33756
33757         [BZ #14328]
33758         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33759         or multiply small sinh result by itself.
33760         * math/s_ctanf.c (__ctanf): Likewise.
33761         * math/s_ctanh.c (__ctanh): Likewise.
33762         * math/s_ctanhf.c (__ctanhf): Likewise.
33763         * math/s_ctanhl.c (__ctanhl): Likewise.
33764         * math/s_ctanl.c (__ctanl): Likewise.
33765         * math/libm-test.inc (ctan_test_tonearest): New function.
33766         (ctan_test_towardzero): Likewise.
33767         (ctan_test_downward): Likewise.
33768         (ctan_test_upward): Likewise.
33769         (ctanh_test_tonearest): Likewise.
33770         (ctanh_test_towardzero): Likewise.
33771         (ctanh_test_downward): Likewise.
33772         (ctanh_test_upward): Likewise.
33773         (main): Call these new functions.
33774         * sysdeps/i386/fpu/libm-test-ulps: Update.
33775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33776
33777 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33778
33779         * .gitignore: Delete /ports entry.
33780
33781 2012-07-03  Andreas Jaeger  <aj@suse.de>
33782
33783         * po/bg.po: Update from translation team.
33784         * po/cs.po: Likewise.
33785         * po/de.po: Likewise.
33786         * po/hr.po: Likewise.
33787         * po/nl.pl: Likewise.
33788         * po/pl.po: Likewise.
33789         * po/vi.po: Likewise.
33790
33791 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33792
33793         * Makeconfig [!+link] (+link-before-libc): New variable.
33794         [!+link] (+link-after-libc): Likewise.
33795         [!+link] (+link-tests): Likewise.
33796         [!+link] (+link): Define in terms of $(+link-before-libc) and
33797         $(+link-after-libc).
33798         [!+link-static] (+link-static-before-libc): New variable.
33799         [!+link-static] (+link-static-after-libc): Likewise.
33800         [!+link-static] (+link-static-tests): Likewise.
33801         [!+link-static] (+link-static): Define in terms of
33802         $(+link-static-before-libc) and $(+link-static-after-libc).
33803         [build-shared] (link-libc-before-gnulib): New variable.
33804         [build-shared] (link-libc-tests): Likewise.
33805         [build-shared] (link-libc): Define in terms of
33806         $(link-libc-before-gnulib).
33807         [!build-shared] (link-libc-tests): New variable.
33808         (link-libc-static-tests): New variable.
33809         [!gnulib] (gnulib-arch): New variable.
33810         [!gnulib] (gnulib-tests): Likewise.
33811         [!gnulib] (static-gnulib-arch): Likewise.
33812         [!gnulib] (static-gnulib-tests): Likewise.
33813         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33814         Define with "=" instead of ":=".
33815         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33816         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33817         * Rules (binaries-all-notests): New variable.
33818         (binaries-all-tests): Likewise.
33819         (binaries-static-notests): Likewise.
33820         (binaries-static-tests): Likewise.
33821         (binaries-all): Define using $(binaries-all-notests) and
33822         $(binaries-all-tests).
33823         (binaries-static): Define using $(binaries-static-notests) and
33824         $(binaries-static-tests).
33825         (binaries-shared-tests): New variable.
33826         (binaries-shared-notests): Likewise.
33827         (binaries-shared): Remove variable.
33828         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33829         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33830         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33831         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33832         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33833         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33834         * elf/Makefile (sln-modules): New variable.
33835         (extra-objs): Add $(sln-modules:=.o).
33836         (ldconfig-modules): Add static-stubs.
33837         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33838         * elf/static-stubs.c: New file.
33839
33840         [BZ #14283]
33841         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33842         by 7 not 8 to examine high bit of fractional part.  Use volatile
33843         variables when splitting into final array of floats if
33844         __FLT_EVAL_METHOD__ != 0.
33845         * math/libm-test.inc (cos_test): Add another test.
33846         (sin_test): Likewise.
33847         * sysdeps/i386/fpu/libm-test-ulps: Update.
33848
33849         [BZ #14273]
33850         * math/libm-test.inc (cosh_test): Add more tests.
33851
33852         * version.h (RELEASE): Set to "development".
33853         (VERSION): Set to "2.16.90".
33854
33855 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33856
33857         * NEWS: Update copyright. Remove last-updated date.
33858         Mention math library bug fixes and timezone data changes.
33859         * README: Mention GNU/Hurd, x32, and HPPA support status.
33860
33861 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33862
33863         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33864
33865 2012-06-27  Andreas Jaeger  <aj@suse.de>
33866
33867         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33868
33869 2012-06-25  Andreas Jaeger  <aj@suse.de>
33870
33871         * sysdeps/s390/fpu/libm-test-ulps: Update.
33872
33873 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33874             Thomas Schwinge  <thomas@codesourcery.com>
33875
33876         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33877         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33878         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33879         fanotify_mark.
33880
33881 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33882
33883         * sysdeps/mach/start.c: Remove file.
33884         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33885         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33886         * sysdeps/sh/init-first.c: Likewise.
33887
33888         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33889         registers for frame unwinding purposes, add CFI directives.
33890         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33891         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33892         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33893         Likewise.
33894
33895         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33896         __fortify_fail returning.
33897         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33898
33899         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33900         sysdeps/sh/____longjmp_chk.S.
33901         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33902         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33903         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33904         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33905
33906         * sysdeps/sh/abort-instr.h: New file.
33907         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33908         process in case exit returns.
33909
33910         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33911         initialize the GOT register before use.
33912
33913         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33914         calculation of ARGC > 4.
33915
33916         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33917         meaningful names to some local labels.
33918
33919 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33920             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33921
33922         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33923         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33924         (__arch_compare_and_exchange_val_16_acq): Likewise.
33925         (__arch_compare_and_exchange_val_32_acq): Likewise.
33926         (atomic_exchange_and_add): Fix gUSA sequence.
33927         (atomic_add): Likewise.
33928         (atomic_add_negative): Likewise.
33929         (atomic_add_zero): Likewise.
33930         (atomic_bit_test_set): Likewise.
33931
33932 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33933
33934         [BZ #13579]
33935         * include/link.h (struct link_map): Add l_free_initfini.
33936         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33937         l_initfini.
33938         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33939         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33940         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33941         set.
33942
33943 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33944
33945         * configure.in: Use AC_LANG_SOURCE.
33946         * configure: Regenerate.
33947
33948 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33949
33950         * configure.in (libc_cv_localstatedir): New substituted variable.
33951         * configure: Regenerated.
33952         * config.make.in (localstatedir): New variable, substituted from
33953         libc_cv_localstatedir.
33954         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33955         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33956         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33957         * sysdeps/gnu/configure: Regenerated.
33958
33959 2012-06-21  Jeff Law  <law@redhat.com>
33960
33961         [BZ #14277]
33962         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33963         free.  Simplify list management for _LIBC case.
33964
33965 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33966
33967         [BZ #14273]
33968         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33969         Clear sign bit of 64-bit integer value before comparing against
33970         overflow value.
33971
33972         * sysdeps/mach/configure: Regenerated.
33973
33974 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33975
33976         [BZ #14278]
33977         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33978
33979 2012-06-21  Jeff Law  <law@redhat.com>
33980
33981         [BZ #13882]
33982         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33983         uint16_t for elements in the "seen" array to avoid char overflows.
33984         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33985         * elf/dl-open.c (dl_open_worker): Likewise.
33986
33987 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33988
33989         * scripts/list-sources.sh: Scan PORTS for translations.
33990         * po/libc.pot: Regenerated.
33991
33992 2012-06-21  Andreas Jaeger  <aj@suse.de>
33993
33994         [BZ #12194]
33995         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33996         warning.
33997         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33998         * bits/byteswap-16.h (__bswap_16): Likewise.
33999         * bits/byteswap.h (__bswap_constant_16): Likewise.
34000
34001 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34002
34003         [BZ #14117]
34004         * sysdeps/i386/fpu_control.h: Removed.
34005         * sysdeps/x86_64/fpu_control.h: Moved to ...
34006         * sysdeps/x86/fpu_control.h: Here.
34007
34008         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34009         (_FPU_SETCW): Likewise.
34010
34011 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34012
34013         [BZ #14117]
34014         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34015         * sysdeps/x86/fpu/bits/mathinline.h: This.
34016         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34017
34018         [BZ #14050]
34019         [BZ #14117]
34020         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34021         functions if __x86_64__ is defined.
34022
34023 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34024
34025         * string/endian.h: Add !__ASSEMBLER__ condition for including
34026         conversion interfaces.
34027
34028 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34029
34030         [BZ #14241]
34031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34032         of ABS(x) in calculating zero to negative powers other than odd
34033         integers.
34034         * math/libm-test.inc (pow_test): Add more tests.
34035
34036 2012-06-15  Andreas Jaeger  <aj@suse.de>
34037
34038         * manual/contrib.texi (Contributors): Update entry of Liubov
34039         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34040         Machado Filho.
34041
34042 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34043
34044         * string/string.h: Add __wur to GNU version of strerror_r.
34045
34046 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34047
34048         [BZ #14229]
34049         * string/Makefile (tests): Add tst-strtok_r.
34050         * string/tst-strtok_r.c: New file.
34051         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34052         RAX_LP/RDX_LP on SAVE_PTR.
34053
34054 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34055
34056         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34057
34058 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34059
34060         * libm_test.inc (csqrt_test): Allow more spurious underflow
34061         exceptions.
34062         (j0_test): Likewise.
34063         (j1_test): Likewise.
34064         (y0_test): Likewise.
34065         (y1_test): Likewise.
34066
34067 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34068
34069         * po/Makefile (libc.pot): Use UTF-8 charset.
34070
34071 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34072
34073         [BZ #14210]
34074         Suppress sign-conversion warning from FD_SET.
34075         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34076         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34077         not unsigned long int.
34078         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34079
34080 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34081
34082         [BZ #14050]
34083         [BZ #14117]
34084         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34085         __extern_always_inline instead of __extern_inline.
34086         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34087         (__signbit): Likewise.
34088         (__signbitl): Support C++ namespace.
34089         (lrintf): New inline function.
34090         (lrint): Likewise.
34091         (llrintf): Likewise.
34092         (llrint): Likewise.
34093         (fmaxf): Likewise.
34094         (fmax): Likewise.
34095         (fminf): Likewise.
34096         (fmin): Likewise.
34097         (rint): Likewise.
34098         (rintf): Likewise.
34099         (ceil): Likewise.
34100         (ceilf): Likewise.
34101         (floor): Likewise.
34102         (floorf): Likewise.
34103         (nearbyint): Likewise.
34104         (nearbyintf): Likewise.
34105
34106 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34107
34108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34109         non-default versions.
34110
34111 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34112
34113         [BZ #14218]
34114         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34115
34116 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34117
34118         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34119         (FE_UPWARD, FE_DOWNWARD): Don't define.
34120         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34121         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34122
34123         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34124         reading it.
34125         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34126         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34127
34128 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34129
34130         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34132         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34133         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34134
34135 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34136
34137         [BZ #14117]
34138         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34139         * sysdeps/i386/fpu/Implies: New file.
34140         * sysdeps/x86_64/fpu/Implies: Likewise.
34141         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34142         * sysdeps/x86/fpu/bits/fenv.h: This.
34143
34144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34145         __SSE_MATH__.
34146
34147 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34148
34149         [BZ #14134]
34150         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34151         character 0xffff that matches the last element of the
34152         conversion table.
34153
34154 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34155
34156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34157         fmodl commit.
34158
34159 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34160
34161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34162         values higher than 25.6283.
34163
34164 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34165
34166         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34167         subnormal exponent extraction and add some __builtin_expect.
34168         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34169         Fix for subnormal mantissa calculation.
34170
34171 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34172
34173         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34174         cpu2 is -1 and errno is not ENOSYS.
34175
34176 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34177
34178         [BZ #14117]
34179         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34180         * sysdeps/x86/bits/string.h: This.
34181         * sysdeps/x86_64/bits/string.h: Removed.
34182
34183         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34184         if not compiling for x86-64, but compiling for >= i486.
34185
34186         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34187         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34188
34189         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34190         New macro from Linux kernel 3.4.0.
34191         (FP_XSTATE_MAGIC2): Likewise.
34192         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34193         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34194         (struct _fpx_sw_bytes): New struct.
34195         (struct _xsave_hdr): Likewise.
34196         (struct _ymmh_state): Likewise.
34197         (struct _xstate): Likewise.
34198
34199         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34200         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34201         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34202         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34203         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34204         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34205
34206         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34207         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34208         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34209         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34210         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34211         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34212
34213 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34214
34215         [BZ #13743]
34216         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34217         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34218         (sysdep_headers): Include sys/platform/ppc.h.
34219         * sysdeps/powerpc/test-gettimebase.c: Test for
34220         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34221         * manual/Makefile (appendices): Include platform.texi.
34222         * manual/contrib.texi (Contributors): Update @node pointers.
34223         * manual/maint.texi (Maintenance): Likewise.
34224         (Platform): New node.
34225         * manual/platform.texi: New file.  Document the new features.
34226
34227 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34228             Jakub Jelinek  <jakub@redhat.com>
34229
34230         [BZ #14188]
34231         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34232         where __builtin_expect is unavailable.
34233
34234 2012-06-03  David S. Miller  <davem@davemloft.net>
34235
34236         * stdlib/longlong.h: Updated from GCC.
34237
34238 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34239
34240         [BZ #14042]
34241         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34242         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34243         __mcount_internal.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34245         (GLIBC_2.16): Likewise.
34246
34247 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34248
34249         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34250
34251 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34252
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34254         (default-abi): New variable.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34256         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34257         variable.
34258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34259         Likewise.
34260         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34261         Likewise.
34262         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34263         Likewise.
34264
34265         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34266         definition.  Document in comment.
34267
34268 2012-06-01  David S. Miller  <davem@davemloft.net>
34269
34270         * stdlib/longlong.h: Updated from GCC.
34271
34272 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34273
34274         [BZ #14117]
34275         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34276         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34277         sys/debugreg.h sys/io.h here.
34278         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34279         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34280         sys/io.h.
34281         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34282         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34283         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34284         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34285         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34286         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34287
34288         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34289         Define only if __x86_64__ is defined.
34290
34291 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34292
34293         [BZ #14048]
34294         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34295         Use int64_t for variable i.
34296         * math/libm-test.inc (fmod_test): Add more tests.
34297
34298         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34299         z computation is not scheduled after fetestexcept.
34300         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34301         Use math_force_eval instead of asm to ensure calculation scheduled
34302         before exception test.
34303         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34304         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34305
34306 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34307
34308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34309         computation is not scheduled after fetestexcept.
34310
34311 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         [BZ #14117]
34314         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34315         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34316
34317 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34318
34319         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34320         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34321
34322 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34323
34324         [BZ #14117]
34325         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34326         <bits/wordsize.h>.
34327         (__WCHAR_MIN): Support __WORDSIZE == 64.
34328         (__WCHAR_MAX): Likewise.
34329
34330         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34331         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34332
34333         [BZ #14183]
34334         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34335         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34336
34337         [BZ #14117]
34338         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34339         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34340
34341         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34342         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34343
34344         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34345         Defined to 1 if __x86_64__ isn't defined.
34346         (_STAT_VER_LINUX_OLD): New.
34347         (st_atime): Remove duplicate.
34348         (st_mtime): Likewise.
34349         (st_ctime): Likewise.
34350
34351 2012-05-31  David S. Miller  <davem@davemloft.net>
34352
34353         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34354         entries.
34355
34356 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34357
34358         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34359         gen-libm-test.pl.
34360
34361         [BZ #14132]
34362         * elf/dl-reloc.c: Include <_itoa.h>.
34363         (_dl_reloc_bad_type): Remove use of INTUSE.
34364         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34365         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34366         * stdio-common/psiginfo.c (psiginfo): Likewise.
34367         * stdio-common/psignal.c (psignal): Likewise.
34368         * string/strsignal.c (strsignal): Likewise.
34369         * include/signal.h (_sys_siglist): Declare hidden proto.
34370         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34371         INTVARDEF with libc_hidden_data_def.
34372         * stdio-common/itoa-udigits.c: Likewise.
34373         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34374         (_itoa_lower_digits_internal): Remove declaration.
34375         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34376         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34377         (_sys_sigabbrev_internal): Remove aliases.
34378         (_sys_siglist): Define hidden alias.
34379
34380 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34381
34382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34383         bits/sysctl.h.
34384
34385 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34386
34387         [BZ #14117]
34388         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34389         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34390
34391         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34392         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34393         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34394         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34395         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34396         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34397
34398         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34399         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34400         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34401
34402         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34403         with __addr.
34404         (insw): Likewise.
34405         (insl): Likewise.
34406         (outsb): Likewise.
34407         (outsw): Likewise.
34408         (outsl): Likewise.
34409
34410         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34411         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34412         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34413
34414         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34415         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34416         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34417         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34418         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34419         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34420
34421         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34422         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34423
34424         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34425         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34426
34427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34429         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34430
34431         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34432         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34433         to ...
34434         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34435
34436         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34437         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34438         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34439
34440         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34441         for x86-64.
34442         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34443
34444 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34445
34446         * math/math.h (M_El): Use two more decimal places.
34447         (M_LOG2El): Likewise.
34448         (M_LOG10El): Likewise.
34449         (M_LN2l): Likewise.
34450         (M_LN10l): Likewise.
34451         (M_PIl): Likewise.
34452         (M_PI_2l): Likewise.
34453         (M_PI_4l): Likewise.
34454         (M_1_PIl): Likewise.
34455         (M_2_PIl): Likewise.
34456         (M_2_SQRTPIl): Likewise.
34457         (M_SQRT2l): Likewise.
34458         (M_SQRT1_2l): Likewise.
34459
34460 2012-05-31  David S. Miller  <davem@davemloft.net>
34461
34462         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34463         values between float registers.
34464         * sysdeps/sparc/sparc64/memset.S: Likewise.
34465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34466
34467 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34468
34469         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34470         -D_FORTIFY_SOURCE=1.
34471         (CPPFLAGS-tst-longjmp_chk.c): Define.
34472         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34473         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34474         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34475         CFLAGS-tst-wchar-h.c.
34476
34477 2012-05-31  Marek Polacek  <polacek@redhat.com>
34478
34479         [BZ #14132]
34480         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34481         __endmntent_internal): Remove declaration.
34482         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34483         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34484         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34485
34486 2012-05-30  David S. Miller  <davem@davemloft.net>
34487
34488         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34489         (___Q_simulate_exceptions): Use real FP ops rather than writing
34490         into the %fsr.
34491         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34492         Likewise.
34493
34494 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34495
34496         [BZ #14117]
34497         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34498         * sysdeps/x86/bits/xtitypes.h: This.
34499
34500         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34501         * sysdeps/x86/bits/wordsize.h: This.
34502
34503         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34504         * sysdeps/x86/bits/huge_vall.h: This.
34505
34506         * sysdeps/i386/bits/select.h: Removed.
34507         * sysdeps/x86_64/bits/select.h: Renamed to ...
34508         * sysdeps/x86/bits/select.h: This.
34509
34510         * sysdeps/i386/bits/setjmp.h: Removed.
34511         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34512         * sysdeps/x86/bits/setjmp.h: This.
34513
34514         * sysdeps/i386/bits/mathdef.h: Removed.
34515         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34516         * sysdeps/x86/bits/mathdef.h: This.
34517
34518 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34519
34520         [BZ #14132]
34521         * include/sys/socket.h (__connect_internal)
34522         (__libc_sa_len_internal): Remove declaration.
34523         (__connect, __libc_sa_len): Declare hidden_proto.
34524         (SA_LEN): Remove use of INTUSE.
34525         * socket/connect.c: Add libc_hidden_def.
34526         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34527         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34528         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34529         alias.
34530         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34532         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34533         of adding _internal alias.
34534
34535 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34536
34537         [BZ #14117]
34538         * sysdeps/i386/bits/link.h: Removed.
34539         * sysdeps/i386/bits/linkmap.h: Likewise.
34540         * sysdeps/x86_64/bits/link.h: Renamed to ...
34541         * sysdeps/x86/bits/link.h: This.
34542         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34543         * sysdeps/x86/bits/linkmap.h: This.
34544
34545         * sysdeps/i386/bits/endian.h: Removed.
34546         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34547         * sysdeps/x86/bits/endian.h: This.
34548
34549         * sysdeps/i386/bits/byteswap.h: Removed.
34550         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34551         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34552         * sysdeps/x86/bits/byteswap.h: This.
34553         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34554         * sysdeps/x86/bits/byteswap-16.h: This.
34555         * sysdeps/i386/Implies: Add x86.
34556         * sysdeps/x86_64/Implies: Likewise.
34557
34558 2012-05-30  David S. Miller  <davem@davemloft.net>
34559
34560         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34561         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34562         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34563         (FP_TRAPPING_EXCEPTIONS): Define.
34564         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34565         (FP_TRAPPING_EXCEPTIONS): Define.
34566         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34567         subnormals only when inexact has been signalled or underflow
34568         exceptions are enabled.
34569         (_FP_PACK_CANONICAL): Likewise.
34570
34571 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34572
34573         [BZ #14183]
34574         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34575         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34576
34577 2012-05-30  Richard Henderson  <rth@twiddle.net>
34578
34579         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34580         with #ifndef NOT_IN_libc.
34581
34582         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34583         marked to avoid plt entry.
34584
34585 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34586
34587         [BZ #14112]
34588         * Makeconfig (default-abi): New macro.
34589         (abi-includes): Likewise.
34590         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34591         $(abi-$(default-abi)-lib-soname) for soname if defined.
34592         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34593         abi-variants.
34594         * Makefile (installed-stubs): Likewise.
34595         * include/stubs-biarch.h: Removed.
34596         * scripts/lib-names.awk: Only handle one library at a time.
34597         * scripts/soversions.awk: Remove WORDSIZE support.
34598         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34599         entries.
34600         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34601         Removed.
34602         (syscall-list-default-condition): Likewise.
34603         (syscall-list-default-condition): Likewise.
34604         (syscall-list-includes): Likewise.
34605         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34606         syscall-list-* with abi-*.  Handle undefined abi-variants.
34607         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34608         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34609         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34610         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34611         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34612         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34613         Removed.
34614         (syscall-list-32-options): Likewise.
34615         (syscall-list-32-condition): Likewise.
34616         (syscall-list-64-options): Likewise.
34617         (syscall-list-64-condition): Likewise.
34618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34619         macro.
34620         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34621         Renamed to ...
34622         (abi-*): This.
34623         (abi-64-ld-soname): New macro.
34624         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34625         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34626         Renamed to ...
34627         (abi-*): This.
34628         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34629         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34630
34631 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34632
34633         * sysdeps/unix/sysv/linux/kernel-features.h
34634         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34635         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34636         include <kernel-features.h>.
34637         [!__NR_ftruncate64]: Remove conditional code.
34638         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34639         [__NR_ftruncate64]: Make code unconditional.
34640         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34641         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34642         include <kernel-features.h>.
34643         [!__NR_ftruncate64]: Remove conditional code.
34644         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34645         [__NR_ftruncate64]: Make code unconditional.
34646         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34648         include <kernel-features.h>.
34649         [!__NR_ftruncate64]: Remove conditional code.
34650         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34651         [__NR_ftruncate64]: Make code unconditional.
34652         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34654         include <kernel-features.h>.
34655         [!__NR_ftruncate64]: Remove conditional code.
34656         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34657         [__NR_ftruncate64]: Make code unconditional.
34658         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34659
34660         * configure.in (libc_cv_fpie): Weaken to a compile test using
34661         LIBC_TRY_CC_OPTION.
34662         * configure: Regenerated.
34663
34664 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34665
34666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34670         Refreshed.
34671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34677         Refreshed.
34678
34679 2012-05-27  David S. Miller  <davem@davemloft.net>
34680
34681         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34682         (___Q_zero): New.
34683         (__Q_simulate_exceptions): Return void.  Change to simulate
34684         exceptions by writing into the %fsr.
34685         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34686         (__Qp_handle_exceptions): Likewise.
34687         (numbers): Delete.
34688         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34689         __Qp_handle_exceptions.
34690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34691         __Qp_handle_exceptions.
34692         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34693         as unused and give dummy FP_RND_NEAREST initializer.
34694         (FP_INHIBIT_RESULTS): Define.
34695         (___Q_simulate_exceptions): Update declaration.
34696         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34697         formatting.
34698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34699         as unused and give dummy FP_RND_NEAREST initializer.
34700         (__Qp_handle_exceptions): Update declaration.
34701         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34702         formatting.
34703
34704 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34705
34706         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34707         the temporary FPU control word.
34708         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34709         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34710         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34711         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34712         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34713         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34714         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34715         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34716         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34717         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34718         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34719
34720 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34721
34722         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34723         fields.
34724
34725 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34726
34727         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34728         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34729         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34730         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34731         Likewise.
34732         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34733         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34734         Likewise.
34735
34736 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34737
34738         * po/h.po: Update from translation team.
34739
34740 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34741
34742         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34743
34744         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34745         handling of denormals.
34746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34747         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34748         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34749         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34750         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34753         Likewise.
34754
34755 2012-05-26  Marek Polacek  <polacek@redhat.com>
34756
34757         [BZ #14152]
34758         * math/libm-test.inc (fma_test): Don't always expect underflow
34759         exception.
34760
34761 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34762
34763         [BZ #12416]
34764         * elf/tst-execstack.c: Include stackinfo.h.
34765         (do_test): Adjust test case to ensure that pthread_getattr_np
34766         behaviour remains the same after marking stack executable.
34767
34768 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34769
34770         * sysdeps/unix/sysv/linux/kernel-features.h
34771         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34772         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34773         kernel-features.h.
34774         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34775         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34776         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34777         kernel-features.h.
34778         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34779         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34780
34781 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34782
34783         * configure.in: Define the default includes to being none.
34784         * configure: Regenerated.
34785
34786 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34787
34788         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34789         * sysdeps/x86_64/setjmp.S: Likewise.
34790         * sysdeps/i386/bsd-setjmp.S: Likewise.
34791         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34792         * sysdeps/i386/setjmp.S: Likewise.
34793         * sysdeps/i386/__longjmp.S: Likewise.
34794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34795         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34796
34797         * include/stap-probe.h: New file.
34798         * configure.in: Handle --enable-systemtap.
34799         * configure: Regenerated.
34800         * config.h.in (USE_STAP_PROBE): New #undef.
34801         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34802         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34803         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34804
34805 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34806
34807         [BZ #13717]
34808         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34809         to 2.4.0 where earlier.
34810         * sysdeps/unix/sysv/linux/configure: Regenerated.
34811         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34812         <kernel-features.h>.
34813         [__ASSUME_32BITUIDS]: Make code unconditional.
34814         [!__ASSUME_32BITUIDS]: Remove conditional code.
34815         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34816         <kernel-features.h>.
34817         [__ASSUME_32BITUIDS]: Make code unconditional.
34818         [!__ASSUME_32BITUIDS]: Remove conditional code.
34819         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34820         [__ASSUME_32BITUIDS]: Make code unconditional.
34821         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34822         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34823         <kernel-features.h>.
34824         [__ASSUME_32BITUIDS]: Make code unconditional.
34825         [!__ASSUME_32BITUIDS]: Remove conditional code.
34826         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34827         <kernel-features.h>.
34828         [__ASSUME_32BITUIDS]: Make code unconditional.
34829         [!__ASSUME_32BITUIDS]: Remove conditional code.
34830         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34831         <kernel-features.h>.
34832         [__ASSUME_32BITUIDS]: Make code unconditional.
34833         [!__ASSUME_32BITUIDS]: Remove conditional code.
34834         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34835         <kernel-features.h>.
34836         [__ASSUME_32BITUIDS]: Make code unconditional.
34837         [!__ASSUME_32BITUIDS]: Remove conditional code.
34838         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34839         <kernel-features.h>.
34840         [__ASSUME_32BITUIDS]: Make code unconditional.
34841         [!__ASSUME_32BITUIDS]: Remove conditional code.
34842         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34843         <kernel-features.h>.
34844         [__ASSUME_32BITUIDS]: Make code unconditional.
34845         [!__ASSUME_32BITUIDS]: Remove conditional code.
34846         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34847         <kernel-features.h>.
34848         [__ASSUME_32BITUIDS]: Make code unconditional.
34849         [!__ASSUME_32BITUIDS]: Remove conditional code.
34850         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34851         <kernel-features.h>.
34852         [__ASSUME_32BITUIDS]: Make code unconditional.
34853         [!__ASSUME_32BITUIDS]: Remove conditional code.
34854         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34855         <kernel-features.h>.
34856         [__ASSUME_32BITUIDS]: Make code unconditional.
34857         [!__ASSUME_32BITUIDS]: Remove conditional code.
34858         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34859         <kernel-features.h>.
34860         [__ASSUME_32BITUIDS]: Make code unconditional.
34861         [!__ASSUME_32BITUIDS]: Remove conditional code.
34862         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34863         <kernel-features.h>.
34864         [__NR_setresgid] (__setresgid): Do not declare.
34865         [__ASSUME_32BITUIDS]: Make code unconditional.
34866         [!__ASSUME_32BITUIDS]: Remove conditional code.
34867         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34868         <kernel-features.h>.
34869         [__NR_setresuid] (__setresuid): Do not declare.
34870         [__ASSUME_32BITUIDS]: Make code unconditional.
34871         [!__ASSUME_32BITUIDS]: Remove conditional code.
34872         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34873         <kernel-features.h>.
34874         [__ASSUME_32BITUIDS]: Make code unconditional.
34875         [!__ASSUME_32BITUIDS]: Remove conditional code.
34876         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34877         <kernel-features.h>.
34878         [__ASSUME_32BITUIDS]: Make code unconditional.
34879         [!__ASSUME_32BITUIDS]: Remove conditional code.
34880         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34881         <kernel-features.h>.
34882         [__ASSUME_32BITUIDS]: Make code unconditional.
34883         [!__ASSUME_32BITUIDS]: Remove conditional code.
34884         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34885         <kernel-features.h>.
34886         [__ASSUME_32BITUIDS]: Make code unconditional.
34887         [!__ASSUME_32BITUIDS]: Remove conditional code.
34888         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34889         <kernel-features.h>.
34890         [__ASSUME_32BITUIDS]: Make code unconditional.
34891         [!__ASSUME_32BITUIDS]: Remove conditional code.
34892         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34893         <kernel-features.h>.
34894         [__ASSUME_32BITUIDS]: Make code unconditional.
34895         [!__ASSUME_32BITUIDS]: Remove conditional code.
34896         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34897         <kernel-features.h>.
34898         [__ASSUME_32BITUIDS]: Make code unconditional.
34899         [!__ASSUME_32BITUIDS]: Remove conditional code.
34900         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34901         <kernel-features.h>.
34902         [__ASSUME_32BITUIDS]: Make code unconditional.
34903         [!__ASSUME_32BITUIDS]: Remove conditional code.
34904         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34905         <kernel-features.h>.
34906         [__ASSUME_32BITUIDS]: Make code unconditional.
34907         [!__ASSUME_32BITUIDS]: Remove conditional code.
34908         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34909         <kernel-features.h>.
34910         [__ASSUME_32BITUIDS]: Make code unconditional.
34911         [!__ASSUME_32BITUIDS]: Remove conditional code.
34912         * sysdeps/unix/sysv/linux/kernel-features.h
34913         (__ASSUME_SETRESUID_SYSCALL): Remove.
34914         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34915         (__ASSUME_32BITUIDS): Likewise.
34916         (__ASSUME_LDT_WORKS): Likewise.
34917         (__ASSUME_O_DIRECTORY): Likewise.
34918         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34919         architecture but not kernel version.
34920         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34921         (__ASSUME_MMAP2_SYSCALL): Likewise.
34922         (__ASSUME_STAT64_SYSCALL): Likewise.
34923         (__ASSUME_IPC64): Likewise.
34924         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34925         <kernel-features.h>.
34926         [__ASSUME_32BITUIDS]: Make code unconditional.
34927         [!__ASSUME_32BITUIDS]: Remove conditional code.
34928         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34929         <kernel-features.h>.
34930         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34931         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34932         132096]: Remove conditional code.
34933         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34934         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34935         <kernel-features.h>.
34936         [__ASSUME_32BITUIDS]: Make code unconditional.
34937         [!__ASSUME_32BITUIDS]: Remove conditional code.
34938         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34939         <kernel-features.h>.
34940         [__ASSUME_32BITUIDS]: Make code unconditional.
34941         [!__ASSUME_32BITUIDS]: Remove conditional code.
34942         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34943         <kernel-features.h>.
34944         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34945         unconditional.
34946         (__setresgid): Do not declare.
34947         [__ASSUME_32BITUIDS]: Make code unconditional.
34948         [!__ASSUME_32BITUIDS]: Remove conditional code.
34949         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34950         <kernel-features.h>.
34951         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34952         unconditional.
34953         (__setresuid): Do not declare.
34954         [__ASSUME_32BITUIDS]: Make code unconditional.
34955         [!__ASSUME_32BITUIDS]: Remove conditional code.
34956         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34957         <kernel-features.h>.
34958         [__ASSUME_32BITUIDS]: Make code unconditional.
34959         [!__ASSUME_32BITUIDS]: Remove conditional code.
34960         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34961         <kernel-features.h>.
34962         [__ASSUME_32BITUIDS]: Make code unconditional.
34963         [!__ASSUME_32BITUIDS]: Remove conditional code.
34964
34965 2012-05-25  Richard Henderson  <rth@twiddle.net>
34966
34967         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34968         dl_hwcap to ifunc resolver.
34969         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34970         elf_ifunc_invoke.
34971         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34972         dl_hwcap to ifunc resolver.
34973         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34974
34975 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34976
34977         [BZ #14153]
34978         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34979         for |x| <= 2**-26, not 2**-57.
34980         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34981         exception.
34982
34983 2012-05-24  Jeff Law  <law@redhat.com>
34984
34985         * stdio-common/Makefile (tests): Add bug25.
34986         * stdio-common/bug25.c: New test.
34987
34988 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34989
34990         [BZ #13576]
34991         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34992         multiple of MALLOC_ALIGNMENT in size.
34993         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34994
34995 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34996
34997         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34998         Require >= 256.
34999         (FILENAME_MAX): Use macro-int-constant.
35000         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35001         (_IOFBF): Use macro-int-constant.
35002         (_IOLBF): Likewise.
35003         (_IONBF): Likewise.
35004         (SEEK_CUR): Likewise.
35005         (SEEK_END): Likewise.
35006         (SEEK_SET): Likewise.
35007         (TMP_MAX): Likewise.
35008         (EOF): Use macro-int-constant.  Require < 0.
35009         (NULL): Use macro-constant.  Require == 0.
35010         (stdin): Require type to be FILE *.
35011         (stdout): Likewise.
35012         (stderr): Likewise.
35013         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35014         macro-int-constant.
35015         (EXIT_SUCCESS): Likewise.
35016         (NULL): Use macro-constant.  Require == 0.
35017         (RAND_MAX): Use macro-int-constant.
35018         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35019         [C99-based standards] (strtof): Require function.
35020         [C99-based standards] (strtold): Likewise.
35021         [C99-based standards] (strtoll): Likewise.
35022         [C99-based standards] (strtoull): Likewise.
35023         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35024         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35025         [ISO || ISO99 || ISO11] (math.h): Likewise.
35026         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35027         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35029
35030 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35031
35032         [BZ #14132]
35033         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35034         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35035         * intl/dgettext.c (DCGETTEXT): Likewise.
35036         * intl/gettext.c (DCGETTEXT): Likewise.
35037         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35038         * posix/regex_internal.h (gettext): Likewise.
35039         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35040         Remove declaration.
35041         * include/argz.h (__argz_count_internal)
35042         (__argz_stringify_internal): Remove declaration.
35043         (__argz_count, __argz_stringify): Declare hidden proto.
35044         * intl/dcgettext.c: Remove use of INTDEF.
35045         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35046         * string/argz-stringify.c: Likewise.
35047         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35048         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35049         Declare hidden proto.
35050         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35051         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35052         Declare hidden proto.
35053         * include/stdio.h (__asprintf_internal): Don't declare.
35054         (__asprintf): Don't define as macro.  Declare hidden proto.
35055         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35056         (__fsetlocking): Declare hidden proto.
35057         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35058         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35059         hidden proto.
35060         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35061         (_IO_setlinebuf): Remove use of INTUSE.
35062         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35063         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35064         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35065         Remove declaration.
35066         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35067         (_IO_do_flush): Remove use of INTUSE.
35068         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35069         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35070         (_IO_adjust_column, _IO_least_wmarker)
35071         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35072         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35073         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35074         (_IO_default_doallocate, _IO_wdefault_doallocate)
35075         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35076         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35077         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35078         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35079         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35080         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35081         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35082         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35083         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35084         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35085         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35086         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35087         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35088         proto.
35089         (_IO_flush_all_internal, _IO_adjust_column_internal)
35090         (_IO_default_uflow_internal, _IO_default_finish_internal)
35091         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35092         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35093         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35094         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35095         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35096         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35097         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35098         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35099         (_IO_file_close_internal, _IO_file_close_it_internal)
35100         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35101         (_IO_file_init_internal, _IO_file_attach_internal)
35102         (_IO_file_fopen_internal, _IO_file_read_internal)
35103         (_IO_file_sync_internal, _IO_file_seek_internal)
35104         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35105         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35106         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35107         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35108         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35109         (_IO_list_all_internal, _IO_link_in_internal)
35110         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35111         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35112         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35113         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35114         (_IO_do_write_internal, _IO_padn_internal)
35115         (_IO_getline_info_internal, _IO_getline_internal)
35116         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35117         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35118         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35119         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35120         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35121         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35122         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35123         with libc_hidden_ver, remove use of INTUSE.
35124         * libio/genops.c: Likewise.
35125         * libio/freopen.c: Likewise.
35126         * libio/freopen64.c: Likewise.
35127         * libio/iofclose.c: Likewise.
35128         * libio/iofdopen.c: Likewise.
35129         * libio/iofflush.c: Likewise.
35130         * libio/iofflush_u.c: Likewise.
35131         * libio/iofgets.c: Likewise.
35132         * libio/iofgets_u.c: Likewise.
35133         * libio/iofopen.c: Likewise.
35134         * libio/iofopncook.c: Likewise.
35135         * libio/iofread.c: Likewise.
35136         * libio/iofread_u.c: Likewise.
35137         * libio/ioftell.c: Likewise.
35138         * libio/iofwrite.c: Likewise.
35139         * libio/iogetline.c: Likewise.
35140         * libio/iogets.c: Likewise.
35141         * libio/iogetwline.c: Likewise.
35142         * libio/iopadn.c: Likewise.
35143         * libio/iopopen.c: Likewise.
35144         * libio/ioseekoff.c: Likewise.
35145         * libio/ioseekpos.c: Likewise.
35146         * libio/iosetbuffer.c: Likewise.
35147         * libio/iosetvbuf.c: Likewise.
35148         * libio/ioungetc.c: Likewise.
35149         * libio/ioungetwc.c: Likewise.
35150         * libio/iovdprintf.c: Likewise.
35151         * libio/iovsprintf.c: Likewise.
35152         * libio/iovsscanf.c: Likewise.
35153         * libio/memstream.c: Likewise.
35154         * libio/obprintf.c: Likewise.
35155         * libio/oldfileops.c: Likewise.
35156         * libio/oldiofclose.c: Likewise.
35157         * libio/oldiofdopen.c: Likewise.
35158         * libio/oldiofopen.c: Likewise.
35159         * libio/oldiopopen.c: Likewise.
35160         * libio/oldstdfiles.c: Likewise.
35161         * libio/putc.c: Likewise.
35162         * libio/setbuf.c: Likewise.
35163         * libio/setlinebuf.c: Likewise.
35164         * libio/stdfiles.c: Likewise.
35165         * libio/strops.c: Likewise.
35166         * libio/vasprintf.c: Likewise.
35167         * libio/vscanf.c: Likewise.
35168         * libio/vsnprintf.c: Likewise.
35169         * libio/vswprintf.c: Likewise.
35170         * libio/wfiledoalloc.c: Likewise.
35171         * libio/wfileops.c: Likewise.
35172         * libio/wgenops.c: Likewise.
35173         * libio/wmemstream.c: Likewise.
35174         * libio/wstrops.c: Likewise.
35175         * libio/__fpurge.c: Likewise.
35176         * libio/__fsetlocking.c: Likewise.
35177         * assert/assert.c: Likewise.
35178         * debug/fgets_chk.c: Likewise.
35179         * debug/fgets_u_chk.c: Likewise.
35180         * debug/fread_chk.c: Likewise.
35181         * debug/fread_u_chk.c: Likewise.
35182         * debug/gets_chk.c: Likewise.
35183         * debug/obprintf_chk.c: Likewise.
35184         * debug/vasprintf_chk.c: Likewise.
35185         * debug/vdprintf_chk.c: Likewise.
35186         * debug/vsnprintf_chk.c: Likewise.
35187         * debug/vsprintf_chk.c: Likewise.
35188         * malloc/mtrace.c: Likewise.
35189         * misc/error.c: Likewise.
35190         * misc/syslog.c: Likewise.
35191         * stdio-common/asprintf.c: Likewise.
35192         * stdio-common/fxprintf.c: Likewise.
35193         * stdio-common/getw.c: Likewise.
35194         * stdio-common/isoc99_fscanf.c: Likewise.
35195         * stdio-common/isoc99_scanf.c: Likewise.
35196         * stdio-common/isoc99_vfscanf.c: Likewise.
35197         * stdio-common/isoc99_vscanf.c: Likewise.
35198         * stdio-common/isoc99_vsscanf.c: Likewise.
35199         * stdio-common/printf-prs.c: Likewise.
35200         * stdio-common/printf_fp.c: Likewise.
35201         * stdio-common/printf_fphex.c: Likewise.
35202         * stdio-common/printf_size.c: Likewise.
35203         * stdio-common/putw.c: Likewise.
35204         * stdio-common/scanf.c: Likewise.
35205         * stdio-common/sprintf.c: Likewise.
35206         * stdio-common/tmpfile.c: Likewise.
35207         * stdio-common/vfprintf.c: Likewise.
35208         * stdio-common/vfscanf.c: Likewise.
35209         * stdlib/strfmon_l.c: Likewise.
35210         * sunrpc/openchild.c: Likewise.
35211         * sunrpc/xdr_stdio.c: Likewise.
35212         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35213         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35214
35215 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35216
35217         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35218
35219         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35220         in the third column, to generate for the shared library an IFUNC
35221         that uses _dl_vdso_vsym.
35222         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35223         * Makeconfig (object-suffixes-noshared): New variable.
35224
35225         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35226         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35227         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35228         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35229
35230         [BZ #14132]
35231         * include/sys/time.h (__gettimeofday): Remove macro.
35232         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35233         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35234         Remove INTDEF.
35235         (__gettimeofday): Add libc_hidden_def.
35236         (gettimeofday): Add libc_hidden_weak.
35237         * sysdeps/mach/gettimeofday.c: Likewise.
35238         * sysdeps/posix/gettimeofday.c: Likewise.
35239         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35240         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35242         (__gettimeofday_internal): Remove strong_alias.
35243         (__gettimeofday): Add libc_hidden_def.
35244         (gettimeofday): Add libc_hidden_weak.
35245         * sysdeps/unix/syscalls.list (gettimeofday):
35246         Remove __gettimeofday_internal alias.
35247
35248 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35249             H.J. Lu  <hongjiu.lu@intel.com>
35250
35251         [BZ #12495]
35252         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35253         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35254         (largebin_index_32_big): New.
35255         (largebin_index): Use it for 16-byte alignment.
35256         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35257         correction with front_misalign.
35258
35259 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35260
35261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35263         Likewise.
35264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35265         Likewise.
35266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35267         Likewise.
35268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35269         Likewise.
35270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35271         Likewise.
35272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35273         Likewise.
35274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35275         Likewise.
35276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35277         Likewise.
35278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35279         Likewise.
35280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35281         Likewise.
35282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35283         Likewise.
35284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35285         Likewise.
35286
35287         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35288         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35289
35290 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35291
35292         [BZ #10846]
35293         [BZ #14036]
35294         * math/libm-test.inc (exp_test): Add test from bug 14036.
35295         (pow_test): Add test from bug 10846.
35296
35297         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35298         and other flags.
35299         (special_function): Do not include flags in test name.
35300         (parse_args): Likewise.
35301         * sysdeps/i386/fpu/libm-test-ulps: Update.
35302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35303         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35304         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35306
35307         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35308         exceptions.
35309         * math/libm-test.inc ("Philosophy"): Update comment about
35310         exception testing.
35311         (UNDERFLOW_EXCEPTION): New macro.
35312         (UNDERFLOW_EXCEPTION_OK): Likewise.
35313         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35314         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35315         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35316         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35317         (INVALID_EXCEPTION_OK): Update value.
35318         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35319         (OVERFLOW_EXCEPTION_OK): Likewise.
35320         (IGNORE_ZERO_INF_SIGN): Likewise.
35321         (test_exceptions): Handle underflow exceptions.
35322         (acos_test): Update for underflow exception expectations.
35323         (cexp_test): Likewise.
35324         (clog_test): Likewise.
35325         (clog10_test): Likewise.
35326         (csqrt_test): Likewise.
35327         (ctan_test): Likewise.
35328         (ctanh_test): Likewise.
35329         (exp_test): Likewise.
35330         (exp10_test): Likewise.
35331         (exp2_test): Likewise.
35332         (expm1_test): Likewise.
35333         (fma_test): Likewise.
35334         (j0_test): Likewise.
35335         (jn_test): Likewise.
35336         (nexttoward_test): Likewise.
35337         (pow_test): Likewise.
35338         (scalbn_test): Likewise.
35339         (scalbln_test): Likewise.
35340         (tan_test): Likewise.
35341         (y1_test): Likewise.
35342         * sysdeps/i386/fpu/libm-test-ulps: Update.
35343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35344
35345 2012-05-23  David S. Miller  <davem@davemloft.net>
35346
35347         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35348         (__libc_sigaction): Remove unused local variables.
35349
35350 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35351
35352         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35353
35354 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35355
35356         mktime: avoid signed integer overflow
35357         * time/mktime.c (__mktime_internal): Do not mishandle the case
35358         where diff == INT_MIN.
35359
35360         mktime: simplify computation of average
35361         * time/mktime.c (ranged_convert): Use new time_t_avg function
35362         instead of rolling our own (probably-slower) code.
35363
35364         mktime: do not assume signed right shift propagates sign bit
35365         * time/mktime.c (isdst_differ): New static function.
35366         (__mktime_internal): No need to normalize tm_isdst now.
35367         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35368         tm_isdst values.
35369
35370         mktime: merge another wrapv change from gnulib
35371         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35372         from some compilers.
35373
35374         mktime: remove incorrect attempt at unusual arithmetics
35375         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35376         The code didn't really work on such machines anyway.
35377         (TYPE_MINIMUM): Assume two's complement.
35378         (twos_complement_arithmetic): Verify that long_int and time_t
35379         are two's complement (or unsigned, in the latter case).
35380
35381         mktime: check signed shifts on long_int and time_t, too
35382         * time/mktime.c (SHR): Check that shifts work as desired
35383         on the types long_int and time_t too, as SHR is used on
35384         such types.
35385
35386         mktime: do not assume 'long' is wide enough
35387         * time/mktime.c (verify): Move decl up.
35388         (long_int): New type.
35389         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35390         to remove assumption in the code that 'long' is wide enough to
35391         store year values.  This assumption is not true on x32 and on
35392         some non-glibc platforms.
35393
35394         mktime: merge wrapv change from gnulib
35395         * time/mktime.c (WRAPV): New macro.
35396         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35397         (guess_time_tm, __mktime_internal): Do not assume that signed
35398         integer overflow wraps around; modern compilers generate code
35399         where this assumption is no longer valid.
35400
35401 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35402
35403         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35404         Replace "jmp L(pseudo_end)" with "ret".
35405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35406         Likewise.
35407
35408 2012-05-23  Andreas Jaeger  <aj@suse.de>
35409
35410         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35411         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35412
35413 2012-05-23  Andreas Jaeger  <aj@suse.de>
35414             Maximilian Attems  <max@stro.at>
35415
35416         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35417         New macros.
35418
35419 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35420
35421         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35422         code so that pseudo_end is just ret and the stack pointer is
35423         correct also for static library in error case.
35424
35425 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35426
35427         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35428         move to syscalls.list.
35429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35433
35434         * manual/install.texi (Running make install): Do not mention Linux
35435         kernel version for which pt_chown is not needed.
35436         (Linux): Do not mention problems with nscd with 2.0 kernels.
35437         * INSTALL: Regenerated.
35438
35439 2012-05-23  Andreas Jaeger  <aj@suse.de>
35440
35441         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35442         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35443         macro.
35444         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35445         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35446         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35447         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35448         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35449         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35452         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35454         * sysdeps/unix/sysv/linux/bits/in.h
35455         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35456
35457 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35458
35459         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35460         (PREPARE_VERSION): Just use assert instead, it will be elided
35461         under [NDEBUG] anyway.
35462
35463 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35464
35465         * sysdeps/unix/sysv/linux/Makefile: Include
35466         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35467         (sysdep_routines): Remove sysctl.
35468         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35469         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35470         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35471         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35472         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35473
35474 2012-05-22  Andreas Jaeger  <aj@suse.de>
35475
35476         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35477         that pseudo_end is just ret and the stack pointer is correct also
35478         for static library in error case.
35479
35480 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35481
35482         [BZ #14122]
35483         * nss/nsswitch.c (defconfig_entries): New variable.
35484         (__nss_database_lookup): Don't leak defconfig entries.
35485         (nss_parse_service_list): Don't leak on error paths.
35486         (free_database_entries): New function.
35487         (free_defconfig): New function.
35488         (free_mem): Move common code to free_database_entries.
35489
35490 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35491
35492         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35493         Add arch_prctl.
35494         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35495
35496         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35497         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35499         New macro.
35500         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35501         (INTERNAL_SYSCALL_TYPES): Likewise.
35502         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35503         (LOAD_REGS_TYPES_[1-6]): Likewise.
35504         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35505         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35506
35507 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508
35509         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35510         copysignl for GLIBC_2_0.
35511         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35512         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35514         logbl for GLIBC_2_0.
35515         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35516         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35517
35518 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35519
35520         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35521         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35522
35523         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35524         Use "neg %eax".
35525
35526         * time/mktime.c: Update copyright years.
35527
35528 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35529
35530         mktime: merge comment-quoting-style change from gnulib
35531         * time/mktime.c: Quote 'like this' in comments.
35532         The GNU coding standards suggest that we no longer quote `like this',
35533         as "`" and "'" are typically rendered asymmetrically nowadays.
35534         The typical gnulib style is to quote 'like this' when quoting
35535         code, and "like this" when quoting English.
35536
35537         * time/mktime.c (compile-command): Add "-I.".
35538
35539         mktime: merge mktime-internal.h change from gnulib
35540         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35541
35542         mktime: merge time_r change from gnulib
35543         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35544
35545         mktime: merge DEBUG change from gnulib
35546         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35547         case system <time.h> has a #define.
35548
35549         mktime: merge <sys/types.h> change from gnulib
35550         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35551         since <time.t> is now guaranteed to define time_t.
35552
35553         mktime: merge HAVE_CONFIG_H change from gnulib
35554         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35555
35556 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35557
35558         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35559         Use "neg %eax".
35560
35561         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35562         __rlim_t cast.
35563         (struct rusage): Use anonymous union to pad each field to
35564         __syscall_slong_t.
35565
35566 2012-05-21  David S. Miller  <davem@davemloft.net>
35567
35568         * Makefules (o-iterator): Remove .s cases.
35569         (compile-command.s): Delete.
35570         (COMPILE.s): Delete.
35571         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35572
35573 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35574
35575         * configure.in (libc_cv_predef_stack_protector): Only consider
35576         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35577         * configure: Regenerated.
35578
35579 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35580
35581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35582         New macro.  Use R*LP on int and pointer.
35583         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35584         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35585         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35586         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35587
35588         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35589         [__WORDSIZE_TIME64_COMPAT32] instead of
35590         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35591         (struct utmp): Likewise.
35592         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35593         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35594         Renamed to ...
35595         (__WORDSIZE_TIME64_COMPAT32): This.
35596         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35597         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35598         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35599         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35600         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35601         (__WORDSIZE_TIME64_COMPAT32): New macro.
35602
35603 2012-05-21  Andreas Jaeger  <aj@suse.de>
35604
35605         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35606         only if [SHARED]. Add prototype for __wcschr_ia32.
35607
35608 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35609
35610         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35611         of %rbp unmolested in the jmp_buf while mangling the low bits.
35612         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35613         unmolested high bits of %rbp while demangling the low bits.
35614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35615
35616 2012-05-21  Andreas Jaeger  <aj@suse.de>
35617
35618         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35619         * sunrpc/svc_simple.c: Use it for registerrpc.
35620         * sunrpc/xcrypt.c: Use it for passwd2des.
35621
35622         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35623
35624 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35625
35626         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35627         Don't define if [__SYSCALL_WORDSIZE != 32].
35628         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35629         New macro.
35630
35631 2012-05-21  Bruno Haible  <bruno@clisp.org>
35632             Andreas Jaeger  <aj@suse.de>
35633
35634         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35635         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35636         inptr and inend for must_buffer_ch.
35637         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35638         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35639         * stdio-common/Makefile (tests): Remove bug15.
35640         (bug15-ENV): Remove macro.
35641         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35642         anymore.
35643
35644 2012-05-19  Andreas Jaeger  <aj@suse.de>
35645             Roland McGrath  <roland@hack.frob.com>
35646
35647         * manual/contrib.texi: Completely rewritten. It contains now an
35648         alphabetical list of contributors and their contributions.
35649
35650 2012-05-21  Richard Henderson  <rth@twiddle.net>
35651
35652         * misc/getauxval.c (__getauxval): Use unsigned long int.
35653         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35654         (getauxval): Use unsigned long int.
35655
35656 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35657
35658         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35659
35660 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35661
35662         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35663         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35664         __alignof__ (long double).
35665
35666 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35667
35668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35669
35670 2012-05-20  Richard Henderson  <rth@twiddle.net>
35671
35672         * misc/getauxval.c: New file.
35673         * misc/sys/auxv.h: New file.
35674         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35675         (routines): Add getauxval.
35676         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35677         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35678         * elf/dl-sysdep.c (_dl_auxv): Remove.
35679         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35680         * elf/dl-support.c (_dl_auxv): New variable.
35681         (_dl_aux_init): Initialize it.
35682         * manual/startup.texi (Auxiliary Vector): New node.
35683         * sysdeps/generic/bits/hwcap.h: New file.
35684         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35685         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35686         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35687         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35688         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35691         Update.
35692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35695         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35700
35701 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35702
35703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35704
35705 2012-05-19  David S. Miller  <davem@davemloft.net>
35706
35707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35708
35709 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35710
35711         [BZ #14123]
35712         * math/s_ccosh.c: Include <float.h>
35713         (__ccosh): Avoid internal overflow calculating sinh and cosh
35714         values before multiplying by sin and cos values.
35715         * math/s_ccoshf.c: Likewise.
35716         * math/s_ccoshl.c: Likewise.
35717         * math/s_csin.c: Likewise.
35718         * math/s_csinf.c: Likewise.
35719         * math/s_csinl.c: Likewise.
35720         * math/s_csinh.c: Likewise.
35721         * math/s_csinhf.c: Likewise.
35722         * math/s_csinhl.c: Likewise.
35723         * math/libm-test.inc (ccos_test): Add more tests.
35724         (ccosh_test): Likewise.
35725         (csin_test): Likewise.
35726         (csinh_test): Likewise.
35727         * sysdeps/i386/fpu/libm-test-ulps: Update.
35728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35729
35730 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35731
35732         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35733         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35734
35735         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35736
35737 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35738
35739         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35740         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35741         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35742         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35743         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35744         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35745         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35746         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35747         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35748         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35749         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35750         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35751         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35752         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35753         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35754         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35755         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35756         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35757         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35758         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35759         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35760         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35761         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35762         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35763         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35764         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35765         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35766         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35767         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35768         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35769         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35770
35771 2012-05-18  Andreas Jaeger  <aj@suse.de>
35772
35773         * csu/.gitignore: Delete.
35774
35775 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35776
35777         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35778         (timex): Use __syscall_slong_t.
35779
35780 2012-05-18  Andreas Jaeger  <aj@suse.de>
35781             Carlos O'Donell  <carlos_odonell@mentor.com>
35782
35783         * manual/install.texi (Configuring and compiling): Update
35784         description about files modified in the source directory.
35785         * INSTALL: Regenerated.
35786
35787 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35788
35789         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35790         value.  Use "or" to set return value to -1.
35791         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35792         negate return value.
35793
35794 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35795
35796         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35797         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35798         failure if the compiler has Graphite support disabled.
35799         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35800         Likewise.
35801         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35802         (CFLAGS-memmove.c): Likewise.
35803         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35804         Likewise.
35805
35806 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35807
35808         * sysdeps/x86_64/x32/_itoa.h: New file.
35809
35810         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35811         getdents system call only if kernel and user dirents have the
35812         same d_ino and d_off.
35813
35814         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35815         LLONG_MAX != LONG_MAX.
35816         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35817         (_fitoa_word): Likewise.
35818
35819         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35820         years.
35821         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35822         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35823         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35824
35825         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35826         include <bits/wordsize.h>.  Check __x86_64__ instead of
35827         __WORDSIZE.
35828         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35829         if __x86_64__ is defined.  Use anonymous union on fpstate.
35830
35831         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35832         anonymous union.
35833
35834 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35835
35836         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35837         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35838         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35839         Refer to _rtld_local_ro instead of _rtld_global_ro.
35840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35841         Likewise.
35842         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35843         Likewise.
35844         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35845         Likewise.
35846         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35847         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35848         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35849
35850         * sysdeps/powerpc/powerpc32/dl-machine.c
35851         (__elf_machine_runtime_setup) [PROF]: Don't reference
35852         _dl_prof_resolve.
35853
35854 2012-05-18  Andreas Jaeger  <aj@suse.de>
35855
35856         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35857         function only available for GCCs before 3.4 since GCC 3.4
35858         introduced a builtin.
35859         (lrint): Likewise.
35860         (llrintf): Likewise.
35861         (llrint): Likewise.
35862         (fmaxf): Likewise.
35863         (fmax): Likewise.
35864         (fminf): Likewise.
35865         (fmin): Likewise.
35866         (rint): Likewise.
35867         (rintf): Likewise.
35868         (nearbyint): Likewise.
35869         (nearbyintf): Likewise.
35870         (ceil): Likewise.
35871         (ceilf): Likewise.
35872         (floor): Likewise.
35873         (floorf): Likewise.
35874
35875 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35876
35877         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35878         on both fields and cast pointer to __syscall_ulong_t.
35879
35880         * bits/types.h (__fsword_t): New type.
35881         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35882         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35884         (__FSWORD_T_TYPE): Likewise.
35885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35886         (__FSWORD_T_TYPE): Likewise.
35887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35888         (__FSWORD_T_TYPE): Likewise.
35889         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35890         (__FSWORD_T_TYPE): Likewise.
35891         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35892         __SWORD_TYPE with __fsword_t.
35893         (statfs64): Likewise.
35894
35895 2012-05-17  David S. Miller  <davem@davemloft.net>
35896
35897         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35898
35899 2012-05-17  Andreas Jaeger  <aj@suse.de>
35900
35901         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35902         warning.
35903
35904 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35905
35906         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35907
35908 2012-05-17  Andreas Jaeger  <aj@suse.de>
35909
35910         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35911         when it is used.
35912
35913 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35914
35915         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35916
35917 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35918
35919         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35920         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35921
35922 2012-05-17  Andreas Jaeger  <aj@suse.de>
35923             Carlos O'Donell  <carlos_odonell@mentor.com>
35924
35925         [BZ #14059]
35926         * sysdeps/x86_64/multiarch/init-arch.h
35927         (bit_YMM_Usable): Rename to...
35928         (bit_AVX_Usable): ... this.
35929         (bit_FMA4_Usable): New macro.
35930         (bit_XMM_state): New macro.
35931         (bit_YMM_state): New macro.
35932         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35933         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35934         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35935         (CPUID_OSXSAVE): New macro.
35936         (CPUID_AVX): New macro.
35937         (CPUID_FMA4): New macro.
35938         (index_YMM_Usable): Rename to...
35939         (index_AVX_Usable): ... this.
35940         (HAS_AVX): Use HAS_ARCH_FEATURE.
35941         (HAS_FMA4): Likewise.
35942         (HAS_YMM_USABLE): Remove.
35943         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35944         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35945         are present.
35946         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35947         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35948         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35949         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35950         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35951
35952 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35953
35954         * math/libm-test.c: Support platforms without multiple rounding modes.
35955         * math/bug-nextafter.c: Support platforms without FP exceptions.
35956         * math/bug-nexttoward.c: Likewise.
35957         * math/test-fenv.c: Likewise.
35958         * math/test-misc.c: Likewise.
35959         * stdlib/bug-getcontext.c: Likewise.
35960
35961 2012-05-17  Andreas Jaeger  <aj@suse.de>
35962
35963         * manual/examples/search.c (critter_cmp): Change signature to
35964         avoid warnings.
35965         * manual/string.texi (Collation Functions): Likewise.
35966
35967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35968
35969         * bits/types.h: Fold copyright years.
35970         * bits/typesizes.h: Likewise.
35971         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35975         * time/time.h: Likewise.
35976
35977 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35978
35979         [BZ #208]
35980         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35981         in instead of returning them.  Return void.
35982         (__libc_mallinfo): Accumulate over all arenas.
35983         (__malloc_stats): Adjust for change in int_mallinfo interface.
35984
35985 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35986
35987         [BZ #10375]
35988         * configure.in (NM): Add AC_CHECK_TOOL for it.
35989         (libc_extra_cflags): New substituted variable.
35990         Check for -fstack-protector being used implicitly.
35991         * configure: Regenerated.
35992         * config.make.in (config-extra-cflags): New variable,
35993         gets @libc_extra_cflags@.
35994         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35995
35996         [BZ #10375]
35997         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35998         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35999         * configure: Regenerated.
36000         * config.make.in (CPPUNDEFS): New substituted variable.
36001         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36002         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36003         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36004
36005 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36006
36007         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36008         (mq_attr): Use __syscall_slong_t.
36009
36010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36011
36012         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36013         Check __x86_64__ instead of __WORDSIZE.
36014         (_STAT_VER_LINUX): Likewise.
36015         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36016         __syscall_ulong_t and __syscall_slong_t.
36017         (stat64): Likewise.
36018
36019 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36020
36021         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36022
36023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36024
36025         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36026
36027 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36028
36029         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36030         __syscall_ulong_t.
36031
36032         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36033         include <bits/wordsize.h>.  Check __x86_64__ instead of
36034         __WORDSIZE.
36035         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36036         defined.
36037         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36038
36039         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36040         include <bits/wordsize.h>.  Check __x86_64__ instead of
36041         __WORDSIZE.
36042         (user_regs_struct): Use "__extension__ unsigned long long"
36043         instead of "unsigned long" if __x86_64__ is defined.
36044         (user): Likewise.  Pad after pointer field if __ILP32__ is
36045         defined.
36046
36047 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36048
36049         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36050         versions 5 to 9.
36051         * configure: Regenerated.
36052         * manual/install.texi (texinfo): Increase version requirement to
36053         4.5 or later.
36054         * INSTALL: Regenerated.
36055
36056         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36057
36058 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36059
36060         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36061
36062         * sysdeps/x86_64/x32/ffs.c: New file.
36063
36064         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36065         __syscall_ulong_t.
36066         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36067         defined.  Use __syscall_ulong_t.
36068         (shminfo): Use __syscall_ulong_t.
36069         (shm_info): Likewise.
36070
36071         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36072         __syscall_ulong_t.
36073
36074         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36075         <bits/wordsize.h>.
36076         (msgqnum_t): Use __syscall_ulong_t.
36077         (msglen_t): Likewise.
36078         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36079         __syscall_ulong_t.
36080
36081         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36082         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36083
36084         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36085
36086         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36087         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36088
36089         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36090         __syscall_slong_t.
36091
36092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36093         include <bits/wordsize.h>.  Check __x86_64__ instead of
36094         __WORDSIZE.
36095
36096         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36097         "unsigned long long int" if __x86_64__ is defined.
36098         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36099
36100         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36101         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36102         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36103
36104         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36105         <stdint.h>.
36106         (GET_PC): Cast to uintptr_t first.
36107         (GET_FRAME): Likewise.
36108         (GET_STACK): Likewise.
36109
36110         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36111         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36112         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36113         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36114         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36115         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36117         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36118         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36119         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36122         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36123         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36124         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36125         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36126         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36127         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36128         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36129         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36130         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36131         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36133         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36135         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36138         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36139
36140 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36141
36142         * Makerules (+depfiles): Also collect depfiles from .oS in
36143         $(extra-objs).
36144         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36145         .oS, $(libnldbl-routines)).
36146
36147         * Makerules (native-compile-mkdep-flags): Define.
36148         * sunrpc/Makefile (extra-objs): Add $(addprefix
36149         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36150         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36151         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36152         calling $(make-target-directory).
36153
36154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36155
36156         * bits/types.h (__snseconds_t): Removed.
36157         * time/time.h (struct timespec): Replace __snseconds_t with
36158         __syscall_slong_t.
36159         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36160         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36161         Likewise.
36162         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36163         (__SNSECONDS_T_TYPE): Likewise.
36164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36165         (__SNSECONDS_T_TYPE): Likewise.
36166         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36167         (__SNSECONDS_T_TYPE): Likewise.
36168
36169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36170
36171         * sysdeps/mach/hurd/bits/typesizes.h
36172         (__SYSCALL_SLONG_TYPE): New macro.
36173         (__SYSCALL_ULONG_TYPE): Likewise.
36174
36175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36176
36177         * bits/types.h (__syscall_slong_t): New type.
36178         (__syscall_ulong_t): Likewise.
36179
36180         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36181         (__SYSCALL_ULONG_TYPE): Likewise.
36182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36183         (__SYSCALL_SLONG_TYPE): Likewise.
36184         (__SYSCALL_ULONG_TYPE): Likewise.
36185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36186         (__SYSCALL_SLONG_TYPE): Likewise.
36187         (__SYSCALL_ULONG_TYPE): Likewise.
36188         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36189         (__SYSCALL_SLONG_TYPE): Likewise.
36190         (__SYSCALL_ULONG_TYPE): Likewise.
36191
36192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36193
36194         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36195         Add sigaltstack-offsets.sym.
36196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36197         <sigaltstack-offsets.h>.
36198         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36199         longjmp_msg pointer.
36200         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36201         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36202         signal stack.
36203         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36204
36205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36206
36207         * elf/stackguard-macros.h: Remove file.
36208         * sysdeps/generic/stackguard-macros.h: New file.
36209         * sysdeps/i386/stackguard-macros.h: Likewise.
36210         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36211         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36212         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36213         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36214         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36215         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36216         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36217         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36218         <elf/stackguard-macros.h>.
36219
36220         [BZ #14109]
36221         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36222         __aligned__ in attribute.
36223         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36224         (gregset_t): Likewise.
36225
36226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36227
36228         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36229         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36230         * sysdeps/x86_64/x32/Implies-after: New file.
36231
36232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36233
36234         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36235         and access return value for _dl_profile_fixup.  Use R10_LP to
36236         load frame size.
36237
36238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36239
36240         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36241
36242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36243
36244         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36245         * sysdeps/x86_64/x32/sysdep.h: New file.
36246
36247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36248
36249         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36250         * sysdeps/x86_64/setjmp.S: Likewise.
36251
36252 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36253
36254         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36255         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36256         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36258         remove unused global constant.
36259
36260 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36261
36262         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36263         include of <not-cancel.h>.
36264
36265 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36266
36267         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36268
36269 2012-05-15  Jeff Law  <law@redhat.com>
36270             Andreas Jaeger  <aj@suse.de>
36271
36272         [BZ #13594]
36273         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36274         out from...
36275         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36276         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36277         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36278         code changing __hst_map_handle.map.
36279
36280 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36281
36282         * configure.in (sysnames): Look for Implies-before and Implies-after
36283         files.
36284         * configure: Regenerated.
36285
36286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36287
36288         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36289         8-byte data alignment with LP_SIZE alignment.
36290
36291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36292
36293         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36294         into R10_LP.
36295
36296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36297
36298         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36299
36300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36301
36302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36303         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36305         Likewise.
36306         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36307
36308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36309
36310         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36311         (stackinfo_sub_sp): Likewise.
36312
36313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36314
36315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36316         RAX_LP.
36317
36318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36319
36320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36321         into R*_LP.
36322
36323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36324
36325         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36326         sizes into R*_LP.
36327
36328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36329
36330         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36331
36332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36333
36334         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36335         into R11_LP and load __x86_64_shared_cache_size_half into
36336         R8_LP.
36337
36338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36339
36340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36341         R8_LP.
36342
36343 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36344
36345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36346         logb for POWER7.
36347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36348         logbf for POWER7.
36349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36350         logbl for POWER7.
36351         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36352         powerpc32/power7/fpu/s_logb.c via #include.
36353         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36354         powerpc32/power7/fpu/s_logbf.c via #include.
36355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36356         powerpc32/power7/fpu/s_logbl.c via #include.
36357
36358 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36359
36360         * README.libm: Remove file.
36361
36362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36363
36364         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36365         count for x32.  Use R*_LP and omit operand-size suffix.
36366
36367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36368
36369         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36370         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36371         * sysdeps/x86_64/x32/shlib-versions: New file.
36372
36373 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36374
36375         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36376         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36377         Use _dl_fatal_printf instead.
36378
36379 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36380
36381         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36382         set if not set by the user.  Do not allow for being unset.
36383         * sysdeps/unix/sysv/linux/configure: Regenerated.
36384
36385 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36386
36387         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36388         the `q' suffix from lea and replace .quad with ASM_ADDR.
36389
36390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36391
36392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36393         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36394         instead of $17.
36395         (PTR_DEMANGLE): Likewise.
36396
36397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36398
36399         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36400         (LP_OP): Likewise.
36401         (ASM_ADDR): Likewise.
36402         (RAX_LP): Likewise.
36403         (RBP_LP): Likewise.
36404         (RBX_LP): Likewise.
36405         (RCX_LP): Likewise.
36406         (RDI_LP): Likewise.
36407         (RSI_LP): Likewise.
36408         (RSP_LP): Likewise.
36409         (R8_LP): Likewise.
36410         (R9_LP): Likewise.
36411         (R10_LP): Likewise.
36412         (R10_LP): Likewise.
36413         (R11_LP): Likewise.
36414         (R12_LP): Likewise.
36415         (R13_LP): Likewise.
36416         (R14_LP): Likewise.
36417         (R15_LP): Likewise.
36418
36419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36420
36421         * sysdeps/x86_64/x32/dl-machine.h: New file.
36422
36423 2012-05-14  Andreas Jaeger  <aj@suse.de>
36424
36425         * manual/Makefile (subdir): Remove export of subdir.
36426         (all): Remove target.
36427         (.PHONY): Remove all from list.
36428         (mkinstalldirs): Remove.
36429         (.PHONY): Remove installdirs from list.
36430         ($(inst_infodir)/libc.info): Use make-target-directory.
36431         (installdirs): Remove.
36432         (subdir_%): Remove.
36433         (glibc-targets): Remove.
36434         (lib): Remove.
36435         (stubs): Remove.
36436         ($(objpfx)stubs ../po/manual.pot): Remove.
36437         ($(objpfx)stamp%): Remove.
36438         (make-target-directory): Remove.
36439         (subdir_install): Remove.
36440         (routines): Remove.
36441         (aux): Remove.
36442         (sources): Remove.
36443         (objects): Remove.
36444         (headers): Remove.
36445
36446         [BZ #13750]
36447         * manual/.gitignore: Remove, it's not needed anymore.
36448         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36449         all files in it.
36450         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36451         directory.
36452         (texis): Renamed to $(objpfx)texis.
36453         (texis-path): New, contains path to generated files.
36454         (chapters.%): Use texis-path for complete path, add extra argument
36455         libc-texinfo.sh.
36456         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36457         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36458         (summary,texi, stamp-summary): Use complete path of
36459         files. Generate files in build dir.
36460         (dir-add.texi): Build in build dir.
36461         (libm-err.texi,stamp-libm-err): Likewise.
36462         (version.texi, stamp-version): Likewise.
36463         (.%c.texi): Likewise.
36464         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36465         (mostlyclean): Remove target.
36466         (realclean): Remove target.
36467         (generated): Add new variable with contents from mostlyclean and
36468         realclean, remove entries duplicated in common-mostlyclean, add
36469         stamp-libm-err and stamp-version.
36470         (generated-dirs): Add libc directory.
36471         ($(inst_infodir)/libc.info): Install files from build dir.
36472
36473         * manual/install.texi (Configuring and compiling): Adjust since
36474         the info files are not part of the tar ball anymore.
36475
36476 2012-05-14  Andreas Jaeger  <aj@suse.de>
36477
36478         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36479         variable.
36480
36481 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36482
36483         [BZ #13717]
36484         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36485         to 2.2.0 where earlier.
36486         * sysdeps/unix/sysv/linux/configure: Regenerated.
36487         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36488         Remove conditional code.
36489         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36490         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36491         Remove conditional code.
36492         [!__NR_lchown]: Likewise.
36493         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36494         [__NR_lchown]: Likewise.
36495         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36496         comment referencing __ASSUME_LCHOWN_SYSCALL.
36497         * sysdeps/unix/sysv/linux/i386/sigaction.c
36498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36500         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36501         Remove conditional code.
36502         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36503         (__protocol_available): Remove #if 0 code.
36504         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36505         conditional code.
36506         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36507         * sysdeps/unix/sysv/linux/kernel-features.h
36508         (__ASSUME_GETCWD_SYSCALL): Don't define.
36509         (__ASSUME_REALTIME_SIGNALS): Likewise.
36510         (__ASSUME_PREAD_SYSCALL): Likewise.
36511         (__ASSUME_PWRITE_SYSCALL): Likewise.
36512         (__ASSUME_POLL_SYSCALL): Likewise.
36513         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36514         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36515         non-SPARC.
36516         (__ASSUME_SIOCGIFNAME): Don't define.
36517         (__ASSUME_MSG_NOSIGNAL): Likewise.
36518         (__ASSUME_SENDFILE): Define unconditionally.
36519         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36520         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36521         conditional code.
36522         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36523         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36524         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36525         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36526         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36527         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36528         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36530         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36536         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36542         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36543         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36548         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36553         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36554         Remove conditional code.
36555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36556         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36557         Remove conditional code.
36558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36559         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36560         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36561         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36562         Remove conditional code.
36563         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36564         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36565         Remove conditional code.
36566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36567         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36568         Remove conditional code.
36569         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36570         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36571         Remove conditional code.
36572         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36573         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36574         Remove conditional code.
36575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36576         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36577         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36579         * sysdeps/unix/sysv/linux/sigaction.c
36580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36582         * sysdeps/unix/sysv/linux/sigpending.c
36583         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36584         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36585         * sysdeps/unix/sysv/linux/sigprocmask.c
36586         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36587         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36588         * sysdeps/unix/sysv/linux/sigsuspend.c
36589         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36590         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36591         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36592         (__libc_missing_rt_sigs): Remove.
36593         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36594         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36595         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36596         Remove conditional code.
36597         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36598         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36599         return 1.
36600         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36601         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36602         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36603         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36604
36605 2012-05-14  Andreas Jaeger  <aj@suse.de>
36606
36607         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36608         it's not used in glibc.
36609         (__coshm1): Likewise.
36610         (__acosh1p): Likewise.
36611         (__sgn): Likewise.
36612
36613         * manual/string.texi (Copying and Concatenation): Add missing
36614         variable in concat example.
36615         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36616
36617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36618
36619         [BZ #14103]
36620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36621         __builtin_clzl with __builtin_clzll.
36622
36623 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36624
36625         [BZ #14104]
36626         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36627         libc_freeres_ptr.
36628
36629 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36630
36631         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36632         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36633         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36634         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36635
36636 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36637
36638         * NEWS: Update ia64 info.
36639
36640 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36641
36642         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36643         used as bcopy.
36644
36645 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36646
36647         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36648         * sysdeps/unix/syscalls.list (dup3): Likewise.
36649         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36650         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36651
36652 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36653
36654         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36655         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36656
36657 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36658
36659         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36660         thread pointer.
36661         (TLS_IE): Use mov/add instead of movq/addq to load thread
36662         pointer.
36663         (TLS_GD_PREFIX): New.
36664         (TLS_GD): Use it.
36665
36666 2012-05-11  David S. Miller  <davem@davemloft.net>
36667
36668         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36669         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36670         (_FPU_SETCW): Likewise.
36671
36672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36673
36674         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36675         is 32-byte aligned.
36676
36677 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36678
36679         [BZ #11837]
36680         * iconvdata/gb18030.c: Update tables.
36681         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36682         characters specially.
36683         (BODY for TO_LOOP): Add encoding of missing ranges.
36684
36685 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36686
36687         [BZ #13673]
36688         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36689         * sysdeps/mach/hurd/dup3.c: Likewise.
36690         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36691         * sysdeps/powerpc/memmove.c:: Likewise.
36692
36693 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36694
36695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36696         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36697
36698 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36699
36700         * elf/elf.h (R_X86_64_RELATIVE64): New.
36701         (R_X86_64_NUM): Updated.
36702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36703         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36704         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36705         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36706         tst-quad1pie tst-quad2pie
36707         (modules-names): Add tst-quadmod1 tst-quadmod2.
36708         ($(objpfx)tst-quad1): New dependency.
36709         ($(objpfx)tst-quad2): Likewise.
36710         ($(objpfx)tst-quad1pie): Likewise.
36711         ($(objpfx)tst-quad2pie): Likewise.
36712         * sysdeps/x86_64/tst-quad1.c: New file.
36713         * sysdeps/x86_64/tst-quad1pie.c: New file.
36714         * sysdeps/x86_64/tst-quad2.c: Likewise.
36715         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36716         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36717         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36718         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36719         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36720
36721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36722
36723         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36724         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36725         * streams/stropts.h (t_scalar_t): Define type.
36726
36727         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36728         (_PATH_PRESERVE): Set to "/var/lib".
36729         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36730
36731         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36732         instead of int.
36733
36734         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36735         if __dir_mkfile succeeded.
36736
36737         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36738         checking for _hurd_dtablesize.  Unlock it right after having
36739         finished _hurd_dtable allocation.
36740
36741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36742
36743         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36744         * sysdeps/mach/hurd/configure: Regenerated.
36745         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36746         special-casing to...
36747         * sysdeps/gnu/configure.in: ... this new file.
36748         * sysdeps/unix/sysv/linux/configure: Regenerated.
36749         * sysdeps/gnu/configure: New generated file.
36750
36751         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36752         for Linux: use nsec instead of usec, as well as:
36753         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36754         members of type struct timespec.
36755         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36756         New macros.
36757         (struct stat64): Likewise.
36758         (_STATBUF_ST_NSEC): New macro.
36759         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36760
36761         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36762         __strtoul_internal rather than strtoul.
36763
36764 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36765
36766         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36767         and reject them.
36768
36769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36770
36771         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36772         which preserves existing values.
36773         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36774
36775 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36776
36777         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36778         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36779         greater than FD_SETSIZE.
36780
36781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36782
36783         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36784         allocated, call __vm_protect to finish enabling the existing space, and
36785         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36786         allocate the remainder.
36787
36788 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36789
36790         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36791         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36792
36793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36794
36795         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36796         sysdeps/mach/hurd/readlink.c.
36797
36798         * posix/tst-sysconf.c (posix_options): Only use
36799         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36800         _POSIX_SYNCHRONIZED_IO when they are defined
36801         * sysdeps/mach/hurd/bits/posix_opt.h:
36802         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36803         (_XOPEN_REALTIME): Undefine macro.
36804         (_XOPEN_REALTIME_THREADS): Undefine macro.
36805         (_XOPEN_SHM): Undefine macro.
36806         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36807         macro to -1.
36808         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36809         macro to -1.
36810         (_POSIX_ASYNC_IO): Undefine macro.
36811         (_POSIX_PRIORITIZED_IO): Undefine macro.
36812         (_POSIX_SPIN_LOCKS): Define macro to -1.
36813
36814         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36815         SA_NODEFER, SA_RESETHAND.
36816         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36817         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36818         F_DUPFD_CLOEXEC.
36819
36820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36821
36822         * elf/Makefile (pldd-modules): Define unconditionally.
36823
36824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36825
36826         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36827
36828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36829
36830         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36831         Return ENOENT when name is empty.
36832         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36833
36834 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36835
36836         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36837
36838         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36839
36840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36841
36842         Fix mlock in all cases except non-readable pages.
36843         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36844         instead of VM_PROT_ALL as parameter to __vm_wire function.
36845
36846         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36847         (__mkdir): When path is `/', just fail with EEXIST.
36848         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36849
36850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36851
36852         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36853         <sys/uio.h> (for writev).
36854         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36855         and <sys/param.h> (for MIN).
36856
36857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36858
36859         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36860         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36861         if interrupted.
36862
36863 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36864
36865         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36866         Depend on against $(link-rpcuserlibs).
36867
36868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36869
36870         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36871         (__libc_stack_end): Do not use attribute_relro.
36872         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36873         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36874         to libthread-provided value.
36875         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36876         attribute_relro.
36877
36878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36879
36880         [BZ #3748]
36881         * bits/libc-lock.h (__libc_once_get): New macro.
36882         * sysdeps/mach/bits/libc-lock.h: Likewise.
36883         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36885         instead of using implementation details.
36886
36887         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36888         * libio/freopen.c: Likewise.
36889         * libio/freopen64.c: Likewise.
36890         * misc/syslog.c: Likewise.
36891         * nscd/connections.c: Likewise.
36892         * nscd/netgroupcache.c: Likewise.
36893         * sysdeps/posix/getcwd.c: Likewise.
36894
36895 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36896
36897         * math/w_ilogbf.c: Add #include <limits.h>.
36898
36899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36900
36901         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36902         path instead of returning without unlocking.
36903
36904         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36905         immediate-write ioctls.
36906         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36907
36908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36909
36910         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36911         __builtin_frame_address instead of making assumptions about the
36912         location of the return address relative to DATA.  Force early load of
36913         the return address.
36914         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36915         __builtin_frame_address.
36916
36917         dup3 for GNU Hurd.
36918         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36919         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36920         implement dup3 and do some further code clean-ups.
36921         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36922         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36923
36924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36925
36926         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36927
36928         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36929         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36930         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36931         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36932         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36933         d->port.lock.
36934
36935         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36936         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36937         when handler == SIG_ERR, not when handler != SIG_ERR.
36938
36939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36940
36941         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36942         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36943         definitions.
36944
36945         accept4 for GNU Hurd.
36946         * include/sys/socket.h (__libc_accept4): New prototype.
36947         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36948         to implement __libc_accept4.
36949         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36950         __libc_accept4.
36951         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36952
36953         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36954         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36955         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36956         signal-defines.sym.
36957
36958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36959
36960         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36961
36962 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36963
36964         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36965         assertion on O_CLOEXEC flag.
36966         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36967         * hurd/intern-fd.c: Likewise.
36968         * hurd/port2fd.c: Likewise.
36969
36970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36971
36972         [BZ #3906]
36973         * bits/in.h (IPV6_PKTINFO): Define new macro.
36974         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36975
36976 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977
36978         [BZ #13954]
36979         [BZ #13955]
36980         [BZ #13956]
36981         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36982         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36983         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36984         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36985         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36986         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36987         * math/libm-test.inc (logb_test) : Additional logb tests.
36988
36989 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36990             Andreas Jaeger  <aj@suse.de>
36991
36992         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36993         * configure: Regenerated.
36994         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36995         * config.make.in (link-obsolete-rpc): New substituted variable.
36996         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36997         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36998         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36999         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37000         so that libc.a contains the symbols.
37001         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37002         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37003         * sunrpc/auth_none.c: Likewise.
37004         * sunrpc/auth_unix.c: Likewise.
37005         * sunrpc/authdes_prot.c: Likewise.
37006         * sunrpc/authuxprot.c: Likewise.
37007         * sunrpc/clnt_gen.c: Likewise.
37008         * sunrpc/clnt_perr.c: Likewise.
37009         * sunrpc/clnt_raw.c: Likewise.
37010         * sunrpc/clnt_simp.c: Likewise.
37011         * sunrpc/clnt_tcp.c: Likewise.
37012         * sunrpc/clnt_udp.c: Likewise.
37013         * sunrpc/clnt_unix.c: Likewise.
37014         * sunrpc/des_crypt.c: Likewise.
37015         * sunrpc/des_soft.c: Likewise.
37016         * sunrpc/get_myaddr.c: Likewise.
37017         * sunrpc/key_call.c: Likewise.
37018         * sunrpc/key_prot.c: Likewise.
37019         * sunrpc/netname.c: Likewise.
37020         * sunrpc/pm_getmaps.c: Likewise.
37021         * sunrpc/pm_getport.c: Likewise.
37022         * sunrpc/pmap_clnt.c: Likewise.
37023         * sunrpc/pmap_prot.c: Likewise.
37024         * sunrpc/pmap_prot2.c: Likewise.
37025         * sunrpc/pmap_rmt.c: Likewise.
37026         * sunrpc/publickey.c: Likewise.
37027         * sunrpc/rpc_cmsg.c: Likewise.
37028         * sunrpc/rpc_common.c: Likewise.
37029         * sunrpc/rpc_dtable.c: Likewise.
37030         * sunrpc/rpc_prot.c: Likewise.
37031         * sunrpc/rpc_thread.c: Likewise.
37032         * sunrpc/rtime.c: Likewise.
37033         * sunrpc/svc.c: Likewise.
37034         * sunrpc/svc_auth.c: Likewise.
37035         * sunrpc/svc_raw.c: Likewise.
37036         * sunrpc/svc_run.c: Likewise.
37037         * sunrpc/svc_tcp.c: Likewise.
37038         * sunrpc/svc_udp.c: Likewise.
37039         * sunrpc/svc_unix.c: Likewise.
37040         * sunrpc/svcauth_des.c: Likewise.
37041         * sunrpc/xcrypt.c: Likewise.
37042         * sunrpc/xdr.c: Likewise.
37043         * sunrpc/xdr_array.c: Likewise.
37044         * sunrpc/xdr_float.c: Likewise.
37045         * sunrpc/xdr_intXX_t.c: Likewise.
37046         * sunrpc/xdr_mem.c: Likewise.
37047         * sunrpc/xdr_rec.c: Likewise.
37048         * sunrpc/xdr_ref.c: Likewise.
37049         * sunrpc/xdr_sizeof.c: Likewise.
37050         * sunrpc/xdr_stdio.c: Likewise.
37051
37052 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37053
37054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37055         change.  Update copyright years.
37056
37057 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37058
37059         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37060
37061 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37062             Joseph Myers  <joseph@codesourcery.com>
37063             Paul Pluzhnikov  <ppluzhnikov@google.com>
37064
37065         [BZ #14012]
37066         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37067         requiring rpcgen.
37068         [cross-compiling] (extra-libs): Likewise.
37069         [cross-compiling] (extra-libs-others): Likewise.
37070         [cross-compiling] (librpcsvc-routines): Likewise.
37071         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37072         [cross-compiling] (omit-deps): Likewise.
37073         (sunrpc-CPPFLAGS): New variable.
37074         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37075         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37076         (cross-rpcgen-objs): New variable.
37077         (extra-objs): Append $(cross-rpcgen-objs).
37078         ($(cross-rpcgen-objs)): New rule.
37079         ($(objpfx)cross-rpcgen): Likewise.
37080         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37081         comment.
37082         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37083         ($(objpfx)x%.stmp): Likewise.
37084         * sunrpc/proto.h [IS_IN_build] (_): Define.
37085         [IS_IN_build] (_libc_intl_domainname): Likewise.
37086
37087 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37088
37089         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37090         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37091         and R_X86_64_TPOFF64.
37092
37093 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37094
37095         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37096         sysdeps/unix/sysv/syscalls.list.
37097         (stime): Likewise.
37098         (utime): Likewise.
37099         * sysdeps/unix/sysv/syscalls.list: Remove file.
37100
37101 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37102
37103         [BZ #3440]
37104         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37105         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37106         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37107         (__LC_IDENTIFICATION): Make these macros useful in #if
37108         expressions, as required by C99.
37109
37110 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37111
37112         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37113         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37114         after this.
37115
37116 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37117
37118         * stdlib/longlong.h: Updated from GCC.
37119
37120 2012-05-09  Andreas Jaeger  <aj@suse.de>
37121
37122         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37123         default is first entry.
37124         (run_mode): Set type.
37125         (main): Remove informal message about syslog.
37126         (options): Fix typo.
37127
37128         [BZ #14053]
37129         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37130         to asm.
37131         (lrint): Likewise.
37132         (llrintf): Likewise.
37133         (llrint): Likewise.
37134         (rint): Likewise.
37135         (rintf): Likewise.
37136         (nearbyint): Likewise.
37137         (nearbyintf): Likewise.
37138
37139 2012-05-09  Andreas Jaeger  <aj@suse.de>
37140             Pedro Alves  <palves@redhat.com>
37141
37142         * nscd/nscd.c (run_mode): Use enum.
37143         (main): Cleanup coding style issue.
37144
37145 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37146             Andreas Jaeger  <aj@suse.de>
37147
37148         * nscd/nscd.c (go_background): Replaced with...
37149         (run_mode): ... this.
37150         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37151         (options): Add -F --foreground.
37152         (main): Implement it.
37153         (parse_opt): Parse it.
37154
37155 2012-05-09  Andreas Jaeger  <aj@suse.de>
37156
37157         [BZ #14083]
37158         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37159         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37160         -Wconversion warning.
37161         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37162         Likewise.
37163
37164 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37165
37166         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37167         == 0.
37168         (LC_ALL): Use macro-int-constant.
37169         (LC_COLLATE): Likewise.
37170         (LC_CTYPE): Likewise.
37171         (LC_MESSAGES): Likewise.
37172         (LC_MONETARY): Likewise.
37173         (LC_NUMERIC): Likewise.
37174         (LC_TIME): Likewise.
37175         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37176         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37178         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37179         Specify type.
37180         [C99-based standards] (float_t): Expect type.
37181         [C99-based standards] (double_t): Expect type.
37182         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37183         type.
37184         [C99-based standards] (HUGE_VALL): Likewise.
37185         [C99-based standards] (INFINITY): Likewise.
37186         [C99-based standards] (NAN): Likewise.
37187         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37188         [C99-based standards] (FP_NAN): Likewise.
37189         [C99-based standards] (FP_NORMAL): Likewise.
37190         [C99-based standards] (FP_SUBNORMAL): Likewise.
37191         [C99-based standards] (FP_ZERO): Likewise.
37192         [C99-based standards] (FP_FAST_FMA): Use
37193         optional-macro-int-constant.  Specify type.  Require == 1.
37194         [C99-based standards] (FP_FAST_FMAF): Likewise.
37195         [C99-based standards] (FP_FAST_FMAL): Likewise.
37196         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37197         [C99-based standards] (FP_ILOGBNAN): Likewise.
37198         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37199         Specify type.
37200         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37201         [C99-based standards] (math_errhandling): Specify type.
37202         [ISO99 || ISO11] (signgam): Do not allow.
37203         [non-C99-based standards] (copysignf): Do not allow.
37204         [non-C99-based standards] (exp2f): Likewise.
37205         [non-C99-based standards] (log2f): Likewise.
37206         [non-C99-based standards] (modff): Allow.
37207         [non-C99-based standards] (erff): Do not allow.
37208         [non-C99-based standards] (erfcf): Likewise.
37209         [non-C99-based standards] (gammaf): Likewise.
37210         [non-C99-based standards] (hypotf): Likewise.
37211         [non-C99-based standards] (j0f): Likewise.
37212         [non-C99-based standards] (j1f): Likewise.
37213         [non-C99-based standards] (jnf): Likewise.
37214         [non-C99-based standards] (lgammaf): Likewise.
37215         [non-C99-based standards] (tgammaf): Likewise.
37216         [non-C99-based standards] (y0f): Likewise.
37217         [non-C99-based standards] (y1f): Likewise.
37218         [non-C99-based standards] (ynf): Likewise.
37219         [non-C99-based standards] (isnanf): Likewise.
37220         [non-C99-based standards] (acoshf): Likewise.
37221         [non-C99-based standards] (asinhf): Likewise.
37222         [non-C99-based standards] (atanhf): Likewise.
37223         [non-C99-based standards] (cbrtf): Likewise.
37224         [non-C99-based standards] (expm1f): Likewise.
37225         [non-C99-based standards] (ilogbf): Likewise.
37226         [non-C99-based standards] (log1pf): Likewise.
37227         [non-C99-based standards] (logbf): Likewise.
37228         [non-C99-based standards] (nextafterf): Likewise.
37229         [non-C99-based standards] (remainderf): Likewise.
37230         [non-C99-based standards] (rintf): Likewise.
37231         [non-C99-based standards] (scalbf): Likewise.
37232         [non-C99-based standards] (copysignl): Likewise.
37233         [non-C99-based standards] (exp2l): Likewise.
37234         [non-C99-based standards] (log2l): Likewise.
37235         [non-C99-based standards] (modfl): Allow.
37236         [non-C99-based standards] (erfl): Do not allow.
37237         [non-C99-based standards] (erfcl): Likewise.
37238         [non-C99-based standards] (gammal): Likewise.
37239         [non-C99-based standards] (hypotl): Likewise.
37240         [non-C99-based standards] (j0l): Likewise.
37241         [non-C99-based standards] (j1l): Likewise.
37242         [non-C99-based standards] (jnl): Likewise.
37243         [non-C99-based standards] (lgammal): Likewise.
37244         [non-C99-based standards] (tgammal): Likewise.
37245         [non-C99-based standards] (y0l): Likewise.
37246         [non-C99-based standards] (y1l): Likewise.
37247         [non-C99-based standards] (ynl): Likewise.
37248         [non-C99-based standards] (isnanl): Likewise.
37249         [non-C99-based standards] (acoshl): Likewise.
37250         [non-C99-based standards] (asinhl): Likewise.
37251         [non-C99-based standards] (atanhl): Likewise.
37252         [non-C99-based standards] (cbrtl): Likewise.
37253         [non-C99-based standards] (expm1l): Likewise.
37254         [non-C99-based standards] (ilogbl): Likewise.
37255         [non-C99-based standards] (log1pl): Likewise.
37256         [non-C99-based standards] (logbl): Likewise.
37257         [non-C99-based standards] (nextafterl): Likewise.
37258         [non-C99-based standards] (remainderl): Likewise.
37259         [non-C99-based standards] (rintl): Likewise.
37260         [non-C99-based standards] (scalbl): Likewise.
37261         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37262         [non-C99-based standards] (FP_*): Do not allow.
37263         [C99-based standards] (FP_*): Change to
37264         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37265         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37266         allow.
37267         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37268         (SIG_ERR): Likewise.
37269         [X/Open-based standards] (SIG_HOLD): Likewise.
37270         (SIG_IGN): Likewise.
37271         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37272         positive value.
37273         (SIGFPE): Likewise.
37274         (SIGILL): Likewise.
37275         (SIGINT): Likewise.
37276         (SIGSEGV): Likewise.
37277         (SIGTER): Likewise.
37278         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37279         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37280         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37281         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37282         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37283         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37284         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37285         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37286         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37287         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37288         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37289         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37290         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37291         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37292         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37293         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37294         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37295         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37296         [X/Open-based standards] (SIGTRAP): Likewise.
37297         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37298         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37299         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37300         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37301         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37302         allow.
37303
37304 2012-05-08  Ian Wienand  <ianw@vmware.com>
37305
37306         [BZ #14080]
37307         * time/tzset.c (__tzset_parse_tz): Update default rules for
37308         daylight time changes in the Energy Policy Act of 2005.
37309
37310 2012-05-09  Andreas Jaeger  <aj@suse.de>
37311
37312         [BZ #13983]
37313         * elf/ldconfig.c (parse_conf): Change string to make clear that
37314         ldconfig only issued a warning if ld.so.conf does not exist.
37315
37316 2012-05-08  David S. Miller  <davem@davemloft.net>
37317
37318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37319         movxtod instead of popping the value on the stack.
37320
37321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37322
37323 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37324
37325         * config.h.in: Add HAVE_ARM_PCS_VFP.
37326
37327 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37328
37329         [BZ #13979]
37330         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37331         checking but the checks are disabled for any reason.
37332
37333 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37334
37335         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37336         and ELF64_R_TYPE with ELFW(R_TYPE).
37337
37338 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37339
37340         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37341         (ulimit): Likewise.
37342
37343         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37344         (settimeofday): Likewise.
37345
37346 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37347
37348         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37349         a struct th_u2 inside the union, and move tu_block/tu_code into
37350         a new th_u3 union of tu_block/tu_code inside of that.  Move
37351         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37352         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37353         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37354         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37355         (th_stuff): Change to th_u1.tu_stuff.
37356         (th_data): Define.
37357         (th_msg): Change to th_u1.th_u2.tu_data.
37358
37359 2012-05-07  David S. Miller  <davem@davemloft.net>
37360
37361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37362
37363         [BZ #14074]
37364         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37365         (SETUP_PIC_REG): Use it.
37366         (SETUP_PIC_REG_LEAF): Use it.
37367
37368 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37369
37370         [BZ #13885]
37371         [BZ #13923]
37372         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37373         USE_AS_EXPM1L.
37374         (EXPL_FINITE): Likewise.
37375         (FLDLOG): Likewise.
37376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37377         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37378         e_expl.S.
37379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37380         USE_AS_EXPM1L.
37381         (EXPL_FINITE): Likewise.
37382         (FLDLOG): Likewise.
37383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37384         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37385         e_expl.S.
37386         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37387         test of -max_value argument for long double.
37388         * sysdeps/i386/fpu/libm-test-ulps: Update.
37389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37390
37391 2012-05-06  David S. Miller  <davem@davemloft.net>
37392
37393         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37394         quad soft-float symbols whose references which are compiler
37395         generated.
37396         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37397
37398 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37399
37400         [BZ #13884]
37401         [BZ #13914]
37402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37403         USE_AS_EXP10L.
37404         (EXPL_FINITE): Likewise.
37405         (FLDLOG): Likewise.
37406         (c0): Likewise.
37407         (c1): Likewise.
37408         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37409         Adjust comments for base varying.
37410         (__expl_finite): Change alias to EXPL_FINITE.
37411         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37412         e_expl.S.
37413         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37414         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37415         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37416         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37418         USE_AS_EXP10L.
37419         (EXPL_FINITE): Likewise.
37420         (FLDLOG): Likewise.
37421         (c0): Likewise.
37422         (c1): Likewise.
37423         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37424         Adjust comments for base varying.
37425         (__expl_finite): Change alias to EXPL_FINITE.
37426         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37427         tests for bugs.
37428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37429
37430         [BZ #14064]
37431         * math/libm-test.inc (check_float_internal): Correct ulp
37432         calculation for subnormal expected results.
37433
37434 2012-05-06  Andreas Jaeger  <aj@suse.de>
37435
37436         * Makeconfig (+math-flags): New, set to -frounding-math.
37437         (+cflags): Add +math-flags so that all of glibc gets compiled with
37438         it.
37439
37440         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37441
37442 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37443
37444         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37445         Disable one test.
37446
37447         [BZ #13787]
37448         [BZ #13922]
37449         [BZ #14036]
37450         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37451         (__ieee754_expl): Allow for and saturate large arguments.
37452         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37453         (u_threshold): Likewise.
37454         (__exp): Call __ieee754_exp before checking for overflow and
37455         underflow.
37456         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37457         (u_threshold): Likewise.
37458         (__expf): Call __ieee754_expf before checking for overflow and
37459         underflow.
37460         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37461         (u_threshold): Likewise.
37462         (__expl): Call __ieee754_expl before checking for overflow and
37463         underflow.
37464         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37465         (__ieee754_expl): Allow for and saturate large arguments.
37466         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37467         missing overflow exception on overflow.
37468         (expm1_test): Do not allow missing overflow exception on overflow.
37469
37470         * sysdeps/i386/fpu/e_expl.c: Move to ...
37471         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37472         rather than using inline asm.
37473         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37474         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37475         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37476
37477         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37478         (nice): Likewise.
37479         (poll): Likewise.
37480         (signal): Likewise.
37481         (time): Likewise.
37482         (times): Likewise.
37483
37484 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37485
37486         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37487         sysdeps/unix/common/syscalls.list.
37488         (fchmod): Likewise.
37489         (fchown): Likewise.
37490         (ftruncate): Likewise.
37491         (getrusage): Likewise.
37492         (gettimeofday): Likewise.
37493         (setpgid): Likewise.
37494         (setregid): Likewise.
37495         (setreuid): Likewise.
37496         (sigaction): Likewise.
37497         (truncate): Likewise.
37498         (vhangup): Likewise.
37499         * sysdeps/unix/common/syscalls.list: Remove file.
37500         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37501         * sysdeps/unix/sysv/linux/Implies: Likewise.
37502
37503 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37504
37505         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37507         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37508         Moved to ...
37509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37510         Here.
37511         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37512         to ...
37513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37514         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37515         to ...
37516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37517         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37518         to ...
37519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37520         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37521         to ...
37522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37523         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37524         to ...
37525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37526         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37527         to ...
37528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37529         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37530         to ...
37531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37532         Here.
37533         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37534         to ...
37535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37536         Here.
37537         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37538         to ...
37539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37540         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37541         Moved to ...
37542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37543         Here.
37544         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37545         to ...
37546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37547
37548 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37549
37550         * sysdeps/unix/common/bits/dirent.h: Remove file.
37551         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37552
37553         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37554         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37555         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37556         * sysdeps/unix/bsd/isatty.c: Likewise.
37557         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37558         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37559         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37560
37561 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37562
37563         [BZ #13563]
37564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37565         long double comparison inaccuracies.
37566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37568
37569 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37570
37571         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37572         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37573
37574 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37575
37576         [BZ #14049]
37577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37578         nonzero digits before rounding a hex value.
37579         * stdlib/tst-strtod.c (tests): Add another test.
37580
37581 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37582
37583         * sysdeps/s390/fpu/libm-test-ulps: Update.
37584
37585 2012-05-03  Andreas Jaeger  <aj@suse.de>
37586
37587         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37588         does not get optimized out.
37589         (malloc_opt_barrier): New.
37590
37591 2012-05-03  Andreas Jaeger  <aj@suse.de>
37592             Roland McGrath  <roland@hack.frob.com>
37593
37594         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37595         intermediate file deletion.
37596         (generated): Add .symlist files.
37597
37598 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37599
37600         [BZ #13775]
37601         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37602         Redirect under this condition.
37603         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37604         [__USE_GNU] (__dprintf_chk): Not under this condition.
37605         [__USE_GNU] (__vdprintf_chk): Likewise.
37606         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37607         under this condition.
37608         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37609         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37610         [__USE_XOPEN2K8] (vdprintf): Likewise.
37611         [__USE_GNU] (__dprintf_chk): Not under this condition.
37612         [__USE_GNU] (__vdprintf_chk): Likewise.
37613         [__USE_GNU] (dprintf): Likewise.
37614         [__USE_GNU] (vdprintf): Likewise.
37615
37616 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37617
37618         * elf/Makefile (common-generated): Set this instead of generated for
37619         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37620         $(all-built-dso)-derived lists.
37621
37622 2012-05-03  Andreas Jaeger  <aj@suse.de>
37623
37624         * sysdeps/i386/fpu/libm-test-ulps: Update.
37625
37626         * FAQ: Removed.
37627         * FAQ.in: Likewise.
37628         * scripts/gen-FAQ.pl: Likewise.
37629         * manual/install.texi (Installation): Point to online location of
37630         FAQ.
37631         * Makefile (files-for-dist): Remove FAQ.
37632         (FAQ): Remove.
37633
37634 2012-05-02  Allan McRae  <allan@archlinux.org>
37635
37636         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37637         (LDFLAGS-reldepmod5.so): Likewise.
37638         (LDFLAGS-reldep6mod1.so): Likewise.
37639         (LDFLAGS-reldep6mod4.so): Likewise.
37640         (LDFLAGS-reldep8mod3.so): Likewise.
37641         (LDFLAGS-unload4mod1.so): Likewise.
37642         (LDFLAGS-unload4mod2.so): Likewise.
37643         (LDFLAGS-tst-initorder): Likewise.
37644         (LDFLAGS-tst-initordera2.so): Likewise.
37645         (LDFLAGS-tst-initordera3.so): Likewise.
37646         (LDFLAGS-tst-initordera4.so): Likewise.
37647         (LDFLAGS-tst-initorderb2.so): Likewise.
37648         (LDFLAGS-noload): Likewise.
37649         (LDFLAGS-next): Likewise.
37650         (LDFLAGS-order2mod1.so): Likewise.
37651         (LDFLAGS-order2mod2.so): Likewise.
37652         (LDFLAGS-tst-initorder2): Likewise.
37653         (LDFLAGS-tst-initorder2a.so): Likewise.
37654         (LDFLAGS-tst-initorder2b.so): Likewise.
37655         (LDFLAGS-tst-initorder2c.so): Likewise.
37656         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37657
37658 2012-05-02  David S. Miller  <davem@davemloft.net>
37659
37660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37661
37662 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37663
37664         [BZ #14055]
37665         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37666
37667 2012-05-02  Andreas Jaeger  <aj@suse.de>
37668
37669         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37670         since we manipulate rounding mode.
37671         (CPPFLAGS-test-idouble.c): Likewise.
37672         (CPPFLAGS-test-ifloat.c): Likewise.
37673         (CFLAGS-test-ldouble.c): Likewise.
37674         (CFLAGS-test-double.c): Likewise.
37675         (CFLAGS-test-float.c): Likewise.
37676         (CFLAGS-test-misc.c): Likewise.
37677         (CFLAGS-test-test-fenv.c): Likewise.
37678
37679 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37680
37681         [BZ #2550]
37682         [BZ #2570]
37683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37684         comparisons to determine direction to adjust input.
37685
37686 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37687
37688         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37689         output to the target.
37690
37691         * scripts/localplt.awk: New file.
37692         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37693         (check-localplt-CFLAGS): Variable removed.
37694         ($(all-built-dso:=.jmprel)): New static pattern rule.
37695         (generated): Add those targets.
37696         (localplt-built-dso): New variable.
37697         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37698
37699         * elf/check-localplt.c: File removed.
37700
37701         * scripts/check-execstack.awk: New file.
37702         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37703         (check-execstack-CFLAGS): Variable removed.
37704         ($(objpfx)check-execstack.h): Target removed.
37705         ($(objpfx)execstack-default): New target.
37706         (generated): Add that instead of check-execstack.h.
37707         ($(all-built-dso:=.phdr)): New static pattern rule.
37708         (generated): Add those targets.
37709         * elf/check-execstack.c: File removed.
37710
37711         * scripts/check-textrel.awk: New file.
37712         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37713         (check-textrel-CFLAGS): Variable removed.
37714         (all-built-dso): Use := to define.o
37715         ($(all-built-dso:=.dyn)): New static pattern rule.
37716         (generated): Add those targets.
37717         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37718         * config.make.in (READELF): New substituted variable.
37719         * elf/check-textrel.c: File removed.
37720
37721 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37722
37723         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37724         allow.
37725         * conform/data/ctype.h-data [C99-based standards] (isblank):
37726         Expect function.
37727         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37728         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37730         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37731         Specify type.  Require positive value.
37732         (EILSEQ): Likewise.
37733         (ERANGE): Likewise.
37734         [ISO || POSIX] (EILSEQ): Do not expect.
37735         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37736         Specify type.  Require positive value.
37737         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37738         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37739         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37740         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37741         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37742         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37743         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37744         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37745         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37746         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37747         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37748         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37749         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37750         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37751         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37752         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37753         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37754         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37755         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37756         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37757         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37758         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37759         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37760         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37761         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37762         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37763         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37764         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37765         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37766         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37767         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37768         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37769         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37770         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37771         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37772         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37773         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37774         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37775         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37776         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37777         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37778         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37779         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37780         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37782         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37786         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37787         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37788         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37789         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37792         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37793         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37794         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37795         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37796         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37797         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37798         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37799         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37800         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37801         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37802         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37803         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37804         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37805         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37806         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37807         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37808         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37809         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37810         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37811         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37812         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37813         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37814         Require >= 2.
37815         (FLT_ROUNDS): Expect as macro, not constant.
37816         (FLT_MANT_DIG): Use macro-int-constant.
37817         (DBL_MANT_DIG): Likewise.
37818         (LDBL_MANT_DIG): Likewise.
37819         (FLT_DIG): Likewise.
37820         (DBL_DIG): Likewise.
37821         (LDBL_DIG): Likewise.
37822         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37823         (DBL_MIN_EXP): Likewise.
37824         (LDBL_MIN_EXP): Likewise.
37825         (FLT_MAX_EXP): Use macro-int-constant.
37826         (DBL_MAX_EXP): Likewise.
37827         (LDBL_MAX_EXP): Likewise.
37828         (FLT_MAX_10_EXP): Likewise.
37829         (DBL_MAX_10_EXP): Likewise.
37830         (LDBL_MAX_10_EXP): Likewise.
37831         (FLT_MAX): Use macro-constant.
37832         (DBL_MAX): Likewise.
37833         (LDBL_MAX): Likewise.
37834         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37835         (DBL_EPSILON): Likewise.
37836         (LDBL_EPSILON): Likewise.
37837         (FLT_MIN): Likewise.
37838         (DBL_MIN): Likewise.
37839         (LDBL_MIN): Likewise.
37840         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37841         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37842         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37843         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37844         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37845         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37846         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37847         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37848         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37849         [ISO11] (FLT_TRUE_MIN): Likewise.
37850         [ISO11] (LDBL_TRUE_MIN): Likewise.
37851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37852         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37853         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37854         (SCHAR_MAX): Likewise.
37855         (UCHAR_MAX): Likewise.
37856         (CHAR_MIN): Likewise.
37857         (CHAR_MAX): Likewise.
37858         (MB_LEN_MAX): Use macro-int-constant.
37859         (SHRT_MIN): Use macro-int-constant.  Specify type.
37860         (SHRT_MAX): Likewise.
37861         (USHRT_MAX): Likewise.
37862         (INT_MAX): Likewise.
37863         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37864         bound negative.
37865         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37866         bound with "U".
37867         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37868         bound with "L".
37869         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37870         bound negative.  Suffix upper bound with "L".
37871         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37872         bound with "UL".
37873         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37874         Specify type.
37875         [C99-based standards] (LLONG_MAX): Likewise.
37876         [C99-based standards] (ULLONG_MAX): Likewise.
37877         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37878         == 0.
37879         [ISO11] (max_align_t): Require type.
37880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37881
37882         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37883         from $CFLAGS, without defining away __attribute__ calls.
37884         (checknamespace): Use $CFLAGS_namespace.
37885
37886         * conform/conformtest.pl (@keywords): Only include C99 keywords
37887         for standards based on C99 or C11.
37888
37889         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37890         Disable tests.
37891         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37892         UNIX98]: Likewise.
37893
37894         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37895         usability of symbols in #if.
37896
37897         * conform/conformtest.pl: If macro or constant types start
37898         "promoted:", expect the symbol to be of the following type
37899         promoted by the integer promotions.
37900
37901         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37902         in one place.  Also handle "macro-constant".
37903
37904         * conform/conformtest.pl: Only accept expected macro values with
37905         "==".  Parse all "macro" lines in one place.
37906         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37907
37908         * conform/conformtest.pl: Handle braced types on "constant" lines
37909         instead of handling "typed-constant".
37910         * conform/data/signal.h-data: Use "constant" instead of
37911         "typed-constant".
37912
37913         * conform/conformtest.pl: Handle "optional-" at start of lines in
37914         one place rather than duplicating several cases.  Handle each
37915         format of "macro" line with initial "optional-".
37916
37917         * conform/conformtest.pl: Only accept expected constant or
37918         optional-constant values with "==".  Parse all "constant" lines in
37919         one place.  Parse all "optional-constant" lines in one place.
37920         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37921         * conform/data/fmtmsg.h-data: Likewise.
37922         * conform/data/netinet/in.h-data: Likewise.
37923         * conform/data/tar.h-data: Likewise.
37924         * conform/data/limits.h-data: Use "==" form on "constant" and
37925         "optional-constant" lines.
37926
37927         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37928         Use -std=c99 for XOPEN2K.
37929         (@knownproblems): Remove.
37930         (newtoken): Don't check %isknown.
37931
37932         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37933         Do not expect macro.
37934         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37935         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37936         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37937         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37938         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37939         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37940         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37941         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37942         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37943         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37944         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37945         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37946         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37947         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37948         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37949         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37950         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37951         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37952         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37953         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37954         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37955         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37956         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37957         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37960         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37961         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37964         [XPG3] (acosh): Likewise.
37965         [XPG3] (asinh): Likewise.
37966         [XPG3] (atanh): Likewise.
37967         [XPG3] (cbrt): Likewise.
37968         [XPG3] (expm1): Likewise.
37969         [XPG3] (ilogb): Likewise.
37970         [XPG3] (log1p): Likewise.
37971         [XPG3] (logb): Likewise.
37972         [XPG3] (nextafter): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37975         [XPG3] (remainder): Likewise.
37976         [XPG3] (rint): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37984         [UNIX98 || XOPEN2K] (scalb): Expect.
37985         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37986         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37987         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37988         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37989         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37990         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37991         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37992         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37993         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37994         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37995         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37998         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37999         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38000         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38007         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38008         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38009         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38012         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38013         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38031         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38032         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38033         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38034         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38035         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38036         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38037         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38038         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38039         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38040         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38041         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38042         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38043         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38044         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38045         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38046         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38047         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38048         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38049         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38050         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38051         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38052         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38053         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38054         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38055         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38056         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38057         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38058         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38059         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38060         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38061         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38062         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38063         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38064         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38065         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38066         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38067         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38068         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38069         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38070         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38071         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38072         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38073         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38074         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38075         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38076         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38077         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38078         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38079         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38080         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38081         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38082         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38083         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38084         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38085         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38086         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38087         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38088         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38089         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38090         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38091         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38092         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38093         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38094         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38095         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38096         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38097         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38098         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38099         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38100         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38101         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38102         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38103         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38104         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38105         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38106         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38107         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38108         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38109         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38110         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38111         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38112         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38113         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38114         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38115         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38116         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38117         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38118         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38119         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38120         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38121         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38122
38123         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38124         _XOPEN_SOURCE_EXTENDED for XPG4.
38125
38126         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38127
38128         * Makeconfig (localtime): Remove variable.
38129         (inst_localtime-file): Likewise.
38130
38131 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38132
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38134         Update.
38135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38136         Update.
38137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38138         Update.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38140         Update.
38141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38142         Update.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38144         Update.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38146         Update.
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38148         Update.
38149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38150         Update.
38151
38152 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38153
38154         [BZ #2550]
38155         [BZ #2570]
38156         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38157         comparisons to determine direction to adjust input.
38158         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38159         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38161         Likewise.
38162         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38163         Likewise.
38164         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38165         Likewise.
38166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38167         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38168         Likewise.
38169         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38170         Likewise.
38171         * math/libm-test.inc (nexttoward_test): Add more tests.
38172
38173 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38174
38175         [BZ #14040]
38176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38177         in version GLIBC_2.1, not GLIBC_2.0.
38178         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38179         Likewise.
38180
38181 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38182
38183         [BZ #13942]
38184         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38185         (1 - x) * (1 + x).
38186         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38187         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38188         * math/libm-test.inc (acos_test): Add more tests.
38189         (asin_test): Likewise.
38190         * sysdeps/i386/fpu/libm-test-ulps: Update.
38191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38192
38193         [BZ #14034]
38194         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38195         of square root.
38196         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38197         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38198         * math/libm-test.inc (acos_test_tonearest): New function.
38199         (acos_test_towardzero): Likewise.
38200         (acos_test_downward): Likewise.
38201         (acos_test_upward): Likewise.
38202         (asin_test_tonearest): Likewise.
38203         (asin_test_towardzero): Likewise.
38204         (asin_test_downward): Likewise.
38205         (asin_test_upward): Likewise.
38206         (main): Call the new functions.
38207         * sysdeps/i386/fpu/libm-test-ulps: Update.
38208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38209
38210         [BZ #13884]
38211         [BZ #13924]
38212         * math/e_exp10.c: Include <float.h>.
38213         (__ieee754_exp10): Handle underflow here rather than multiplying
38214         large negative argument by M_LN10.
38215         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38216         of __ieee754_expf.
38217         * math/e_exp10l.c: Include <float.h>.
38218         (__ieee754_exp10l): Handle underflow here rather than multiplying
38219         large negative argument by M_LN10l.
38220         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38221         spurious overflow exception on underflow.
38222
38223 2012-04-29  Marek Polacek  <polacek@redhat.com>
38224
38225         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38226         (__fortify_function): New macro.
38227         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38228         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38229         __extern_always_inline.
38230         * libio/bits/stdio2.h: Likewise.
38231         * libio/bits/stdio.h: Likewise.
38232         * string/string.h: Likewise.
38233         * string/bits/string3.h: Likewise.
38234         * include/stdio.h: Likewise.
38235         * stdlib/bits/stdlib.h: Likewise.
38236         * stdlib/stdlib.h: Likewise.
38237         * rt/bits/mqueue2.h: Likewise.
38238         * rt/mqueue.h: Likewise.
38239         * posix/bits/unistd.h: Likewise.
38240         * posix/unistd.h: Likewise.
38241         * io/bits/poll2.h: Likewise.
38242         * io/bits/fcntl2.h: Likewise.
38243         * io/fcntl.h: Likewise.
38244         * io/sys/poll.h: Likewise.
38245         * misc/bits/syslog.h: Likewise.
38246         * misc/bits/syslog-ldbl.h: Likewise.
38247         * misc/sys/syslog.h: Likewise.
38248         * socket/bits/socket2.h: Likewise.
38249         * socket/sys/socket.h: Likewise.
38250         * debug/tst-chk1.c: Likewise.
38251         * wcsmbs/bits/wchar2.h: Likewise.
38252         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38253         * wcsmbs/wchar.h: Likewise.
38254
38255 2012-04-29  Andreas Jaeger  <aj@suse.de>
38256
38257         * Makerules (tests): Remove enable-check-abi protection.
38258         (check-abi-warn): Remove.
38259         (check-abi-%): Remove check-abi-warn usage.
38260
38261         * configure.in: Remove check-abi configure option.
38262         * configure: Regenerated.
38263         * config.make.in (enable-check-abi): Remove.
38264
38265 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38266
38267         [BZ #14033]
38268         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38269         double functions to double *_finite functions.
38270
38271         [BZ #13941]
38272         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38273         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38274         LDBL_MIN_EXP.
38275         * stdio-common/Makefile (tests): Add tst-sprintf3.
38276         * stdio-common/tst-sprintf3.c: New file.
38277
38278         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38279         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38280
38281 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38282
38283         * conform/conformtest.pl: Remove duplicate typed-constant
38284         handling.
38285
38286 2012-04-28  David S. Miller  <davem@davemloft.net>
38287
38288         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38289         (check-abi-%): Remove AWK script prerequisite and explicit
38290         abilist directory.
38291         (check-abi): Rewrite to just diff the symlist with the abilist.
38292         (config-tls, config-abi-config): Delete, no longer used.
38293         (update-abi-%): Remove AWK script and explicit abilist directory.
38294         (update-abi): Rewrite to simply compare and conditionally copy the
38295         symlist and the sysdep abilist file.  Remove update-abi-config
38296         checks.
38297         * abilist/ld.abilist: Remove.
38298         * abilist/libBrokenLocale.abilist: Remove.
38299         * abilist/libanl.abilist: Remove.
38300         * abilist/libcrypt.abilist: Remove.
38301         * abilist/libdl.abilist: Remove.
38302         * abilist/librt.abilist: Remove.
38303         * abilist/libthread_db.abilist: Remove.
38304         * abilist/libutil.abilist: Remove.
38305         * scripts/extract-abilist.awk: Remove.
38306         * scripts/merge-abilist.awk: Remove.
38307         * sysdeps/generic/libcidn.abilist: New file.
38308         * sysdeps/generic/libnss_compat.abilist: New file.
38309         * sysdeps/generic/libnss_db.abilist: New file.
38310         * sysdeps/generic/libnss_dns.abilist: New file.
38311         * sysdeps/generic/libnss_files.abilist: New file.
38312         * sysdeps/generic/libnss_hesiod.abilist: New file.
38313         * sysdeps/generic/libnss_nis.abilist: New file.
38314         * sysdeps/generic/libnss_nisplus.abilist: New file.
38315         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38316         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38317         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38318         file.
38319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38320         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38321         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38322         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38323         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38324         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38325         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38326         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38327         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38328         file.
38329         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38330         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38331         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38332         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38333         file.
38334         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38335         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38336         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38337         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38338         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38339         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38340         file.
38341         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38342         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38343         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38344         file.
38345         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38347         New file.
38348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38349         New file.
38350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38351         New file.
38352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38353         New file.
38354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38355         New file.
38356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38357         New file.
38358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38359         New file.
38360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38361         New file.
38362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38363         New file.
38364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38365         New file.
38366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38367         New file.
38368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38369         New file.
38370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38371         New file.
38372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38373         file.
38374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38375         New file.
38376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38377         New file.
38378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38379         file.
38380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38381         New file.
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38383         New file.
38384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38385         file.
38386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38387         New file.
38388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38389         New file.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38391         New file.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38393         New file.
38394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38395         New file.
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38397         New file.
38398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38400         file.
38401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38402         New file.
38403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38404         file.
38405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38406         file.
38407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38408         file.
38409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38410         file.
38411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38412         file.
38413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38414         New file.
38415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38416         file.
38417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38418         file.
38419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38420         New file.
38421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38422         file.
38423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38425         file.
38426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38427         New file.
38428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38429         file.
38430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38431         file.
38432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38433         file.
38434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38435         file.
38436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38437         file.
38438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38439         New file.
38440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38441         file.
38442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38443         file.
38444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38445         New file.
38446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38447         file.
38448         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38449         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38450         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38451         file.
38452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38453         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38454         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38455         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38456         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38457         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38458         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38459         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38460         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38461         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38464         file.
38465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38466         New file.
38467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38468         file.
38469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38470         file.
38471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38472         file.
38473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38474         file.
38475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38476         file.
38477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38478         New file.
38479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38480         New file.
38481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38482         file.
38483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38484         New file.
38485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38486         file.
38487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38489         file.
38490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38491         New file.
38492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38493         file.
38494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38495         file.
38496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38497         file.
38498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38499         file.
38500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38501         file.
38502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38503         New file.
38504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38505         New file.
38506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38507         file.
38508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38509         New file.
38510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38511         file.
38512
38513 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38514
38515         * conform/conformtest.pl: Fix typo in handling typed-constant from
38516         allow-header.
38517
38518 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38519
38520         * README: Cut down references to pre-2.6 Linux kernels and
38521         Linuxthreads.  Update lists of configurations in libc and ports
38522         and sort alphabetically.  Say "or newer" with Linux kernel version
38523         requirements.
38524
38525         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38526
38527 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38528
38529         [BZ #887]
38530         * math/libm-test.inc (logb_test_downward): New test to expose
38531         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38532         rounding mode.
38533
38534 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38535
38536         [BZ #14027]
38537         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38538         to be done.
38539         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38540         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38541
38542 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38543
38544         * sysdeps/unix/i386/brk.S: Remove file.
38545         * sysdeps/unix/i386/dl-brk.S: Likewise.
38546         * sysdeps/unix/i386/pipe.S: Likewise.
38547         * sysdeps/unix/i386/sigreturn.S: Likewise.
38548         * sysdeps/unix/i386/syscall.S: Likewise.
38549         * sysdeps/unix/i386/vfork.S: Likewise.
38550         * sysdeps/unix/i386/wait.S: Likewise.
38551
38552         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38553         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38554
38555         * configure.in (arm*-none*): Do not allow without
38556         --enable-hacker-mode.
38557         (netbsd*): Remove case setting base_os.
38558         (386bsd*): Likewise.
38559         (freebsd*): Likewise.
38560         (bsdi*): Likewise.
38561         (osf*): Likewise.
38562         (sunos*): Likewise.
38563         (ultrix*): Likewise.
38564         (newsos*): Likewise.
38565         (dynix*): Likewise.
38566         (*bsd*): Likewise.
38567         (sysv*): Likewise.
38568         (isc*): Likewise.
38569         (esix*): Likewise.
38570         (sco*): Likewise.
38571         (minix*): Likewise.
38572         (irix4*): Likewise.
38573         (irix6*): Likewise.
38574         (solaris[2-9]*): Likewise.
38575         (none): Likewise.
38576         * configure: Regenerated.
38577
38578 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38579
38580         [BZ #11521]
38581         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38582         overflow or cancellation in calculating denominator.
38583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38585         down expression to avoid unexpected rounding in newer GCCs.
38586         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38587
38588 2012-04-26  David S. Miller  <davem@davemloft.net>
38589
38590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38591         long-double compat symbols.
38592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38605
38606 2012-04-25  David S. Miller  <davem@davemloft.net>
38607
38608         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38609         HWCAP_* values only after the memory barriers have been defined.
38610         (atomic_full_barrier): Define.
38611         (atomic_read_barrier): Define.
38612         (atomic_write_barrier): Define.
38613
38614 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38615
38616         * shlib-versions: Add libgcc_s version information.
38617         * sysdeps/generic/libgcc_s.h: Remove.
38618         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38619         libgcc_s.h.
38620         * sysdeps/gnu/unwind-resume.c: Likewise.
38621         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38622
38623 2012-04-25  David S. Miller  <davem@davemloft.net>
38624
38625         * sysdeps/unix/sparc/brk.S: Delete.
38626         * sysdeps/unix/sparc/dl-brk.S: Delete.
38627         * sysdeps/unix/sparc/pipe.S: Delete.
38628         * sysdeps/unix/sparc/sysdep.S: Delete.
38629         * sysdeps/unix/sparc/sysdep.h: Delete.
38630         * sysdeps/unix/sparc/vfork.S: Delete.
38631         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38632         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38633         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38634         (ret_ERRVAL, r0, r1, MOVE): Define.
38635         (JUMPTARGET): Remove.
38636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38637         sysdeps/unix/sparc/sysdep.h
38638         (ENTRY, END): Remove.
38639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38640
38641 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38642
38643         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38644         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38645         -DIS_IN_build.
38646
38647         * timezone/README: Update upstream location and email address for
38648         tzcode and tzdata.
38649         * timezone/zdump.c: Update from tzcode 2012b.
38650         * timezone/zic.c: Likewise.
38651
38652         * configure.in (libc_cv_as_needed): Remove test.
38653         * configure: Regenerated.
38654         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38655         conditional definition.
38656         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38657         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38658         * config.make.in (have-as-needed): Remove variable.
38659
38660 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38661             Paul Pluzhnikov  <ppluzhnikov@google.com>
38662
38663         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38664         strings correctly.
38665
38666 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38667
38668         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38669         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38670         * sysdeps/sh/strlen.S: Likewise.
38671
38672 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38673
38674         * sysdeps/unix/fork.S: Remove file.
38675         * sysdeps/unix/i386/fork.S: Likewise.
38676         * sysdeps/unix/sparc/fork.S: Likewise.
38677
38678         * sysdeps/unix/system.c: Remove file.
38679         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38680
38681         * sysdeps/unix/getegid.S: Remove file.
38682         * sysdeps/unix/geteuid.S: Likewise.
38683
38684 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38685
38686         * scripts/check-localplt.awk: New file.
38687         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38688         of diff.
38689         * scripts/data/localplt-generic.data: Add a comment.
38690
38691         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38692         NODE when __dir_mkfile failed.
38693         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38694         Reported by Ludovic Courtès <ludo@gnu.org>.
38695
38696 2012-04-24  Andreas Jaeger  <aj@suse.de>
38697
38698         * Makerules (common-clean): Also remove gen-as-const-headers
38699         files.
38700
38701 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38702
38703         * Makerules (native-compile): Do not change working directory for
38704         build.  Use $(OUTPUT_OPTION) in command.
38705         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38706
38707 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38708
38709         [BZ #13886]
38710         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38711         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38712         * math/libm-test.inc (floor_test): Add more tests.
38713         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38714
38715 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38716
38717         * sysdeps/unix/getdents.c: Remove file.
38718         * sysdeps/unix/sysv/getdents.c: Likewise.
38719         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38720
38721         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38722         sysdeps/unix/mman/syscalls.list.
38723         (mmap): Likewise.
38724         (mprotect): Likewise.
38725         (msync): Likewise.
38726         (munmap): Likewise.
38727         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38728         * sysdeps/unix/mman/syscalls.list: Remove.
38729         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38730
38731         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38732         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38733         * configure: Regenerated.
38734         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38735         $(libgcc_s_suffix).
38736         * config.make.in (libgcc_s_suffix): Remove variable.
38737
38738 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38739
38740         * sysdeps/unix/sysv/gethostname.c: Move to ...
38741         * sysdeps/posix/gethostname.c: ... here.
38742
38743         * sysdeps/unix/execve.S: Remove file.
38744
38745         * sysdeps/unix/_exit.S: Remove file.
38746
38747 2012-04-23  Andreas Jaeger  <aj@suse.de>
38748
38749         [BZ #13739]
38750         * manual/Makefile: Remove make dist support, there's no
38751         need for a stand-alone documentation tar ball.
38752         (TEXI2DVI): Define always, it's not in Makeconfig.
38753         (dist): Removed.
38754         (tar-it): Removed.
38755         (edition): Removed.
38756         (glibc-doc-$(edition).tar): Removed
38757         (%.Z): Removed.
38758         (%.gz): Removed.
38759         (%.uu): Removed.
38760         (ETAGS): Remove, it's in Makeconfig.
38761         (move-if-change): Remove, it's in Makeconfig.
38762
38763 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38764
38765         [BZ #13970]
38766         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38767         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38768         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38769         (strtod_l, strtof_l, strtold_l): Remove __wur.
38770         It is not necessarily an error to ignore strtol's return value.
38771         One can reliably look at the stored endptr to decide whether
38772         the number had valid syntax.
38773
38774 2012-04-21  Andreas Jaeger  <aj@suse.de>
38775
38776         [BZ #13739]
38777         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38778
38779 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38780
38781         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38782         * sysdeps/unix/sysv/Versions: Remove file.
38783
38784 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38785
38786         [BZ #13927]
38787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38788
38789 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38790
38791         [BZ #7064]
38792         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38793         version from __vm86.
38794
38795 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38796
38797         * sysdeps/unix/common/lxstat.c: Remove file.
38798         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38799
38800         * sysdeps/unix/sysv/Makefile: Remove file.
38801
38802         * sysdeps/unix/sysv/direct.h: Remove file.
38803
38804         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38805         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38806         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38807         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38808         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38809         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38810         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38811
38812         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38813
38814         * sysdeps/unix/xmknod.c: Remove file.
38815         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38816
38817         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38818
38819         * sysdeps/unix/sysv/i386/time.S: Remove file.
38820
38821         * sysdeps/unix/fxstat.c: Remove file.
38822         * sysdeps/unix/xstat.c: Likewise.
38823         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38824
38825         * sysdeps/unix/sysv/sigaction.c: Remove file.
38826
38827         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38828         (sysdep_headers): Remove variable.
38829         [termio.h not in sysdep_headers] (generated): Likewise.
38830         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38831         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38832         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38833         * sysdeps/unix/sysv/tcflow.c: Likewise.
38834         * sysdeps/unix/sysv/tcflush.c: Likewise.
38835         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38836         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38837         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38838         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38839         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38840
38841         * sysdeps/unix/siglist.c: Remove file.
38842
38843         * sysdeps/unix/getppid.S: Remove file.
38844
38845         * sysdeps/unix/mkdir.c: Remove file.
38846         * sysdeps/unix/rmdir.c: Likewise.
38847
38848 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38849
38850         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38851         ERR_MAX value.
38852         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38853         errlist-compat value.
38854
38855 2012-04-18  David S. Miller  <davem@davemloft.net>
38856
38857         * sysdeps/generic/memcopy.h (reg_char): Delete.
38858         * debug/strcat_chk.c: Use char, not reg_char.
38859         * debug/strcpy_chk.c: Likewise.
38860         * debug/strncat_chk.c: Likewise.
38861         * debug/strncpy_chk.c: Likewise.
38862         * string/memchr.c: Likewise.
38863         * string/memrchr.c: Likewise.
38864         * string/rawmemchr.c: Likewise.
38865         * string/strcat.c: Likewise.
38866         * string/strchr.c: Likewise.
38867         * string/strchrnul.c: Likewise.
38868         * string/strcmp.c: Likewise.
38869         * string/strcpy.c: Likewise.
38870         * string/strncat.c: Likewise.
38871         * string/strncmp.c: Likewise.
38872         * string/strncpy.c: Likewise.
38873
38874 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38875
38876         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38877         __builtin_memcopy is called when src and dest ranges are known to not
38878         overlap.
38879
38880 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38881
38882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38883         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38884         fwd_align_merge macro call.
38885         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38886         bwd_align_merge macro call.
38887         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38888
38889 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38890
38891         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38892         bwd_align_merge macros.
38893         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38894         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38895         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38896
38897 2012-04-18  David S. Miller  <davem@davemloft.net>
38898
38899         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38900
38901 2012-04-18  Andreas Jaeger  <aj@suse.de>
38902
38903         [BZ# 6794]
38904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38905         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38906         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38907
38908         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38909         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38910         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38911
38912         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38913         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38914         Adjust for changed ldbl-128 files.
38915
38916         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38917         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38919
38920 2012-04-17  David S. Miller  <davem@davemloft.net>
38921
38922         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38923
38924 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38925
38926         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38927         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38928         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38929         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38930         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38931         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38932
38933 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38934
38935         [BZ #6794]
38936         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38937         * math/libm-test.inc: Add ilogb errno and exception tests.
38938         * math/w_ilogb.c: New file: ilogb wrapper.
38939         * math/w_ilogbf.c: New file: ilogbf wrapper.
38940         * math/w_ilogbl.c: New file: ilogbl wrapper.
38941         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38942         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38943         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38944         exception being thrown with 0.0 as argument.
38945         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38946         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38947         exception being thrown with 0.0 as argument.
38948         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38949         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38950         exception being thrown with 0.0 as argument.
38951         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38952         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38953         exception being thrown with 0.0 as argument.
38954         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38955         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38956         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38957         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38958         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38959         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38960         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38961         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38962         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38963
38964 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38965
38966         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38967         with altivec.
38968
38969 2012-04-16  Marek Polacek  <polacek@redhat.com>
38970
38971         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38972
38973 2012-04-16  Marek Polacek  <polacek@redhat.com>
38974
38975         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38976         operands of fdivp instruction.
38977
38978 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38979
38980         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38981         * elf/tst-auditmod3b.c: Likewise.
38982         * elf/tst-auditmod4b.c: Likewise.
38983         * elf/tst-auditmod5b.c: Likewise.
38984         * elf/tst-auditmod6b.c: Likewise.
38985         * elf/tst-auditmod6c.c: Likewise.
38986         * elf/tst-auditmod7b.c: Likewise.
38987         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38988         * sysdeps/x86_64/preconfigure.in: Likewise.
38989         * sysdeps/x86_64/preconfigure: Regenerated.
38990
38991 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38992
38993         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38994         __ILP32__.
38995
38996 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38997
38998         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38999         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39000
39001 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39002
39003         [BZ #13973]
39004         * locale/iso-639.def: Fix gl language name. Spotted by
39005         Yaron Shahrabani.
39006
39007 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39008
39009         [BZ #2074]
39010         * libio/libio.h (__io_write_fn): Update comment.
39011
39012 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39013
39014         [BZ #2074]
39015         * stdio.texi (Hook Functions): The user provided writer function
39016         is not allowed to return -1.
39017
39018 2012-04-11  David S. Miller  <davem@davemloft.net>
39019
39020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39021
39022 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39023
39024         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39025         Add a leading slash to rtkaio.
39026
39027 2012-04-11  Jim Meyering  <meyering@redhat.com>
39028
39029         [BZ #11959]
39030         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39031         It is not necessarily an error to ignore fwrite's return
39032         value.  One can reliably use ferror to test for errors after
39033         the fact.
39034
39035 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39036
39037         * bits/types.h (__snseconds_t): New type.
39038         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39039
39040         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39042         (__SNSECONDS_T_TYPE): Likewise.
39043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39044         (__SNSECONDS_T_TYPE): Likewise.
39045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39046         (__SNSECONDS_T_TYPE): Likewise.
39047
39048 2012-04-10  Andreas Jaeger  <aj@suse.de>
39049
39050         [BZ #2636]
39051         * manual/time.texi (Processor Time): Return type of times is
39052         elapsed real time since an arbitrary point in the past.
39053         (CPU Time): Move CLK_TCK from here...
39054         (Processor Time): ...to here.  Correct description.
39055         * manual/conf.texi (Constants for Sysconf): Correct description of
39056         _SC_CLK_TCK.
39057
39058 2012-04-10  David S. Miller  <davem@davemloft.net>
39059
39060         [BZ #13967]
39061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39062         where the is a gap between DT_REL(A) and DT_JMPREL.
39063
39064 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39065
39066         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39067         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39068         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39069
39070 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39071
39072         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39073         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39074         (dl_main): Handle --inhibit-cache.
39075         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39076         _dl_inhibit_cache.
39077         * elf/dl-load.c (_dl_map_object): Use it.
39078         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39079
39080 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39081
39082         [BZ #13872]
39083         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39084         (__ieee754_powl): Saturate large exponents rather than testing for
39085         overflow of y*log2(x).
39086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39087         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39088         exceptions.
39089
39090         [BZ #11521]
39091         * math/s_ctan.c: Include <float.h>.
39092         (__ctan): Avoid internal overflow or cancellation in calculating
39093         denominator.
39094         * math/s_ctanf.c: Likewise.
39095         * math/s_ctanl.c: Likewise.
39096         * math/s_ctanh.c: Likewise.
39097         * math/s_ctanhf.c: Likewise.
39098         * math/s_ctanhl.c: Likewise.
39099         * math/libm-test.inc (ctan_test): Add more tests.
39100         (ctanh_test): Likewise.
39101         * sysdeps/i386/fpu/libm-test-ulps: Update.
39102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39103
39104 2012-04-09  Andreas Jaeger  <aj@suse.de>
39105
39106         [BZ #6894]
39107         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39108         is an optional BSD extension.
39109
39110         [BZ #10254]
39111         * manual/stdio.texi (Opening Streams): Document additional fopen
39112         parameters.
39113
39114 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39115
39116         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39117         %eax without telling the compiler.
39118
39119 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39120
39121         [BZ # 13963]
39122         * manual/install.texi: Use sourceware.org.
39123
39124 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39125
39126         [BZ #13873]
39127         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39128         (__ieee754_pow): Generate overflow and underflow using huge*huge
39129         and tiny*tiny rather than just returning constant infinity or zero
39130         for large exponents.
39131         * math/libm-test.inc (pow_test): Require overflow exceptions for
39132         applicable cases of large exponents.
39133
39134         [BZ #706]
39135         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39136         (__ieee754_pow): Use iterative multiplication algorithm only for
39137         integer exponents with absolute value below 1024.  Check for odd
39138         integer exponents when using algorithm for real exponents.
39139         * math/libm-test.inc (pow_test): Add more tests.
39140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39141
39142 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39143
39144         [BZ #13705]
39145         * math/libm-test.inc (exp_test): Do not allow overflow exception
39146         on underflow test.
39147
39148 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39149
39150         [BZ #13705]
39151         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39152         instead of __kernel_standard_f.
39153
39154 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39155
39156         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39157         * sysdeps/x86_64/memset_chk.S: Likewise.
39158
39159 2012-04-08  Andreas Jaeger  <aj@suse.de>
39160
39161         [BZ #10153]
39162         * manual/startup.texi (Environment Access): Describe return value
39163         for putenv and setenv.
39164
39165         [BZ #6895]
39166         * manual/filesys.texi (Directory Entries): Add description for
39167         DT_LNK.
39168
39169         [BZ #6890]
39170         * manual/filesys.texi (Directory Entries): Clarify that it's file
39171         system not operating system in the description of DT_UNKNOWN.
39172
39173         [BZ #6578]
39174         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39175
39176 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39177
39178         [BZ #6649]
39179         * manual/llio.texi (Opening and Closing Files): Add cross
39180         reference to explain mode argument.
39181
39182 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39183
39184         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39185         * sysdeps/x86_64/memset_chk.S: Likewise.
39186
39187 2012-04-07  David S. Miller  <davem@davemloft.net>
39188
39189         * elf/elf.h (R_SPARC_WDISP10): Define.
39190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39191         R_SPARC_SIZE32.
39192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39193         R_SPARC_SIZE64 and R_SPARC_H34.
39194
39195 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39196
39197         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39198         conditions and remove no longer applicable assertion.
39199
39200 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39201
39202         * bits/byteswap.h: Include <features.h>.
39203         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39204         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39205
39206 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39207
39208         * bits/byteswap.h (__bswap_16): Removed.
39209         Include <bits/byteswap-16.h> to get __bswap_16.
39210         * sysdeps/i386/bits/byteswap.h: Likewise.
39211         * sysdeps/s390/bits/byteswap.h: Likewise.
39212         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39213         * bits/byteswap-16.h: New file.
39214         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39215         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39216         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39217         * string/Makefile (headers): Add bits/byteswap-16.h.
39218
39219 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39220
39221         [BZ #13895]
39222         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39223         extra indirection.
39224         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39225         * nss/tst-nss-static.c: New.
39226
39227 2012-04-06  Robert Millan  <rmh@gnu.org>
39228
39229         [BZ #6486]
39230         * manual/llio.texi (File Position Primitive): lseek
39231         refers to WHENCE when it really means OFFSET.
39232
39233 2012-04-06  Andreas Jaeger  <aj@suse.de>
39234
39235         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39236         strncmp declarations.
39237
39238         * abilist/libc.abilist: Add __poll and __ppoll.
39239
39240 2012-04-05  David S. Miller  <davem@davemloft.net>
39241
39242         * scripts/check-local-headers.sh: Accept a host triplet in the
39243         path matched by the exclude regexp.
39244
39245         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39246         definition.
39247         * sysdeps/powerpc/powerpc32/dl-machine.h
39248         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39249         * sysdeps/s390/s390-32/dl-machine.h
39250         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39251         * sysdeps/sparc/sparc32/dl-machine.h
39252         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39253         * sysdeps/sparc/sparc64/dl-machine.h
39254         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39255
39256         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39257         lazy binding.
39258         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39259         undefined symbol errors.
39260
39261         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39262         DT_NEEDED entries.
39263
39264 2012-04-05  Michael Matz  <matz@suse.de>
39265
39266         [BZ #13592]
39267         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39268
39269 2012-04-05  Andreas Jaeger  <aj@suse.de>
39270
39271         [BZ #13908]
39272         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39273         comment.
39274
39275 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39276
39277         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39278         which ROUND is no valid rounding mode.
39279
39280 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39281
39282         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39283         read again.
39284         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39285
39286 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39287
39288         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39289         an exception using FPU order intentionally.
39290
39291 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39292
39293         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39294         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39295         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39296         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39297
39298 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39299
39300         [BZ #12340]
39301         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39302         EINVAL when BUFLEN is too smal.
39303
39304 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39305
39306         [BZ #13553]
39307         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39308         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39309
39310 2012-04-03  Andreas Jaeger  <aj@suse.de>
39311
39312         [BZ #13938]
39313         * manual/setjmp.texi (System V contexts): Fix sentence.
39314
39315         [BZ #13926]
39316         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39317         New macro for this case.
39318         [!__GNUC__] (__bswap_64): New inline function for this case.
39319         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39320         * bits/byteswap.h: Likewise.
39321         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39322         ull, guard with __GLIBC_HAVE_LONG_LONG.
39323
39324         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39325         __GLIBC_HAVE_LONG_LONG.
39326
39327         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39328         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39329
39330 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39331
39332         [BZ #13691]
39333         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39334         inptr and inend, rather than using last_ch.
39335
39336 2012-04-02  David S. Miller  <davem@davemloft.net>
39337
39338         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39339         * stdio-common/printf-parse.h (read_int): Change return type to
39340         'int', return -1 on INT_MAX overflow.
39341         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39342         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39343         overflows INT_MAX.  Check for overflow of in-format-string precision
39344         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39345         SIZE_MAX not INT_MAX for integer overflow test.
39346         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39347         skip the construct in the format string but do not record anything.
39348         * stdio-common/bug22.c: Adjust to test both width/prevision
39349         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39350         explicitly for proper errno values.
39351
39352 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39353
39354         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39355         CHAR_MAX.
39356         * string/test-strcmp.c [! WIDE]: Likewise.
39357         * time/tst-mktime2.c: Likewise for INT_MAX.
39358         * string/test-string.h: #include <sys/param.h> for MIN.
39359
39360         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39361         * sysdeps/i386/init-first.c (init): Likewise.
39362         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39363         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39364         * sysdeps/sh/init-first.c (init): Likewise.
39365
39366 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39367
39368         * po/ru.po: Update from translation team.
39369         * po/vi.po: Likewise.
39370
39371 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39372
39373         * resolv/nss_dns/dns-host.c: Merge copyright years.
39374
39375 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39376
39377         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39378         Optimize memcpy with prefetch if
39379         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39380         src, dst pointers have unequal 16 byte alignments.
39381
39382 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39383
39384         [BZ #13928]
39385         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39386         from a CNAME entry and return the minimum ttl for the query.
39387         (gaih_getanswer_slice): Likewise.
39388
39389 2012-03-30  Jeff Law  <law@redhat.com>
39390
39391         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39392         due to long keys.
39393         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39394         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39395
39396         * resolv/nss_dns/dns-host.c: Update copyright year.
39397
39398 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39399
39400         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39401         requests to save a system call.  Fix check that all bytes are sent.
39402
39403         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39404         comments for sendmmsg.
39405
39406 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39407
39408         [BZ #13691]
39409         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39410         with only 1 character between 0x0041 and 0x01b0.
39411         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39412         * wcsmbs/tst-mbsnrtowcs.c: New file.
39413
39414 2012-03-29  David S. Miller  <davem@davemloft.net>
39415
39416         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39417         small copies by hand.
39418
39419 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39420
39421         [BZ #13761]
39422         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39423         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39424         group memberships.
39425
39426 2012-03-28  David S. Miller  <davem@davemloft.net>
39427
39428         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39429         that branches into memcpy.
39430         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39431         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39432         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39433         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39435         bits.
39436         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39437         implementation too.
39438         * sysdeps/sparc/mempcpy.S: New file.
39439
39440         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39441         the IFUNC routine in the libc case.
39442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39443
39444         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39445         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39446         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39447         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39448         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39449         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39450         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39451         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39452
39453         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39454         loop to 256 bytes instead of 64 bytes and fix test signedness.
39455
39456         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39457         * sysdeps/sparc/sparc32/Makefile: rather than here...
39458         * sysdeps/sparc/sparc64/Makefile: and here.
39459
39460 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39461
39462         * malloc/mallocbug.c: Avoid warnings about unused variables.
39463
39464 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39465
39466         [BZ #13760]
39467         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39468         in the right place. Discard and retry query if response is
39469         larger than input buffer size.
39470
39471 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39472
39473         [BZ #369]
39474         [BZ #2678]
39475         [BZ #3866]
39476         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39477         x for large integer exponent.
39478         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39479         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39480         sign of result as needed afterwards.
39481         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39482         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39483         result for underflowing pow the same as for overflow.
39484         (__kernel_standard_l): Handle powl overflow and underflow here
39485         rather than calling __kernel_standard.
39486         * math/libm-test.inc (pow_test): Add more tests.
39487
39488         [BZ #3868]
39489         [BZ #13879]
39490         [BZ #13910]
39491         [BZ #13911]
39492         [BZ #13912]
39493         [BZ #13913]
39494         [BZ #13915]
39495         [BZ #13916]
39496         [BZ #13917]
39497         [BZ #13918]
39498         [BZ #13919]
39499         [BZ #13920]
39500         [BZ #13921]
39501         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39502         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39503         (__kernel_standard_l): New function.
39504         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39505         __kernel_standard.
39506         * math/w_acosl.c (__acosl): Likewise.
39507         * math/w_asinl.c (__asinl): Likewise.
39508         * math/w_atan2l.c (__atan2l): Likewise.
39509         * math/w_atanhl.c (__atanhl): Likewise.
39510         * math/w_coshl.c (__coshl): Likewise.
39511         * math/w_exp10l.c (__exp10l): Likewise.
39512         * math/w_exp2l.c (__exp2l): Likewise.
39513         * math/w_fmodl.c (__fmodl): Likewise.
39514         * math/w_hypotl.c (__hypotl): Likewise.
39515         * math/w_j0l.c (__j0l, __y0l): Likewise.
39516         * math/w_j1l.c (__j1l, __y1l): Likewise.
39517         * math/w_jnl.c (__jnl, __ynl): Likewise.
39518         * math/w_lgammal.c (__lgammal): Likewise.
39519         * math/w_log10l.c (__log10l): Likewise.
39520         * math/w_log2l.c (__log2l): Likewise.
39521         * math/w_logl.c (__logl): Likewise.
39522         * math/w_powl.c (__powl): Likewise.
39523         * math/w_remainderl.c (__remainderl): Likewise.
39524         * math/w_scalbl.c (sysv_scalbl): Likewise.
39525         * math/w_sinhl.c (__sinhl): Likewise.
39526         * math/w_sqrtl.c (__sqrtl): Likewise.
39527         * math/w_tgammal.c (__tgammal): Likewise.
39528         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39529         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39530         * math/libm-test.inc (acos_test): Add more tests.
39531         (acosh_test): Likewise.
39532         (asin_test): Likewise.
39533         (atanh_test): Likewise.
39534         (exp_test): Likewise.
39535         (exp10_test): Likewise.
39536         (exp2_test): Likewise.
39537         (expm1_test): Likewise.
39538         (lgamma_test): Likewise.
39539         (log_test): Likewise.
39540         (log10_test): Likewise.
39541         (log1p_test): Likewise.
39542         (log2_test): Likewise.
39543         (pow_test): Do not allow some spurious overflow exceptions.
39544         (sqrt_test): Add more tests.
39545         (tgamma_test): Likewise.
39546         (y0_test): Likewise.
39547         (y1_test): Likewise.
39548         (yn_test): Likewise.
39549
39550 2012-03-27  Anton Blanchard  <anton@samba.org>
39551
39552         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39553         MAP_HUGETLB.
39554         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39556         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39557
39558 2012-03-27  David S. Miller  <davem@davemloft.net>
39559
39560         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39561
39562         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39563         have-as-vis3 check.
39564
39565 2012-03-27  Andreas Jaeger  <aj@suse.de>
39566
39567         * sysdeps/x86_64/elf/configure.in: Moved to ...
39568         * sysdeps/x86_64/configure.in: ... here.
39569         * sysdeps/x86_64/elf/start.S: Moved to ...
39570         * sysdeps/x86_64/start.S: ... here.
39571         * sysdeps/x86_64/elf/configure: Delete.
39572
39573         * sysdeps/x86_64/configure.in: Merge contents from
39574         sysdeps/i386/configure.in (without i686 check).
39575
39576         * sysdeps/i386/elf/Versions: Merge into ...
39577         * sysdeps/i386/Versions: ... this.
39578         * sysdeps/i386/elf/Versions: Delete file.
39579         * sysdeps/i386/elf/start.S: Moved to ...
39580         * sysdeps/i386/start.S: ...here.
39581         * sysdeps/i386/elf/configure.in: Merge into...
39582         * sysdeps/i386/configure.in: ...here.
39583         * sysdeps/i386/elf/configure.in: Delete file.
39584         * sysdeps/i386/elf/configure: Delete file.
39585
39586         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39587         * debug/backtracesyms.c: ... here.
39588         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39589         * debug/backtracesymsfd.c: ... here.
39590         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39591         * sysdeps/generic/ifunc-sel.h: ... here.
39592
39593         * sysdeps/unix/i386/start.c: Delete file.
39594         * sysdeps/unix/sparc/start.c: Delete file.
39595         * sysdeps/unix/start.c: Delete file.
39596
39597         * sysdeps/sh/elf/configure.in: Moved to ...
39598         * sysdeps/sh/configure.in: ... here.
39599         * sysdeps/sh/elf/start.S: Moved to ...
39600         * sysdeps/sh/start.S: ... here.
39601         * sysdeps/sh/elf/configure: Delete file.
39602
39603         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39604         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39605         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39606         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39607         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39608         * sysdeps/powerpc/powerpc64/start.S: here.
39609         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39610         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39611         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39612         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39613         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39614
39615         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39616         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39617         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39618         * sysdeps/powerpc/powerpc32/start.S: ... here.
39619         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39620         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39621         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39622
39623         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39624         * sysdeps/powerpc/ifunc-sel.h: ... here.
39625         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39626         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39627
39628         * sysdeps/sparc/elf/configure.in: Moved to ...
39629         * sysdeps/sparc/configure.in: ... here.
39630         * sysdeps/sparc/elf/configure: Delete file.
39631         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39632         * sysdeps/sparc/sparc32/start.S: ... here.
39633         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39634         * sysdeps/sparc/sparc64/start.S: ... here.
39635         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39636         * sysdeps/sparc/sparc32/Makefile: ... this.
39637         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39638         * sysdeps/sparc/sparc64/Makefile: ... this.
39639
39640         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39641         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39642         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39643         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39644         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39645         * sysdeps/s390/s390-32/setjmp.S: ... here.
39646         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39647         * sysdeps/s390/s390-32/configure.in: ... here.
39648         * sysdeps/s390/s390-32/elf/configure: Delete file.
39649         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39650         * sysdeps/s390/s390-32/start.S: ... here.
39651
39652         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39653         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39654         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39655         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39656         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39657         * sysdeps/s390/s390-64/setjmp.S: ... here.
39658         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39659         * sysdeps/s390/s390-64/configure.in: ... here
39660         * sysdeps/s390/s390-64/elf/configure: Delete file.
39661         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39662         * sysdeps/s390/s390-64/start.S: ... here.
39663         * sysdeps/s390/s390-64/elf/configure: Delete.
39664
39665         * configure.in: Remove support for elf directories in sysdeps.
39666
39667         * configure: Regenerated.
39668         * sysdeps/i386/configure: Regenerated.
39669         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39670         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39671         * sysdeps/s390/s390-32/configure: Regenerated.
39672         * sysdeps/s390/s390-64/configure: Regenerated.
39673         * sysdeps/sh/configure: Regenerated.
39674         * sysdeps/sparc/configure: Regenerated.
39675         * sysdeps/x86_64/configure: Regenerated.
39676
39677 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39678
39679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39680
39681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39682         denormal result into account.
39683
39684 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39685
39686         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39687         Reported by Allan McRae <allan@archlinux.org>.
39688
39689 2012-03-23  Jeff Law  <law@redhat.com>
39690
39691         * nss/getnssent.c (__nss_getent): Fix typo.
39692
39693 2012-03-23  David S. Miller  <davem@davemloft.net>
39694
39695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39696
39697 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39698
39699         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39700         to pad to uint64_t for each field.
39701         (dl_tls_index): Replace unsigned long with uint64_t.
39702
39703 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39704         Paul Pluzhnikov  <ppluzhnikov@google.com>
39705
39706         [BZ #6528]
39707         * grp/Makefile (otherlibs): Don't set it.
39708         * inet/Makefile (otherlibs): Likewise.
39709         * login/Makefile (otherlibs): Likewise.
39710         * nscd/Makefile (otherlibs): Likewise.
39711         * posix/Makefile (otherlibs): Likewise.
39712         * pwd/Makefile (otherlibs): Likewise.
39713         * rt/Makefile (otherlibs): Likewise.
39714         * sunrpc/Makefile (otherlibs): Likewise.
39715         * nss/Makefile (otherlibs): Likewise.
39716         Add libnss_files to routines and static-only-routines.
39717         ($(objpfx)getent): Remove rule.
39718         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39719         static-only-routines.
39720
39721 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39722
39723         [BZ #13892]
39724         * math/s_cexp.c: Include <float.h>.
39725         (__cexp): Handle exp result overflowing not necessarily
39726         overflowing both real and imaginary parts of result.
39727         * math/s_cexpf.c: Likewise.
39728         * math/s_cexpl.c: Likewise.
39729         * math/libm-test.inc (cexp_test): Add more tests.
39730         * sysdeps/i386/fpu/libm-test-ulps: Update.
39731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39732
39733 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * include/link.h (ELFW): New macro.
39736         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39737         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39738
39739 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39740
39741         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39742         with uint64_t.
39743
39744 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39745
39746         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39747         declaration.
39748         (struct La_x32_retval): Likewise.
39749
39750 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39751
39752         * sysdeps/x86_64/preconfigure.in: New file.
39753         * sysdeps/x86_64/preconfigure: New generated file.
39754
39755 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39756
39757         [BZ #13824]
39758         * math/e_exp2l.c: Include <float.h>.
39759         (__ieee754_exp2l): Handle overflow and underflow cases
39760         separately.  Only pass fractional part of argument to
39761         __ieee754_expl.
39762         * math/libm-test.inc (exp2_test): Add more tests.
39763
39764         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39765         negating x to take absolute value.
39766         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39767         Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39769         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39770         Likewise.
39771         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39772         computing low part if x was negated.
39773         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39774
39775 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39776
39777         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39778         la_x32_gnu_pltexit.
39779         (pltexit): Cast int_retval to ptrdiff_t.
39780         * elf/tst-auditmod3b.c: Likewise.
39781         * elf/tst-auditmod4b.c: Likewise.
39782         * elf/tst-auditmod5b.c: Likewise.
39783         * elf/tst-auditmod6b.c: Likewise.
39784         * elf/tst-auditmod6c.c: Likewise.
39785         * elf/tst-auditmod7b.c: Likewise.
39786
39787         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39788         and x32_gnu_pltexit.
39789
39790         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39791         __ELF_NATIVE_CLASS.
39792         (La_x32_regs): New macro.
39793         (La_x32_retval): Likewise.
39794         (la_x32_gnu_pltenter): New function prototype.
39795         (la_x32_gnu_pltexit): Likewise.
39796
39797 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39798
39799         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39800         exponent.
39801
39802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39803
39804         * configure.in (libc_cv_cc_nofma): Check for option to disable
39805         generation of FMA instructions.
39806         * configure: Regenerate.
39807         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39808         * sysdeps/ieee754/dbl-64/Makefile: New file.
39809         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39810         Remove brandred-fma4.
39811         (CFLAGS-brandred-fma4.c): Remove.
39812         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39813         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39814         define.
39815         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39816         define.
39817
39818 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39819
39820         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39821         LLONG_MAX != LONG_MAX.
39822         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39823         (_fitoa_word): Likewise.
39824         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39825         LLONG_MAX != LONG_MAX.
39826         * stdio-common/_itowa.h: Include <_itoa.h>.
39827         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39828         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39829         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39830         only if not defined.
39831         (_ITOA_WORD_TYPE): Likewise.
39832         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39833         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39834
39835 2012-03-21  David S. Miller  <davem@davemloft.net>
39836
39837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39838
39839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39840
39841         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39842         of x86_64 when setting libc_cv_slibdir, libdir and
39843         libc_cv_localedir.
39844         * sysdeps/unix/sysv/linux/configure: Regenerated.
39845
39846 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39847
39848         * manual/lang.texi (Old Varargs): Remove section.
39849         (How Variadic): Update menu.
39850         (va_start): Do not mention varargs.h.
39851
39852 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39853             Joseph Myers  <joseph@codesourcery.com>
39854
39855         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39856         link test.
39857         * configure: Regenerated.
39858
39859 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39860
39861         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39862         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39863         conformtest.pl
39864
39865 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39866
39867         * NOTES: Remove.
39868         * Makefile (files-for-dist): Remove NOTES.
39869         (NOTES): Remove rule.
39870         * README: Don't refer to NOTES.
39871         * manual/creature.texi: Don't include macros.texi.
39872         * manual/intro.texi (creature.texi): Remove comment referring to
39873         NOTES.
39874
39875         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39876         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39877         * configure: Regenerated.
39878         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39879         LIBC_TRY_CC_OPTION.
39880         (libc_cv_as_i686): Likewise.
39881         (libc_cv_cc_avx): Likewise.
39882         (libc_cv_cc_sse2avx): Likewise.
39883         (libc_cv_cc_fma4): Likewise.
39884         (libc_cv_cc_novzeroupper): Likewise.
39885         * sysdeps/i386/configure: Regenerated.
39886
39887         [BZ #13883]
39888         * sysdeps/i386/fpu/s_cexp.S: Remove.
39889         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39890         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39891         * math/libm-test.inc (cexp_test): Add more tests.
39892         * sysdeps/i386/fpu/libm-test-ulps: Update.
39893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39894
39895 2012-03-21  Allan McRae  <allan@archlinux.org>
39896
39897         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39898
39899 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39900
39901         [BZ #13871]
39902         * math/w_exp2.c: Do not include <float.h>.
39903         (o_threshold, u_threshold): Remove.
39904         (__exp2): Calculate result before checking finiteness and calling
39905         __kernel_standard.
39906         * math/w_exp2f.c: Likewise.
39907         * math/w_exp2l.c: Likewise.
39908         * math/libm-test.inc (exp2_test): Require overflow exception for
39909         1e6 input.
39910
39911         [BZ #3866]
39912         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39913         range of signed 64-bit integers before using fistpll.  Remove
39914         checks for whether integers fit in mantissa bits.
39915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39916         the range of signed 32-bit integers before using fistpl.  Remove
39917         checks for whether integers fit in mantissa bits.
39918         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39919         (__ieee754_powl): Test for y outside the range of signed 64-bit
39920         integers before using fistpll.  Reduce 64-bit values to 63-bit
39921         ones as needed.
39922         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39923         divide-by-zero is raised for zero to large negative powers.
39924         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39925         (__ieee754_powl): Test for y outside the range of signed 64-bit
39926         integers before using fistpll.  Reduce 64-bit values to 63-bit
39927         ones as needed.
39928         * math/libm-test.inc (pow_test): Add more tests.
39929
39930 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39931
39932         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39933         <stdio-common/_itoa.h>.
39934         * debug/segfault.c: Likewise.
39935         * elf/dl-cache.c: Likewise.
39936         * elf/dl-minimal.c: Likewise.
39937         * elf/dl-misc.c: Likewise.
39938         * elf/dl-sysdep.c: Likewise.
39939         * elf/dl-version.c: Likewise.
39940         * elf/rtld.c: Likewise.
39941         * hurd/hurdsock.c: Likewise.
39942         * hurd/lookup-retry.c: Likewise.
39943         * malloc/malloc.c: Likewise.
39944         * malloc/mtrace.c: Likewise.
39945         * nscd/nscd_getgr_r.c: Likewise.
39946         * nscd/nscd_getpw_r.c: Likewise.
39947         * nscd/nscd_getserv_r.c: Likewise.
39948         * posix/getopt_init.c: Likewise.
39949         * posix/wordexp.c: Likewise.
39950         * stdio-common/_itoa.c: Likewise.
39951         * stdio-common/printf_fphex.c: Likewise.
39952         * stdio-common/vfprintf.c: Likewise.
39953         * string/_strerror.c: Likewise.
39954         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39955         * sysdeps/i386/i686/hp-timing.h: Likewise.
39956         * sysdeps/mach/_strerror.c: Likewise.
39957         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39958         * sysdeps/mach/hurd/sethostid.c: Likewise.
39959         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39960         * sysdeps/mach/xpg-strerror.c: Likewise.
39961         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39963         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39964         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39965         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39966         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39967         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39968         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39969         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39970         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39971         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39972         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39973         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39974         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39975         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39976         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39977         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39978         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39979         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39980         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39981         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39982
39983         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39984
39985         * stdio-common/_itoa.h: Moved to ...
39986         * sysdeps/generic/_itoa.h: Here.
39987
39988         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39989
39990         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39991         instead of "_itoa.h" and "_itowa.h".
39992         * stdio-common/vfprintf.: Likewise.
39993
39994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39995
39996         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39997         <bits/wordsize.h>.
39998         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39999         (__signbit): Likwise.
40000         (llrintf): Likwise.
40001         (llrint): Likwise.
40002
40003 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40004
40005         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40006         __WORDSIZE != 64.
40007
40008 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40009
40010         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40011         OVERFLOW_EXCEPTION_OK.
40012         * math/libm-test.inc ("Philosophy"): Update comment about
40013         exception testing.
40014         (OVERFLOW_EXCEPTION): Define.
40015         (OVERFLOW_EXCEPTION_OK): Likewise.
40016         (INVALID_EXCEPTION_OK): Renumber.
40017         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40018         (IGNORE_ZERO_INF_SIGN): Likewise.
40019         (test_exceptions): Handle FE_OVERFLOW.
40020         (exp10_test): Expect overflow exceptions.
40021         (exp2_test): Likewise.
40022         (expm1_test): Likewise.
40023         (nextafter_test): Likewise.
40024         (pow_test): Likewise.
40025         (scalbn_test): Likewise.
40026         (scalbln_test): Likewise.
40027
40028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40029
40030         * sysdeps/x86_64/bits/atomic.h
40031         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40032         64bit integer.
40033         (atomic_exchange_acq): Likewise.
40034         (__arch_exchange_and_add_body): Likewise.
40035         (__arch_add_body): Likewise.
40036         (atomic_add_negative): Likewise.
40037         (atomic_add_zero): Likewise.
40038
40039 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40040
40041         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40042         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40043
40044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40045
40046         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40047         Check __x86_64__ instead of __WORDSIZE.
40048
40049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40050
40051         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40052
40053 2012-03-19  David S. Miller  <davem@davemloft.net>
40054
40055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40056
40057         * sysdeps/sparc/fpu/fenv_private.h: New file.
40058         * sysdeps/sparc/fpu/math_private.h: Use it.
40059         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40060         Remove.
40061         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40062         (libc_feholdexcept_setroundl): Remove.
40063         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40064         Remove.
40065         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40066         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40067
40068 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40069
40070         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40071         int64_t instead of long int.
40072         (INSERT_WORDS64): Likwise.
40073
40074 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40075
40076         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40077         _Unwind_GetCFA return to _Unwind_Ptr first.
40078
40079 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40080
40081         [BZ #13629]
40082         * math/s_clog.c: Include <float.h>.
40083         (__clog): Scale large or subnormal inputs.
40084         * math/s_clogf.c: Likewise.
40085         * math/s_clogl.c: Likewise.
40086         * math/s_clog10.c: Include <float.h>.
40087         (M_LOG10_2): Define.
40088         (__clog10): Scale large or subnormal inputs.
40089         * math/s_clog10f.c: Likewise.
40090         * math/s_clog10l.c: Likewise.
40091         * math/libm-test.inc (clog_test): Add more tests.
40092         (clog10_test): Likewise.
40093         * sysdeps/i386/fpu/libm-test-ulps: Update.
40094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40095
40096         [BZ #11451]
40097         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40098         x and y.
40099         * math/libm-test.inc (atan2_test): Add another test.
40100
40101         * Makerules (common-objdir-compile): Remove.
40102         * sysdeps/unix/Makefile (config-generated): Do not add
40103         $(unix-generated) to variable.
40104         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40105         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40106         Remove rule.
40107         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40108         Likewise.
40109         [generic bits/local_lim.h] (before-compile): Do not append to
40110         variable.
40111         [generic bits/local_lim.h] (common-generated): Likewise.
40112         [generic sys/param.h] (before-compile): Do not append to variable.
40113         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40114         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40115         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40116         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40117         include.
40118         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40119         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40120         [generic sys/param.h] ($(addprefix
40121         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40122         [generic sys/param.h] (common-generated): Do not append to
40123         variable.
40124         [generic sys/param.h] (sysdep_headers): Likewise.
40125         [generic bits/errno.h] (before-compile): Do not append to
40126         variable.
40127         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40128         rule.
40129         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40130         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40131         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40132         [generic bits/errno.h] (common-generated): Do not append to
40133         variable.
40134         [generic bits/ioctls.h] (before-compile): Do not append to
40135         variable.
40136         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40137         rule.
40138         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40139         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40140         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40141         rule.
40142         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40143         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40144         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40145         [generic bits/ioctls.h] (common-generated): Do not append to
40146         variable.
40147         [generic sys/syscall.h] (syscall.h): Remove variable.
40148         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40149         rule.
40150         [generic sys/syscall.h] (before-compile): Do not append to
40151         variable.
40152         [generic sys/syscall.h] (common-generated): Likewise.
40153         * sysdeps/unix/errnos-tmpl.c: Remove file.
40154         * sysdeps/unix/errnos.awk: Likewise.
40155         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40156         * sysdeps/unix/ioctls.awk: Likewise.
40157         * sysdeps/unix/mk-local_lim.c: Likewise.
40158         * sysdeps/unix/snarf-ioctls: Likewise.
40159
40160 2012-03-19  Richard Henderson  <rth@twiddle.net>
40161
40162         * sysdeps/i386/fpu/fenv_private.h: New file.
40163         * sysdeps/i386/fpu/math_private.h: Use it.
40164         (math_opt_barrier, math_force_eval): Remove.
40165         (libc_feholdexcept_setround_53bit): Remove.
40166         (libc_feupdateenv_53bit): Remove.
40167         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40168         (math_opt_barrier, math_force_eval): Remove.
40169         (libc_feholdexcept): Remove.
40170         (libc_feholdexcept_setround): Remove.
40171         (libc_fetestexcept, libc_fesetenv): Remove.
40172         (libc_feupdateenv_test): Remove.
40173         (libc_feupdateenv, libc_feholdsetround): Remove.
40174         (libc_feresetround): Remove.
40175
40176         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40177         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40178
40179         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40180         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40181         (libc_feupdateenv_testl): New.
40182         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40183         (libc_feupdateenv_testf): New.
40184         (libc_feupdateenv): Use libc_feupdateenv_test.
40185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40186         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40187
40188         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40189         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40190         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40191         (libc_feresetround_noex): New.
40192         (libc_feresetround_noexf): New.
40193         (libc_feresetround_noexl): New.
40194         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40195         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40196         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40197         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40198         SET_RESTORE_ROUND.
40199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40201         (__cos): Likewise.
40202         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40203         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40204         SET_RESTORE_ROUND_NOEX.
40205         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40206         SET_RESTORE_ROUND_NOEXF.
40207         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40208         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40209         (libc_feholdsetroundf): New.
40210         (libc_feresetround, libc_feresetroundf): New.
40211
40212         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40213         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40214         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40215
40216         * sysdeps/generic/math_private.h: Include <fenv.h>.
40217         (default_libc_feholdexcept): New.
40218         (default_libc_feholdexcept_setround): New.
40219         (default_libc_fesetenv, default_libc_feupdateenv): New.
40220         (libc_feholdexcept): Only define if undefined.
40221         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40222         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40223         (libc_feholdexcept_setroundl): Likewise.
40224         (libc_feholdexcept_setround_53bit): Likewise.
40225         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40226         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40227         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40228         (libc_feupdateenv_53bit): Likewise.
40229         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40230         (libc_feholdexcept): Convert from macro to inline function.
40231         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40232         (libc_fesetenv, libc_feupdateenv): Likewise.
40233
40234         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40235         not previously defined.
40236         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40237         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40238         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40239         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40240         * sysdeps/ieee754/flt-32/math_private.h: New file.
40241         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40242         math_private.h below SET_FLOAT_WORD.
40243         (__isnan, __isinf_ns, __finite): Remove.
40244         (__isnanf, __isinf_nsf, __finitef): Remove.
40245
40246 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40247
40248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40249
40250 2012-03-17  David S. Miller  <davem@davemloft.net>
40251
40252         [BZ #6471]
40253         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40254         for 2.16.
40255
40256 2012-03-16  David S. Miller  <davem@davemloft.net>
40257
40258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40259         warnings.
40260
40261         [BZ #6471]
40262         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40263         properly.
40264         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40265         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40266         sysdep_routines when subdir is sysvipc.
40267         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40268         __getshmlba helper.
40269
40270         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40271
40272 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40273
40274         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40275         [__LP64__].
40276
40277 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40278
40279         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40280         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40281         (__lround): Renamed to ...
40282         (__llround): This.  Replace long int with long long int.
40283         Define lround functions as aliases of llround functions.
40284         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40285
40286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40287
40288         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40289         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40290         adresses to uintptr_t.  Replace "long int" and "unsigned long
40291         int" with "greg_t" on va_arg.
40292
40293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40294
40295         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40296         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40297
40298         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40299         Move e_machine check before EI_CLASS check.  Handle x32
40300         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40301         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40302         SKIP_EM_IA_64 and include
40303         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40304
40305         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40306         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40307         (add_system_dir): New macro.
40308
40309         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40310         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40311
40312 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40313
40314         [BZ #2551]
40315         [BZ #2552]
40316         [BZ #2553]
40317         [BZ #2554]
40318         [BZ #2562]
40319         [BZ #2563]
40320         [BZ #2565]
40321         [BZ #2566]
40322         [BZ #2576]
40323         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40324         (y0): Likewise.
40325         * math/w_j0f.c (j0f): Likewise.
40326         (y0f): Likewise.
40327         * math/w_j0l.c (__j0l): Likewise.
40328         (__y0l): Likewise.
40329         * math/w_j1.c (j1): Likewise.
40330         (y1): Likewise.
40331         * math/w_j1f.c (j1f): Likewise.
40332         (y1f): Likewise.
40333         * math/w_j1l.c (__j1l): Likewise.
40334         (__y1l): Likewise.
40335         * math/w_jn.c (jn): Likewise.
40336         (yn): Likewise.
40337         * math/w_jnf.c (jnf): Likewise.
40338         (ynf): Likewise.
40339         * math/w_jnl.c (__jnl): Likewise.
40340         (__ynl): Likewise.
40341         * math/libm-test.inc (j0_test): Add more tests.
40342         (j1_test): Likewise.
40343         (jn_test): Likewise.  Add trailing semicolon to existing test.
40344         (y0_test): Likewise.
40345         (y1_test): Likewise.
40346         * sysdeps/i386/fpu/libm-test-ulps: Update.
40347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40348
40349         [BZ #13851]
40350         [BZ #13854]
40351         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40352         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40353         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40354         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40355         (__tanl): Set errno for infinite argument.
40356         * sysdeps/i386/fpu/mptan.c: Remove.
40357         * sysdeps/i386/fpu/s_tan.S: Likewise.
40358         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40359         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40360         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40361         * math/libm-test.inc (tan_test): Add more tests and enable more
40362         tests for double and long double.
40363         * sysdeps/i386/fpu/libm-test-ulps: Update.
40364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40365
40366 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40367
40368         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40369         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40370
40371 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40372
40373         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40374         * configure.in: Use it for both main tree and add-ons.
40375         * configure: Regenerated.
40376
40377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40378
40379         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40380
40381 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40382
40383         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40384         in comment.
40385
40386         [BZ #13851]
40387         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40388         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40389         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40390         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40391         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40392         infinite argument.
40393         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40394         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40395         != 0 for prec == 2.
40396         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40397         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40398         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40399         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40400         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40401         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40402         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40403         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40404         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40405         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40406         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40407         * math/libm-test.inc (cos_test): Add more tests and enable more
40408         tests for long double.
40409         (sin_test): Likewise.
40410         (sincos_test): Likewise.
40411         * sysdeps/i386/fpu/libm-test-ulps: Update.
40412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40413
40414 2012-03-16  David S. Miller  <davem@davemloft.net>
40415
40416         * sysdeps/sparc/fpu/math_private.h: New file.
40417
40418 2012-03-15  David S. Miller  <davem@davemloft.net>
40419
40420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40421         file.
40422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40424         file.
40425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40430         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40431         sysdep routines.
40432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40433
40434         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40435         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40436
40437         * sysdeps/sparc/sparc-ifunc.h: New file.
40438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40439         sparc-ifunc.h
40440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40442         Likewise.
40443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40444         Likewise.
40445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40449         Likewise.
40450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40455         Likewise.
40456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40457         Likewise.
40458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40478         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40480         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40481         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40482
40483 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40484
40485         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40486         scaling.
40487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40488
40489 2012-03-15  Andreas Jaeger  <aj@suse.de>
40490
40491         [BZ #13852]
40492         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40493         ieee754/flt-32 implementation for sin, cos and sincos.
40494         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40495         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40496         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40497         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40498         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40499         ieee754/flt-32 implementation for tan.
40500
40501         * math/libm-test.inc (cos_test): Enable some large input tests for
40502         float as well
40503         (sin_test): Likewise.
40504         (sincos_test): Likewise.
40505         (tan_test): Add tests for large input.
40506
40507         * sysdeps/i386/fpu/libm-test-ulps: Update.
40508
40509 2012-03-15  Andreas Jaeger  <aj@suse.de>
40510
40511         [BZ #13658]
40512         * math/libm-test.inc (cos_test): Add more test cases.
40513         (sin_test): Likewise.
40514         (sincos_test): Likewise.
40515
40516 2012-03-15  Andreas Jaeger  <aj@suse.de>
40517
40518         [BZ #13837]
40519         * math/libm-test.inc (cos_test): Add a test case for large input
40520         value.
40521         (sin_test): Likewise.
40522         (sincos_test): Likewise.
40523
40524 2012-03-15  Andreas Jaeger  <aj@suse.de>
40525             Joseph Myers  <joseph@codesourcery.com>
40526
40527         [BZ #13658]
40528         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40529         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40530         * sysdeps/i386/fpu/branred.c: Likewise.
40531         * sysdeps/i386/fpu/dosincos.c: Likewise.
40532         * sysdeps/i386/fpu/mpa.c: Likewise.
40533         * sysdeps/i386/fpu/s_cos.S: Likewise.
40534         * sysdeps/i386/fpu/s_sin.S: Likewise.
40535         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40536         * sysdeps/i386/fpu/sincos32.c: Likewise.
40537
40538         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40539         Define.
40540         (libc_feupdateenv_53bit): Define.
40541         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40542         Define.
40543         (libc_feupdateenv_53bit): Define.
40544
40545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40546         53 bit (without extend i386 double precision).
40547
40548         * math/libm-test.inc (sincos_test): Add tests for large input.
40549         (sin): Likewise.
40550         (cos): Likewise.
40551
40552         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40553
40554 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40555
40556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40557
40558 2012-03-15  David S. Miller  <davem@davemloft.net>
40559
40560         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40561         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40562         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40563         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40576         file.
40577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40579         file.
40580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40582         file.
40583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40585         file.
40586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40587         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40588         fmin/fmax sysdep routines.
40589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40590
40591 2012-03-14  David S. Miller  <davem@davemloft.net>
40592
40593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40597         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40600         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40613         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40614         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40615         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40617         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40622         routines.
40623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40624         file.
40625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40627         file.
40628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40630         file.
40631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40633         file.
40634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40636         file.
40637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40639         file.
40640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40641         file.
40642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40643         file.
40644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40645         file.
40646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40647         New file.
40648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40649         file.
40650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40651         file.
40652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40654         file.
40655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40657         file.
40658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40660         file.
40661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40663         VIS3 routines.
40664
40665         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40666         New file.
40667
40668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40669
40670         * sysdeps/sparc/configure.in: New file.
40671         * sysdeps/sparc/configure: Generate.
40672         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40673         * configure: Regenerate.
40674         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40675         * config.make.in (have-as-vis3): New.
40676         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40677         available use -Av9d instead of -Av9a.
40678         * sysdeps/sparc/sparc64/Makefile: Likewise.
40679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40681         New file.
40682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40683         file.
40684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40685         New file.
40686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40687         file.
40688         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40690         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40691         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40692         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40693
40694         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40695         fzeros/fnegs to load 0x80000000 into a float register instead of
40696         using the stack.
40697         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40698
40699 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40700
40701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40702         bits/syscall.h.
40703         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40704         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40705         ($(inst_includedir)/bits/syscall.h): Remove rule.
40706         ($(objpfx)bits/syscall.d): Include instead of
40707         $(objpfx)syscall-list.d.
40708         (generated): Change syscall-list.h and syscall-list.d to
40709         bits/syscall.h and bits/syscall.d.
40710
40711 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40712
40713         [BZ #13846]
40714         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40715
40716 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40717
40718         [BZ #13841]
40719         * math/s_csqrt.c: Include <float.h>.
40720         (__csqrt): Scale large or subnormal inputs.
40721         * math/s_csqrtf.c: Likewise.
40722         * math/s_csqrtl.c: Likewise.
40723         * math/libm-test.inc (csqrt_test): Add more tests.
40724         * sysdeps/i386/fpu/libm-test-ulps: Update.
40725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40726
40727         [BZ #13840]
40728         * math/libm-test.inc (hypot_test): Add more tests.
40729
40730 2012-03-13  David S. Miller  <davem@davemloft.net>
40731
40732         [BZ #13840]
40733         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40734         double-precision for the calculation instead of scaling.
40735
40736 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40737
40738         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40739         manipulate bits before adding and subtracting TWO52[sx].
40740         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40742         Likewise.
40743         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40744
40745 2012-03-13  David S. Miller  <davem@davemloft.net>
40746
40747         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40748         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40750         rtld-global-offsets.h
40751         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40752
40753         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40754         large parameters.
40755
40756         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40757
40758         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40759         'err' in the ifdef scope in which it is actually used.
40760
40761         * nss/nss_db/db-init.c: Include string.h
40762
40763 2012-03-12  David S. Miller  <davem@davemloft.net>
40764
40765         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40766         masking out of the most significant byte of random value used.
40767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40768         Fix coding style in previous change.
40769
40770         * sysdeps/unix/sysv/linux/kernel-features.h
40771         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40772         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40773         expression.
40774         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40775         later.
40776
40777 2012-03-11  David S. Miller  <davem@davemloft.net>
40778
40779         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40780         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40781         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40782         for 'resultvar' otherwise things get truncated on 64-bit.
40783
40784         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40785         Fix masking out of the most significant byte of random value used.
40786
40787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40788
40789 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40790
40791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40792
40793 2012-03-09  David S. Miller  <davem@davemloft.net>
40794
40795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40796         variables with appropriate CPP guards.
40797         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40798         from the frame pointer, not the stack pointer.  Correct layout
40799         comments.  Fix test on resulting framesize and the management of
40800         the outregs buffer for pltexit.  Preserve floating point return
40801         values across _dl_call_pltexit call.
40802         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40803         framesize and the management of the outregs buffer for pltexit.
40804         Preserve floating point return values across _dl_call_pltexit
40805         call.
40806         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40807         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40808         (la_sparc64_gnu_pltexit): New functions.
40809         (print_exit): Fix format string for return register value.
40810
40811 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40812
40813         * sunrpc/Makefile (others): Add rpcgen.
40814         ($(objpfx)rpcgen): Remove special build rule and dependency on
40815         libc.
40816         * sunrpc/rpcgen.c: New file.
40817
40818 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40819
40820         [BZ #13673]
40821         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40822         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40823         * sysdeps/i386/crti.S: Likewise.
40824         * sysdeps/i386/crtn.S: Likewise.
40825         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40826         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40827         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40828         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40829         * sysdeps/sh/crti.S: Likewise.
40830         * sysdeps/sh/crtn.S: Likewise.
40831         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40832
40833         [BZ #13673]
40834         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40835         with URL.
40836         * locale/programs/locfile-kw.gperf: Likewise.
40837         * locale/programs/charmap-kw.h: Regenerated.
40838         * locale/programs/locfile-kw.h: Likewise.
40839
40840         [BZ #13673]
40841         * intl/plural.y: Replace FSF snail mail address with URL.
40842         * intl/plural.c: Regenerated.
40843
40844 2012-03-09  Richard Henderson  <rth@twiddle.net>
40845
40846         * include/math_private.h: Remove file.
40847         * math/math_private.h: Move file ...
40848         * sysdeps/generic/math_private.h: ... here.
40849
40850         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40851         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40852         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40853
40854         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40855         and <math_private.h>.
40856         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40857         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40858         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40859         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40860         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40861         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40862         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40865         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40871         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40875         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40877         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40878         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40880         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40881         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40882         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40921         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40930         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40944         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40945         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40946         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40947         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40948         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40951         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40952         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40953         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40956         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40957         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40958         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40959         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40960         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40961         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40962         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40963         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40964         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40965         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40966         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40967         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40968         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40969         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40970         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40972         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40973         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40974         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40975         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40976         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40977         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40978         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40979         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40980         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40982         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40983         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40984         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40985         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40987         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40988         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40989         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40990         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40991         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40992         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40993         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40994         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40995         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40996         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40997         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40998         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40999         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41000         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41001         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41002         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41003         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41004         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41005         * sysdeps/ieee754/k_standard.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41121         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41125         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41126         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41128         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41135         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41136         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41149         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41151         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41152         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41153         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41154         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41155         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41156         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41157         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41158         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41159         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41160         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41161         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41162         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41163         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41164         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41165         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41166         * sysdeps/ieee754/s_lib_version.c: Likewise.
41167         * sysdeps/ieee754/s_matherr.c: Likewise.
41168         * sysdeps/ieee754/s_signgam.c: Likewise.
41169         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41170         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41171         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41172         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41173         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41174         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41175         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41176         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41177         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41178         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41179         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41180         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41181         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41183         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41184         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41185         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41186         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41187         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41188         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41190
41191 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41192
41193         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41194         * sunrpc/rpc_main.c: Likewise.
41195         * sunrpc/rpc_svcout.c: Likewise.
41196
41197 2012-03-09  David S. Miller  <davem@davemloft.net>
41198
41199         * include/math_private.h: New file.
41200
41201 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41202
41203         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41204         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41205         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41206         from <bits/socket_type.h>.
41207         (enum __socket_type): Don't define here.
41208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41210         bits/socket_type.h.
41211
41212         [BZ #13566]
41213         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41214         checking __USE_GNU.
41215
41216         * Makerules ($(inst_includedir)/%.h): New rule.
41217         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41218         (install-others): Remove variable setting.
41219         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41220
41221 2012-03-08  Richard Henderson  <rth@twiddle.net>
41222
41223         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41224         from macro to inline function; merge with the
41225         !__LIBC_INTERNAL_MATH_INLINES version.
41226         (__ieee754_sqrtf): Likewise.
41227
41228         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41229         to inline function.
41230         (__rintf, __floor, __floorf): Likewise.
41231
41232         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41233         macro to inline function.
41234         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41235
41236         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41237         not <math/math_private.h>.
41238
41239 2012-03-08  David S. Miller  <davem@davemloft.net>
41240
41241         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41242         copyright year.
41243         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41244
41245 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41246
41247         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41248         normalization.
41249         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41250         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41251
41252 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41253
41254         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41255         be defined individually, they must be defined as a block.  Define
41256         S for printing a string instead of hidint the different by using a
41257         macro for adding the 'l'.
41258         * stdio-common/tst-fphex-wide.c: Adjust.
41259
41260 2012-03-07  Marek Polacek  <polacek@redhat.com>
41261
41262         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41263
41264 2012-03-08  Marek Polacek  <polacek@redhat.com>
41265
41266         [BZ #13806]
41267         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41268         * stdio-common/tst-fphex.c: Define a few macros to make the
41269         test reusable.  Use them.
41270         * stdio-common/tst-fphex-wide.c: New file.
41271
41272 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41273
41274         [BZ #6911]
41275         * manual/macros.texi (gnusystems): New macro.
41276         (nongnusystems): Likewise.
41277         (gnulinuxhurdsystems): Likewise.
41278         (gnuhurdsystems): Likewise..
41279         (gnulinuxsystems): Likewise.
41280         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41281         variants of the GNU system, not "GNU system".
41282         * manual/conf.texi: Likewise.
41283         * manual/errno.texi: Likewise.  Update example of errno macro
41284         expansion.
41285         * manual/filesys.texi: Likewise.
41286         (getumask): Document as specific to GNU/Hurd.
41287         * manual/install.texi: Likewise.  Reword some references to
41288         GNU/Linux.
41289         * manual/intro.texi: Likewise.
41290         * manual/io.texi: Likewise.
41291         (File Name Portability): Detail which constraints are inapplicable
41292         to all GNU systems and which are only inapplicable to GNU/Hurd.
41293         * manual/job.texi: Likewise.
41294         * manual/llio.texi: Likewise.
41295         (O_NOCTTY): Document as present on GNU/Linux.
41296         * manual/maint.texi: Likewise.
41297         * manual/memory.texi: Likewise.
41298         * manual/pattern.texi: Likewise.
41299         * manual/pipe.texi: Likewise.
41300         * manual/process.texi: Likewise.
41301         * manual/resource.texi: Likewise.
41302         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41303         child on GNU/Hurd.
41304         * manual/setjmp.texi: Likewise.
41305         * manual/signal.texi: Likewise.
41306         * manual/startup.texi: Likewise.
41307         * manual/stdio.texi: Likewise.
41308         * manual/terminal.texi: Likewise.
41309         (ONLCR): Document as POSIX.
41310         (OXTABS): Document availability on GNU/Linux as XTABS.
41311         (ONOEOT): Document availability separately from other bits.
41312         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41313         * manual/time.texi: Likewise.
41314         * manual/users.texi: Likewise.
41315         * INSTALL: Regenerated.
41316         * sysdeps/gnu/errlist.c: Regenerated.
41317
41318         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41319         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41320         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41321         puts.
41322         * configure: Regenerated.
41323
41324 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41325
41326         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41327         default includes instead of AC_HEADER_CHECK.
41328         * sysdeps/i386/configure: Regenerated.
41329
41330         [BZ #10716]
41331         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41332         * math/s_cacoshf.c (__cacoshf): Likewise.
41333         * math/s_cacoshl.c (__cacoshl): Likewise.
41334         * math/s_casinh.c (__casinh): Set signs of result from argument.
41335         * math/s_casinhf.c (__casinhf): Likewise.
41336         * math/s_casinhl.c (__casinhl): Likewise.
41337         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41338         (casinh_test): Add more tests.
41339         * sysdeps/i386/fpu/libm-test-ulps: Update.
41340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41341
41342 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41343
41344         * po/zh_TW.po: Update from translation team.
41345
41346         * login/Makefile (distribute): Remove variable.
41347         * catgets/Makefile: Likewise.
41348         * mach/Makefile: Likewise.
41349         * malloc/Makefile: Likewise.
41350         * misc/Makefile: Likewise.
41351         * iconv/Makefile: Likewise.
41352         * nscd/Makefile: Likewise.
41353         * hurd/Makefile: Likewise.
41354         * manual/Makefile: Likewise.
41355         * locale/Makefile: Likewise.
41356         * intl/Makefile: Likewise.
41357         * conform/Makefile: Likewise.
41358         * nss/Makefile: Likewise.
41359         * time/Makefile: Likewise.
41360         * soft-fp/Makefile: Likewise.
41361         * dirent/Makefile: Likewise.
41362         * gmon/Makefile: Likewise.
41363         * po/Makefile: Likewise.
41364         * rt/Makefile: Likewise.
41365         * socket/Makefile: Likewise.
41366         * math/Makefile: Likewise.
41367         * signal/Makefile: Likewise.
41368         * debug/Makefile: Likewise.
41369         * elf/Makefile: Likewise.
41370         * timezone/Makefile: Likewise.
41371         * stdlib/Makefile: Likewise.
41372         * iconvdata/Makefile: Likewise.
41373         * sunrpc/Makefile: Likewise.
41374         * io/Makefile: Likewise.
41375         * argp/Makefile: Likewise.
41376         * inet/Makefile: Likewise.
41377         * hesiod/Makefile: Likewise.
41378         * grp/Makefile: Likewise.
41379         * csu/Makefile: Likewise.
41380         * wctype/Makefile: Likewise.
41381         * crypt/Makefile: Likewise.
41382         * libio/Makefile: Likewise.
41383         * string/Makefile: Likewise.
41384         * nis/Makefile: Likewise.
41385         * resolv/Makefile: Likewise.
41386         * stdio-common/Makefile: Likewise.
41387         * wcsmbs/Makefile: Likewise.
41388         * dlfcn/Makefile: Likewise.
41389         * posix/Makefile: Likewise.
41390
41391         [BZ #6959]
41392         * timezone/Makefile: Don't install timezone files, just the programs
41393         and scripts.
41394
41395 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41396
41397         * nss/databases.def: Add missing gshadow entry.
41398
41399         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41400
41401 2012-03-06  Marek Polacek  <polacek@redhat.com>
41402
41403         [BZ #13726]
41404         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41405         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41406         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41407         * stdio-common/tst-long-dbl-fphex.c: New file.
41408
41409 2012-03-06  David S. Miller  <davem@davemloft.net>
41410
41411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41412         (set_obp_int): New function.
41413         (get_obp_int): New function.
41414         (__get_clockfreq_via_dev_openprom): Likewise.
41415         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41416         Avoid unused variable warnings on 'val' and use builtin_expect.
41417         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41418         __builtin_expect.
41419         (INLINE_CLONE_SYSCALL): Likewise.
41420
41421 2012-03-05  David S. Miller  <davem@davemloft.net>
41422
41423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41424
41425 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41426
41427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41428
41429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41430         only for |x| >= 40.
41431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41432
41433 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41434
41435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41436         Replace gettimeofday with __vdso_gettimeofday.
41437
41438         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41439         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41440         __vdso_clock_gettime and __vdso_getcpu.
41441
41442         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41443         time with __vdso_time.
41444
41445 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41446
41447         * manual/lang.texi (size_t): Note types to which size_t may be
41448         equivalent with the GNU C Library, but do not describe when
41449         differences between them are significant.
41450
41451 2012-03-05  Andreas Jaeger  <aj@suse.de>
41452
41453         * sysdeps/i386/fpu/libm-test-ulps: Update.
41454
41455 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41456
41457         [BZ #3976]
41458         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41459         (__ieee754_pow): Save and restore rounding mode and use
41460         round-to-nearest for main computations.
41461         * math/libm-test.inc (pow_test_tonearest): New function.
41462         (pow_test_towardzero): Likewise.
41463         (pow_test_downward): Likewise.
41464         (pow_test_upward): Likewise.
41465         (main): Call the new functions.
41466         * sysdeps/i386/fpu/libm-test-ulps: Update.
41467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41468
41469         [BZ #3976]
41470         * math/libm-test.inc (cosh_test_tonearest): New function.
41471         (cosh_test_towardzero): Likewise.
41472         (cosh_test_downward): Likewise.
41473         (cosh_test_upward): Likewise.
41474         (sinh_test_tonearest): Likewise.
41475         (sinh_test_towardzero): Likewise.
41476         (sinh_test_downward): Likewise.
41477         (sinh_test_upward): Likewise.
41478         (main): Call the new functions.
41479         * sysdeps/i386/fpu/libm-test-ulps: Update.
41480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41481
41482 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41483
41484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41485         default stack guard is set in last bytes.
41486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41487
41488 2012-03-05  Kees Cook  <keescook@chromium.org>
41489
41490         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41491
41492         [BZ #13656]
41493         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41494         possibly allocate from heap instead of stack.
41495         * stdio-common/bug-vfprintf-nargs.c: New file.
41496         * stdio-common/Makefile (tests): Add nargs overflow test.
41497
41498 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41499
41500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41501
41502 2012-03-03  Marek Polacek  <polacek@redhat.com>
41503
41504         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41505         * math/math_private.h: Likewise.
41506         * stdlib/tst-strtod.c: Likewise.
41507         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41508         * sysdeps/x86_64/bits/atomic.h: Likewise.
41509
41510 2012-03-02  David S. Miller  <davem@davemloft.net>
41511
41512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41516         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41517         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41518         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41519         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41520
41521 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41522
41523         [BZ #13792]
41524         * manual/examples/README: New file, says the example source files
41525         can be used under GPL>=2.
41526         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41527         line containing just "*/".
41528         * manual/examples/add.c: Add copyright header (GPL>=2).
41529         * manual/examples/argp-ex1.c: Likewise.
41530         * manual/examples/argp-ex2.c: Likewise.
41531         * manual/examples/argp-ex3.c: Likewise.
41532         * manual/examples/argp-ex4.c: Likewise.
41533         * manual/examples/atexit.c: Likewise.
41534         * manual/examples/db.c: Likewise.
41535         * manual/examples/dir.c: Likewise.
41536         * manual/examples/dir2.c: Likewise.
41537         * manual/examples/execinfo.c: Likewise.
41538         * manual/examples/filecli.c: Likewise.
41539         * manual/examples/filesrv.c: Likewise.
41540         * manual/examples/fmtmsgexpl.c: Likewise.
41541         * manual/examples/genpass.c: Likewise.
41542         * manual/examples/inetcli.c: Likewise.
41543         * manual/examples/inetsrv.c: Likewise.
41544         * manual/examples/isockad.c: Likewise.
41545         * manual/examples/longopt.c: Likewise.
41546         * manual/examples/memopen.c: Likewise.
41547         * manual/examples/memstrm.c: Likewise.
41548         * manual/examples/mkfsock.c: Likewise.
41549         * manual/examples/mkisock.c: Likewise.
41550         * manual/examples/mygetpass.c: Likewise.
41551         * manual/examples/pipe.c: Likewise.
41552         * manual/examples/popen.c: Likewise.
41553         * manual/examples/rprintf.c: Likewise.
41554         * manual/examples/search.c: Likewise.
41555         * manual/examples/select.c: Likewise.
41556         * manual/examples/setjmp.c: Likewise.
41557         * manual/examples/sigh1.c: Likewise.
41558         * manual/examples/sigusr.c: Likewise.
41559         * manual/examples/stpcpy.c: Likewise.
41560         * manual/examples/strdupa.c: Likewise.
41561         * manual/examples/strftim.c: Likewise.
41562         * manual/examples/strncat.c: Likewise.
41563         * manual/examples/subopt.c: Likewise.
41564         * manual/examples/swapcontext.c: Likewise.
41565         * manual/examples/termios.c: Likewise.
41566         * manual/examples/testopt.c: Likewise.
41567         * manual/examples/testpass.c: Likewise.
41568         * manual/examples/timeval_subtract.c: Likewise.
41569
41570         [BZ #13792]
41571         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41572         function to ...
41573         * manual/timeval_subtract.c.texi: ... here, new file.
41574
41575 2012-03-02  David S. Miller  <davem@davemloft.net>
41576
41577         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41578
41579 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41580
41581         [BZ #3976]
41582         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41583         (__sin): Save and restore rounding mode and use round-to-nearest
41584         for all computations.
41585         (__cos): Save and restore rounding mode and use round-to-nearest
41586         for all computations.
41587         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41588         <fenv.h>.
41589         (tan): Save and restore rounding mode and use round-to-nearest for
41590         all computations.
41591         * math/libm-test.inc (cos_test_tonearest): New function.
41592         (cos_test_towardzero): Likewise.
41593         (cos_test_downward): Likewise.
41594         (cos_test_upward): Likewise.
41595         (sin_test_tonearest): Likewise.
41596         (sin_test_towardzero): Likewise.
41597         (sin_test_downward): Likewise.
41598         (sin_test_upward): Likewise.
41599         (tan_test_tonearest): Likewise.
41600         (tan_test_towardzero): Likewise.
41601         (tan_test_downward): Likewise.
41602         (tan_test_upward): Likewise.
41603         (main): Call the new functions.
41604         * sysdeps/i386/fpu/libm-test-ulps: Update.
41605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41606
41607         [BZ #10135]
41608         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41609         small n, then large n, before computing and testing k+n.
41610         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41612         Likewise.
41613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41614         Likewise.
41615         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41616         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41617         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41618         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41621         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41622         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41623         * math/libm-test.inc (scalbn_test): Add more tests.
41624         (scalbln_test): Likewise.
41625
41626         * manual/filesys.texi (mode_t): Describe constraints on size and
41627         signedness, not exact equivalence to a particular type.
41628         (ino_t): Likewise.
41629         (ino64_t): Likewise.
41630         (dev_t): Likewise.
41631         (nlink_t): Likewise.
41632         (blkcnt_t): Likewise.
41633         (blkcnt64_t): Likewise.
41634         * manual/llio.texi (off_t): Likewise.
41635
41636         [BZ #3976]
41637         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41638         (__ieee754_exp): Save and restore rounding mode and use
41639         round-to-nearest for all computations.
41640         * math/libm-test.inc (exp_test_tonearest): New function.
41641         (exp_test_towardzero): Likewise.
41642         (exp_test_downward): Likewise.
41643         (exp_test_upward): Likewise.
41644         (main): Call the new functions.
41645         * sysdeps/i386/fpu/libm-test-ulps: Update.
41646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41647
41648 2012-03-01  Chris Demetriou  <cgd@google.com>
41649
41650         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41651         have predictable order.
41652
41653 2012-03-01  David S. Miller  <davem@davemloft.net>
41654
41655         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41656
41657         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41658         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41659         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41660         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41661
41662         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41663         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41664         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41666         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41667         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41668         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41669         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41670         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41671
41672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41673
41674         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41675         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41676         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41677
41678         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41679         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41680         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41681         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41682         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41683         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41684         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41685         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41686         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41687         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41688         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41689         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41691         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41692         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41694         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41695         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41696         * sysdeps/sparc/elf/configure: Regenerated.
41697
41698 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41699
41700         * configure.in (AS, LD): Require binutils 2.20 or later.
41701         * configure: Regenerated.
41702         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41703         as required minimum version.
41704         * INSTALL: Regenerated.
41705
41706         [BZ #2541]
41707         [BZ #4108]
41708         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41709         before squaring exponent.
41710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41711         bottom long double and 27 bits of top long double before squaring
41712         exponent.
41713         * math/libm-test.inc (erfc_test): Add more tests.
41714         * sysdeps/i386/fpu/libm-test-ulps: Update.
41715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41717
41718 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41719
41720         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41721         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41722         containing bit-fields.
41723         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41724         * soft-fp/single.h (_FP_UNION_S): Likewise.
41725         * soft-fp/double.h (_FP_UNION_D): Likewise.
41726
41727 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41728
41729         [BZ #13786]
41730         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41731         not include ../strcmp.S.
41732         [USE_AS_STRNCASECMP_L]: Likewise.
41733         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41734         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41735         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41736         (__strncasecmp_l_ia32): Define as alias to
41737         __strncasecmp_l_nonascii.
41738
41739         [BZ #5794]
41740         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41741         * sysdeps/i386/fpu/libm-test-ulps: Update.
41742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41743
41744         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41746
41747 2012-02-29  Jeff Law  <law@redhat.com>
41748
41749         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41750         out of bounds read.
41751
41752 2012-02-29  Marek Polacek  <polacek@redhat.com>
41753
41754         [BZ #13706]
41755         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41756         * elf/Makefile: Add rules to run tst-unused-dep.out.
41757
41758 2012-02-28  David S. Miller  <davem@davemloft.net>
41759
41760         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41761         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41762         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41764         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41765         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41766
41767 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41768
41769         * math/libm-test.inc (llround_test): Move one test from
41770         lround_test.  Use TEST_f_L in moved test.
41771         (lround_test): Move misplaced test to llround_test.  Add testcase
41772         from bug 2561.
41773
41774 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41775
41776         * sysdeps/x86_64/fpu/e_expf.S: New file.
41777         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41778
41779 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41780
41781         [BZ #13637]
41782         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41783         of remain_len that may cause incomplete multi-byte character and
41784         false match.
41785         * posix/bug-regex33.c: New file.
41786         * posix/Makefile (tests): Add bug-regex33.
41787
41788 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41789
41790         * manual/macros.texi: New file.
41791         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41792         * manual/libc.texinfo: Include macros.texi.
41793         * manual/creatute.texi: Likewise.
41794         * manual/install.texi: Likewise.
41795         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41796         @glibcadj{} in references to the GNU C Library.
41797         * manual/charset.texi: Likewise.
41798         * manual/conf.texi: Likewise.
41799         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41800         when not using those macros.
41801         * manual/creature.texi: Likewise.
41802         * manual/crypt.texi: Likewise.
41803         * manual/errno.texi: Likewise.
41804         * manual/filesys.texi: Likewise.
41805         * manual/header.texi: Likewise.
41806         * manual/install.texi: Likewise.
41807         * manual/intro.texi: Likewise.
41808         * manual/io.texi: Likewise.
41809         * manual/job.texi: Likewise.
41810         * manual/lang.texi: Likewise.
41811         * manual/libc.texiinfo: Likewise.
41812         * manual/llio.texi: Likewise.
41813         * manual/locale.texi: Likewise.
41814         * manual/maint.texi: Likewise.
41815         * manual/math.texi: Likewise.
41816         * manual/memory.texi: Likewise.
41817         * manual/message.texi: Likewise.
41818         * manual/nss.texi: Likewise.
41819         * manual/pattern.texi: Likewise.
41820         * manual/process.texi: Likewise.
41821         * manual/resource.texi: Likewise.
41822         * manual/search.texi: Likewise.
41823         * manual/setjmp.texi: Likewise.
41824         * manual/signal.texi: Likewise.
41825         * manual/socket.texi: Likewise.
41826         * manual/startup.texi: Likewise.
41827         * manual/stdio.texi: Likewise.
41828         * manual/string.texi: Likewise.
41829         * manual/sysinfo.texi: Likewise.
41830         * manual/syslog.texi: Likewise.
41831         * manual/terminal.texi: Likewise.
41832         * manual/time.texi: Likewise.
41833         * manual/users.texi: Likewise.
41834         * INSTALL: Regenerated.
41835         * NOTES: Regenerated.
41836         * sysdeps/gnu/errlist.c: Regenerated.
41837
41838 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41839
41840         * include/dirent.h: Include <dirstream.h> before
41841         <dirent/dirent.h>.
41842
41843 2012-02-28  David S. Miller  <davem@davemloft.net>
41844
41845         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41846         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41847         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41848         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41849
41850 2012-02-27  David S. Miller  <davem@davemloft.net>
41851
41852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41854         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41855         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41856
41857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41858         frame pointer instead of stack pointer relative arg slot.
41859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41860         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41861         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41862
41863 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41864
41865         [BZ #3992]
41866         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41867
41868 2012-02-27  David S. Miller  <davem@davemloft.net>
41869
41870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41876         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41877         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41878
41879 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41880
41881         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41882         later.  Allow versions 5-9.
41883         * configure: Regenerated.
41884         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41885         required minimum version and 4.6 as recommended version.  Do not
41886         mention bugs in GCC 2.7 and 2.8.
41887         * INSTALL: Regenerated.
41888
41889 2012-02-27  David S. Miller  <davem@davemloft.net>
41890
41891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41895         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41896         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41897         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41898         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41899
41900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41901         manipulate bits before adding and subtracting TWO112[sx].
41902         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41903
41904 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41905
41906         [BZ #13775]
41907         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41908         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41909         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41910         being in POSIX, because they are in 1003.1-2008.
41911
41912         * rt/tst-aio.c: Include <fcntl.h>.
41913         * rt/tst-aio7.c: Likewise.
41914         * rt/tst-aio64.c: Likewise.
41915
41916         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41917
41918 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41919
41920         * manual/install.texi (--with-headers): Describe headers as
41921         interface headers, not private headers.
41922         (Specific advice for GNU/Linux systems): Describe use of headers
41923         from "make headers_install", not private headers from older
41924         kernels.
41925         * INSTALL: Regenerated.
41926         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41927         Change to 2.6.19.
41928         * sysdeps/unix/sysv/linux/configure: Regenerated.
41929
41930         * manual/llio.texi (fclean): Remove documentation.
41931
41932         * manual/Makefile (libc-texi-generated): New variable.  Include
41933         version.texi.
41934         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41935         $(libc-texi-generated), not duplicated list of files.
41936         (version.texi, stamp-version): New rules.
41937         (realclean): Remove $(libc-texi-generated), not individual files
41938         from that list.  Do not remove dir-add.texinfo.
41939         * manual/libc.texinfo: Comment out uses of edition numbers and
41940         references to printed manual.  Remove last-updated dates.
41941         (EDITION): Comment out.
41942         (ISBN): Likewise.
41943         (VERSION, UPDATED): Remove.
41944         (version.texi): Include.
41945
41946 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41947
41948         * sysdeps/posix/spawni.c: Include <signal.h>.
41949         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41950         * sysdeps/pthread/aio_fsync.c: Likewise.
41951
41952 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41953
41954         * conform/Makefile (tests): Run only when not cross-compiling and
41955         when fast-check is not defined.
41956
41957         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41958         * conform/data/limits.h-data: Fixes for POSIX2008.
41959         * conform/run-conformtest.sh: Run all tests.
41960         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41961         headers.
41962         * include/bits/dlfcn.h: Likewise.
41963         * include/langinfo.h: Likewise.
41964         * include/monetary.h: Likewise.
41965         * include/sys/poll.h: Likewise.
41966
41967         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41968         for __USE_GNU.
41969         * posix/spawn.h: Define __need_sigset_t.
41970         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41971         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41972         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41973         to get sigevent_t only.
41974         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41975         only for __USE_GNU.
41976         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41977         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41978         process_vm_writev only for __USE_GNU.
41979         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41980
41981         * conform/Makefile: For now ignore errors from run-conformtest.
41982         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41983         POSIX to avoid namespace pollution.  Don't prepend headers.
41984         * conform/data/aio.h-data: Fixes for POSIX testing.
41985         * conform/data/fcntl.h-data: Likewise.
41986         * conform/data/glob.h-data: Likewise.
41987         * conform/data/grp.h-data: Likewise.
41988         * conform/data/pthread.h-data: Likewise.
41989         * conform/data/pwd.h-data: Likewise.
41990         * conform/data/signal.h-data: Likewise.
41991         * conform/data/spawn.h-data: Likewise.
41992         * conform/data/stdio.h-data: Likewise.
41993         * conform/data/stdlib.h-data: Likewise.
41994         * conform/data/stropts.h-data: Likewise.
41995         * conform/data/sys/mman.h-data: Likewise.
41996         * conform/data/sys/stat.h-data: Likewise.
41997         * conform/data/sys/types.h-data: Likewise.
41998         * conform/data/sys/wait.h-data: Likewise.
41999         * conform/data/time.h-data: Likewise.
42000         * conform/data/unistd.h-data: Likewise.
42001         * conform/data/utime.h-data: Likewise.
42002
42003         * io/sys/stat.h: fchmod was always in POSIX.
42004         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42005         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42006         * rt/aio.h: Define __need_timespec before including <time.h>.
42007         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42008         struct.  Add forward declaration of pthread_attr_t and use it in
42009         sigevent.
42010         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42011         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42012         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42013         always remove CLK_TCK definition.
42014
42015 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42016
42017         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42018
42019 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42020
42021         * conform/run-conformtest.sh: New file.
42022         * conform/Makefile: Run run-conformtest for tests.
42023         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42024         support.
42025
42026         * conform/data/uchar.h-data: New file.
42027         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42028         * conform/data/arpa/inet.h-data: Likewise.
42029         * conform/data/assert.h-data: Likewise.
42030         * conform/data/complex.h-data: Likewise.
42031         * conform/data/cpio.h-data: Likewise.
42032         * conform/data/ctype.h-data: Likewise.
42033         * conform/data/dirent.h-data: Likewise.
42034         * conform/data/dlfcn.h-data: Likewise.
42035         * conform/data/errno.h-data: Likewise.
42036         * conform/data/fcntl.h-data: Likewise.
42037         * conform/data/float.h-data: Likewise.
42038         * conform/data/fmtmsg.h-data: Likewise.
42039         * conform/data/fnmatch.h-data: Likewise.
42040         * conform/data/ftw.h-data: Likewise.
42041         * conform/data/glob.h-data: Likewise.
42042         * conform/data/grp.h-data: Likewise.
42043         * conform/data/iconv.h-data: Likewise.
42044         * conform/data/inttypes.h-data: Likewise.
42045         * conform/data/langinfo.h-data: Likewise.
42046         * conform/data/libgen.h-data: Likewise.
42047         * conform/data/limits.h-data: Likewise.
42048         * conform/data/locale.h-data: Likewise.
42049         * conform/data/math.h-data: Likewise.
42050         * conform/data/monetary.h-data: Likewise.
42051         * conform/data/mqueue.h-data: Likewise.
42052         * conform/data/ndbm.h-data: Likewise.
42053         * conform/data/net/if.h-data: Likewise.
42054         * conform/data/netdb.h-data: Likewise.
42055         * conform/data/netinet/in.h-data: Likewise.
42056         * conform/data/nl_types.h-data: Likewise.
42057         * conform/data/poll.h-data: Likewise.
42058         * conform/data/pthread.h-data: Likewise.
42059         * conform/data/pwd.h-data: Likewise.
42060         * conform/data/regex.h-data: Likewise.
42061         * conform/data/sched.h-data: Likewise.
42062         * conform/data/search.h-data: Likewise.
42063         * conform/data/semaphore.h-data: Likewise.
42064         * conform/data/setjmp.h-data: Likewise.
42065         * conform/data/signal.h-data: Likewise.
42066         * conform/data/spawn.h-data: Likewise.
42067         * conform/data/stdarg.h-data: Likewise.
42068         * conform/data/stdio.h-data: Likewise.
42069         * conform/data/stdlib.h-data: Likewise.
42070         * conform/data/string.h-data: Likewise.
42071         * conform/data/strings.h-data: Likewise.
42072         * conform/data/stropts.h-data: Likewise.
42073         * conform/data/sys/ipc.h-data: Likewise.
42074         * conform/data/sys/mman.h-data: Likewise.
42075         * conform/data/sys/msg.h-data: Likewise.
42076         * conform/data/sys/resource.h-data: Likewise.
42077         * conform/data/sys/select.h-data: Likewise.
42078         * conform/data/sys/sem.h-data: Likewise.
42079         * conform/data/sys/shm.h-data: Likewise.
42080         * conform/data/sys/socket.h-data: Likewise.
42081         * conform/data/sys/stat.h-data: Likewise.
42082         * conform/data/sys/statvfs.h-data: Likewise.
42083         * conform/data/sys/time.h-data: Likewise.
42084         * conform/data/sys/timeb.h-data: Likewise.
42085         * conform/data/sys/times.h-data: Likewise.
42086         * conform/data/sys/types.h-data: Likewise.
42087         * conform/data/sys/uio.h-data: Likewise.
42088         * conform/data/sys/un.h-data: Likewise.
42089         * conform/data/sys/utsname.h-data: Likewise.
42090         * conform/data/sys/wait.h-data: Likewise.
42091         * conform/data/syslog.h-data: Likewise.
42092         * conform/data/tar.h-data: Likewise.
42093         * conform/data/termios.h-data: Likewise.
42094         * conform/data/utime.h-data: Likewise.
42095         * conform/data/utmpx.h-data: Likewise.
42096         * conform/data/varargs.h-data: Likewise.
42097         * conform/data/wchar.h-data: Likewise.
42098         * conform/data/wctype.h-data: Likewise.
42099         * conform/data/wordexp.h-data: Likewise.
42100
42101         * include/stropts.h: New file.
42102         * include/uchar.h: New file.
42103         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42104         * include/assert.h: Likewise.
42105         * include/ctype.h: Likewise.
42106         * include/dirent.h: Likewise.
42107         * include/dlfcn.h: Likewise.
42108         * include/fcntl.h: Likewise.
42109         * include/fnmatch.h: Likewise.
42110         * include/glob.h: Likewise.
42111         * include/grp.h: Likewise.
42112         * include/libio.h: Likewise.
42113         * include/locale.h: Likewise.
42114         * include/math.h: Likewise.
42115         * include/net/if.h: Likewise.
42116         * include/netdb.h: Likewise.
42117         * include/netinet/in.h: Likewise.
42118         * include/pthread.h: Likewise.
42119         * include/pwd.h: Likewise.
42120         * include/regex.h: Likewise.
42121         * include/sched.h: Likewise.
42122         * include/search.h: Likewise.
42123         * include/setjmp.h: Likewise.
42124         * include/signal.h: Likewise.
42125         * include/stdio.h: Likewise.
42126         * include/stdlib.h: Likewise.
42127         * include/string.h: Likewise.
42128         * include/sys/cdefs.h: Likewise.
42129         * include/sys/mman.h: Likewise.
42130         * include/sys/msg.h: Likewise.
42131         * include/sys/resource.h: Likewise.
42132         * include/sys/select.h: Likewise.
42133         * include/sys/socket.h: Likewise.
42134         * include/sys/stat.h: Likewise.
42135         * include/sys/statvfs.h: Likewise.
42136         * include/sys/time.h: Likewise.
42137         * include/sys/times.h: Likewise.
42138         * include/sys/uio.h: Likewise.
42139         * include/sys/utsname.h: Likewise.
42140         * include/sys/wait.h: Likewise.
42141         * include/termios.h: Likewise.
42142         * include/time.h: Likewise.
42143         * include/ulimit.h: Likewise.
42144         * include/unistd.h: Likewise.
42145         * include/utime.h: Likewise.
42146         * include/wchar.h: Likewise.
42147         * include/wctype.h: Likewise.
42148         * include/wordexp.h: Likewise.
42149
42150         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42151
42152         * time/time.h: TIME_UTC must be a macro.
42153         Make timespec_get available for ISO C11 only as well.
42154
42155 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42156
42157         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42158         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42159
42160 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42161
42162         * configure.in: Use -o not -a in test for unsupported multi-arch.
42163
42164 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42165
42166         * manual/texinfo.tex: Update to version 2012-01-19.16.
42167
42168 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42169
42170         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42171
42172 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42173
42174         [BZ #13738]
42175         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42176         * manual/fdl-1.3.texi: New file.
42177         * manual/fdl-1.1.texi: File removed.
42178
42179         [BZ #13738]
42180         * manual/libc.texinfo (FDL_VERSION): New @set.
42181         Use it for mention of FDL in cover text.
42182         (Documentation License): Use it in @include file name.
42183
42184 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42185             Roland McGrath  <roland@hack.frob.com>
42186
42187         [BZ #5461]
42188         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42189         (not LONG_LONG_MAX and LONG_LONG_MIN.
42190         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42191         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42192         name.
42193         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42194
42195 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42196
42197         [BZ #2547]
42198         [BZ #11365]
42199         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42200         manipulate bits before adding and subtracting TWO23[sx].
42201         * math/libm-test.inc (nearbyint_test): Add more tests.
42202
42203 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42204
42205         [BZ #2548]
42206         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42207         bits before adding and subtracting TWO23[sx].
42208         * math/libm-test.inc (rint_test): Add more tests.
42209         (rint_test_tonearest): Likewise.
42210         (rint_test_towardzero): Likewise.
42211         (rint_test_downward): Likewise.
42212         (rint_test_upward: Likewise.
42213
42214 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42215
42216         [BZ #10110]
42217         * include/stdc-predef.h: New file.  Extracted from features.h.
42218         * include/features.h: Include stdc-predef.h.
42219         * Makefile (headers): Add stdc-predef.h.
42220         * CONFORMANCE (Compiler limitations): Update.
42221
42222 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42223
42224         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42225
42226 2012-02-21  David S. Miller  <davem@davemloft.net>
42227
42228         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42229         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42230
42231 2012-02-20  David S. Miller  <davem@davemloft.net>
42232
42233         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42234         using a normal save/restore sequence, rather than allocating a
42235         dummy stack frame just to store a frame pointer and restore.
42236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42237
42238 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42239
42240         * manual/install.texi: Fix stray word in line-wrapped comment.
42241
42242 2012-02-20  David S. Miller  <davem@davemloft.net>
42243
42244         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42245         both binutils and gcc support GOTDATA.
42246
42247         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42248         "rd %pc" in the PIC register setup sequences.
42249
42250         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42251         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42252         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42253         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42254         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42256         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42259         (SYSCALL_ERROR_HANDLER): Likewise.
42260         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42263         (SYSCALL_ERROR_HANDLER): Likewise.
42264
42265         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42266         (HAVE_GCC_GOTDATA): New.
42267         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42268         relocation support in both binutils and gcc.
42269         * sysdeps/sparc/elf/configure: Regenerate.
42270
42271         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42272         * sysdeps/sparc/sparc32/elf/configure: Delete.
42273         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42274         * sysdeps/sparc/sparc64/elf/configure: Delete.
42275         * sysdeps/sparc/elf/configure.in: New file.
42276         * sysdeps/sparc/elf/configure: Generate.
42277
42278         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42279         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42280         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42281         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42282         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42283
42284 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42285
42286         * manual/install.texi: Do not mention specific glibc version
42287         numbers.
42288         * manual/libc.texinfo (VERSION, UPDATED): Update.
42289         (@copying): Use @copyright{} and range of years.
42290
42291 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42292
42293         [BZ #13695]
42294         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42295         [crti.S not in sysdirs] (generated): Do not append.
42296         [crti.S not in sysdirs] (omit-deps): Likewise.
42297         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42298         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42299         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42300         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42301         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42302         Likewise.
42303         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42304         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42305         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42306         * csu/defs.awk: Remove file.
42307         * sysdeps/generic/initfini.c: Likewise.
42308         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42309         variable.
42310         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42311         Likewise.
42312
42313 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42314
42315         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42316         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42317         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42319         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42320         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42321         <bits/epoll.h>.
42322         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42323         (__EPOLL_PACKED): Define to empty if not defined by
42324         <bits/epoll.h>.
42325         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42327         bits/epoll.h.
42328
42329 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42330
42331         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42332         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42333         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42334         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42335         <bits/timerfd.h>.
42336         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42338         bits/timerfd.h.
42339
42340 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42341
42342         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42343         in C locale.
42344         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42345         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42348
42349 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42350
42351         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42352         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42353
42354 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42355
42356         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42357         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42358         defined.
42359         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42360         Likewise.
42361         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42362         entry for 2.16.
42363
42364 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42365
42366         * math/w_acos.c: Use non-signaling floating-point comparisons.
42367         * math/w_acosf.c: Likewise.
42368         * math/w_acosh.c: Likewise.
42369         * math/w_acoshf.c: Likewise.
42370         * math/w_acoshl.c: Likewise.
42371         * math/w_acosl.c: Likewise.
42372         * math/w_asin.c: Likewise.
42373         * math/w_asinf.c: Likewise.
42374         * math/w_asinl.c: Likewise.
42375         * math/w_atanh.c: Likewise.
42376         * math/w_atanhf.c: Likewise.
42377         * math/w_atanhl.c: Likewise.
42378         * math/w_exp2.c: Likewise.
42379         * math/w_exp2f.c: Likewise.
42380         * math/w_exp2l.c: Likewise.
42381         * math/w_j0.c: Likewise.
42382         * math/w_j0f.c: Likewise.
42383         * math/w_j0l.c: Likewise.
42384         * math/w_j1.c: Likewise.
42385         * math/w_j1f.c: Likewise.
42386         * math/w_j1l.c: Likewise.
42387         * math/w_jn.c: Likewise.
42388         * math/w_jnf.c: Likewise.
42389         * math/w_log.c: Likewise.
42390         * math/w_log10.c: Likewise.
42391         * math/w_log10f.c: Likewise.
42392         * math/w_log10l.c: Likewise.
42393         * math/w_log2.c: Likewise.
42394         * math/w_log2f.c: Likewise.
42395         * math/w_log2l.c: Likewise.
42396         * math/w_logf.c: Likewise.
42397         * math/w_logl.c: Likewise.
42398         * math/w_sqrt.c: Likewise.
42399         * math/w_sqrtf.c: Likewise.
42400         * math/w_sqrtl.c: Likewise.
42401         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42402         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42403         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42404         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42405         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42406
42407 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42408
42409         [BZ #9739]
42410         * manual/string.texi (strnlen): Use correct parameter name in
42411         equivalent expression.
42412
42413 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42414
42415         [BZ #11174]
42416         * manual/users.texi (seteuid): Consistently use neweuid for
42417         argument name.
42418
42419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42420
42421         [BZ #13704]
42422         * manual/nss.texi (Services in the NSS configuration): Correct
42423         list of services in example configuration file.
42424
42425 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42426
42427         [BZ #11322]
42428         * manual/arith.texi: Remove statements about negative zero
42429         behaving identically to zero.
42430
42431 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42432
42433         [BZ #5993]
42434         * manual/install.texi: Do not document upgrading from libc5.
42435
42436 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42437
42438         [BZ #4596]
42439         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42440
42441 2012-02-18  David S. Miller  <davem@davemloft.net>
42442
42443         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42444         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42445         %o7 across the call.
42446         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42447         instead.
42448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42449         SETUP_PIC_REG_LEAF.
42450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42451         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42452         * sysdeps/sparc/crtn.S: Likewise.
42453
42454 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42455
42456         * aout/Makefile: Remove.
42457
42458 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42459
42460         [BZ #13058]
42461         * manual/examples/argp-ex1.c (main): Format definition in GNU
42462         style.
42463         * manual/examples/argp-ex2.c (main): Likewise.
42464         * manual/examples/argp-ex3.c (main): Likewise.
42465         * manual/examples/argp-ex4.c (main): Likewise.
42466         * manual/examples/longopt.c (main): Use new-style prototype
42467         definition.
42468         * manual/examples/strncat.c (main): Specify return type and use
42469         (void) for arguments.
42470         * manual/examples/subopt.c (main): Use char **argv argument.
42471
42472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42473
42474         [BZ #5077]
42475         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42476         rounding modes.
42477
42478 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42479
42480         [BZ #6907]
42481         * manual/string.texi (strchr): Change when strchrnul is
42482         recommended.
42483
42484 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42485
42486         [BZ #174]
42487         * manual/locale.texi (setlocale): Document LOCPATH.
42488
42489 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42490
42491         [BZ #10210]
42492         * manual/process.texi (execle): Move @dots{} before last argument.
42493
42494 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42495
42496         [BZ #12047]
42497         * manual/charset.texi (Generic Charset Conversion): Fix typo
42498         (LC_TYPE -> LC_CTYPE).
42499
42500 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42501
42502         [BZ #5805]
42503         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42504         (scalbnf): Likewise.
42505         (scalbnl): Likewise.
42506         (scalbln): Likewise.
42507         (scalblnf): Likewise.
42508         (scalblnl): Likewise.
42509         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42510         (vwarnx): Likewise.
42511         (verr): Likewise.
42512         (verrx): Likewise.
42513         * manual/filesys.texi (telldir): Use braces around return type.
42514         * manual/llio.texi (mmap): Add space after comma.
42515         (mmap64): Likewise.
42516         * manual/math.texi (jn): Use @var{} on parameter names.
42517         (jnf): Likewise.
42518         (jnl): Likewise.
42519         (yn): Likewise.
42520         (ynf): Likewise.
42521         (ynl): Likewise.
42522         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42523         line.
42524         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42525         "...".
42526         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42527         (sched_get_priority_max): Likewise.
42528         * manual/signal.texi (sigvec): Add space after comma.
42529         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42530         names.
42531         (if_indextoname): Likewise.
42532         (if_freenameindex): Likewise.
42533         (sendto): Use ',' instead of '.' in prototype.
42534         * manual/startup.texi (syscall): Use @dots{} instead of literal
42535         "...".
42536         * manual/stdio.texi (__fpending): Separate initial words of
42537         paragraph from @deftypefun line.
42538         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42539         "...".
42540         (vsyslog): Use @var{} on parameter names.
42541         * manual/terminal.texi (stty): Use @var{} on parameter names.
42542         * manual/users.texi (getutmp): Use @var{} on parameter names.
42543         (getutmpx): Likewise.
42544
42545 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42546
42547         [BZ #6884]
42548         * manual/stdio.texi (fopen): Fix typos in description of
42549         ",ccs=STRING".
42550
42551 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42552
42553         [BZ #4026]
42554         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42555         get clock_id definition.
42556
42557 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42558
42559         [BZ #4822]
42560         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42561         (madvise): Cast every argument to void on its own.
42562
42563 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42564
42565         [BZ #9902]
42566         * manual/startup.texi (Exit Status): Fix typo.
42567
42568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42569
42570         [BZ #10140]
42571         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42572         * manual/examples/argp-ex2.c: Likewise.
42573         * manual/examples/argp-ex3.c: Likewise.
42574
42575 2012-02-16  Richard Henderson  <rth@redhat.com>
42576
42577         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42578         * sysdeps/s390/s390-32/initfini.c: Remove.
42579         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42580         * sysdeps/s390/s390-64/initfini.c: Remove.
42581
42582 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42583
42584         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42585         compiler output for sysdeps/generic/initfini.c.
42586         * sysdeps/sh/elf/initfini.c: Remove file.
42587
42588 2012-02-16  David S. Miller  <davem@davemloft.net>
42589
42590         [BZ #11494]
42591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42592
42593         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42594         * sysdeps/sparc/crti.S: New file.
42595         * sysdeps/sparc/crtn.S: New file.
42596         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42597         * sysdeps/sparc/sparc64/Makefile: Likewise.
42598
42599 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42600
42601         [BZ #3335]
42602         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42603
42604 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42605
42606         [BZ #4822]
42607         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42608
42609         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42610         (write, read, close): Likewise.
42611         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42612
42613 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42614
42615         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42616         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42617         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42618         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42619         <bits/signalfd.h>.
42620         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42622         bits/signalfd.h.
42623
42624 2012-02-14  Marek Polacek  <polacek@redhat.com>
42625
42626         * sysdeps/x86_64/crti.S: New file.
42627         * sysdeps/x86_64/crtn.S: New file.
42628         * sysdeps/x86_64/elf/initfini.c: Remove file.
42629
42630 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42631
42632         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42633         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42634         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42635         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42636         <bits/inotify.h>.
42637         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42639         bits/inotify.h.
42640
42641 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42642
42643         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42644         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42645         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42646         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42647         <bits/eventfd.h>.
42648         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42650         bits/eventfd.h.
42651
42652 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42653
42654         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42655         __feraiseexcept instead of feraiseexcept.
42656
42657         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42658         nanosleep invocations.
42659         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42660         strings, and add error checking for a nanosleep invocations.
42661
42662 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42663
42664         Replace FSF snail mail address with URLs, as per GNU coding standards.
42665         Most of the snail mail addresses were wrong anyway, and omitting
42666         them makes the source code easier to maintain.  Almost all of the
42667         changes are to license notices and to locale LC_IDENTIFICATION
42668         addresses, except for this one:
42669         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42670         not its snail mail address.
42671
42672 2012-02-09  Richard Henderson  <rth@twiddle.net>
42673
42674         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42675         of kernel-features.h.
42676
42677         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42678
42679 2012-02-08  Marek Polacek  <polacek@redhat.com>
42680
42681         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42682         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42683         * sysdeps/gnu/_G_config.h: Likewise.
42684         * sysdeps/generic/_G_config.h: Likewise.
42685
42686 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42687
42688         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42689         tests.
42690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42691
42692         * sysdeps/powerpc/powerpc32/crti.S: New file.
42693         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42694         * sysdeps/powerpc/powerpc64/crti.S: New file.
42695         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42696
42697         * Makeconfig (have-initfini): Don't set.
42698         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42699         * configure.in (nopic_initfini): Don't substitute.
42700         * config.h.in (HAVE_INITFINI): Don't #undef.
42701         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42702         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42703
42704 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42705
42706         Support crti.S and crtn.S provided directly by architectures.
42707         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42708         [crti.S in sysdirs] (omit-deps): Likewise.
42709         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42710         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42711         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42712         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42713         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42714         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42715         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42716         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42717         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42718         compiler output for sysdeps/generic/initfini.c.
42719         * sysdeps/i386/elf/Makefile: Remove file.
42720         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42721
42722 2012-02-07  Marek Polacek  <polacek@redhat.com>
42723
42724         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42725         * sysdeps/gnu/_G_config.h: Likewise.
42726         * sysdeps/mach/hurd/_G_config.h: Likewise.
42727
42728 2012-02-07  Marek Polacek  <polacek@redhat.com>
42729
42730         * math/Makefile (tests): Add tst-CMPLX2.
42731         * math/tst-CMPLX2.c: New file.
42732
42733 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42734
42735         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42736
42737         * math/libm-test.inc (jn_test): Add missing L suffix.
42738
42739 2012-02-06  Marek Polacek  <polacek@redhat.com>
42740
42741         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42742         * sysdeps/i386/fpu/e_powf.S: Likewise.
42743         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42744         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42745         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42746         * sysdeps/i386/fpu/e_pow.S: Likewise.
42747         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42748         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42749         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42750         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42751         * sysdeps/i386/fpu/e_log2.S: Likewise.
42752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42753         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42754         * sysdeps/i386/fpu/e_powl.S: Likewise.
42755         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42756         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42757         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42758         * sysdeps/i386/fpu/e_logl.S: Likewise.
42759         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42760         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42761         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42762         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42763         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42764         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42765         * sysdeps/i386/fpu/e_log.S: Likewise.
42766         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42767         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42768         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42769         * sysdeps/i386/fpu/e_logf.S: Likewise.
42770         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42771         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42772         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42773         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42774         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42775         * sysdeps/i386/fpu/e_log10.S: Likewise.
42776         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42777         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42778         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42779         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42780         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42781         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42782         * sysdeps/i386/asm-syntax.h: Likewise.
42783         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42784         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42785         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42786         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42787         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42788         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42789         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42790         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42791         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42792         * sysdeps/powerpc/sysdep.h: Likewise.
42793         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42794         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42795
42796 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42797
42798         [BZ #411]
42799         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42800
42801 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42802
42803         * sysdeps/i386/sysdep.h: Include <features.h>.
42804         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42805         version.
42806
42807 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42808
42809         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42810         Define.
42811         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42812         LOAD_PIC_REG_STR.
42813
42814 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42815
42816         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42817         (SETUP_PIC_REG): Use GET_PC_THUNK.
42818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42819         macro.
42820
42821 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42822
42823         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42824         for non-PIC compilation.
42825         (SETUP_PIC_REG): Add .p2align directive.
42826         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42827         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42828         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42829         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42830         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42831         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42832         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42834         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42835         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42836         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42837         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42838         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42839         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42840         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42841         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42842         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42843         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42844         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42845         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42846         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42847         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42848         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42849         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42850         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42852         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42853         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42854         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42855         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42856         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42857         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42858         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42859         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42860         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42861         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42862         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42863         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42864         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42865         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42866         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42867
42868 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42869
42870         * math/tst-CMPLX.c: Include <stdio.h>.
42871
42872 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42873
42874         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42875         float.
42876         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42877         * sysdeps/sparc/bits/mathdef.h: Likewise.
42878
42879 2012-01-31  Marek Polacek  <polacek@redhat.com>
42880
42881         * libio/libio.h: Don't define _PARAMS.
42882         * locale/programs/config.h: Don't define PARAMS.
42883         * stdlib/strtol_l.c: Likewise.
42884         (__strtol_l): Remove PARAMS from the prototype.
42885
42886 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42887
42888         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42889         names.  Just use the correct names.  Remove unnecessary wrapper
42890         functions.
42891         * malloc/arena.c: Likewise.
42892         * malloc/hooks.c: Likewise.
42893
42894         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42895         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42896         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42897
42898 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42899
42900         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42901         into tail calls.
42902         (update_get_addr): New function.
42903         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42904         GET_ADDR_MODULE parameter.
42905
42906 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42907
42908         * crypt/cert.c: Remove __STDC__ conditionals.
42909         * crypt/crypt-entry.c: Likewise.
42910         * crypt/crypt_util.c: Likewise.
42911         * libio/filedoalloc.c: Likewise.
42912         * libio/fileops.c: Likewise.
42913         * libio/genops.c: Likewise.
42914         * libio/iofclose.c: Likewise.
42915         * libio/iofdopen.c: Likewise.
42916         * libio/iofopen.c: Likewise.
42917         * libio/iofopen64.c: Likewise.
42918         * libio/iogetdelim.c: Likewise.
42919         * libio/iopopen.c: Likewise.
42920         * libio/obprintf.c: Likewise.
42921         * libio/oldfileops.c: Likewise.
42922         * libio/oldiofclose.c: Likewise.
42923         * libio/oldiofdopen.c: Likewise.
42924         * libio/oldiofopen.c: Likewise.
42925         * libio/oldiopopen.c: Likewise.
42926         * libio/wfiledoalloc.c: Likewise.
42927         * libio/wgenops.c: Likewise.
42928         * locale/programs/xmalloc.c: Likewise.
42929         * misc/syslog.c: Likewise.
42930         * stdio-common/xbug.c: Likewise.
42931         * string/memchr.c: Likewise.
42932         * string/memcmp.c: Likewise.
42933         * string/memrchr.c: Likewise.
42934         * string/rawmemchr.c: Likewise.
42935         * sysdeps/posix/getcwd.c: Likewise.
42936         * time/strftime_l.c: Likewise.
42937
42938 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42939
42940         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42941         * config.make.in (config-cflags-sse2avx): Define.
42942         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42943         Fix typo.
42944
42945 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42946
42947         * scripts/config.guess: Update from upstream config git repository.
42948         * scripts/config.sub: Likewise.
42949
42950 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42951
42952         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42953         (EM_NUM): Update.
42954         (R_TILEPRO_*, R_TILEGX_*): New macros.
42955
42956         * scripts/firstversions.awk: Fix bug in version range handling.
42957
42958         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42959
42960         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42961
42962         * include/sys/epoll.h: New file.
42963         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42964         libc_hidden_def.
42965
42966 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42967
42968         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42969         Avoid unnecessary __WORDSIZE == 64 test.
42970         (fmaxf): Use VEX format if possible.
42971         (fmax): Likewise.
42972         (fminf): Likewise.
42973         (fmin): Likewise.
42974
42975         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42976         * math/math_private.h: Remove libc_fegetround* and
42977         libc_fesetround*.
42978         * sysdeps/i386/configure.in: Check for -msse2avx.
42979         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42980         also if SSE2AVX is defined.
42981         Remove libc_fegetround* and libc_fesetround*.
42982         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42983         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42985         of HAS_YMM_USABLE.
42986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42987         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42988         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42989         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42990         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42991
42992         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42993
42994 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42995
42996         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42997         size is not set.
42998         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42999
43000 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43001
43002         [BZ #13618]
43003         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43004         relocation.
43005         * Makeconfig (libm): Define.
43006         * elf/Makefile: Add rules to build and run tst-relsort1.
43007         * elf/tst-relsort1.c: New file.
43008         * elf/tst-relsort1mod1.c: New file.
43009         * elf/tst-relsort1mod2.c: New file.
43010
43011 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43012
43013         * math/s_ldexp.c: Remove __STDC__ conditionals.
43014         * math/s_ldexpf.c: Likewise.
43015         * math/s_ldexpl.c: Likewise.
43016         * math/s_nextafter.c: Likewise.
43017         * math/s_nexttowardf.c: Likewise.
43018         * math/s_significand.c: Likewise.
43019         * math/s_significandf.c: Likewise.
43020         * math/s_significandl.c: Likewise.
43021         * math/w_jnl.c: Likewise.
43022         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43023         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43024         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43025         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43026         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43029         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43030         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43031         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43032         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43034         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43035         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43036         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43037         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43038         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43039         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43041         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43042         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43043         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43044         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43045         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43046         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43047         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43048         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43049         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43050         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43051         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43052         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43053         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43055         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43056         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43058         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43059         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43060         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43061         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43062         * sysdeps/ieee754/k_standard.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43067         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43072         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43073         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43075         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43076         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43077         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43079         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43080         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43081         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43082         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43088         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43092         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43093         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43095         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43096         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43098         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43099         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43101         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43102         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43103         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43105         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43106         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43107         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43111         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43112         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43113         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43115         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43118         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43119         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43121         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43122         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43124         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43127         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43128         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43129         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43130         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43131         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43132         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43133         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43134         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43137         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43138         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43139         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43140         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43142         * sysdeps/ieee754/s_matherr.c: Likewise.
43143         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43144         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43147
43148 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43149
43150         * crypt/md5.h: Remove __STDC__ conditionals.
43151         * libio/libioP.h: Likewise.
43152         * locale/programs/config.h: Likewise.
43153         * sysdeps/generic/sysdep.h: Likewise.
43154         * sysdeps/i386/asm-syntax.h: Likewise.
43155         * sysdeps/s390/asm-syntax.h: Likewise.
43156         * sysdeps/unix/sysdep.h: Likewise.
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43159
43160 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43161
43162         * libio/libio.h: Remove __STDC__ conditionals.
43163         * malloc/obstack.h: Likewise.
43164         * math/complex.h: Likewise.
43165         * math/math.h: Likewise.
43166         * sysdeps/generic/_G_config.h: Likewise.
43167         * sysdeps/gnu/_G_config.h: Likewise.
43168         * sysdeps/mach/hurd/_G_config.h: Likewise.
43169         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43170         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43171         * sysdeps/sparc/bits/mathdef.h: Likewise.
43172
43173 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43174
43175         [BZ #13583]
43176         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43177         Clean up HAS_* macros.
43178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43179         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43180         possible.
43181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43182         HAS_AVX.
43183         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43184         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43185         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43186         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43187         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43188
43189 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43190
43191         * elf/tst-unique3.cc (gets): Remove declaration.
43192         * elf/tst-unique3lib.cc (gets): Likewise.
43193         * elf/tst-unique3lib2.cc (gets): Likewise.
43194         * elf/tst-unique4.cc (gets): Likewise.
43195
43196 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43197
43198         * include/stdio.h: Add C++ protection.  Add gets declarations and
43199         definitions.
43200         * debug/tst-chk1.c: Don't declare gets here.
43201         * stdio-common/tst-gets.c: Likewise.
43202
43203 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43204
43205         * posix/glob: Remove directory.
43206
43207 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43208
43209         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43210
43211 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43212
43213         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43214         of the non-standard EPFNOSUPPORT.
43215
43216 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43217
43218         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43219         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43220         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43221
43222 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43223
43224         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43225
43226 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43227
43228         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43229         transient errors.
43230         * nscd/grpcache.c (cache_addgr): Likewise.
43231         * nscd/hstcache.c (cache_addhst): Likewise.
43232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43233         * nscd/pwdcache.c (cache_addpw): Likewise.
43234         * nscd/servicescache.c (cache_addserv): Likewise.
43235
43236 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43237
43238         * malloc/malloc.c: Various cleanups.
43239         * malloc/hooks.c: Likewise.
43240
43241         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43242         * stdlib/bug-fmtmsg1.c: New file.
43243
43244         * stdlib/fmtmsg.c (init): Add missing unlock.
43245         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43246
43247 2012-01-12  Marek Polacek  <polacek@redhat.com>
43248
43249         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43250         and _GNU_SOURCE.
43251
43252 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43253
43254         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43255         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43256         macro to ensure uniqueness of label name.
43257         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43258         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43259
43260 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43261
43262         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43263
43264         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43265         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43266         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43268
43269 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43270
43271         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43272
43273         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43274         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43275         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43276
43277         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43278
43279         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43280         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43281         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43283
43284         * math/bits/math-finite.h: Add ldexp support.
43285
43286 2012-01-10  Marek Polacek  <polacek@redhat.com>
43287
43288         * locale/programs/localedef.h (show_archive_content): Add noreturn
43289         attribute.
43290
43291 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43292
43293         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43294
43295 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43298
43299         * io/Makefile (headers): Add bits/poll2.h.
43300
43301 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43302
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43304         typo #include statement.
43305
43306 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43307
43308         * include/sys/cdefs.h: Define __attribute_alloc_size.
43309         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43310         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43311         * elf/pldd.c: Likewise.
43312         * iconv/iconv_charmap.c: Likewise.
43313         * iconv/iconvconfig.c: Likewise.
43314         * iconv/strtab.c: Likewise.
43315         * locale/programs/locale.c: Likewise.
43316         * locale/programs/localedef.h: Likewise.
43317         * locale/programs/simple-hash.c: Likewise.
43318         * nscd/nscd.h: Likewise.
43319         * nss/makedb.c: Likewise.
43320         * sysdeps/generic/ldconfig.h: Likewise.
43321         * locale/programs/localedef.c: Remove xmalloc prototype.
43322         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43323
43324 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43325
43326         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43327         appropriate.
43328
43329 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43330
43331         * math/Makefile (tests): Add tst-CMPLX.
43332         * math/tst-CMPLX.c: New file.
43333
43334         * math/complex.h (CMPLXL): Fix typo.
43335
43336         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43337         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43338         GLIBC_2.16.
43339         * debug/tst-chk1.c: Add poll and ppoll tests.
43340         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43341         * include/sys/poll.h: Add hidden proto for ppoll.
43342         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43343         * sysdeps/mach/hurd/ppoll.c: Likewise.
43344         * io/ppoll.c: Likewise.
43345         * debug/poll_chk.c: New file.
43346         * debug/ppoll_chk.c: New file.
43347         * include/bits/poll2.h: New file.
43348         * io/bits/poll2.h: New file.
43349
43350         [BZ #1350]
43351         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43352
43353         * configure.in: static is always set to yes.  Remove.
43354         * config.make.in: Don't set build-static.
43355         * Makeconfig: Remove use of build-static.
43356         * dlfcn/Makefile: Likewise.
43357         * elf/Makefile: Likewise.
43358         * math/Makefile: Likewise.
43359         * misc/Makefile: Likewise.
43360         * nptl/Makefile: Likewise.
43361         * sysdeps/mach/hurd/Makefile: Likewise.
43362
43363         * configure.in: PWD_P is not used anymore.
43364         * config.make.in: Remove PWD_P entry.
43365
43366         * configure.in: Remove last remnants of RANLIB.
43367         No need to check for signed size_t anymore.
43368         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43369         and IA-64.
43370         Remove __builtin_expect test because we require at least gcc 3.4.
43371         * aclocal.m4: Likewise.
43372
43373         * wcsmbs/mbrtoc16.c: Implement using towc function.
43374         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43375         * wcsmbs/wcsmbsload.c: Likewise.
43376         * iconv/gconv_simple.c: Likewise.
43377         * iconv/gconv_int.h: Likewise.
43378         * iconv/gconv_builtin.h: Likewise.
43379         * iconv/iconv_prog.c: Remove CHAR16 handling.
43380
43381         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43382
43383         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43384
43385         * configure.in: Remove --with-elf and --enable-bounded options.
43386         Dont set base_machine for ia64.  More non-ELF conditions removed.
43387         Remove testing and setting of leading underscore information.
43388         * config.make.in (build-bounded): Set to no.
43389         * config.h.in: Remove NO_UNDERSCORES entry.
43390         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43391         them.
43392         * csu/start.c: Remove !NO_UNDERSCORE code.
43393         * locale/localeinfo.h: Likewise.
43394         * sysdeps/generic/machine-gmon.h: Likewise.
43395         * sysdeps/generic/sysdep.h: Likewise.
43396         * sysdeps/i386/sysdep.h: Likewise.
43397         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43398         * sysdeps/mach/sysdep.h: Likewise.
43399         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43401         * sysdeps/sh/sysdep.h: Likewise.
43402         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43403         * sysdeps/unix/i386/sysdep.S: Likewise.
43404         * sysdeps/unix/sparc/start.c: Likewise.
43405         * sysdeps/unix/sparc/sysdep.S: Likewise.
43406         * sysdeps/unix/sparc/sysdep.h: Likewise.
43407         * sysdeps/unix/start.c: Likewise.
43408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43409         * sysdeps/x86_64/sysdep.h: Likewise.
43410
43411 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43412
43413         [BZ #13553]
43414         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43415         for non-gcc.
43416         * argp/argp-fmtstream.h: Use const instead __const.
43417         * argp/argp.h: Likewise.
43418         * assert/assert.h: Likewise.
43419         * bits/fenv.h: Likewise.
43420         * bits/sched.h: Likewise.
43421         * bits/sigset.h: Likewise.
43422         * bits/sigthread.h: Likewise.
43423         * catgets/nl_types.h: Likewise.
43424         * conform/data/pthread.h-data: Likewise.
43425         * crypt/crypt-private.h: Likewise.
43426         * crypt/crypt.h: Likewise.
43427         * crypt/crypt_util.c: Likewise.
43428         * ctype/ctype.h: Likewise.
43429         * debug/execinfo.h: Likewise.
43430         * debug/mbsnrtowcs_chk.c: Likewise.
43431         * debug/mbsrtowcs_chk.c: Likewise.
43432         * debug/wcsnrtombs_chk.c: Likewise.
43433         * debug/wcsrtombs_chk.c: Likewise.
43434         * debug/wcstombs_chk.c: Likewise.
43435         * dirent/dirent.h: Likewise.
43436         * dlfcn/dlfcn.h: Likewise.
43437         * elf/neededtest4.c: Likewise.
43438         * grp/grp.h: Likewise.
43439         * gshadow/gshadow.h: Likewise.
43440         * iconv/gconv.h: Likewise.
43441         * iconv/gconv_int.h: Likewise.
43442         * iconv/gconv_simple.c: Likewise.
43443         * iconv/iconv.h: Likewise.
43444         * iconv/loop.c: Likewise.
43445         * iconv/skeleton.c: Likewise.
43446         * include/aio.h: Likewise.
43447         * include/aliases.h: Likewise.
43448         * include/argz.h: Likewise.
43449         * include/arpa/inet.h: Likewise.
43450         * include/assert.h: Likewise.
43451         * include/dirent.h: Likewise.
43452         * include/dlfcn.h: Likewise.
43453         * include/execinfo.h: Likewise.
43454         * include/fcntl.h: Likewise.
43455         * include/fenv.h: Likewise.
43456         * include/glob.h: Likewise.
43457         * include/grp.h: Likewise.
43458         * include/libintl.h: Likewise.
43459         * include/mntent.h: Likewise.
43460         * include/netdb.h: Likewise.
43461         * include/pwd.h: Likewise.
43462         * include/rpc/netdb.h: Likewise.
43463         * include/sched.h: Likewise.
43464         * include/search.h: Likewise.
43465         * include/shadow.h: Likewise.
43466         * include/signal.h: Likewise.
43467         * include/stdio.h: Likewise.
43468         * include/stdlib.h: Likewise.
43469         * include/string.h: Likewise.
43470         * include/sys/socket.h: Likewise.
43471         * include/sys/stat.h: Likewise.
43472         * include/sys/statfs.h: Likewise.
43473         * include/sys/statvfs.h: Likewise.
43474         * include/sys/syslog.h: Likewise.
43475         * include/sys/time.h: Likewise.
43476         * include/sys/uio.h: Likewise.
43477         * include/time.h: Likewise.
43478         * include/unistd.h: Likewise.
43479         * include/utmp.h: Likewise.
43480         * include/wchar.h: Likewise.
43481         * include/wctype.h: Likewise.
43482         * inet/aliases.h: Likewise.
43483         * inet/arpa/inet.h: Likewise.
43484         * inet/netinet/ether.h: Likewise.
43485         * inet/netinet/in.h: Likewise.
43486         * intl/libintl.h: Likewise.
43487         * io/bits/fcntl2.h: Likewise.
43488         * io/fcntl.h: Likewise.
43489         * io/ftw.h: Likewise.
43490         * io/sys/poll.h: Likewise.
43491         * io/sys/stat.h: Likewise.
43492         * io/sys/statfs.h: Likewise.
43493         * io/sys/statvfs.h: Likewise.
43494         * io/utime.h: Likewise.
43495         * libio/bits/stdio.h: Likewise.
43496         * libio/bits/stdio2.h: Likewise.
43497         * libio/libio.h: Likewise.
43498         * libio/libioP.h: Likewise.
43499         * libio/stdio.h: Likewise.
43500         * locale/lc-ctype.c: Likewise.
43501         * locale/locale.h: Likewise.
43502         * login/utmp.h: Likewise.
43503         * malloc/arena.c: Likewise.
43504         * malloc/malloc.c: Likewise.
43505         * malloc/malloc.h: Likewise.
43506         * malloc/mcheck.c: Likewise.
43507         * malloc/mtrace.c: Likewise.
43508         * math/bits/mathcalls.h: Likewise.
43509         * math/fenv.h: Likewise.
43510         * math/math_private.h: Likewise.
43511         * misc/bits/error.h: Likewise.
43512         * misc/bits/syslog.h: Likewise.
43513         * misc/err.h: Likewise.
43514         * misc/error.h: Likewise.
43515         * misc/fstab.h: Likewise.
43516         * misc/mntent.h: Likewise.
43517         * misc/regexp.h: Likewise.
43518         * misc/search.h: Likewise.
43519         * misc/sgtty.h: Likewise.
43520         * misc/sys/mman.h: Likewise.
43521         * misc/sys/syslog.h: Likewise.
43522         * misc/sys/uio.h: Likewise.
43523         * misc/sys/xattr.h: Likewise.
43524         * misc/ttyent.h: Likewise.
43525         * nis/rpcsvc/ypclnt.h: Likewise.
43526         * nss/nss.h: Likewise.
43527         * posix/bits/unistd.h: Likewise.
43528         * posix/fnmatch.h: Likewise.
43529         * posix/glob.h: Likewise.
43530         * posix/sched.h: Likewise.
43531         * posix/spawn.h: Likewise.
43532         * posix/sys/wait.h: Likewise.
43533         * posix/unistd.h: Likewise.
43534         * posix/wordexp.h: Likewise.
43535         * pwd/pwd.h: Likewise.
43536         * resolv/netdb.h: Likewise.
43537         * resource/sys/resource.h: Likewise.
43538         * rt/aio.h: Likewise.
43539         * rt/bits/mqueue2.h: Likewise.
43540         * rt/mqueue.h: Likewise.
43541         * shadow/shadow.h: Likewise.
43542         * signal/signal.h: Likewise.
43543         * socket/send.c: Likewise.
43544         * socket/sendto.c: Likewise.
43545         * socket/sys/socket.h: Likewise.
43546         * stdio-common/printf.h: Likewise.
43547         * stdlib/bits/stdlib.h: Likewise.
43548         * stdlib/fmtmsg.h: Likewise.
43549         * stdlib/monetary.h: Likewise.
43550         * stdlib/stdlib.h: Likewise.
43551         * stdlib/ucontext.h: Likewise.
43552         * streams/stropts.h: Likewise.
43553         * string/argz.h: Likewise.
43554         * string/bits/string2.h: Likewise.
43555         * string/string.h: Likewise.
43556         * string/strings.h: Likewise.
43557         * sunrpc/rpc/auth.h: Likewise.
43558         * sunrpc/rpc/auth_des.h: Likewise.
43559         * sunrpc/rpc/clnt.h: Likewise.
43560         * sunrpc/rpc/netdb.h: Likewise.
43561         * sunrpc/rpc/pmap_clnt.h: Likewise.
43562         * sunrpc/rpc/xdr.h: Likewise.
43563         * sysdeps/generic/inttypes.h: Likewise.
43564         * sysdeps/generic/net/if.h: Likewise.
43565         * sysdeps/generic/sys/swap.h: Likewise.
43566         * sysdeps/gnu/net/if.h: Likewise.
43567         * sysdeps/gnu/utmpx.h: Likewise.
43568         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43569         * sysdeps/i386/i486/bits/string.h: Likewise.
43570         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43571         * sysdeps/s390/bits/string.h: Likewise.
43572         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43573         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43574         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43575         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43576         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43577         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43578         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43579         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43580         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43581         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43582         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43583         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43584         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43585         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43586         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43587         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43588         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43590         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43592         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43593         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43594         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43595         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43596         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43597         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43598         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43600         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43601         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43602         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43603         * sysvipc/sys/ipc.h: Likewise.
43604         * sysvipc/sys/msg.h: Likewise.
43605         * sysvipc/sys/sem.h: Likewise.
43606         * sysvipc/sys/shm.h: Likewise.
43607         * termios/termios.h: Likewise.
43608         * time/sys/time.h: Likewise.
43609         * time/time.h: Likewise.
43610         * wcsmbs/bits/wchar2.h: Likewise.
43611         * wcsmbs/uchar.h: Likewise.
43612         * wcsmbs/wchar.h: Likewise.
43613         * wctype/wctype.h: Likewise.
43614
43615         [BZ #13551]
43616         * Makeconfig: Remove all but ELF support including AIX support.
43617         * Makerules: Likewise.
43618         * config.h.in: Likewise.
43619         * config.make.in: Likewise.
43620         * configure: Likewise.
43621         * configure.in: Likewise.
43622         * csu/Makefile: Likewise.
43623         * csu/version.c: Likewise.
43624         * debug/Makefile: Likewise.
43625         * dlfcn/Makefile: Likewise.
43626         * elf/Makefile: Likewise.
43627         * extra-lib.mk: Likewise.
43628         * iconv/Makefile: Likewise.
43629         * include/libc-symbols.h: Likewise.
43630         * include/shlib-compat.h: Likewise.
43631         * resolv/Makefile: Likewise.
43632         * resolv/res_libc.c: Likewise.
43633         * rt/Makefile: Likewise.
43634         * sysdeps/i386/asm-syntax.h: Likewise.
43635         * sysdeps/i386/sysdep.h: Likewise.
43636         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43637         * sysdeps/mach/sysdep.h: Likewise.
43638         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43639         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43640         * sysdeps/s390/asm-syntax.h: Likewise.
43641         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43642         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43643         * sysdeps/sh/sysdep.h: Likewise.
43644         * sysdeps/unix/sparc/sysdep.h: Likewise.
43645         * sysdeps/wordsize-32/divdi3.c: Likewise.
43646         * sysdeps/x86_64/sysdep.h: Likewise.
43647
43648         * argp/Versions: Remove _argp_unlock_xxx.
43649
43650         [BZ #13559]
43651         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43652         * abilist/libBrokenLocale.abilist: Likewise.
43653         * abilist/libanl.abilist: Likewise.
43654         * abilist/libc.abilist: Likewise.
43655         * abilist/libcrypt.abilist: Likewise.
43656         * abilist/libdl.abilist: Likewise.
43657         * abilist/libm.abilist: Likewise.
43658         * abilist/libnsl.abilist: Likewise.
43659         * abilist/libpthread.abilist: Likewise.
43660         * abilist/libresolv.abilist: Likewise.
43661         * abilist/librt.abilist: Likewise.
43662         * abilist/libthread_db.abilist: Likewise.
43663         * abilist/libutil.abilist: Likewise.
43664         * abilist/libnss_db.abilist: New file.
43665
43666         * scripts/abilist.awk: Add support for indirect functions.
43667
43668         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43669
43670         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43671
43672         * shlib-versions: Remove entries for ports architectures.
43673
43674         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43675         files in ports.
43676         * elf/stackguard-macros.h: Remove support for IA-64.
43677         * elf/tst-auditmod1.c: Likewise.
43678         * sysdeps/generic/ldsodefs.h: Likewise.
43679
43680         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43681         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43682         configure files.
43683
43684         [BZ #13552]
43685         * configure.in: Remove --enable-omitfp support.
43686         * FAQ.in: Adjust.
43687         * config.make.in: Likewise.
43688         * Makeconfig: Likewise.
43689         * manual/install.texi: Likewise.
43690
43691         In case anyone cares, the IA-64 architecture could move to ports.
43692         * sysdeps/ia64/*: Removed.
43693         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43694         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43695
43696         [BZ #13555]
43697         * configure.in: Remove entries for unsupported architectures.
43698
43699         [BZ #13533]
43700         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43701         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43702         routines.
43703         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43704         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43705         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43706         fall back to using wcrtomb.
43707         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43708         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43709         renaming.
43710         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43711         * wcsmbs/tst-c16c32-1.c: New file.
43712
43713         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43714         local variable.
43715
43716         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43717
43718         * elf/tst-unique3.cc: Add explicit declaration of gets.
43719         * elf/tst-unique3lib.cc: Likewise.
43720         * elf/tst-unique3lib2.cc: Likewise.
43721         * elf/tst-unique4.cc: Likewise.
43722
43723         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43724
43725 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43726
43727         [BZ #13566]
43728         * assert/assert.h (static_assert): Don't define for C++.
43729         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43730         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43731
43732 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43733
43734         * iconv/loop.c (single loop): Fix assertion in storing of
43735         remaining bytes.
43736
43737         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43738
43739 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43740
43741         * posix/getconf.c: Update copyright year.
43742         * nss/getent.c: Likewise.
43743         * nss/makedb.c: Likewise.
43744         * iconv/iconvconfig.c: Likewise.
43745         * iconv/iconv_prog.c: Likewise.
43746         * elf/ldconfig.c: Likewise.
43747         * elf/pldd.c: Likewise.
43748         * elf/sotruss.ksh: Likewise.
43749         * catgets/gencat.c: Likewise.
43750         * csu/version.c: Likewise.
43751         * elf/ldd.bash.in: Likewise.
43752         * elf/sprof.c (print_version): Likewise.
43753         * locale/programs/locale.c: Likewise.
43754         * locale/programs/localedef.c: Likewise.
43755         * login/programs/pt_chown.c: Likewise.
43756         * nscd/nscd.c (print_version): Likewise.
43757         * debug/xtrace.sh: Likewise.
43758         * malloc/memusage.sh: Likewise.
43759         * malloc/mtrace.pl: Likewise.
43760         * debug/catchsegv.sh: Likewise.
43761
43762 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43763
43764         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43765         pure attribute.
43766
43767 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43768
43769         [BZ #13533]
43770         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43771         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43772         transformations.
43773         * iconv/gconv_int.h: Likewise.
43774         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43775         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43776         from libc for GLIBC_2.16.
43777         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43778         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43779         * wcsmbs/uchar.h: Really define mbstate_t.
43780         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43781         * wcsmbs/c16rtomb.c: New file.
43782         * wcsmbs/mbrtoc16.c: New file.
43783         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43784         for C/POSIX locale.
43785         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43786         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43787
43788         * wcsmbs/wchar.h: Add missing __restrict.
43789
43790 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43791
43792         [BZ #13532]
43793         * time/Makefile (routines): Add timespec_get.
43794         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43795         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43796         timespec for ISO C11.
43797         * time/timespec_get.c: New file.
43798         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43799         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43800
43801         [BZ #13531]
43802         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43803         * stdlib/stdlib.h: Declare aligned_alloc.
43804         * Versions.def: Add GLIBC_2.16 for libc.
43805         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43806
43807         [BZ 13527]
43808         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43809         ISO C11.
43810
43811         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43812         code.
43813
43814         [BZ #13528]
43815         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43816
43817         [BZ #13529]
43818         * assert/assert.h (static_assert): Define.
43819
43820         * version.h: Update for 2.16 development version.
43821
43822         [BZ #13526]
43823         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43824         _ISOC11_SOURCE.
43825
43826         * version.h (RELEASE): Bump for 2.15 release.
43827         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43828
43829         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43830         Patch by Marek Polacek <mpolacek@redhat.com>.
43831
43832         * bits/byteswap.h: Protect long long constants with __extension__.
43833         * sysdeps/i386/bits/byteswap.h: Likewise.
43834         * sysdeps/ia64/bits/byteswap.h: Likewise.
43835         * sysdeps/s390/bits/byteswap.h: Likewise.
43836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43837
43838 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43839
43840         [BZ #13540]
43841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43842         destination buffer.
43843         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43844
43845 2011-12-23  Marek Polacek  <polacek@redhat.com>
43846
43847         * elf/dl-addr.c (determine_info): Add inline keyword.
43848         * elf/tst-auditmod4b.c (check_avx): Likewise.
43849         * elf/tst-auditmod6b.c (check_avx): Likewise.
43850         * elf/tst-auditmod6c.c (check_avx): Likewise.
43851         * elf/tst-auditmod7b.c (check_avx): Likewise.
43852
43853 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43854
43855         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43856         !__SSE_MATH__.
43857
43858 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43859
43860         [BZ #13540]
43861         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43862         processing for last bytes.
43863
43864 2011-08-06  Bruno Haible  <bruno@clisp.org>
43865
43866         [BZ #13061]
43867         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43868         U+0385, not to U+1FEE.
43869
43870         [BZ #13062]
43871         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43872         entry for U+00A5 U+0301.
43873
43874 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43875
43876         [BZ #13166]
43877         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43878         buffer for the output is too small.
43879
43880         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43881         optimization.
43882
43883         [BZ #13185]
43884         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43885         SSE flags if possible.
43886
43887 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43888
43889         [BZ #13540]
43890         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43891         processing for last bytes.
43892
43893 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43894
43895         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43896         (syscall-list-default-options, syscall-list-default-condition)
43897         (syscall-list-includes): Define.
43898         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43899         list of ABIs and options and #if conditions for each ABI.  Do not
43900         handle common syscalls between ABIs specially.
43901         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43902         Remove.
43903         (syscall-list-variants, syscall-list-32bit-options)
43904         (syscall-list-32bit-condition, syscall-list-64bit-options)
43905         (syscall-list-64bit-condition): Define.
43906         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43907         (syscall-list-variants, syscall-list-32bit-options)
43908         (syscall-list-32bit-condition, syscall-list-64bit-options)
43909         (syscall-list-64bit-condition): Define.
43910         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43911         Remove.
43912         (syscall-list-variants, syscall-list-32bit-options)
43913         (syscall-list-32bit-condition, syscall-list-64bit-options)
43914         (syscall-list-64bit-condition): Define.
43915         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43916         Remove.
43917         (syscall-list-variants, syscall-list-32bit-options)
43918         (syscall-list-32bit-condition, syscall-list-64bit-options)
43919         (syscall-list-64bit-condition): Define.
43920
43921 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43922
43923         * locale/iso-639.def: Add brx entry.
43924
43925         [BZ #13328]
43926         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43927         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43928
43929         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43930         __feraiseexcept_renamed.
43931
43932 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43933
43934         [BZ #13538]
43935         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43936         EPOLLET with unsigned values.
43937         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43938         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43939
43940         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43941         to large cancellation.
43942         * math/s_cacoshf.c: Likewise.
43943         * math/s_cacoshl.c: Likewise.
43944
43945 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43946
43947         [BZ #13305]
43948         [BZ #12786]
43949         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43950         * math/s_cacoshf.c: Likewise.
43951         * math/s_cacoshl.c: Likewise.
43952
43953 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43954
43955         [BZ #13439]
43956         * iconv/gconv.h: Define __GCONV_SWAP.
43957         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43958         * iconvdata/utf-16.c: Likewise.
43959         * iconvdata/utf-32.c: Likewise.
43960
43961 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43962
43963         [BZ #13524]
43964         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43965         numerator after shifting it by one limb.
43966
43967 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43968
43969         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43970         under [__USE_EXTERN_INLINES].
43971
43972 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43973
43974         [BZ #13446]
43975         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43976
43977 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43978
43979         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43980         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43981         optimized code.
43982         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43983         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43984         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43985         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43986         for strncasecmp/strncasecmp_l compilation.
43987         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43988         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43989
43990 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43991
43992         [BZ #13484]
43993         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43994         of __asm__.
43995
43996 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43997
43998         [BZ #13506]
43999         * time/tzfile.c (__tzfile_read): Check values from file header.
44000
44001 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44002
44003         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44004         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44005         * powerpc/powerpc32/dl-start.S: Likewise.
44006         * powerpc/powerpc32/elf/start.S: Likewise.
44007         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44008         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44009         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44010         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44011         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44012         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44013         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44014         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44015         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44016         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44017         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44018         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44019         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44020         * powerpc/powerpc32/memset.S: Likewise.
44021         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44022         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44023         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44024         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44025         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44026         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44027         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44028         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44029         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44030         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44031         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44032         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44033         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44034
44035 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44036
44037         * math/libm-test.inc: Added more nearbyint tests.
44038         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44039         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44041         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44042
44043 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44044
44045         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44046         FD_CLOEXEC.
44047
44048 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44049
44050         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44051         Add wcscpy-ssse3 wcscpy-c.
44052         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44053         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44054         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44055         * sysdeps/x86_64/wcschr.S: New file.
44056         * sysdeps/x86_64/wcsrchr.S: New file.
44057         * string/test-strcmp.c: Remove checking of wcscmp function for
44058         wrong alignments.
44059         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44060         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44061         wcsrchr-sse2 wcsrchr-c.
44062         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44063         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44064         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44065         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44066         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44067         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44068         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44069         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44070         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44071         * wcsmbc/wcschr.c (WCSCHR): New macro.
44072
44073 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44074
44075         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44076         * wcsmbs/test-wcsrchr.c: New file.
44077         * string/test-strrchr.c: Add wcsrchr support.
44078         (WIDE): New macro.
44079         * wcsmbs/test-wcscpy.c: New file.
44080         * string/test-strcpy.c: Add wcscpy support.
44081         (WIDE): New macro.
44082
44083 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44084
44085         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44086         the inner loop.
44087
44088 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44089
44090         [BZ #13472]
44091         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44092
44093 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44094
44095         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44096         Minor optimizations.
44097
44098         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44099         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44100         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44101
44102 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44103
44104         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44105         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44106         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44107         for gcc to avoid warnings.
44108         * inet/Makefile (tests): Add tst-checks.
44109         * inet/tst-checks.c: New file.
44110
44111         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44112         warning.
44113
44114         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44115         __wmemcmp_sse2.
44116
44117         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44118         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44119
44120         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44121
44122 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44123
44124         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44125         problem.
44126
44127         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44128
44129 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44130
44131         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44132         conditional on GCC version.
44133         (__arch_compare_and_exchange_val_8_acq)
44134         (__arch_compare_and_exchange_val_16_acq)
44135         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44136         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44137         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44138
44139 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44140
44141         * sysdeps/sh/backtrace.c: New file.
44142
44143 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44144
44145         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44146         parenthesis.
44147
44148 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44149
44150         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44151         falling back to utime.
44152
44153 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44154
44155         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44156         expectations for float.
44157
44158 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44159
44160         * locale/weight.h (findidx): Add parameter len.
44161         * locale/weightwc.h (findidx): Likewise.
44162         * posix/fnmatch_loop.c (FCT): Adjust caller.
44163         * posix/regcomp.c (build_equiv_class): Likewise.
44164         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44165         * posix/regexec.c (check_node_accept_bytes): Likewise.
44166         * string/strcoll_l.c (STRCOLL): Likewise.
44167         * string/strxfrm_l.c (STRXFRM): Likewise.
44168
44169 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44170
44171         * Makefile.in: Remove CVSOPT handling.
44172         * configure.in: Remove use of AC_REVISION.
44173         * iconvdata/Makefile (distribute): No need to filter out CVS.
44174         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44175         handling.
44176
44177 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44178
44179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44180         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44181         [USE_AS_STRNCASECMP_L]: Likewise.
44182         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44183         NO_TLS_DIRECT_SEG_REFS.
44184         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44185         Fix argument offsets for non-PIC.
44186         [USE_AS_STRNCASECMP_L]: Likewise.
44187         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44188         NO_TLS_DIRECT_SEG_REFS.
44189
44190 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44191
44192         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44193         O_CLOEXEC.
44194         * locale/loadlocale.c (_nl_load_locale): Likewise.
44195
44196 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44197
44198         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44199         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44200         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44201         (SYSCALL_GETTIME): Set errno on error.
44202
44203         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44204         count references to noai6ai_cached.
44205
44206 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44207
44208         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44209
44210         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44211         FD_CLOEXEC for /proc/self/maps.
44212
44213         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44214         FD_CLOEXEC for /proc/meminfo.
44215
44216         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44217         gai.conf.
44218
44219         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44220         FD_CLOEXEC for given file.
44221
44222         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44223
44224         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44225         FD_CLOEXEC for /etc/hosts.
44226         (_gethtent): Likewise.
44227
44228         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44229
44230         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44231         cancellation and set FD_CLOEXEC for /etc/netgroup.
44232
44233         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44234         reading /etc/publickey.
44235
44236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44237         allow cancellation when reading /etc/group.
44238
44239         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44240         cancellation.
44241         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44242
44243         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44244         when using data file.
44245
44246         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44247
44248         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44249         (write_nis_obj): Use "c" and "e" in fopen.
44250
44251         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44252
44253         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44254
44255         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44256
44257         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44258
44259         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44260         locale.alias.
44261
44262         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44263
44264         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44265
44266         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44267
44268         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44269         file parsing and set FD_CLOEXEC.
44270
44271 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44272
44273         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44274
44275 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44276
44277         * malloc/arena.c (arena_get2): Don't call reused_arena when
44278         _int_new_arena failed.
44279
44280 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44281
44282         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44283         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44284         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44286         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44288         to compile strcasecmp and strncasecmp.
44289         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44290         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44291
44292         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44293
44294 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44295
44296         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44297         locale-defines.sym to gen-as-const-headers.
44298         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44299         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44300         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44301         to compile strcasecmp and strncasecmp.
44302         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44303         strcasecmp_l and strncasecmp_l.
44304         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44305         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44306         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44307         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44308         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44309         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44310         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44311         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44312         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44313         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44314         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44315
44316 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44317
44318         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44319         result of SYSDEP_GETTIME_CPU to retval.
44320         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44321         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44322
44323         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44324         variable.
44325
44326         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44327         mantissa words.
44328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44329
44330         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44331         from unused variable.
44332
44333         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44334         DWARF definitions.
44335         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44336         for assembling.
44337
44338         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44339         over namespaces.
44340
44341         * sunrpc/rpc_prot.c (rejected): Fix case value.
44342
44343         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44344         unsigned long long int to avoid warnings in shift.
44345
44346         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44347         of use of trans.
44348         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44349         variable tmp.
44350
44351         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44352         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44353         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44354
44355         * nis/nis_table.c (nis_list): Use variable of correct type for
44356         result of __follow_path call.
44357
44358 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44359
44360         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44361         of math functions ceil, trunc, floor, round, and sqrt, when
44362         avaliable on the platform.
44363         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44364         name clash.
44365         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44366         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44367         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44368
44369 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44370
44371         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44373
44374 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44375
44376         * include/unistd.h: Fix __readlink return type.
44377         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44378
44379 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44380
44381         * stdlib/ucontext.h: Undo last change for makecontext.
44382
44383 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44384
44385         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44386
44387         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44388         * setjmp/setjmp.h: Mark functions as non-leaf.
44389         * setjmp/bits/setjmp2.h: Likewise.
44390         * stdlib/ucontext.h: Likewise.
44391
44392 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44393
44394         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44395         (reused_arena): Don't check arena limit.
44396         (arena_get2): Atomically check arena limit.
44397
44398 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44399
44400         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44401         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44402
44403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44404         instructions.
44405
44406 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44407
44408         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44409         handler when locking.
44410
44411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44412         Fix size of allocated buffer.
44413
44414 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44415
44416         [BZ #10103]
44417         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44418         declarations for long double functions.
44419         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44420
44421         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44422
44423 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44424
44425         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44426         installed.
44427
44428         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44429         is disabled.
44430
44431 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44432
44433         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44434
44435 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44436
44437         * include/alloca.h (stackinfo_alloca_round): Define.
44438         (extend_alloca): Use it.
44439         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44440         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44441         here.
44442
44443         * scripts/check-local-headers.sh: Ignore libaudit.h.
44444
44445         * nscd/Makefile (extra-objs): Make recursively expanded.
44446
44447 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44448
44449         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44450         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44451
44452         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44453         * posix/tst-rfc3484-2.c: Likewise.
44454         * posix/tst-rfc3484-3.c: Likewise.
44455
44456         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44457         process_vm_writev.
44458         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44459         process_vm_writev.
44460         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44461         process_vm_writev from libc using GLIBC_2.15 version.
44462
44463         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44464
44465 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44466
44467         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44468         stack usage.
44469
44470 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44471
44472         [BZ #13367]
44473         * nss/getent.c (initgroups_keys): Show error message in case no group
44474         names are given.
44475
44476         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44477         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44478         __bump_nl_timestamp.
44479         * nscd/connections (nscd_init): When host database is served open
44480         netlink socket and request notification about configuration changes.
44481         (main_loop_poll): Track netlink file descriptor and bump timestamp
44482         in case data becomes available.
44483         (main_loop_epoll): Likewise.
44484         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44485         (database_pers_head): Add extra_data fileds.
44486         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44487         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44488         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44489         Adjust caller.
44490         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44491         in6ai data, call __free_in6ai.
44492         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44493         Add -DHAVE_NETLINK.
44494         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44495         interface information.  Reuse previous data if netlink timestamp
44496         is not changed.
44497         (__bump_nl_timestamp): New function.
44498         (__free_in6ai): New function.
44499
44500 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44501
44502         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44503         close_not_cancel_no_status here.
44504         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44505
44506 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44507
44508         [BZ #13276]
44509         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44510         return value.
44511
44512         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44513         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44514         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44515
44516 2011-07-03  Andreas Jaeger  <aj@suse.de>
44517
44518         [BZ #10709]
44519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44520         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44521         * math/libm-test.inc (sin_test): Add test case.
44522
44523 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44524
44525         [BZ #13337]
44526         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44527         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44528
44529         * elf/chroot_canon.c (chroot_canon): Cleanups.
44530
44531         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44532
44533         [BZ #13335]
44534         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44535         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44536
44537         * string/test-strchr.c: Make usable for strchrnul testing.
44538         * string/test-strchrnul.c: New file.
44539         * string/Makefile (strop-tests): Add strchrnul.
44540
44541         * po/it.po: Update from translation team.
44542         * po/es.po: Likewise.
44543
44544 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44545
44546         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44547         the three constants needed as parameters.  Drop the others.
44548         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44549         __m128i_strloadu_tolower.
44550         Create and initialize variable zero and use it in all the places
44551         where _mm_setzero_si128 was used.
44552
44553         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44554         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44555         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44556         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44557         anymore.
44558         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44559         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44560         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44561         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44562         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44563         __mpranred, __mptan.
44564         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44565         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44566         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44567         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44568         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44569         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44570         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44571         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44572         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44573
44574 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44575
44576         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44577         redefine if SHARED.
44578         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44579
44580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44581         wide char related routines to wcsmbs subdir.
44582
44583 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44584
44585         [BZ #13344]
44586         * misc/sys/cdefs.h (__THROWNL): Define.
44587         * posix/unistd.h: Use __THREADNL instead of __THREAD
44588         for memory synchronization functions.
44589
44590 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44591
44592         [BZ #13349]
44593         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44594         doesn't exist.
44595         * manual/stdio.texi (Obstack Streams): Node removed.
44596
44597 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44598
44599         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44601         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44602
44603         * math/math_private.h (math_force_eval): Allow non-addressable
44604         arguments.
44605         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44606
44607 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44608
44609         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44610         file is not needed.
44611
44612         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44613         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44614         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44615         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44619         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44620         Add AVX variants.
44621         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44622         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44623         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44624         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44625         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44626         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44627         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44628         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44629         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44630         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44631         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44632         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44633         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44634         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44635         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44636         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44637         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44638         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44639         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44640
44641         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44642         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44643
44644         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44645         place.  Use VEX encoding when compiling for AVX.
44646
44647 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44648
44649         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44650         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44651
44652         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44653
44654 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44655
44656         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44657         useless if() expression.
44658         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44659         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44660         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44662         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44663         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44664         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44666         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44668         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44669         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44670         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44671         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44672         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44673         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44674         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44675         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44676         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44677
44678         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44679
44680 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44681
44682         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44683         condition.
44684         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44685
44686 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44689         .text section.  Avoid duplicate constants.
44690         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44692         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44694         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44698         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44699         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44700         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44701         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44702         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44703         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44704         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44705         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44706         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44707         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44708         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44710         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44711         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44713         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44714         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44715         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44716         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44717         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44718         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44719         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44720         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44721         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44722         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44723         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44724         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44725         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44726         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44727         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44728         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44729         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44731         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44732         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44733         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44734         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44735
44736 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44737
44738         * sysdeps/x86_64/dla.h: Move to ...
44739         * sysdeps/x86_64/fpu/dla.h: ...here.
44740         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44741         situations.  Use __builtin_fma only for gcc 4.6 and up.
44742
44743         * config.make.in: Add have-mfma4 entry.
44744         * configure.in: Substitute libc_cv_cc_fma4.
44745         * math/Makefile (dbl-only-routines): Add sincostab.
44746         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44747         Use __sincostab not sincos.
44748         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44749         name is a macro.
44750         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44752         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44754         using __copysign.
44755         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44756         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44757         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44758         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44759         and __inv.
44760         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44761         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44762         __copysign.
44763         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44764         define aliases when function name is a macro.
44765         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44766         sysdeps/ieee754/dbl-64/sincos.tbl.
44767         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44768         fma4-enabled routines.
44769         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44770         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44771         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44772         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44773         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44774         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44776         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44777         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44778         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44779         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44780         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44781         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44782         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44783         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44784         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44785         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44786         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44787         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44788         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44789         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44790         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44794         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44795         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44796         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44797         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44798         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44799
44800         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44801         rename.
44802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44810
44811 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44812
44813         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44814
44815 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44816
44817         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44818
44819         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44820         prediction.
44821         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44822
44823         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44824         Remove unused variable magic_bits.
44825         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44826
44827         * string/strnlen.c: Define and use STRNLEN macro.
44828         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44829         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44830         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44831         * wcsmbs/wcslen.c: Define and use WCSLEN.
44832         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44833         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44834         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44835         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44836         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44837         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44838         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44839
44840 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44841
44842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44843         strnlen-sse2-no-bsf.
44844         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44845         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44846         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44847         Add strnlen support.
44848         (USE_AS_STRNLEN): New macro.
44849         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44850         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44851         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44852         * sysdeps/x86_64/wcslen.S: New file.
44853
44854 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44855
44856         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44857         XMM-moves are used for copying on small sizes.
44858
44859 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44860
44861         * wcsmbs/Makefile (strop-tests): Add wcschr.
44862         * wcsmbs/test-wcschr.c: New file.
44863         * string/test-strchr.c: Update.
44864         Add wcschr support.
44865         (WIDE): New macro.
44866
44867 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44868
44869         * wcsmbs/Makefile (strop-tests): Add wcslen.
44870         * wcsmbs/test-wcslen.c: New file.
44871         * string/test-strlen.c: Update.
44872         Add wcslen support.
44873         (WIDE): New macro.
44874
44875 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * po/it.po: Update from translation team.
44878
44879 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44880
44881         * sysdeps/x86_64/wcscmp.S: Update.
44882         Fix wrong comparison semantics.
44883         wcscmp shall use signed comparison not unsigned.
44884         Don't use substraction to avoid overflow bug.
44885         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44886         * wcsmbc/wcscmp.c: Likewise.
44887         * string/test-strcmp.c: Likewise.
44888         Add new tests to check cases with negative values.
44889
44890 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44891
44892         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44893         * sysdeps/x86_64/dla.h: ...here.  New file.
44894         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44899         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44901         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44903
44904 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44905
44906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44907         __ynl_finite aliases.
44908
44909 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44910
44911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44912
44913         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44914         define DLA_FMA.
44915         [DLA_FMA] (EMULV): Use DLA_FMA.
44916         [DLA_FMA] (MUL12): Use EMULV.
44917         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44918         that are not needed.
44919         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44926
44927 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44928
44929         * math/s_nan.c: Undef __nan.
44930         * math/s_nanf.c: Undef __nanf.
44931         * math/s_nanl.c: Undef __nanl.
44932         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44933         "math_private.h".
44934
44935 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44936
44937         * math/s_catan.c: Add branch predictions.
44938         * math/s_catanf.c: Likewise.
44939         * math/s_catanh.c: Likewise.
44940         * math/s_catanhf.c: Likewise.
44941         * math/s_catanhl.c: Likewise.
44942         * math/s_catanl.c: Likewise.
44943         * math/s_cexp.c: Likewise.
44944         * math/s_cexpf.c: Likewise.
44945         * math/s_cexpl.c: Likewise.
44946         * math/s_clog.c: Likewise.
44947         * math/s_clog10.c: Likewise.
44948         * math/s_clog10f.c: Likewise.
44949         * math/s_clog10l.c: Likewise.
44950         * math/s_clogf.c: Likewise.
44951         * math/s_clogl.c: Likewise.
44952         * math/s_csqrt.c: Likewise.
44953         * math/s_csqrtf.c: Likewise.
44954         * math/s_csqrtl.c: Likewise.
44955         * math/s_ctanf.c: Likewise.
44956         * math/s_ctanh.c: Likewise.
44957         * math/s_ctanhf.c: Likewise.
44958         * math/s_ctanhl.c: Likewise.
44959         * math/s_ctanl.c: Likewise.
44960
44961         * math/math_private.h: Define __nan, __nanf, __nanl.
44962         * math/s_cacosh.c: Include <math_private.h>.
44963         * math/s_cacoshl.c: Likewise.
44964         * math/s_casinh.c: Likewise.
44965         * math/s_casinhf.c: Likewise.
44966         * math/s_casinhl.c: Likewise.
44967         * math/s_ccos.c: Rely entire on ccosh.
44968         * math/s_ccosf.c: Rely entire on ccoshf.
44969         * math/s_ccosl.c: Rely entirely on ccoshl.
44970         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44971         Remove tests for FE_INVALID.
44972         * math/s_ccoshf.c: Likewise.
44973         * math/s_ccoshl.c: Likewise.
44974         * math/s_csin.c: Likewise.
44975         * math/s_csinf.c: Likewise.
44976         * math/s_csinh.c Likewise.
44977         * math/s_csinhf.c: Likewise.
44978         * math/s_csinhl.c: Likewise.
44979         * math/s_csinl.c: Likewise.
44980         * math/s_ctan.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44982         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44983         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44984
44985 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44986
44987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44988         compilation problems.
44989
44990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44991         __builtin_expect.
44992
44993 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44994
44995         * sysdeps/i386/configure.in: Test for -mfma4 option.
44996         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44997         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44998         COMMON_CPUID_INDEX_80000001.
44999         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45000         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45001         use it if FMA3 is not supported.
45002         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45003
45004         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45005         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45006
45007 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45008
45009         [BZ #12892]
45010         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45011         it would create a cycle with a link time dependency.
45012
45013 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45014
45015         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45016         instruction.
45017         * string/Makefile (strop-tests): Add rawmemchr.
45018         * string/test-rawmemchr.c: New file.
45019
45020         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45022         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45023         when compiling str{,n}casecmp and when AVX is available.  Hook up
45024         new optimized code in initializers.
45025
45026 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45027
45028         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45029         __feraiseexcept instead of feraiseexcept.
45030
45031 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45032
45033         * math/math_private.h: Define defaults for libc_fetestexcept and
45034         libc_feupdateenv.
45035         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45036         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45037         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45038         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45039         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45040         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45041         libc_fetestexcept and libc_feupdateenv.
45042
45043         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45044         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45045         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45046         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45047         libc_feholdexcept_setround.
45048
45049         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45050         Add s_nearbyint-c and s_nearbyintf-c.
45051         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45052         nearbyintf inlines.
45053         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45054         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45055         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45056         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45057
45058         * math/math_private.h: Define defaults for libc_fegetround,
45059         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45060         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45061         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45063         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45064         standard functions.
45065         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45066         Remove comments and hacks for old compiler versions.
45067         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45068         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45069         libc_feholdexceptl.
45070
45071 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45072
45073         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45074         (__feraiseexcept_renamed): Add __NTH.
45075         (feraiseexcept): Add __NTH.  Rename local variables to fix
45076         namespace violations.
45077
45078 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45079
45080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45081
45082         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45083
45084         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45085         recently added interfaces.
45086         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45087
45088         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45089         about macro parameter expansion.
45090
45091         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45092         __NO_MATH_INLINES is defined.  Cleanups.
45093
45094         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45095         and __floorf is target has SSE4.1.
45096         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45097         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45098         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45099         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45100
45101         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45102         name.
45103         (floorf): Likewise.
45104
45105         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45106
45107 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45108
45109         * misc/sys/cdefs.h: Fix last change.
45110
45111         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45112         database lookup.
45113
45114 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45115
45116         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45117
45118         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45120         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45121         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45122         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45123         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45124         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45125         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45126         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45127         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45128         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45129         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45130         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45131         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45132         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45133         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45134         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45135         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45136         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45137         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45138         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45139         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45140
45141         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45142         ceil, ceilf, floor, floorf.
45143
45144         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45145         Perform IRELATIVE relocations last.
45146
45147         * elf/do-rel.h: Add another parameter nrelative, replacing the
45148         local variable with the same name.  Change name of the function
45149         to end in Rel or Rela (uppercase).
45150         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45151         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45152         elf_dynamic_do_##reloc function.
45153
45154 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45155
45156         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45157         is sufficient, at least on modern CPUs.
45158
45159         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45160
45161         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45162         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45163
45164         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45165         __expl_finite.
45166         * math/bits/math-finite.h: Add entries for exp.
45167         * math/e_expl.c: Add __*_finite alias.
45168         * sysdeps/i386/fpu/e_exp.S: Likewise.
45169         * sysdeps/i386/fpu/e_expf.S: Likewise.
45170         * sysdeps/i386/fpu/e_expl.c: Likewise.
45171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45172         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45176         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45178
45179         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45180         is sufficient, at least on modern CPUs.
45181
45182         * ctype/ctype-info.c (__ctype_init): Define.
45183         * include/ctype.h (__ctype_init): Declare.
45184         (__ctype_b_loc): The variable is always initialized.
45185         (__ctype_toupper_loc): Likewise.
45186         (__ctype_tolower_loc): Likewise.
45187         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45188         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45189
45190 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45191
45192         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45193
45194         * configure.in: Also look in $cxxmachine/include for C++ system
45195         headers.
45196
45197 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45198
45199         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45200         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45201         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45202         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45203         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45204         (USE_AS_WMEMCMP): New macro.
45205         Fixing indents.
45206         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45207         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45208         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45209         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45211         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45212         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45213         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45214         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45215         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45216         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45217         (USE_AS_WMEMCMP): New macro.
45218         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45219         * sysdeps/string/test-memcmp.c: Update.
45220         Fix simple_wmemcmp.
45221         Add new tests.
45222         * wcsmbs/wmemcmp.c: Update.
45223         (WMEMCMP): New macro.
45224         Fix overflow bug.
45225
45226 2011-10-12  Andreas Jaeger  <aj@suse.de>
45227
45228         [BZ #13268]
45229         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45230
45231 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45232
45233         * libio/iofwide.c (do_length): Avoid warning.
45234
45235         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45236
45237 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45238
45239         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45240
45241         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45242         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45243         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45244         * sysdeps/i386/i686/fpu/e_log.S: New file.
45245         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45246         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45247
45248         * ctype/ctype.h: Add support for inlined isXXX functions when
45249         compiling C++ code.
45250
45251 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45252
45253         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45254
45255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45256
45257 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45258
45259         [BZ #13291]
45260         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45261
45262 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45263
45264         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45265         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45266         feraiseexcept.
45267
45268         * sysdeps/x86_64/memrchr.S: Check for zero size.
45269
45270         * string/stratcliff.c: Add memrchr tests.
45271
45272 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45273
45274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45275         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45276         rawmemchr-sse2 rawmemchr-sse2-bsf.
45277         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45278         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45279         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45280         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45281         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45282         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45283         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45284         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45285         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45286         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45287         * string/memrchr.c (MEMRCHR): New macro.
45288
45289 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45290
45291         Add integration with gcc's -ffinite-math-only and optimize wrapper
45292         functions in libm.
45293         * Versions.def: Define GLIBC_2.15 version for libm.
45294         * math/Makefile (headers): Add bits/math-finite.h.
45295         * math/bits/math-finite.h: New file.
45296         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45297         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45298         * math/e_acoshl.c: Add __*_finite alias.
45299         * math/e_acosl.c: Likewise.
45300         * math/e_asinl.c: Likewise.
45301         * math/e_atan2l.c: Likewise.
45302         * math/e_atanhl.c: Likewise.
45303         * math/e_coshl.c: Likewise.
45304         * math/e_exp10.c: Likewise.
45305         * math/e_exp10f.c: Likewise.
45306         * math/e_exp10l.c: Likewise.
45307         * math/e_exp2l.c: Likewise.
45308         * math/e_fmodl.c: Likewise.
45309         * math/e_gammal_r.c: Likewise.
45310         * math/e_hypotl.c: Likewise.
45311         * math/e_j0l.c: Likewise.
45312         * math/e_j1l.c: Likewise.
45313         * math/e_jnl.c: Likewise.
45314         * math/e_lgammal_r.c: Likewise.
45315         * math/e_log10l.c: Likewise.
45316         * math/e_log2l.c: Likewise.
45317         * math/e_logl.c: Likewise.
45318         * math/e_powl.c: Likewise.
45319         * math/e_sinhl.c: Likewise.
45320         * math/e_sqrtl.c: Likewise.
45321         * math/e_scalb.c: Completely rewritten and optimized.
45322         * math/e_scalbf.c: Likewise.
45323         * math/e_scalbl.c: Likewise.
45324         * math/w_acos.c: Likewise.
45325         * math/w_acosf.c: Likewise.
45326         * math/w_acosl.c: Likewise.
45327         * math/w_acosh.c: Likewise.
45328         * math/w_acoshf.c: Likewise.
45329         * math/w_acoshl.c: Likewise.
45330         * math/w_asin.c: Likewise.
45331         * math/w_asinf.c: Likewise.
45332         * math/w_asinl.c: Likewise.
45333         * math/w_atan2.c: Likewise.
45334         * math/w_atan2f.c: Likewise.
45335         * math/w_atan2l.c: Likewise.
45336         * math/w_atanh.c: Likewise.
45337         * math/w_atanhf.c: Likewise.
45338         * math/w_atanhl.c: Likewise.
45339         * math/w_exp10.c: Likewise.
45340         * math/w_exp10f.c: Likewise.
45341         * math/w_exp10l.c: Likewise.
45342         * math/w_fmod.c: Likewise.
45343         * math/w_fmodf.c: Likewise.
45344         * math/w_fmodl.c: Likewise.
45345         * math/w_j0.c: Likewise.
45346         * math/w_j0f.c: Likewise.
45347         * math/w_j0l.c: Likewise.
45348         * math/w_j1.c: Likewise.
45349         * math/w_j1f.c: Likewise.
45350         * math/w_j1l.c: Likewise.
45351         * math/w_jn.c: Likewise.
45352         * math/w_jnf.c: Likewise.
45353         * math/w_log.c: Likewise.
45354         * math/w_logf.c: Likewise.
45355         * math/w_logl.c: Likewise.
45356         * math/w_log10.c: Likewise.
45357         * math/w_log10f.c: Likewise.
45358         * math/w_log10l.c: Likewise.
45359         * math/w_log2.c: Likewise.
45360         * math/w_log2f.c: Likewise.
45361         * math/w_log2l.c: Likewise.
45362         * math/w_pow.c: Likewise.
45363         * math/w_powf.c: Likewise.
45364         * math/w_powl.c: Likewise.
45365         * math/w_remainder.c: Likewise.
45366         * math/w_remainderf.c: Likewise.
45367         * math/w_remainderl.c: Likewise.
45368         * math/w_scalb.c: Likewise.
45369         * math/w_scalbf.c: Likewise.
45370         * math/w_scalbl.c: Likewise.
45371         * math/w_sqrt.c: Likewise.
45372         * math/w_sqrtf.c: Likewise.
45373         * math/w_sqrtl.c: Likewise.
45374         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45375         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45376         used.
45377         * math/math_private.h: Declare __kernel_standard_f.
45378         * math/w_cosh.c: Remove cruft and optimize a bit.
45379         * math/w_coshf.c: Likewise.
45380         * math/w_coshl.c: Likewise.
45381         * math/w_exp2.c: Likewise.
45382         * math/w_exp2f.c: Likewise.
45383         * math/w_exp2l.c: Likewise.
45384         * math/w_hypot.c: Likewise.
45385         * math/w_hypotf.c: Likewise.
45386         * math/w_hypotl.c: Likewise.
45387         * math/w_lgamma.c: Likewise.
45388         * math/w_lgamma_r.c: Likewise.
45389         * math/w_lgammaf.c: Likewise.
45390         * math/w_lgammaf_r.c: Likewise.
45391         * math/w_lgammal.c: Likewise.
45392         * math/w_lgammal_r.c: Likewise.
45393         * math/w_sinh.c: Likewise.
45394         * math/w_sinhf.c: Likewise.
45395         * math/w_sinhl.c: Likewise.
45396         * math/w_tgamma.c: Likewise.
45397         * math/w_tgammaf.c: Likewise.
45398         * math/w_tgammal.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45400         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45401         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45402         Minor optimizations.  Pretty printing.  Remove cruft.
45403         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45404         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45405         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45406         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45407         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45408         * sysdeps/i386/fpu/e_asin.S: Likewise.
45409         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45410         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45411         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45412         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45414         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45416         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45417         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45418         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45419         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45420         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45421         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45422         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45423         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45424         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45425         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45426         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45427         * sysdeps/i386/fpu/e_log.S: Likewise.
45428         * sysdeps/i386/fpu/e_log10.S: Likewise.
45429         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45430         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45431         * sysdeps/i386/fpu/e_log2.S: Likewise.
45432         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45433         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45434         * sysdeps/i386/fpu/e_logf.S: Likewise.
45435         * sysdeps/i386/fpu/e_logl.S: Likewise.
45436         * sysdeps/i386/fpu/e_pow.S: Likewise.
45437         * sysdeps/i386/fpu/e_powf.S: Likewise.
45438         * sysdeps/i386/fpu/e_powl.S: Likewise.
45439         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45440         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45441         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45442         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45444         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45445         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45446         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45447         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45448         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45449         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45450         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45451         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45452         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45453         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45455         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45456         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45457         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45458         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45459         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45461         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45462         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45464         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45466         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45468         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45469         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45470         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45471         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45472         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45473         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45474         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45475         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45476         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45477         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45478         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45479         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45480         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45482         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45483         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45484         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45485         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45486         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45487         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45488         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45489         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45490         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45491         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45492         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45493         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45494         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45495         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45496         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45497         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45498         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45499         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45500         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45502         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45503         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45504         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45505         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45506         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45507         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45508         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45516         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45517         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45524         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45525         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45526         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45527         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45528         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45529         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45530         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45531         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45532         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45533         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45534         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45535         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45536         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45537         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45539         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45540         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45541         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45542         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45543         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45544         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45545         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45546         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45547         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45548         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45549         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45550         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45551         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45552         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45553         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45554         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45555         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45556         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45557         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45558         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45559         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45560         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45561         (__isnanf): Likewise.
45562         (__isinf_ns): Likewise.
45563         (__isinf_nsf): Likewise.
45564         (__finite): Likewise.
45565         (__finitef): Likewise.
45566         (__ieee754_sqrt): Define as macro.
45567         (__ieee754_sqrtf): Define as macro.
45568         (__ieee754_sqrtl): Define as macro.
45569         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45570         inlined copy.
45571         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45572         __FINITE_MATH_ONLY__ consistent.
45573         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45574
45575 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45576
45577         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45578         of rawmemchr.
45579
45580         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45581
45582 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45583
45584         * po/ja.po: Update from translation team.
45585
45586 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45587
45588         * locale/programs/locarchive.c (prepare_address_space): New function.
45589         (create_archive, enlarge_archive, open_archive): Use it.
45590
45591         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45592         inside [SHARED], where it is used.
45593
45594         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45595
45596         * nss/getent.c (netgroup_keys): Remove unused variable.
45597         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45598
45599 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45600
45601         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45602         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45604         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45605         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45606         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45607         * math/Makefile (libm-calls): Add s_isinf_ns.
45608         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45609         * math/multc3.c: Likewise.
45610         * math/s_casin.c: Likewise.
45611         * math/s_casinf.c: Likewise.
45612         * math/s_casinl.c: Likewise.
45613         * math/s_ccos.c: Likewise.
45614         * math/s_ccosf.c: Likewise.
45615         * math/s_ccosl.c: Likewise.
45616         * math/s_ctan.c: Likewise.
45617         * math/s_ctanf.c: Likewise.
45618         * math/s_ctanh.c: Likewise.
45619         * math/s_ctanhf.c: Likewise.
45620         * math/s_ctanhl.c: Likewise.
45621         * math/s_ctanl.c: Likewise.
45622         * math/w_fmod.c: Likewise.
45623         * math/w_fmodf.c: Likewise.
45624         * math/w_fmodl.c: Likewise.
45625         * math/w_remainder.c: Likewise.
45626         * math/w_remainderf.c: Likewise.
45627         * math/w_remainderl.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45629         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45630         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45632         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45633         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45634         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45635         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45636
45637         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45638         of the number.
45639         * stdio-common/printf_fphex.c: Likewise.
45640         * stdio-common/printf_size.c: Likewise.
45641
45642         * math/e_exp10.c: Include math_private.h using <...> not "...".
45643         * math/e_exp10f.c: Likewise.
45644         * math/e_exp10l.c: Likewise.
45645         * math/e_exp2l.c: Likewise.
45646         * math/e_j0l.c: Likewise.
45647         * math/e_j1l.c: Likewise.
45648         * math/e_jnl.c: Likewise.
45649         * math/e_lgammal_r.c: Likewise.
45650         * math/e_rem_pio2l.c: Likewise.
45651         * math/e_scalb.c: Likewise.
45652         * math/e_scalbf.c: Likewise.
45653         * math/e_scalbl.c: Likewise.
45654         * math/k_cosl.c: Likewise.
45655         * math/k_sinl.c: Likewise.
45656         * math/k_tanl.c: Likewise.
45657         * math/s_cacoshf.c: Likewise.
45658         * math/s_catan.c: Likewise.
45659         * math/s_catanf.c: Likewise.
45660         * math/s_catanh.c: Likewise.
45661         * math/s_catanhf.c: Likewise.
45662         * math/s_catanhl.c: Likewise.
45663         * math/s_catanl.c: Likewise.
45664         * math/s_ccosh.c: Likewise.
45665         * math/s_ccoshf.c: Likewise.
45666         * math/s_ccoshl.c: Likewise.
45667         * math/s_cexp.c: Likewise.
45668         * math/s_cexpf.c: Likewise.
45669         * math/s_cexpl.c: Likewise.
45670         * math/s_clog.c: Likewise.
45671         * math/s_clog10.c: Likewise.
45672         * math/s_clog10f.c: Likewise.
45673         * math/s_clog10l.c: Likewise.
45674         * math/s_clogf.c: Likewise.
45675         * math/s_clogl.c: Likewise.
45676         * math/s_csin.c: Likewise.
45677         * math/s_csinf.c: Likewise.
45678         * math/s_csinh.c: Likewise.
45679         * math/s_csinhf.c: Likewise.
45680         * math/s_csinhl.c: Likewise.
45681         * math/s_csinl.c: Likewise.
45682         * math/s_csqrt.c: Likewise.
45683         * math/s_csqrtf.c: Likewise.
45684         * math/s_csqrtl.c: Likewise.
45685         * math/s_ctan.c: Likewise.
45686         * math/s_ctanf.c: Likewise.
45687         * math/s_ctanh.c: Likewise.
45688         * math/s_ctanhf.c: Likewise.
45689         * math/s_ctanhl.c: Likewise.
45690         * math/s_ctanl.c: Likewise.
45691         * math/s_ldexp.c: Likewise.
45692         * math/s_ldexpf.c: Likewise.
45693         * math/s_ldexpl.c: Likewise.
45694         * math/s_significand.c: Likewise.
45695         * math/s_significandf.c: Likewise.
45696         * math/s_significandl.c: Likewise.
45697         * math/w_acos.c: Likewise.
45698         * math/w_acosf.c: Likewise.
45699         * math/w_acosh.c: Likewise.
45700         * math/w_acoshf.c: Likewise.
45701         * math/w_acoshl.c: Likewise.
45702         * math/w_acosl.c: Likewise.
45703         * math/w_asin.c: Likewise.
45704         * math/w_asinf.c: Likewise.
45705         * math/w_asinl.c: Likewise.
45706         * math/w_atan2.c: Likewise.
45707         * math/w_atan2f.c: Likewise.
45708         * math/w_atan2l.c: Likewise.
45709         * math/w_atanh.c: Likewise.
45710         * math/w_atanhf.c: Likewise.
45711         * math/w_atanhl.c: Likewise.
45712         * math/w_cosh.c: Likewise.
45713         * math/w_coshf.c: Likewise.
45714         * math/w_coshl.c: Likewise.
45715         * math/w_dremf.c: Likewise.
45716         * math/w_exp10.c: Likewise.
45717         * math/w_exp10f.c: Likewise.
45718         * math/w_exp10l.c: Likewise.
45719         * math/w_exp2.c: Likewise.
45720         * math/w_exp2f.c: Likewise.
45721         * math/w_fmod.c: Likewise.
45722         * math/w_fmodf.c: Likewise.
45723         * math/w_fmodl.c: Likewise.
45724         * math/w_hypot.c: Likewise.
45725         * math/w_hypotf.c: Likewise.
45726         * math/w_hypotl.c: Likewise.
45727         * math/w_j0.c: Likewise.
45728         * math/w_j0f.c: Likewise.
45729         * math/w_j0l.c: Likewise.
45730         * math/w_j1.c: Likewise.
45731         * math/w_j1f.c: Likewise.
45732         * math/w_j1l.c: Likewise.
45733         * math/w_jn.c: Likewise.
45734         * math/w_jnf.c: Likewise.
45735         * math/w_jnl.c: Likewise.
45736         * math/w_lgamma.c: Likewise.
45737         * math/w_lgamma_r.c: Likewise.
45738         * math/w_lgammaf.c: Likewise.
45739         * math/w_lgammaf_r.c: Likewise.
45740         * math/w_lgammal.c: Likewise.
45741         * math/w_lgammal_r.c: Likewise.
45742         * math/w_log.c: Likewise.
45743         * math/w_log10.c: Likewise.
45744         * math/w_log10f.c: Likewise.
45745         * math/w_log10l.c: Likewise.
45746         * math/w_log2.c: Likewise.
45747         * math/w_log2f.c: Likewise.
45748         * math/w_log2l.c: Likewise.
45749         * math/w_logf.c: Likewise.
45750         * math/w_logl.c: Likewise.
45751         * math/w_pow.c: Likewise.
45752         * math/w_powf.c: Likewise.
45753         * math/w_powl.c: Likewise.
45754         * math/w_remainder.c: Likewise.
45755         * math/w_remainderf.c: Likewise.
45756         * math/w_remainderl.c: Likewise.
45757         * math/w_scalb.c: Likewise.
45758         * math/w_scalbf.c: Likewise.
45759         * math/w_scalbl.c: Likewise.
45760         * math/w_sinh.c: Likewise.
45761         * math/w_sinhf.c: Likewise.
45762         * math/w_sinhl.c: Likewise.
45763         * math/w_sqrt.c: Likewise.
45764         * math/w_sqrtf.c: Likewise.
45765         * math/w_sqrtl.c: Likewise.
45766         * math/w_tgamma.c: Likewise.
45767         * math/w_tgammaf.c: Likewise.
45768         * math/w_tgammal.c: Likewise.
45769
45770         * po/ja.po: Update from translation team.
45771
45772 2011-09-29  Andreas Jaeger  <aj@suse.de>
45773
45774         [BZ #13179]
45775         * sunrpc/netname.c (netname2host): Fix logic.
45776
45777         [BZ #6779]
45778         [BZ #6783]
45779         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45780         correctly.
45781         * math/w_remainder.c (__remainder): Likewise.
45782         * math/w_remainderf.c (__remainderf): Likewise.
45783         * math/libm-test.inc (remainder_test): Add test cases.
45784
45785 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45786
45787         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45788         sdiv_qrnnd.
45789
45790 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45791
45792         * string/test-memcmp.c: Avoid unncessary #defines.
45793         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45794
45795 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45796
45797         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45798         Use new sse2 version for core i3 - i7 as it's faster
45799         than sse42 version.
45800         (bit_Prefer_PMINUB_for_stringop): New.
45801         * sysdeps/x86_64/rawmemchr.S: Update.
45802         Replace with faster SSE2 version.
45803         * sysdeps/x86_64/memrchr.S: New file.
45804         * sysdeps/x86_64/memchr.S: Update.
45805         Replace with faster SSE2 version.
45806
45807 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45808
45809         * elf/dl-load.c (lose): Add cast to avoid warning.
45810
45811 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45812
45813         * po/ca.po: Update from translation team.
45814
45815         * inet/getnetgrent_r.c: Hook up nscd.
45816         * nscd/Makefile (routines): Add nscd_netgroup.
45817         (nscd-modules): Add netgroupcache.
45818         (CFLAGS-netgroupcache.c): Define.
45819         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45820         (cache_search): Add const to second parameter.
45821         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45822         INNETGR.
45823         (dbs): Add netgrdb entry.
45824         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45825         (verify_persistent_db): Handle netgrdb.
45826         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45827         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45828         GETFDNETGR.
45829         (netgroup_response_header): Define.
45830         (innetgroup_response_header): Define.
45831         (datahead): Add netgroup_response_header and innetgroup_response_header
45832         elements.
45833         * nscd/nscd.conf: Add entries for netgroup cache.
45834         * nscd/nscd.h (dbtype): Add netgrdb.
45835         (_PATH_NSCD_NETGROUP_DB): Define.
45836         (netgroup_iov_disabled): Declare.
45837         (xmalloc, xcalloc, xrealloc): Move declarations here.
45838         (cache_search): Adjust prototype.
45839         Add netgroup-related prototypes.
45840         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45841         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45842         (__nscd_innetgr): Declare.
45843         * nscd/selinux.c (perms): Use access_vector_t as element type and
45844         add netgroup-related initializers.
45845         * nscd/netgroupcache.c: New file.
45846         * nscd/nscd_netgroup.c: New file.
45847         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45848         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45849         For four parameters use innetgr.
45850         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45851         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45852         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45853         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45854
45855         * nscd/connections.c (register_traced_file): Don't register file
45856         for disabled databases.
45857
45858 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45859
45860         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45861
45862         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45863         from tree and freeing node.
45864
45865 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45866
45867         * nss/nsswitch.c (__nss_database_lookup): Handle
45868         nss_parse_service_list out of memory case.
45869
45870 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45871
45872         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45873         out of memory case.
45874
45875 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45876
45877         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45878         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45879         pass it down.
45880         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45881         elf_machine_rela, elf_machine_lazy_rel.
45882         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45883         (ELF_DYNAMIC_DO_REL): Likewise.
45884         (ELF_DYNAMIC_DO_RELA): Likewise.
45885         (ELF_DYNAMIC_RELOCATE): Likewise.
45886         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45887         to ELF_DYNAMIC_DO_REL.
45888         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45889         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45890         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45891         elf_machine_rela.
45892         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45893         skip_ifunc, don't call ifunc function if non-zero.
45894         (elf_machine_rela): Likewise.
45895         (elf_machine_lazy_rel): Likewise.
45896         (elf_machine_lazy_rela): Likewise.
45897         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45898         (elf_machine_lazy_rel): Likewise.
45899         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45900         Likewise.
45901         (elf_machine_lazy_rel): Likewise.
45902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45903         Likewise.
45904         (elf_machine_lazy_rel): Likewise.
45905         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45906         (elf_machine_lazy_rel): Likewise.
45907         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45908         (elf_machine_lazy_rel): Likewise.
45909         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45910         (elf_machine_lazy_rel): Likewise.
45911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45912         (elf_machine_lazy_rel): Likewise.
45913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45914         (elf_machine_lazy_rel): Likewise.
45915         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45916         (elf_machine_lazy_rel): Likewise.
45917
45918 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45919
45920         * nss/nss_files/files-init.c (_nss_files_init): Use static
45921         initialization for all the *_traced_file variables.
45922
45923 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45924
45925         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45926
45927 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45928
45929         [BZ #13226]
45930         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45931
45932 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45933
45934         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45935         Reread the line before reparsing it.
45936
45937 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45938
45939         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45940
45941 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45942             Maxim Kuvyrkov  <maxim@codesourcery.com>
45943             Joseph Myers  <joseph@codesourcery.com>
45944
45945         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45946         if needed for __stack_chk_guard.
45947
45948 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45949
45950         * sysdeps/posix/spawni.c (script_execute): Always define it.
45951         It will be optimized away if unused.
45952         (maybe_script_execute): New function.
45953         (__spawni): Call it.
45954
45955         * Makerules: Don't include tls.make.
45956         (config-tls): Always set to thread.
45957         * tls.make.c: File removed.
45958
45959 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45960
45961         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45962         * config.make.in (CPPFLAGS-config): New substituted variable.
45963
45964 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45965
45966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45967
45968         [BZ #13192]
45969         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45970         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45971
45972 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45973
45974         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45975         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45977         (CALL_FAIL): Likewise.
45978         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45979         (CALL_FAIL): Macro removed.
45980         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45981
45982 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45983
45984         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45985         for __FINITE_MATH_ONLY__ == 1.
45986
45987 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45988
45989         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45990         __ieee754_sqrt instead of sqrt.
45991         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45992         __ieee754_sqrtf instead of sqrtf.
45993         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45994         __floorf instead of floorf.
45995         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45996         __floorf, __truncf instead of floorf, truncf.
45997
45998 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45999
46000         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46001
46002         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46003         __extern_always_inline.
46004         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46005         32-bit.
46006
46007 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46008
46009         * elf/rtld.c (dl_main): Also relocate in dependency order when
46010         doing symbol dependency testing.
46011
46012 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46013
46014         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46015         Always define `refsym'.
46016
46017 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46018
46019         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46020         (__FD_ELT): Renamed from __FDELT.
46021         * misc/bits/select2.h (__FD_ELT): Likewise.
46022         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46023         __FD_MASK instead of __FDELT, __FDMASK.
46024         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46025         Likewise.
46026         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46027         Likewise.
46028
46029         * elf/Makefile (gen-ldd): Fix pattern.
46030
46031         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46032         (init_tls): Likewise.
46033
46034 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46035
46036         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46037
46038 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46039
46040         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46041         `struct cmsghdr *' instead of `void *'.
46042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46043         Likewise.
46044
46045 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46046
46047         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46048         if non-absolute.
46049         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46050         ldd_rewrite_script.
46051
46052 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46053
46054         * configure.in: Remove --with-tls option.
46055         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46056         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46057         out in case it is missing.
46058         * sysdeps/ia64/elf/configure.in: Likewise.
46059         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46060         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46061         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46062         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46063         * sysdeps/sh/elf/configure.in: Likewise.
46064         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46065         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46066         * sysdeps/x86_64/elf/configure.in: Likewise.
46067         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46068         * sysdeps/mach/hurd/tls.h: Likewise.
46069
46070         [BZ #13067]
46071         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46072
46073         [BZ #13090]
46074         * configure.in: Fix use of AC_INIT.
46075
46076         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46077
46078 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46079
46080         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46081         __set_errno.
46082         * malloc/hooks.c: Likewise.
46083
46084         [BZ #11929]
46085         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46086         variables statically.
46087         (narenas): Initialize.
46088         (list_lock): Initialize.
46089         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46090         initializtion of main_arena and list_lock.  Small cleanups.
46091         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46092         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46093         Add initializers to main_arena and mp_.
46094         (malloc_state): Remove pagesize member.  Change all users to use
46095         GLRO(dl_pagesize).
46096
46097         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46098         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46099         is always initialized.
46100
46101         * malloc/malloc.c: Removed unused configurations and dead code.
46102         * malloc/arena.c: Likewise.
46103         * malloc/hooks.c: Likewise.
46104         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46105
46106         * include/tls.h: Removed.  USE___THREAD must always be defined.
46107         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46108         * elf/dl-libc.c: Likewise.
46109         * elf/dl-tsd.c: Likewise.
46110         * include/errno.h: Likewise.
46111         * include/netdb.h: Likewise.
46112         * include/resolv.h: Likewise.
46113         * inet/herrno-loc.c: Likewise.
46114         * inet/herrno.c: Likewise.
46115         * malloc/arena.c: Likewise.
46116         * malloc/hooks.c: Likewise.
46117         * malloc/malloc.c: Likewise.
46118         * resolv/res-state.c: Likewise.
46119         * resolv/res_libc.c: Likewise.
46120         * sysdeps/i386/dl-machine.h: Likewise.
46121         * sysdeps/ia64/dl-machine.h: Likewise.
46122         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46123         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46124         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46125         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46126         * sysdeps/sh/dl-machine.h: Likewise.
46127         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46128         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46129         * sysdeps/unix/i386/sysdep.S: Likewise.
46130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46131         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46135         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46136         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46140         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46141         * sysdeps/x86_64/dl-machine.h: Likewise.
46142         * tls.make.c: Likewise.
46143
46144         * configure.in: Remove --with-__thread option.  Make tests for
46145         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46146         tls_model attribute fail if no support is available.  Remove
46147         USE_IN_LIBIO.
46148         * Makeconfig: Adjust for dropped configure option.  All features are
46149         now mandatory.
46150         * Makerules: Likewise.
46151         * Versions.def: Likewise.
46152         * argp/argp-fmtstream.c: Likewise.
46153         * argp/argp-fmtstream.h: Likewise.
46154         * argp/argp-help.c: Likewise.
46155         * assert/assert.c: Likewise.
46156         * config.h.in: Likewise.
46157         * config.make.in: Likewise.
46158         * configure: Likewise.
46159         * configure.in: Likewise.
46160         * csu/Versions: Likewise.
46161         * csu/init.c: Likewise.
46162         * elf/tst-audit2.c: Likewise.
46163         * elf/tst-tls10.c: Likewise.
46164         * elf/tst-tls10.h: Likewise.
46165         * elf/tst-tls11.c: Likewise.
46166         * elf/tst-tls12.c: Likewise.
46167         * elf/tst-tls14.c: Likewise.
46168         * elf/tst-tlsmod11.c: Likewise.
46169         * elf/tst-tlsmod12.c: Likewise.
46170         * elf/tst-tlsmod13.c: Likewise.
46171         * elf/tst-tlsmod13a.c: Likewise.
46172         * elf/tst-tlsmod14a.c: Likewise.
46173         * elf/tst-tlsmod15b.c: Likewise.
46174         * elf/tst-tlsmod16a.c: Likewise.
46175         * elf/tst-tlsmod16b.c: Likewise.
46176         * elf/tst-tlsmod7.c: Likewise.
46177         * elf/tst-tlsmod8.c: Likewise.
46178         * elf/tst-tlsmod9.c: Likewise.
46179         * gmon/gmon.c: Likewise.
46180         * grp/fgetgrent_r.c: Likewise.
46181         * grp/putgrent.c: Likewise.
46182         * hurd/fopenport.c: Likewise.
46183         * include/libc-symbols.h: Likewise.
46184         * include/tls.h: Likewise.
46185         * intl/gettextP.h: Likewise.
46186         * intl/loadinfo.h: Likewise.
46187         * locale/global-locale.c: Likewise.
46188         * locale/localeinfo.h: Likewise.
46189         * mach/devstream.c: Likewise.
46190         * malloc/arena.c: Likewise.
46191         * malloc/set-freeres.c: Likewise.
46192         * misc/err.c: Likewise.
46193         * misc/getttyent.c: Likewise.
46194         * misc/mntent_r.c: Likewise.
46195         * posix/getopt.c: Likewise.
46196         * posix/wordexp.c: Likewise.
46197         * pwd/fgetpwent_r.c: Likewise.
46198         * resolv/Versions: Likewise.
46199         * resolv/res_hconf.c: Likewise.
46200         * shadow/fgetspent_r.c: Likewise.
46201         * shadow/putspent.c: Likewise.
46202         * stdio-common/printf_fphex.c: Likewise.
46203         * stdio-common/tmpfile.c: Likewise.
46204         * stdlib/abort.c: Likewise.
46205         * stdlib/fmtmsg.c: Likewise.
46206         * sunrpc/auth_unix.c: Likewise.
46207         * sunrpc/clnt_perr.c: Likewise.
46208         * sunrpc/clnt_tcp.c: Likewise.
46209         * sunrpc/clnt_udp.c: Likewise.
46210         * sunrpc/clnt_unix.c: Likewise.
46211         * sunrpc/openchild.c: Likewise.
46212         * sunrpc/svc_simple.c: Likewise.
46213         * sunrpc/svc_tcp.c: Likewise.
46214         * sunrpc/svc_udp.c: Likewise.
46215         * sunrpc/svc_unix.c: Likewise.
46216         * sunrpc/xdr.c: Likewise.
46217         * sunrpc/xdr_array.c: Likewise.
46218         * sunrpc/xdr_rec.c: Likewise.
46219         * sunrpc/xdr_ref.c: Likewise.
46220         * sunrpc/xdr_stdio.c: Likewise.
46221
46222 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46223
46224         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46225
46226 2011-07-03  Andreas Jaeger  <aj@suse.de>
46227
46228         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46229         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46230         regenerate with gen-libm-tests.pl.
46231
46232 2010-05-12  Petr Baudis  <pasky@suse.cz>
46233
46234         [BZ #11589]
46235         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46236         around j0() zero points by switching to j1().
46237         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46238         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46240         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46241
46242 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46243
46244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46245         instead of 0.
46246         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46247         instead of 0.
46248         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46249         Patch in part by Pavel Roskin <proski@gnu.org>.
46250
46251         [BZ #13138]
46252         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46253         realloc.
46254         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46255         Free memory block if necessary.
46256
46257         [BZ #12847]
46258         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46259         be NULL.  Don't lock in this case.
46260
46261 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46262
46263         * elf/elf.h (ELFOSABI_GNU): New macro.
46264         (ELFOSABI_LINUX): Define to that.
46265
46266 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46267
46268         * string/strncat.c (strncat): Undef the symbol in case it has been
46269         defined in bits/string.h.
46270
46271 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46272
46273         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46274
46275         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46276         link map.
46277
46278 2011-08-17  Andreas Jaeger  <aj@suse.de>
46279
46280         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46281
46282 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46283             Ian Lance Taylor  <iant@google.com>
46284
46285         * math/libm-test.inc (lround_test): New testcase.
46286         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46287
46288 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46289
46290         * Makefile: Remove support for automatic cvs check-ins.
46291         * Makerules: Likewise.
46292         * config.make.in: Likewise.
46293         * configure.in: Likewise.
46294         * intl/Makefile: Likewise.
46295         * locale/Makefile: Likewise.
46296         * po/Makefile: Likewise.
46297         * posix/Makefile: Likewise.
46298         * sysdeps/gnu/Makefile: Likewise.
46299         * sysdeps/mach/hurd/Makefile: Likewise.
46300         * sysdeps/sparc/sparc32/Makefile: Likewise.
46301
46302         [BZ #13118]
46303         * posix/Makefile (bug-regex32-ENV): Define.
46304         Patch by John Stanley <jpsinthemix@verizon.net>.
46305
46306         * misc/Makefile (headers): Add bits/select2.h.
46307         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46308         * misc/bits/select2.h: New file.
46309         * include/bits/select2.h: New file.
46310         * debug/Makefile (routines): Add fdelt_chk.
46311         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46312         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46313         FD_ISSET.
46314         * debug/fdelt_chk.c: New file.
46315
46316         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46317         * wcsmbs/test-wmemcmp.c: Likewise.
46318         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46319         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46320
46321 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46322
46323         * string/Makefile (strop-tests): Add memcmp.
46324         * string/test-wmemcmp.c: New file.
46325         * string/test-memcmp.c: Add wmemcmp support.
46326
46327 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46328
46329         [BZ #13153]
46330         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46331         2011-07-19 change.
46332
46333         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46334         garbage value in a __mach_port_mod_refs call in the cases of the
46335         task-self and thread-self ports.
46336
46337 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46338
46339         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46340
46341 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46342
46343         * elf/dl-load.c (lose): Check for non-null L.
46344
46345 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46346
46347         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46348
46349         * elf/dl-libc.c (dlerror_run): Pass back error code from
46350         dl_catch_error.
46351
46352         [BZ #13123]
46353         * elf/dl-load.c (lose): Free l_origin if it is valid.
46354
46355         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46356         names.
46357         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46358         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46359         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46360         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46361         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46362         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46363
46364 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46365
46366         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46367         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46368         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46369         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46370         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46371         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46372         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46373         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46374         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46375         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46376
46377 2011-08-15  Alan Modra  <amodra@gmail.com>
46378
46379         [BZ #13092]
46380         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46381         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46382         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46383         ppc_mcount to static-only-routines.
46384         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46385         __mcount_internal.
46386         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46387         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46388
46389 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46390
46391         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46392         for finite and infinity parameters.
46393
46394 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46395
46396         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46397         and add nop instructions for throughput optimization.
46398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46399
46400 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46401
46402         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46403         aligned copy for power7 with vector-scalar instructions.
46404         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46405
46406 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46407
46408         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46409         AVX check.
46410
46411 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46412
46413         [BZ #13144]
46414         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46415         last change.
46416
46417 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46418
46419         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46420         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46421         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46422         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46423         clock_gettime.
46424
46425 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46426
46427         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46428         Forgot to demangle the pointer.
46429
46430         * sysdeps/i386/sysdep.h: Define atom_text_section.
46431         * sysdeps/x86_64/sysdep.h: Likewise.
46432         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46433         section with atom_text_section.
46434         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46435         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46436         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46437         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46438         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46439
46440         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46441         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46442         already be defined.  Change to take two parameters and don't assign
46443         result to variable.  Adjust all users.
46444         Define INTERNAL_GETTIME if not already defined.
46445         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46446         call.
46447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46448         HAVE_CLOCK_GETTIME_VSYSCALL.
46449         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46450
46451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46452         gettimeofday vsyscall, just use time.
46453
46454 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46455
46456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46457         <errno.h>.
46458
46459 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46460
46461         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46462         syscall on x86-64.
46463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46464         syscall.
46465         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46466         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46467         syscall if possible.
46468
46469 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46470
46471         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46472         e_ident.  Don't pass to find_mapsXX.
46473         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46474
46475 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46476
46477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46478         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46479         * sysdeps/x86_64/multiarch/strchr.S: Update.
46480         Check bit_slow_BSF bit.
46481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46482         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46483         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46484
46485 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46486
46487         [BZ #13134]
46488         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46489         before glibc 2.15.
46490         (tryshell): Define.
46491         (__spawni): Change last parameter to be flag.  Test
46492         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46493         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46494         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46495         * posix/spawni.c: Likewise.
46496         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46497         * posix/spawnp.c: Likewise.  Change normal version to use
46498         SPAWN_XFLAGS_USE_PATH.
46499         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46500         SPAWN_XFLAGS_TRY_SHELL.
46501
46502         [BZ #13150]
46503         * posix/glob.h: Remove gcc 1.x support.
46504
46505         [BZ #13068]
46506         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46507
46508 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46509
46510         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46511         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46512         strrchr-sse2-bsf
46513         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46514         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46515         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46516         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46517         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46518         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46519
46520 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46521
46522         * sysdeps/x86_64/wcscmp.S: New file.
46523
46524         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46525         wcscmp-c wcscmp-sse2
46526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46527         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46528         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46529         * wcsmbs/wcscmp.c: Allow renaming.
46530
46531 2011-09-05  David S. Miller  <davem@davemloft.net>
46532
46533         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46534         stack slot, rather than the struct return pointer slot.
46535         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46536         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46538         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46539
46540 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46541
46542         * po/ja.po: Update from translation team.
46543
46544         [BZ #13144]
46545         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46546         kernel in 64-bit binaries.
46547
46548 2011-09-01  David S. Miller  <davem@davemloft.net>
46549
46550         * elf/elf.h (HWCAP_SPARC_*): Move to..
46551         * sysdeps/sparc/sysdep.h: this new file and add new values.
46552         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46553         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46554         _DL_HWCAP_COUNT to 24.
46555         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46556         entries.
46557         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46558         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46559         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46561         instead of magic constants.
46562         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46563
46564 2011-08-31  David S. Miller  <davem@davemloft.net>
46565
46566         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46568         Reimplement to do errno handling inline.
46569         (SYSCALL_ERROR_HANDLER): New macro.
46570         (__SYSCALL_STRING): Do not do errno handling in asm.
46571         (__CLONE_SYSCALL_STRING): Delete.
46572         (__INTERNAL_SYSCALL_STRING): Delete.
46573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46574         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46575         (PSEUDO): Reimplement to do errno handling inline.
46576         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46577         (SYSCALL_ERROR_HANDLER): New macro.
46578         (__SYSCALL_STRING): Do not do errno handling in asm.
46579         (__CLONE_SYSCALL_STRING): Delete.
46580         (__INTERNAL_SYSCALL_STRING): Delete.
46581         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46582         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46583         i386.
46584         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46585         (inline_syscall*): Add 'err' argument.
46586         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46587         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46588         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46589         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46590
46591         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46592         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46593
46594 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46595
46596         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46597
46598 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46599
46600         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46601         directive.
46602
46603 2011-08-24  David S. Miller  <davem@davemloft.net>
46604
46605         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46606
46607 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46608
46609         * elf/Makefile: Add rules to build and run unload8 test.
46610         * elf/unload8.c: New file.
46611         * elf/unload8mod1.c: New file.
46612         * elf/unload8mod1x.c: New file.
46613         * elf/unload8mod2.c: New file.
46614         * elf/unload8mod3.c: New file.
46615
46616         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46617         it wasn't used.
46618
46619 2011-08-23  David S. Miller  <davem@davemloft.net>
46620
46621         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46622         subtract stack bias.
46623         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46624         %sp not %fp in calculations.
46625         (_JMPBUF_UNWINDS_ADJ): Likewise.
46626
46627         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46628         (aio_suspend): Call it to force an exception region around the
46629         AIO_MISC_WAIT() invocation.
46630
46631 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46632
46633         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46634         backslash.
46635
46636 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46637
46638         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46639         protection macro.
46640         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46641         and <dl-machine.h>.
46642         (Elf64_FuncDesc): Remove.
46643
46644 2011-08-22  David S. Miller  <davem@davemloft.net>
46645
46646         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46647         sigaltstack check, add missing cfi directives.
46648         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46649         missing cfi directives, and sigaltstack handling.
46650
46651 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46652
46653         [BZ #11724]
46654         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46655         object is seen twice.
46656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46657
46658         * elf/Makefile (distribute): Add tst-initorder2.c.
46659         (tests): Add tst-initorder2.
46660         (modules-names): Add tst-initorder2a tst-initorder2b
46661         tst-initorder2c tst-initorder2d.  Add rules to build them.
46662         ($(objpfx)tst-initorder2.out): New rule.
46663         * elf/tst-initorder2.c: New file.
46664         * elf/tst-initorder2.exp: New file.
46665
46666 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46667
46668         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46669
46670         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46671         dependencies back to end of function.
46672
46673         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46674         $(elfobjdir)/ld.so.
46675
46676 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46677
46678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46679         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46681         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46682         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46683         of __vdso_gettimeofday.
46684         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46685         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46686         attribute_hidden.
46687         (_libc_vdso_platform_setup): Remove initialization of
46688         __vdso_gettimeofday and __vdso_time.
46689
46690 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46691
46692         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46693         and fgetc_unlocked.
46694         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46695         getc_unlocked.
46696
46697         * elf/dl-open.c (add_to_global): Report additions to the global scope
46698         for LD_DEBUG=scopes.
46699         (dl_open_worker): Also print scope of newly loaded dependencies.
46700         (_dl_show_scope): Indicate if there is no scope.
46701
46702         [BZ #13114]
46703         * stdio-common/Makefile (tests): Add bug24.
46704         * stdio-common/bug24.c: New file.
46705
46706 2011-08-19  Andreas Jaeger  <aj@suse.de>
46707
46708         [BZ #13114]
46709         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46710         non-existant file when using close-on-exec mode.
46711
46712 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46713
46714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46715         the very first instruction.
46716
46717         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46718         the CFI state in the end.
46719         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46720         inclusion of dl-trampoline.h.
46721         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46722
46723 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46724
46725         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46726         expectations for long double.
46727
46728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46729         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46730
46731 2011-08-14  David S. Miller  <davem@davemloft.net>
46732
46733         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46734         artificual limit depends upon the system page size.
46735
46736 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46737
46738         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46739         * resolv/Makefile: Define CFLAGS-libresolv.
46740
46741 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46742
46743         * nss/makedb.c (compute_tables): Make variables used in nested
46744         function static.
46745
46746 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46747
46748         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46749         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46750         if buffer was too small.
46751
46752         * elf/pldd.c (main): Attach to all threads in the process.
46753         Rewrite /proc handling to use *at functions.
46754
46755 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46756
46757         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46758         specifies first scope to show.
46759         (dl_open_worker): Update callers.  Move printing scope of new
46760         object to before the relocation.
46761         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46762         * sysdeps/generic/ldsodefs.h: Update declaration.
46763
46764         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46765         string for the scope number.
46766
46767 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46768
46769         * nscd/servicescache.c (cache_addserv): Make sure written is always
46770         initialized.
46771
46772 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46773
46774         * sysdeps/i386/i486/bits/atomic.h
46775         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46776         statement expression, so as to suppress "set but not used" warning.
46777         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46778
46779         * string/strncat.c (STRNCAT): Use prototype definition.
46780
46781         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46782         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46783         -Iprograms here.
46784         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46785         (localedef-modules): Add localedef.
46786         (locale-modules): Add locale.
46787
46788         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46789         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46790         to avoid a warning.
46791
46792 2011-08-14  David S. Miller  <davem@davemloft.net>
46793
46794         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46795         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46796
46797 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46798
46799         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46800         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46801         * elf/rtld.c (dl_main): Set l_name of vDSO.
46802         Call _dl_show_scope when DL_DEBUG_SCOPES.
46803         (process_dl_debug): Recognize scopes flag and also set it for all.
46804         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46805         Declare _dl_show_scope.
46806
46807         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46808         (do_dlopen): Pass caller_dlopen to dl_open.
46809         (__libc_dlopen_mode): Initialize caller_dlopen.
46810
46811         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46812         of libc.  Make tolower call locale-independent.  Optimize a bit by
46813         using isdigit instead of isalnum.
46814         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46815
46816 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46817
46818         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46819         was a dependency or dynamically loaded.
46820
46821 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46822
46823         * intl/l10nflist.c: Allow architecture-specific pop function.
46824         * sysdeps/x86_64/l10nflist.c: New file.
46825
46826         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46827         classification.
46828
46829 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46830
46831         * include/dirent.h: Add libc_hidden_proto for scandirat and
46832         scandirat64.  Don't declare __scandirat64.
46833         * dirent/scandirat.c: Add libc_hidden_def.
46834         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46835         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46836
46837 2011-08-10  David S. Miller  <davem@davemloft.net>
46838
46839         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46840         enum.
46841         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46843         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46844
46845 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46846
46847         * Versions.def [libc]: Add GLIBC_2.15.
46848         * dirent/Makefile (routines): Add scandirat and scandirat64.
46849         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46850         GLIBC_2.15.
46851         * dirent/dirent.h: Declare scandirat and scandirat64.
46852         * dirent/scandirat.c: New file.
46853         * dirent/scandirat64.c: New file.
46854         * sysdeps/wordsize-64/scandirat.c: New file.
46855         * sysdeps/wordsize-64/scandirat64.c: New file.
46856         * dirent/opendir.c: Define opendirat.
46857         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46858         using scandirat.
46859         * dirent/scandir64.c: Adjust for scandir.c change.
46860         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46861         __scandirat64, and __scandir_cancel_handler.
46862         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46863         additional parameter and use openat instead of open (outside of ld.so).
46864         Add new __opendir as wrapper around __opendirat.
46865         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46866         here without requiring old scandirat implementation.
46867
46868 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46869
46870         * dirent/scandir.c (cancel_handler): Renamed to
46871         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46872         defined.  Adjust users.
46873         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46874         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46875
46876 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46877
46878         * string/test-string.h (IMPL): Use __STRING to expand name and then
46879         stringify it.
46880
46881         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46882         of cleanups.
46883
46884 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46885
46886         * string/Makefile: Update.
46887         (strop-tests): Append strncat.
46888         * string/test-wcscmp.c: New file.
46889         New comprehensive test for wcscmp.
46890         * string/test-strcmp.c: Update.
46891         (WIDE): New define.
46892
46893 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46894
46895         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46896         line.
46897
46898 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46899
46900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46901         encoding to ACE if AI_IDN.
46902
46903 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46904
46905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46906         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46907
46908 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46909
46910         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46911         Fix overflow bug in strncat.
46912         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46913
46914         * string/test-strncat.c: Update.
46915         Add new tests for checking overflow bugs.
46916
46917 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46918
46919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46920         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46921         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46922         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46924         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46925         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46926         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46927         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46928
46929         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46930         (USE_AS_STRCAT): Define.
46931         Add strcat and strncat support.
46932         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46933
46934 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46935
46936         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46937         __n bigger than INT_MAX+1.
46938         (__strncmp_g): Likewise.
46939
46940 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46941
46942         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46943         * libio/stido.h: Likewise.
46944
46945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46946         (AF_NFC): Define.
46947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46948         (AF_NFC): Define.
46949
46950         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46951         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46952         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46953         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46954         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46955
46956         [BZ #13021]
46957         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46958         installed.
46959
46960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46961         typo.
46962         (_dl_x86_64_save_sse): Likewise.
46963
46964 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46965
46966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46967         OSXSAVE.
46968         (_dl_x86_64_save_sse): Likewise.
46969
46970         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46971
46972         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46973
46974 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46975
46976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46977         change.
46978         (_dl_x86_64_save_sse): Use correct AVX check.
46979
46980 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46981
46982         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46983         bug in strncpy/strncat.
46984         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46985
46986 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46987
46988         * string/tester.c (test_strcat): Add tests for different alignments
46989         of source and destination.
46990         (test_strncat): Likewise.
46991
46992 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46993
46994         [BZ #12852]
46995         * posix/glob.c (glob): Check passed in values before using them in
46996         expressions to avoid some overflows.
46997         (glob_in_dir): Likewise.
46998
46999         [BZ #13007]
47000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47001         check for AVX enablement so that we don't crash with old kernels and
47002         new hardware.
47003         * elf/tst-audit4.c: Add same checks here.
47004         * elf/tst-audit6.c: Likewise.
47005
47006         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47007
47008 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47009
47010         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47011
47012 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47013
47014         * po/cs.po: Update from translation team.
47015         * po/bg.po: Likewise.
47016
47017 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47018
47019         * misc/sys/cdefs.h: Add support for const attribute.
47020         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47021         to gnu_dev_{major,minor,makedev} functions.
47022
47023 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47024
47025         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47026
47027 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47028
47029         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47030         strlen results.
47031
47032 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47033
47034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47035         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47036         register in order to avoid conflicts with the soft frame pointer
47037         being held in r11 when necessary.
47038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47039         (INTERNAL_VSYSCALL_NCS): Likewise.
47040
47041 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47042
47043         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47044         * elf/dl-fini.c (_dl_fini): Adjust caller.
47045         * elf/dl-close.c (_dl_close_worker): Likewise.
47046         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47047
47048 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47049
47050         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47051         "aux_cache->nlibs < 0".
47052
47053         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47054         in the reload-count case.
47055
47056 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47057
47058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47059         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47060         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47062         * sysdeps/x86_64/multiarch/strcat.S: New file.
47063         * sysdeps/x86_64/multiarch/strncat.S: New file.
47064         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47065         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47066         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47067         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47068         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47069         (USE_AS_STRCAT): Define.
47070         Add strcat and strncat support.
47071         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47072         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47073         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47074         * string/strncat.c: Update.
47075         (USE_AS_STRNCAT): Define.
47076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47077         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47078         and i7.
47079         * sysdeps/x86_64/multiarch/init-arch.h
47080         (bit_Prefer_PMINUB_for_stringop): New.
47081         (index_Prefer_PMINUB_for_stringop): Likewise.
47082         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47083         bit_Prefer_PMINUB_for_stringop.
47084
47085 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47086
47087         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47088         buffer64.
47089         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47090         of casting of buffer.
47091         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47092         buffer32 and buffer64.
47093         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47094         writes instead of casting of buffer.
47095         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47096         buffer32.
47097         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47098         casting of buffer.
47099
47100 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47101
47102         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47103
47104 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47105
47106         * nscd/nscd.c (termination_handler): Don't do anything for a database
47107         if it has not yet been initialized.
47108
47109 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47110
47111         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47112
47113 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47114
47115         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47116
47117 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47118
47119         * po/nl.po: Update from translation team.
47120         * po/sv.po: Likewise.
47121
47122 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47123
47124         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47125         now disallowed by GCC.
47126
47127         * configure.in (use-default-link): Default to yes if a test -shared
47128         link meets our qualifications.
47129         * configure: Regenerated.
47130
47131         * config.make.in (output-format): New variable.
47132         * configure.in: Check for ld --print-output-format support.
47133         * configure: Regenerated.
47134         * Makerules ($(common-objpfx)format.lds)
47135         [$(output-format) != unknown]: Just use $(output-format),
47136         instead of the linker-script munging.
47137
47138 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47139
47140         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47141         of $(common-objpfx)shlib.lds.
47142         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47143
47144         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47145         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47146
47147         * configure.in (-z relro check): Adjust test code to add a large
47148         writable data section after it.
47149         * configure: Regenerated.
47150
47151 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47152
47153         * configure.in (-z relro check): Fix test code to make the variable
47154         truly const.
47155         * configure: Regenerated.
47156
47157 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47158
47159         * nscd/nscd.h (struct traced_file): Define.
47160         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47161         elements.  Add traced_files.
47162         (inotify_fd): Declare.
47163         (register_traced_file): Declare.
47164         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47165         (inotify_fd): Export.
47166         (resolv_conf_descr): Remove.
47167         (nscd_init): Move inotify descriptor creation to main.
47168         Don't register files for notification here.
47169         (register_traced_file): New function.
47170         (invalidate_cache): Don't use reset_res to determine whether to call
47171         res_init, go through the list of registered files.
47172         (main_loop_poll): The inotify descriptors are now stored in the
47173         structures for the traced files.
47174         (main_loop_epoll): Likewise
47175         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47176         to __nss_disable_nscd.
47177         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47178         for a database anymore.  Check the records for all the registered
47179         files instead.
47180         * nss/Makefile (libnss_files-routines): Add files-init.
47181         (libnss_db-routines): Add db-init.
47182         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47183         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47184         * nss/nss_db/db-init.c: New file.
47185         * nss/nss_files/files-init.c: New file.
47186         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47187         __nss_lookup_function.
47188         (__nss_lookup_function): Call nss_load_library.
47189         (nss_load_all_libraries): New function.
47190         (__nss_disable_nscd): Take parameter with callback function for files
47191         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47192         used for the cached services.
47193         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47194         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47195         options for features to all the files in nscd.
47196
47197         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47198
47199 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47200
47201         * csu/elf-init.c (__libc_csu_init): Comment typo.
47202
47203 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47204
47205         * po/pl.po: Update from translation team.
47206         * po/ja.po: Likewise.
47207         * po/ru.po: Likewise.
47208         * po/ko.po: Likewise.
47209         * po/fr.po: Likewise.
47210
47211 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47212
47213         * configure.in (.ctors/.dtors header and trailer check):
47214         Use an empirical test on a built program.
47215         * configure: Regenerated.
47216
47217         * configure.in (-z relro check): Use an empirical test on a built DSO.
47218         Detect, but do not require, on ia64.
47219         * configure: Regenerated.
47220
47221         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47222         Update tests that use readelf to use $READELF instead.
47223         * configure: Regenerated.
47224
47225 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47226
47227         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47228         if the result is not used.
47229
47230 2011-07-05  Andreas Jaeger  <aj@suse.de>
47231
47232         [BZ#9696]
47233         * stdlib/tst-strtod.c: Add testcase.
47234
47235 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47236
47237         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47238         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47239         The latter has a higher limit.  Take additional parameter to pass to
47240         the new function.
47241         (__pathconf): Pass file to __statfs_link_max.
47242         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47243         __statfs_link_max.
47244         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47245         __statfs_link_max.
47246
47247         [BZ #12868]
47248         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47249         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47250         Handle Lustre.
47251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47252         (__statfs_filesize_max): Likewise.
47253         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47254
47255 2011-07-05  Andreas Jaeger  <aj@suse.de>
47256
47257         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47258
47259 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47260
47261         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47262         `status' variable.
47263         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47264         Likewise.
47265
47266 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47267
47268         * Makefile (strop-tests): Add strncat.
47269         * string/test-strncat.c: New file.
47270
47271 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47272
47273         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47274
47275 2011-06-21  Andreas Jaeger  <aj@suse.de>
47276
47277         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47278         Copy rule from iconvdata/Makefile.
47279
47280 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47281
47282         [BZ #12922]
47283         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47284         but no long options are defined, just return 'W'.
47285
47286 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47287
47288         [BZ #9696]
47289         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47290
47291 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47292
47293         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47294         netgroups to read.
47295         (innetgr): Likewise.
47296
47297 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47298
47299         * config.make.in (install_root): Default to $(DESTDIR).
47300
47301 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47302
47303         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47304
47305 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47306
47307         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47308
47309         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47310         containing directory rather than embedding absolute directory names.
47311
47312         * scripts/check-local-headers.sh: Rewritten using awk.
47313         Match by word, not by line.  Print error messages for matches.
47314         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47315
47316         * Makerules [shlib-lds-flags empty]:
47317         ($(common-objpfx)libc_pic.opts): New target.
47318         ($(common-objpfx)libc_pic.os.clean): New target.
47319         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47320
47321         * config.make.in (OBJCOPY): New variable.
47322         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47323         * configure: Regenerated.
47324
47325         * config.make.in (use-default-link): New variable.
47326         * configure.in (use_default_link): Grok --with-default-link to set it.
47327         * configure: Regenerated.
47328         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47329         (shlib-lds, shlib-lds-flags): Define to empty.
47330
47331         * Makerules (shlib-lds): New variable.
47332         (shlib-lds-flags): New variable.
47333         (build-shlib, build-moduile, build-module-asneeded): Use it.
47334         ($(common-objpfx)libc.so): Use $(shlib-lds).
47335         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47336         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47337
47338         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47339         DT_FLAGS/DT_FLAGS_1 with zero flags.
47340
47341         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47342         linker script munging.
47343
47344 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47345
47346         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47347         as 128-bit value.
47348         * crypt/sha512.c (sha512_process_block): Perform total addition using
47349         128-bit if possible.
47350         (__sha512_finish_ctx): Likewise.
47351         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47352         as 64-bit value.
47353         * crypt/sha256.c (SWAP64): Define.
47354         (sha256_process_block): Perform total addition using 64-bit if
47355         possible.
47356         (__sha256_finish_ctx): Likewise.
47357
47358 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47359
47360         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47362         * nscd/hstcache.c (cache_addhst): Likewise.
47363         * nscd/grpcache.c (cache_addgr): Likewise.
47364         * nscd/aicache.c (addhstaiX): Likewise
47365         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47366
47367 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47368
47369         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47371         * nscd/hstcache.c (cache_addhst): Likewise.
47372         * nscd/grpcache.c (cache_addgr): Likewise.
47373         * nscd/aicache.c (addhstaiX): Likewise
47374
47375 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47376
47377         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47378         domain only when needed.
47379
47380 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47381
47382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47383         is always restored.
47384
47385 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47386
47387         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47388         are re-adding the entry.
47389         * nscd/servicescache.c (cache_addserv): Likewise.
47390
47391 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47392
47393         * sysdeps/generic/dl-irel.h: fix protection against multiple
47394         inclusions.
47395         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47396
47397 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47398
47399         [BZ #12935]
47400         * malloc/memusage.sh: Fix quoting in message.
47401         * debug/xtrace.sh: Likewise.
47402
47403         * configure.in: Remove support for --experimental-malloc option, make
47404         it the default.
47405         * config.make.in: Likewise.
47406         * malloc/Makefile: Likewise.
47407
47408 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47409
47410         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47411         two-byte characters.
47412
47413 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47414
47415         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47416         AC_CACHE_CHECK invocation.
47417         * configure: Regenerated.
47418
47419         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47420
47421 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47422
47423         [BZ #12350]
47424         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47425         bit from old_res_options.
47426
47427         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47428
47429         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47430         value type for setfct.
47431
47432 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47433
47434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47435         __gettimeofday instead of gettimeofday.
47436
47437 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47438
47439         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47440
47441 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47442
47443         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47444
47445         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47446         info.
47447
47448 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47449
47450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47451         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47452         strcpy-sse2-unaligned strncpy-sse2-unaligned
47453         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47454         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47455         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47456         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47457         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47458         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47459         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47460         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47461         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47462         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47463         (STRCPY): Support SSE2 and SSSE3 versions.
47464
47465 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47466
47467         [BZ #12874]
47468         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47469         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47470         kernels which artificially limit size of requests.
47471
47472 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47473
47474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47475         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47476         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47477         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47478         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47479         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47480         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47481         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47482         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47483         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47484         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47485         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47486         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47487         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47488         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47490         Enable unaligned load optimization for Intel Core i3, i5 and i7
47491         processors.
47492         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47493         Define.
47494         (index_Fast_Unaligned_Load): Define.
47495         (HAS_FAST_UNALIGNED_LOAD): Define.
47496
47497 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47498
47499         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47500
47501 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47502
47503         [BZ #12907]
47504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47505         until it is clear that the information is realy needed.
47506         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47507
47508 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47509
47510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47511
47512 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47513
47514         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47515         /sys/devices/system/cpu/online if it is usable.
47516
47517         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47518         reading the information from the /proc filesystem to once a second.
47519
47520 2011-06-21  Andreas Jaeger  <aj@suse.de>
47521
47522         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47523         NULL after inclusion of kernel headers.
47524
47525 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47526
47527         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47528         calls to internal_setent.
47529
47530         [BZ #12885]
47531         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47532         addresses using gethostbyname4_r ignore IPv4 addresses.
47533
47534         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47535         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47536
47537         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47538
47539 2011-06-20  David S. Miller  <davem@davemloft.net>
47540
47541         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47542         inclusions.
47543         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47544
47545         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47546         (elf_irel): Use it.
47547         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47548         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47549         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47550         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47551         * sysdeps/x86_64/dl-irel.h: Likewise.
47552
47553         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47554         * elf/dl-sym.c: Likewise.
47555
47556 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47557
47558         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47559         need to dereference resplen2.
47560
47561 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47562
47563         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47564
47565 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47566
47567         * Makeconfig: Define vardbdir and inst_vardbdir.
47568         * nss/Makefile: Add rules to install db-Makefile.
47569
47570         * nss/nss_db/db-XXX.c: Cleanup.
47571
47572         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47573         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47574         GLIBC_PRIVATE.
47575         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47576         * nss/makedb.c: Implement -g option to specify that value strings
47577         are generated and should not be added to table iterated over for
47578         get*ent calls.
47579         * nss/nss_db/db-initgroups.c: New file.
47580
47581         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47582         interface.
47583
47584         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47585         (internal_getgrouplist): Adjust to name change.
47586         Update use_initgroups_entry if this is not the first call.
47587         * nss/databases.def: Add initgroups entry.
47588
47589         * nss/makedb.c (compute_tables): Check result of multiple hash table
47590         sizes to minimize maximum chain length.
47591
47592 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47593
47594         * Versions.def: Add entry for libnss_db.
47595         * shlib-versions: Likewise.
47596         * nss/Makefile: Add rules to build libnss_db.
47597         * nss/Versions: Add libnss_db information.  Organize libnss_files
47598         entries better.
47599         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47600         makedb progra.  Some minor improvements to generate smaller files.
47601         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47602         here from...
47603         * nss/makedb.c: ...here.
47604         Improve database format to be smaller and require less memory at
47605         runtime.
47606         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47607         db anymore.
47608         * nss/nss_db/db-netgrp.c: Likewise.
47609         * nss/nss_db/db-open.c: Likewise.
47610         * nss/nss_files/flies-XXX.x: Adjust comments.
47611         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47612         * nss/nss_files/files-grp.c: Likewise.
47613         * nss/nss_files/files-hosts.c: Likewise.
47614         * nss/nss_files/files-network.c: Likewise.
47615         * nss/nss_files/files-proto.c: Likewise.
47616         * nss/nss_files/files-pwd.c: Likewise.
47617         * nss/nss_files/files-rpc.c: Likewise.
47618         * nss/nss_files/files-service.c: Likewise.
47619         * nss/nss_files/files-sgrp.c: Likewise.
47620         * nss/nss_files/files-spwd.c: Likewise.
47621         * nss/nss_db/db-alias.c: Removed.
47622         * nss/nss_db/dummy-db.h: Removed.
47623
47624 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47625
47626         * nss/makedb.c: Rewritten to not use database library.
47627         * nss/Makefile: Update to build new makedb program.
47628
47629 2011-06-14  Andreas Jaeger  <aj@suse.de>
47630
47631         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47632         memset declaration.
47633
47634 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47635
47636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47637         tmpbuf.
47638
47639 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47640
47641         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47642         * elf/Makefile ($(objpfx)ld.so): Likewise.
47643
47644         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47645         Don't list ld.so twice in dependencies.
47646
47647         * posix/bug-regex31.c: Include <stdlib.h>.
47648
47649         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47650
47651         * nis/nss_compat/compat-spwd.c
47652         (getspent_next_nss_netgr): Remove unused variable.
47653         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47654
47655         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47656         nonmembers" output to use the right array.
47657
47658         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47659
47660         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47661
47662         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47663         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47664         * catgets/gencat.c (read_input_file): Likewise.
47665         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47666
47667         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47668         variable definition inside #if's controlling its use.
47669
47670         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47671
47672         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47673
47674         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47675
47676         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47677         unreachable code.
47678
47679         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47680
47681         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47682         * configure: Regenerated.
47683
47684         * Makerules: Revert last change.
47685         * elf/Makefile: Likewise.
47686
47687 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47688
47689         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47690         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47691         (reloc-link): Likewise.
47692
47693 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47694
47695         * elf/Makefile: Add rules to build pldd.
47696         * elf/pldd.c: New file.
47697         * elf/pldd-xx.c: New file.
47698
47699 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47700
47701         * version.h: Update for 2.15 development version.
47702
47703 2011-06-07  David S. Miller  <davem@davemloft.net>
47704
47705         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47706         ifuncs.
47707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47708         elf_machine_lazy_rel): Likewise.
47709         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47711         elf_machine_lazy_rel): Likewise.
47712         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47713         dl_hwcap via passed in argument.
47714         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47715         Likewise.
47716
47717 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47718
47719         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47720
47721 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47722
47723         [BZ #12849]
47724         * manual/fdl-1.1.texi: New file, verbatim from:
47725         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47726         * manual/lgpl-2.1.texi: New file, verbatim from:
47727         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47728         * manual/Makefile (licenses): New variable, list those new file names.
47729         (texis): Use it.
47730         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47731
47732         * manual/fdl.texi: File removed.
47733         * manual/lesser.texi: File removed.
47734         * manual/libc.texinfo (Copying, Documentation License):
47735         Use new @include file names, put @appendix directive before @include.
47736
47737 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47738
47739         [BZ #12841]
47740         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47741         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47742         (mq_open): Add __NTH.
47743
47744 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47745
47746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47747         Assume Intel Core i3/i5/i7 processor if AVX is available.
47748
47749 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47750
47751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47752         typo.
47753
47754 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47755
47756         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47757         memory.  Use alloca_account.  Fix memory leak when retrying.
47758
47759 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47760
47761         * version.h (RELEASE): Bump for 2.14 release.
47762         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47763
47764         * config.make.in (RANLIB): Remove entry.
47765
47766 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47767
47768         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47769         (libc.pot): Work around missing support for .ksh extension in xgettext.
47770
47771         [BZ #12684]
47772         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47773         if both request failed.
47774         (send_dg): In case of server errors clear resplen or *resplen2.
47775
47776         [BZ #12454]
47777         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47778         when there are multiple maps.
47779         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47780         (_dl_fini): Remove test here.
47781
47782         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47783
47784 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47785
47786         [BZ #12350]
47787         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47788         bit from old_res_options.
47789         (gaih_inet): Likewise.
47790
47791         [BZ #11099]
47792         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47793         as signed.
47794
47795         * resolv/res_init.c (res_setoptions): Make the code more compact.
47796
47797         [BZ #11558]
47798         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47799         set RES_USEVC.
47800
47801         [BZ #11634]
47802         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47803
47804         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47805
47806         [BZ #11781]
47807         * malloc/malloc.h: Declare malloc hook variables as volatile.
47808
47809         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47810         in last patch.
47811
47812         [BZ #11799]
47813         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47814         raise in the comment.
47815         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47816         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47817         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47818
47819 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47820
47821         [BZ #12811]
47822         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47823         grow the buffers more if it already has to be sufficient.
47824         (build_wcs_upper_buffer): Likewise.
47825         * posix/regexec.c (check_matching): Likewise.
47826         (clean_state_log_if_needed): Likewise.
47827         (extend_buffers): Don't enlarge buffers beyond size of the input
47828         buffer.
47829         Patches mostly by Emil Wojak <emil@wojak.eu>.
47830         * posix/bug-regex32.c: New file.
47831         * posix/Makefile (tests): Add bug-regex32.
47832
47833         * locale/findlocale.c (_nl_find_locale): Return right away if
47834         _nl_explode_name failed.
47835         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47836
47837         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47838
47839         * debug/xtrace.sh: Unify messages.
47840         * malloc/memusage.sh: Likewise.
47841
47842         [BZ #12813]
47843         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47844         time symbol from vDSO.  Substitute with vsyscall if not available.
47845         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47846         __vdso_time.
47847
47848         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47849         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47850         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47851         Add sendmmsg and internal_sendmmsg.
47852         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47853         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47854         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47855
47856         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47857         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47858         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47859
47860 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47861
47862         [BZ #12813]
47863         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47864         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47865         available.
47866         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47867         __vdso_getcpu.
47868
47869         [BZ #12814]
47870         * iconvdata/Makefile (tests): Add bug-iconv9.
47871         * iconvdata/bug-iconv9.c: New file.
47872
47873 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47874
47875         [BZ #12814]
47876         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47877
47878 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47879
47880         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47881         (struct user_regs_struct): Change intcs field back to cs.
47882
47883 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47884
47885         * po/ja.po: Update from translation team.
47886
47887 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47888
47889         [BZ #12795]
47890         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47891         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47892
47893 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47894
47895         * stdlib/longlong.h: Update from GCC.
47896
47897 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47898
47899         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47900         parameter name.
47901         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47902         Add parameter name.
47903         (__sysconf): Pass it down.
47904
47905 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47906
47907         [BZ #12671]
47908         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47909         some situations.
47910         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47911         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47912         add in in __libc_use_alloca calls.  Adjust callers.
47913         (glob): Use malloc in some situations.
47914
47915         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47916         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47917         pltexit.
47918
47919 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47920
47921         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47922         and CLOCK_BOOTTIME_ALARM.
47923
47924         [BZ #12782]
47925         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47926         is returned.
47927
47928         * string/_strerror.c (__strerror_r): Print negative errors as signed
47929         numbers.
47930
47931         [BZ #12777]
47932         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47933         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47934         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47935
47936         * configure.in: Fix typo in redirection and correct removal of test
47937         files in two cases.
47938
47939         [BZ #12788]
47940         * locale/setlocale.c (new_composite_name): Fix test to check for
47941         identical name of all categories.
47942
47943         [BZ #12792]
47944         * libio/filedoalloc.c (local_isatty): New function.
47945         (_IO_file_doallocate): Use local_isatty.
47946         * stdio-common/perror.c (perror): In case a new stream is used
47947         forward the stream error.
47948         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47949         error flag.
47950
47951 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47952
47953         [BZ #11869]
47954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47955         alloca.
47956         * include/alloca.h (extend_alloca_account): Define.
47957
47958         [BZ #11857]
47959         * posix/regex.h: Fix comments with documentation of user-accessible
47960         fields after compilation and describe correct free'ing of pattern
47961         after re_compile_pattern.
47962         Patch by Reuben Thomas <rrt@sc3d.org>.
47963
47964 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47965
47966         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47967         and -mno-altivec to prevent the compiler from using Altivec and/or
47968         VSX instructions when the corresponding registers are not available.
47969
47970 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47971
47972         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47973
47974 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47975
47976         * libio/freopen.c (freopen): Use __dup2, not dup2.
47977         * libio/freopen64.c (freopen64): Likewise.
47978
47979 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47980
47981         [BZ #12775]
47982         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47983         * math/Makefile (tests): Add test-powl.
47984         (CFLAGS-test-powl.c): Define.
47985         * math/test-powl.c: New file.
47986
47987 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47988
47989         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47990
47991 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47992
47993         [BZ #11837]
47994         * iconvdata/gb18030.c: Update to GB18020-2005.
47995
47996 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47997
47998         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47999         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48000         Patch by Aharon Robbins <arnold@skeeve.com>.
48001
48002         [BZ #11892]
48003         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48004         on the stack.
48005
48006         [BZ #11895]
48007         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48008         through underflows.
48009
48010         [BZ #12766]
48011         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48012         point to strings before performing equality test for error_one_per_line
48013         mode.
48014
48015         [BZ #11697]
48016         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48017
48018         [BZ #11820]
48019         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48020         (struct user_fpregs_struct): Avoid __uint*_t types.
48021
48022         [BZ #6420]
48023         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48024         symbol info.  Use it instead of calling _dl_addr locally.
48025         (lock_and_info): New function.
48026         (tr_freehook): Call lock_and_info and pass symbol info as additional
48027         parameter to tr_where.
48028         (tr_mallochook): Likewise.
48029         (tr_reallochook): Likewise.
48030         (tr_memalignhook): Likewise.
48031
48032         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48033         used and couldn't be at all thread-safe.
48034
48035 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48036
48037         * libio/freopen.c (freopen): Don't close old file descriptor
48038         before the new one is opened.  Instead dup the new file descriptor
48039         to the old one after the new stream is created.
48040         * libio/freopen64.c (freopen64): Likewise.
48041         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48042         * libio/fileops.c (_IO_new_file_close_it): Handle new
48043         _IO_FLAGS2_NOCLOSE flag.
48044         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48045         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48046         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48047         _IO_FLAGS2_NOCLOSE flag.
48048         * include/unistd.h: Add hidden_proto for dup3.
48049         Define __have_dup3.
48050         * io/dup3.c: Define hidden symbol.
48051         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48052
48053         [BZ #7101]
48054         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48055         when an incomplete long option is used.
48056         * posix/tst-getopt_long1.c: New file.
48057         * posix/Makefile (tests): Add tst-getopt_long1.
48058
48059         [BZ #10138]
48060         * scripts/config.guess: Update from autoconf-2.68.
48061         * scripts/config.sub: Likewise.
48062
48063         [BZ #10157]
48064         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48065         tests into ...
48066         (has_cpuclock): ...this.  New function.
48067         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48068         macro here based on has_cpuclock code.
48069
48070         [BZ #10149]
48071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48072         First byte (not low byte) is now always NUL.
48073         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48074
48075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48076         Use non-cancelable interfaces.
48077
48078         [BZ #9809]
48079         * locale/iso-639.def: Add entry for Sorani.
48080
48081         [BZ #11901]
48082         * include/stdlib.h: Move include protection to the right place.
48083         Define abort_msg_s.  Declare __abort_msg with it.
48084         * stdlib/abort.c (__abort_msg): Adjust type.
48085         * assert/assert.c (__assert_fail_base): New function.  Majority
48086         of code from __assert_fail.  Allocate memory for __abort_msg with
48087         mmap.
48088         (__assert_fail): Now call __assert_fail_base.
48089         * assert/assert-perr.c: Remove bulk of implementation.  Use
48090         __assert_fail_base.
48091         * include/assert.hL Declare __assert_fail_base.
48092         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48093         mmap.
48094         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48095
48096 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48097
48098         [BZ #11952]
48099         [BZ #12453]
48100         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48101         until all modules are registered in the DTV.
48102         * elf/Makefile: Add rules to build and run tst-tls19.
48103         * elf/tst-tls19.c: New file.
48104         * elf/tst-tls19mod1.c: New file.
48105         * elf/tst-tls19mod2.c: New file.
48106         * elf/tst-tls19mod3.c: New file.
48107         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48108
48109         [BZ #12083]
48110         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48111         correctly.
48112
48113         [BZ #12601]
48114         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48115         two-byte sequence errors.
48116         * iconvdata/Makefile (tests): Add bug-iconv8.
48117         * iconvdata/bug-iconv8.c: New file.
48118
48119         [BZ #12626]
48120         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48121         buf2 definition.
48122
48123         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48124
48125         [BZ #12432]
48126         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48127         (dummy_getcfa): New function.
48128         (init): Get _Unwind_GetCFA address, use dummy if not found.
48129         (backtrace_helper): In recursion check, also check whether CFA changes.
48130         (__backtrace): Completely initialize arg.
48131
48132         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48133         storing incomplete byte sequence in state object.  Avoid testing for
48134         guaranteed too small input if we know there is enough data available.
48135
48136 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48137
48138         * Makeconfig (+link-pie): Indent.
48139         * Rules (binaries-pie): Define if $(have-fpie) and
48140         $(build-shared).
48141         (binaries-shared): Also filter out $(binaries-pie).
48142         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48143         * nscd/Makefile (others-pie): Add nscd.
48144         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48145         ($(objpfx)nscd): Remove command override.
48146         * login/Makefile (others-pie): Add pt_chown.
48147         ($(objpfx)pt_chown): Remove command override.
48148         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48149         remove command overrides.
48150
48151 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48152
48153         * libio/tst_putwc.c: Fix error messages.
48154
48155         [BZ #12724]
48156         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48157         currently writing and seek to current position when not.
48158         * libio/Makefile (tests): Add bug-fclose1.
48159         * libio/bug-fclose1.c: New file.
48160
48161 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48162
48163         [BZ #12511]
48164         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48165         don't set DF_1_NODELETE here.
48166         (do_lookup_x): When entering new entry test for copy relocation
48167         and if necessary set DF_1_NODELETE flag.
48168         * elf/tst-unique4.cc: New file.
48169         * elf/tst-unique4.h: New file.
48170         * elf/tst-unique4lib.cc: New file.
48171         * elf/Makefile: Add rules to build and run tst-unique4.
48172         Patch by Piotr Bury <pbury@goahead.com>.
48173
48174 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48175
48176         [BZ #12052]
48177         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48178
48179         [BZ #12625]
48180         * misc/mntent_r.c (addmntent): Flush the stream after the output
48181
48182         [BZ #12393]
48183         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48184         (is_trusted_path_normalize): Skip initial colon.  Append slash
48185         to empty buffer.  Duplicate is_trusted_path code but allow
48186         constructed patch to be prefix.
48187         (is_dst): Allow $ORIGIN followed by /.
48188         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48189         Correct testing of result of is_trusted_path_normalize
48190         (decompose_rpath): Fix warning.
48191
48192 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48193
48194         [BZ #11257]
48195         * grp/initgroups.c (internal_getgrouplist): When we found the service
48196         list through the initgroups entry in nsswitch.conf do not always
48197         continue on a successful lookup.  Don't always use the
48198         __nss_group_database value if it is set.
48199         * nss/nsswitch.conf (initgroups): Change action for successful db
48200         lookup to continue for compatibility.
48201
48202 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48203
48204         [BZ #11532]
48205         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48206         and CP774 modules.
48207         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48208         and CP774 modules.
48209         * iconvdata/tst-tables.sh: Likewise.
48210         * iconvdata/cp770.c: New file.
48211         * iconvdata/cp771.c: New file.
48212         * iconvdata/cp772.c: New file.
48213         * iconvdata/cp773.c: New file.
48214         * iconvdata/cp774.c: New file.
48215         * iconvdata/testdata/CP770: New file.
48216         * iconvdata/testdata/CP770..UTF8: New file.
48217         * iconvdata/testdata/CP771: New file.
48218         * iconvdata/testdata/CP771..UTF8: New file.
48219         * iconvdata/testdata/CP772: New file.
48220         * iconvdata/testdata/CP772..UTF8: New file.
48221         * iconvdata/testdata/CP773: New file.
48222         * iconvdata/testdata/CP773..UTF8: New file.
48223         * iconvdata/testdata/CP774: New file.
48224         * iconvdata/testdata/CP774..UTF8: New file.
48225
48226         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48227         END CHARMAP line.
48228         * iconvdata/gen-8bit-gap.sh: Likewise.
48229         * iconvdata/gen-8bit.sh: Likewise.
48230
48231         * locale/iso-639.def: Add ary entry.
48232
48233         [BZ #11258]
48234         * locale/C-translit.h.in: Add U20A1 transliteration.
48235
48236         [BZ #12178]
48237         * locale/iso-639.def: Add wae entry.
48238         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48239
48240         [BZ #12545]
48241         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48242         for n.
48243
48244         [BZ #12711]
48245         * locale/C-translit.h.in: Add entry for U20B9.
48246         Patch by pravin.d.s@gmail.com.
48247
48248 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48249
48250         [BZ #12713]
48251         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48252         ENAMETOOLONG use generic getcwd.
48253         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48254         in rtld.  Use *stat64.
48255         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48256         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48257         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48258         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48259         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48260         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48261         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48262         __fstatat64 macros.
48263         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48264         * dirent/rewinddir.c: Add libc_hidden_def.
48265         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48266         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48267
48268         * include/dirent.h (__alloc_dir): Add flags parameter.
48269         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48270         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48271         __alloc_dir.
48272         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48273         from fdopendir if O_CLOEXEC is already set.
48274
48275 2011-03-15  Alan Modra  <amodra@gmail.com>
48276
48277         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48278         l_tls_firstbyte_offset non-zero.  Save padding offset in
48279         l_tls_firstbyte_offset for later use.
48280         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48281         freeing static tls block.
48282
48283 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48284
48285         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48286         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48287         being defined by the kernel headers.
48288
48289 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48290
48291         [BZ #12734]
48292         * resolv/resolv.h: Define RES_NOTLDQUERY.
48293         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48294         no-tld-query and set RES_NOTLDQUERY.
48295         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48296         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48297         modern BIND to search name as TLD unless forbidden.
48298
48299 2011-05-07  Petr Baudis  <pasky@suse.cz>
48300             Ulrich Drepper  <drepper@gmail.com>
48301
48302         [BZ #12393]
48303         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48304         (is_trusted_path): ...to here.
48305         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48306         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48307         using is_trusted_path_normalize() in setuid scripts.
48308
48309 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48310
48311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48312         __BEGIN/__END_DECLS.
48313
48314 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48315
48316         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48317         NSS_STATUS_NOTFOUND if no record was found.
48318
48319 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48320
48321         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48322         (headers-not-in-tirpc): Remove rpc/netdb.h
48323         * resolv/netdb.h: Revert last change.
48324
48325 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48326
48327         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48328         circular dependency between libgcc.a and libc.a.
48329
48330 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48331
48332         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48333         * nis/Makefile: Don't install rpcsvc/*.
48334         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48335         instead of <rpc/types.h>.
48336         (MAXHOSTNAMELEN): Define.
48337
48338 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48339
48340         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48341
48342 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48343
48344         [BZ #12714]
48345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48346         gethostbyname4_r when IPv6 results are possible.
48347
48348 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48349
48350         [BZ #12723]
48351         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48352         _PC_PIPE_BUF handling.
48353
48354 2011-04-30  Bruno Haible  <bruno@clisp.org>
48355
48356         [BZ #12717]
48357         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48358         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48359         to 'int'.
48360         * inet/getnameinfo.c (getnameinfo): Likewise.
48361
48362 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48363
48364         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48365         to groups setting in database lookup.
48366         * nss/nsswitch.conf: Add initgroups entry.
48367
48368 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48369
48370         [BZ #12685]
48371         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48372         mode string.
48373         Patch by Eric Blake <eblake@redhat.com>.
48374
48375 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48376
48377         * sunrpc/Makefile (need-export-routines): Add svc_run.
48378         (routines): Remove svc_run.
48379         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48380         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48381         * sunrpc/svc_run.c (svc_run): Likewise.
48382         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48383
48384 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48385
48386         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48387         problem in reallocation in last patch.
48388
48389 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48390
48391         * sunrpc/Makefile: Move inclusion of Rules.
48392
48393 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48394
48395         * nss/nss_files/files-initgroups.c: New file.
48396         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48397         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48398         _nss_files_initgroups_dyn.
48399
48400 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48401
48402         * elf/elf.h (R_ARM_IRELATIVE): Define.
48403
48404 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48405
48406         * po/ru.po: Update from translation team.
48407
48408 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48409
48410         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48411         dependencies.
48412
48413 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48414
48415         [BZ #12653]
48416         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48417         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48418         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48419         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48420         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48421
48422 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48423
48424         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48425         differing bytes.
48426         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48429
48430 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48431
48432         [BZ #12420]
48433         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48434         storing it.
48435         * stdlib/bug-getcontext.c: New file.
48436         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48437
48438 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48439
48440         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48441         instructions into .machine "z9-109".
48442         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48443         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48444
48445 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48446
48447         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48448         between environment variables and auxiliary vector.
48449
48450 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48451
48452         * Makefile: Add rules to build linkobj/libc.so.
48453         * include/libc-symbols.h: Define libc_hidden_nolink.
48454         * include/rpc/auth.h: Mark functions which are to be hidden.
48455         * include/rpc/auth_des.h: Likewise.
48456         * include/rpc/auth_unix.h: Likewise.
48457         * include/rpc/clnt.h: Likewise.
48458         * include/rpc/des_crypt.h: Likewise.
48459         * include/rpc/key_prot.h: Likewise.
48460         * include/rpc/pmap_clnt.h: Likewise.
48461         * include/rpc/pmap_prot.h: Likewise.
48462         * include/rpc/pmap_rmt.h: Likewise.
48463         * include/rpc/rpc_msg.h: Likewise.
48464         * include/rpc/svc.h: Likewise.
48465         * include/rpc/svc_auth.h: Likewise.
48466         * include/rpc/xdr.h: Likewise.
48467         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48468         * nss/Makefile: Likewise.
48469         * sunrpc/Makefile: Don't install headers.  Build library with normal
48470         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48471         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48472         for the compat linking library.  Remove use of INTDEF/INTUSE.
48473         * sunrpc/auth_none.c: Likewise.
48474         * sunrpc/auth_unix.c: Likewise.
48475         * sunrpc/authdes_prot.c: Likewise.
48476         * sunrpc/authuxprot.c: Likewise.
48477         * sunrpc/clnt_gen.c: Likewise.
48478         * sunrpc/clnt_perr.c: Likewise.
48479         * sunrpc/clnt_raw.c: Likewise.
48480         * sunrpc/clnt_simp.c: Likewise.
48481         * sunrpc/clnt_tcp.c: Likewise.
48482         * sunrpc/clnt_udp.c: Likewise.
48483         * sunrpc/clnt_unix.c: Likewise.
48484         * sunrpc/des_crypt.c: Likewise.
48485         * sunrpc/des_soft.c: Likewise.
48486         * sunrpc/get_myaddr.c: Likewise.
48487         * sunrpc/key_call.c: Likewise.
48488         * sunrpc/key_prot.c: Likewise.
48489         * sunrpc/netname.c: Likewise.
48490         * sunrpc/pm_getmaps.c: Likewise.
48491         * sunrpc/pm_getport.c: Likewise.
48492         * sunrpc/pmap_clnt.c: Likewise.
48493         * sunrpc/pmap_prot.c: Likewise.
48494         * sunrpc/pmap_prot2.c: Likewise.
48495         * sunrpc/pmap_rmt.c: Likewise.
48496         * sunrpc/publickey.c: Likewise.
48497         * sunrpc/rpc_cmsg.c: Likewise.
48498         * sunrpc/rpc_common.c: Likewise.
48499         * sunrpc/rpc_dtable.c: Likewise.
48500         * sunrpc/rpc_prot.c: Likewise.
48501         * sunrpc/rpc_thread.c: Likewise.
48502         * sunrpc/rtime.c: Likewise.
48503         * sunrpc/svc.c: Likewise.
48504         * sunrpc/svc_auth.c: Likewise.
48505         * sunrpc/svc_authux.c: Likewise.
48506         * sunrpc/svc_raw.c: Likewise.
48507         * sunrpc/svc_run.c: Likewise.
48508         * sunrpc/svc_simple.c: Likewise.
48509         * sunrpc/svc_tcp.c: Likewise.
48510         * sunrpc/svc_udp.c: Likewise.
48511         * sunrpc/svc_unix.c: Likewise.
48512         * sunrpc/svcauth_des.c: Likewise.
48513         * sunrpc/xcrypt.c: Likewise.
48514         * sunrpc/xdr.c: Likewise.
48515         * sunrpc/xdr_array.c: Likewise.
48516         * sunrpc/xdr_float.c: Likewise.
48517         * sunrpc/xdr_intXX_t.c: Likewise.
48518         * sunrpc/xdr_mem.c: Likewise.
48519         * sunrpc/xdr_rec.c: Likewise.
48520         * sunrpc/xdr_ref.c: Likewise.
48521         * sunrpc/xdr_sizeof.c: Likewise.
48522         * sunrpc/xdr_stdio.c: Likewise.
48523
48524 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48525
48526         [BZ #12650]
48527         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48528         * sysdeps/ia64/dl-tls.h: Likewise.
48529         * sysdeps/powerpc/dl-tls.h: Likewise.
48530         * sysdeps/s390/dl-tls.h: Likewise.
48531         * sysdeps/sh/dl-tls.h: Likewise.
48532         * sysdeps/sparc/dl-tls.h: Likewise.
48533         * sysdeps/x86_64/dl-tls.h: Likewise.
48534         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48535
48536 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48537
48538         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48539         rpath element also skip the following colon.
48540         (expand_dynamic_string_token): Add is_path parameter and pass
48541         down to DL_DST_REQUIRED and _dl_dst_substitute.
48542         (decompose_rpath): Call expand_dynamic_string_token with
48543         non-zero is_path.  Ignore empty rpaths.
48544         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48545         with zero is_path.
48546
48547 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48548
48549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48550         Make cancelable.
48551
48552 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48553
48554         [BZ #12655]
48555         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48556         Patch by Filipe David Manana <fdmanana@apache.org>.
48557
48558 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48559
48560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48561         Maintain aligned stack.
48562         (CHECK_RSP): Remove unused macro.
48563
48564 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48565
48566         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48567         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48568
48569 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48570
48571         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48572
48573         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48574
48575 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48576
48577         [BZ #12518]
48578         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48579         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48580         * sysdeps/x86_64/memmove.c: New file.
48581         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48582         (memcpy): Renamed to ...
48583         (__new_memcpy): This.
48584         (memcpy): Provide GLIBC_2_14 memcpy.
48585         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48586         (memcpy): Provide GLIBC_2_2_5 memcpy.
48587
48588 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48589
48590         [BZ #12631]
48591         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48592
48593 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48594
48595         * misc/syncfs.c: New file.
48596         * misc/Makefile (routines): Add syncfs.
48597         * posix/unistd.h: Declare syncfs.
48598         * sysdeps/unix/syscalls.list: Add syncfs.
48599
48600 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48601
48602         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48603         open_by_handle_at.
48604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48605         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48606         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48607         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48609         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48611
48612 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48613
48614         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48615         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48616         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48617         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48618         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48620         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48621
48622         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48623         sync_file_range.c with -fexceptions.
48624         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48625         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48626         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48627         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48628         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48629         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48631         sync_file_range as cancellation point
48632         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48633         now a wrapper around __call_sync_file_range with cancellation handling.
48634         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48635         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48636         function name to __call_sync_file_range.
48637         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48638         Add call_sync_file_range.
48639
48640 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48641
48642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48643         bits/timex.h.
48644
48645 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48646
48647         * iconv/iconv.h: Fix typo in comment.
48648         * io/fcntl.h: Likewise.
48649         * libio/stdio.h: Likewise.
48650         * posix/spawn.h: Likewise.
48651         * posix/unistd.h: Likewise.
48652         * stdlib/stdlib.h: Likewise.
48653         * time/time.h: Likewise.
48654         * wcsmbs/wchar.h: Likewise.
48655
48656         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48657         open_by_handle): Add.
48658         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48659         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48660         Augment a few comments.
48661         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48663         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48666         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48667         open_by_handle.
48668
48669         * io/fcntl.h (AT_EMPTY_PATH): Define.
48670
48671 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48672
48673         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48674         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48675         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48676         to...
48677         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48678         * Versions.def: Add GLIBC_2.14.
48679         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48680         Export.
48681
48682 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48683
48684         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48685         round counter.
48686         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48687
48688 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48689
48690         [BZ #12597]
48691         * string/test-strncmp.c (do_page_test): New function.
48692         (check2): Likewise.
48693         (test_main): Call check2.
48694         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48695
48696 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48697
48698         [BZ #12587]
48699         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48700         Handle cache information in CPU leaf 4.
48701         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48702
48703 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48704
48705         [BZ #12583]
48706         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48707         character representation.
48708         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48709
48710 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48711
48712         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48713         END(__isnan) to END(__isnanf) to match function entry point/label
48714         EALIGN(__isnanf,...).
48715
48716 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48717
48718         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48719
48720 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48721
48722         [BZ #12510]
48723         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48724         copy from the symbol referenced in the relocation to initialize the
48725         used variable.
48726         Patch by Piotr Bury <pbury@goahead.com>.
48727         * elf/Makefile: Add rules to build and tst-unique3.
48728         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48729         * elf/tst-unique3.cc: New file.
48730         * elf/tst-unique3.h: New file.
48731         * elf/tst-unique3lib.cc: New file.
48732         * elf/tst-unique3lib2.cc: New file.
48733
48734         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48735
48736 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48737
48738         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48739         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48740         to _start.
48741
48742 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48743
48744         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48745         to-be-loaded object along a path to loader is ld.so.
48746
48747 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48748             Ulrich Drepper  <drepper@gmail.com>
48749
48750         * sysdeps/x86_64/memset.S: After aligning destination, code
48751         branches to different locations depending on the value of
48752         misalignment, when multiarch is enabled. Fix this.
48753
48754 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48755
48756         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48757         Set _x86_64_preferred_memory_instruction for AMD processsors.
48758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48759         Set bit_Prefer_SSE_for_memop for AMD processors.
48760
48761 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48762
48763         * libio/fmemopen.c (fmemopen): Optimize a bit.
48764
48765 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48766
48767         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48768
48769 2011-03-03  Roland McGrath  <roland@redhat.com>
48770
48771         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48772
48773 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48774
48775         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48776         __bzero_ultra1 instead of __memset_ultra1.
48777
48778 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48779             Ulrich Drepper  <drepper@gmail.com>
48780
48781         [BZ #12509]
48782         * include/link.h (struct link_map): Add l_orig_initfini.
48783         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48784         returning unsuccessfully.
48785         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48786         close of a file loaded at startup, restore the original l_initfini
48787         list.
48788         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48789         list, store the pointer.
48790         * elf/Makefile ($(objpfx)noload-mem): New rule.
48791         (noload-ENV): Define.
48792         (tests): Add $(objpfx)noload-mem.
48793         * elf/noload.c: Include <memcheck.h>.
48794         (main): Call mtrace.  Close all opened handles.
48795
48796 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48797
48798         [BZ #12454]
48799         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48800         dependencies are missing.
48801
48802 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48803
48804         Fix __if_freereq crash: Unlike the generic version which uses free,
48805         Hurd needs munmap.
48806         * sysdeps/mach/hurd/ifreq.h: New file.
48807
48808 2011-01-27  Petr Baudis  <pasky@suse.cz>
48809             Ulrich Drepper  <drepper@gmail.com>
48810
48811         [BZ 12445]#
48812         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48813         to extend_alloca().
48814         * stdio-common/bug23.c: New file.
48815         * stdio-common/Makefile (tests): Add bug23.
48816
48817 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48818             Ulrich Drepper  <drepper@gmail.com>
48819
48820         [BZ #12489]
48821         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48822         before performing relro protection.  At old place add assertion
48823         to make sure nothing changed.
48824
48825 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48826             Glauber de Oliveira Costa  <glommer@gmail.com>
48827
48828         * elf/elf.h: Add new ARM TLS relocs.
48829
48830 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48831
48832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48833         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48834         cast from r3.
48835         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48836         'tests' variable.
48837         * sysdeps/wordsize-64/tst-writev.c: New file.
48838
48839 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48840
48841         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48842         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48843         insns in _dl_start to prevent a TOC reference before relocs are
48844         resolved.
48845
48846 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48847
48848         [BZ #12469]
48849         * Makeconfig: Remove RANLIB definition.
48850         * Makerules: Don't use RANLIB.
48851         * aclocal.m4: Remove ranlib test.
48852         * configure.in: No need to check for ranlib.
48853         * elf/rtld-Rules: Don't use RANLIB.
48854
48855 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48856
48857         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48858         protection macro.
48859         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48860         inclusion protection macro.
48861
48862         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48863         SIGRTMIN and SIGRTMAX and print information in that case only when
48864         SIGRTMIN is defined.
48865
48866 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48867
48868         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48869         arginfo fn returning -1.
48870
48871         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48872         and thousands string is zero terminated.
48873
48874 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48875
48876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48877         sysdeps/unix/sysv/linux/bits/socket.h.
48878
48879 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48880
48881         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48882         (__CPU_COUNT): Remove old macros.
48883         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48884         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48885         (__CPU_ALLOC, __CPU_FREE): Add macros.
48886         (__sched_cpualloc, __sched_cpufree): Add declarations.
48887
48888 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48889
48890         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48891         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48892         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48893         (readdhstai): Return value of addhstaiX call.
48894         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48895         (addgrbyX): Return value returned by cache_addgr.
48896         (readdgrbyname): Return value returned by addgrbyX.
48897         (readdgrbygid): Likewise.
48898         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48899         (addpwbyX): Return value returned by cache_addpw.
48900         (readdpwbyname): Return value returned by addhstbyX.
48901         (readdpwbyuid): Likewise.
48902         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48903         (addservbyX): Return value returned by cache_addserv.
48904         (readdservbyname): Return value returned by addservbyX:
48905         (readdservbyport): Likewise.
48906         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48907         (addhstbyX): Return value returned by cache_addhst.
48908         (readdhstbyname): Return value returned by addhstbyX.
48909         (readdhstbyaddr): Likewise.
48910         (readdhstbynamev6): Likewise.
48911         (readdhstbyaddrv6): Likewise.
48912         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48913         (readdinitgroups): Return value returned by addinitgroupsX.
48914         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48915         (prune_cache): Keep track of timeout value of re-added entries.
48916         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48917         * nscd/nscd.h: Adjust prototypes of readd* functions.
48918
48919 2011-02-04  Roland McGrath  <roland@redhat.com>
48920
48921         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48922         (nis_stats): Likewise.
48923         * nis/nis_modify.c (nis_modify): Likewise.
48924         * nis/nis_remove.c (nis_remove): Likewise.
48925         * nis/nis_add.c (nis_add): Likewise.
48926
48927         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48928
48929         * posix/fnmatch_loop.c: Add some consts.
48930
48931         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48932
48933 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48934
48935         [BZ #12460]
48936         * config.make.in (config-cflags-novzeroupper): Define.
48937         * configure.in: Substitute libc_cv_cc_novzeroupper.
48938         * elf/Makefile (AVX-CFLAGS): Define.
48939         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48940         (CFLAGS-tst-auditmod4a.c): Likewise.
48941         (CFLAGS-tst-auditmod4b.c): Likewise.
48942         (CFLAGS-tst-auditmod6b.c): Likewise.
48943         (CFLAGS-tst-auditmod6c.c): Likewise.
48944         (CFLAGS-tst-auditmod7b.c): Likewise.
48945         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48946
48947 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48948
48949         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48950         function to the callback.
48951         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48952
48953 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48954
48955         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48956         of errno.
48957
48958 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48959
48960         [BZ #11724]
48961         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48962         of constructors.
48963         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48964         of destructors.
48965         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48966
48967         [BZ #11724]
48968         * elf/Makefile: Add rules to build and run new test.
48969         * elf/tst-initorder.c: New file.
48970         * elf/tst-initorder.exp: New file.
48971         * elf/tst-initordera1.c: New file.
48972         * elf/tst-initordera2.c: New file.
48973         * elf/tst-initordera3.c: New file.
48974         * elf/tst-initordera4.c: New file.
48975         * elf/tst-initorderb1.c: New file.
48976         * elf/tst-initorderb2.c: New file.
48977         * elf/tst-order-a1.c: New file.
48978         * elf/tst-order-a2.c: New file.
48979         * elf/tst-order-a3.c: New file.
48980         * elf/tst-order-a4.c: New file.
48981         * elf/tst-order-b1.c: New file.
48982         * elf/tst-order-b2.c: New file.
48983         * elf/tst-order-main.c: New file.
48984         New test case by George Gensure <werkt0@gmail.com>.
48985
48986 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48987
48988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48989         decoding ACE if AI_CANONIDN.
48990
48991 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48992
48993         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48994
48995 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48996
48997         * version.h (RELEASE): Bump for 2.13 release.
48998         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48999
49000         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49001
49002         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49003         MADV_NOHUGEPAGE.
49004         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49005         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49009         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49010
49011         * posix/getconf.c: Update copyright year.
49012         * catgets/gencat.c: Likewise.
49013         * csu/version.c: Likewise.
49014         * debug/catchsegv.sh: Likewise.
49015         * debug/xtrace.sh: Likewise.
49016         * elf/ldconfig.c: Likewise.
49017         * elf/ldd.bash.in: Likewise.
49018         * elf/sprof.c (print_version): Likewise.
49019         * iconv/iconv_prog.c: Likewise.
49020         * iconv/iconvconfig.c: Likewise.
49021         * locale/programs/locale.c: Likewise.
49022         * locale/programs/localedef.c: Likewise.
49023         * malloc/memusage.sh: Likewise.
49024         * malloc/mtrace.pl: Likewise.
49025         * nscd/nscd.c (print_version): Likewise.
49026         * nss/getent.c: Likewise.
49027
49028         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49029         PF_CAIF, and PF_ALG.
49030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49031
49032 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49033
49034         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49035         (modules-names): Use them.
49036         (ifunc-test-modules, ifunc-pie-tests): Define.
49037         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49038         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49039         (test-extras): Likewise.
49040         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49041         $(compile-command.c).
49042         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49043         (all-built-dso): Define.
49044         (check-textrel.out, check-execstack.out): Depend on it.
49045
49046         * configure.in: Don't override --enable-multi-arch.
49047
49048 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49049
49050         [BZ #6812]
49051         * nscd/hstcache.c (tryagain): Define.
49052         (cache_addhst): Return tryagain not notfound for temporary errors.
49053         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49054         failed.
49055
49056 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49057
49058         [BZ #10563]
49059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49060         to make the syscall.
49061         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49062
49063         [BZ #12378]
49064         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49065         and fall back to matching as normal character if the string ends before
49066         the matching ']' is found.  This is what POSIX requires.
49067         * posix/testfnm.c: Adjust test result.
49068         * posix/globtest.sh: Adjust test result.  Add new test.
49069         * posix/tst-fnmatch.input: Likewise.
49070         * posix/tst-fnmatch2.c: Add new test.
49071
49072 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49073
49074         * elf/Makefile (check-execstack): Revert last change.  Depend on
49075         check-execstack.h.
49076         (check-execstack.h): New target.
49077         (generated): Add check-execstack.h.
49078         * elf/check-execstack.c: Include "check-execstack.h".
49079         (main): Revert last change.
49080         (handle_file): Return zero if GNU_STACK is absent and
49081         DEFAULT_STACK_PERMS doesn't include PF_X.
49082
49083 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49084
49085         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49086         in child fails because the descriptor is already closed.
49087         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49088         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49089         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49090
49091         [BZ #12397]
49092         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49093         syscall.
49094
49095         [BZ #10484]
49096         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49097         temporary buffer used to handle multi lookups locally.
49098         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49099
49100 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49101
49102         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49103         loader is ld.so.
49104
49105 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49106
49107         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49108         alignment for SSE2.
49109
49110 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49111
49112         [BZ #12394]
49113         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49114         characters.  When rounding increased number of integer digits recompute
49115         number of groups.
49116         * stdio-common/tst-grouping.c: New file.
49117         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49118
49119 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49120
49121         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49122         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49123
49124         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49125         void.
49126         * bits/select.h: Likewise.
49127
49128 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49129
49130         * po/ja.po: Update from translation team.
49131
49132 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49133
49134         [BZ #11155]
49135         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49136         implementation just like for lxstat, fxstatat, et al.
49137
49138 2010-12-27  Jim Meyering  <meyering@redhat.com>
49139
49140         [BZ #12348]
49141         * posix/regexec.c (build_trtable): Return failure indication upon
49142         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49143
49144 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49145
49146         [BZ #12201]
49147         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49148         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49149         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49150         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49151
49152         [BZ #12207]
49153         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49154
49155         [BZ #12204]
49156         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49157         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49158
49159 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49160
49161         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49162         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49163         script has SORT_BY_INIT_PRIORITY.
49164         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49165         NO_CTORS_DTORS_SECTIONS is defined.
49166         * elf/soinit.c: Likewise.
49167         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49168         NO_CTORS_DTORS_SECTIONS is defined.
49169         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49170         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49171         * sysdeps/sh/init-first.c: Likewise.
49172         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49173
49174 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49175
49176         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49177         always use the slow path.
49178
49179 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49180
49181         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49182         similar rule which adds the sysdep directories to the header search in
49183         order to pick up the correct platform stackinfo.h.
49184         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49185         perform test if it is, otherwise return successfully without testing.
49186         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49187         DEFAULT_STACK_PERMS define in stackinfo.h.
49188         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49189         defined in stackinfo.h.
49190         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49191         DEFAULT_STACK_PERMS defined in stackinfo.h.
49192         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49193         * sysdeps/ia64/stackinfo.h: Likewise.
49194         * sysdeps/s390/stackinfo.h: Likewise.
49195         * sysdeps/sh/stackinfo.h: Likewise.
49196         * sysdeps/sparc/stackinfo.h: Likewise.
49197         * sysdeps/x86_64/stackinfo.h: Likewise.
49198         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49199         PF_X for powerpc64.  Retain PF_X for powerpc32.
49200
49201 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49202
49203         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49204         accurately.
49205         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49206         GETDENTS_64BIT_ALIGNED.
49207
49208 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49209
49210         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49211
49212 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49213
49214         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49215         _GNU_SOURCE.
49216
49217         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49218         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49219         Remove __restrict.
49220         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49221         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49222
49223 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49224
49225         [BZ #11655]
49226         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49227         are initialized.
49228
49229 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49230
49231         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49232
49233 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49234
49235         * po/it.po: Update from translation team.
49236
49237 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49238
49239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49240         unused codes.
49241
49242 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49243
49244         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49245
49246 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49247
49248         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49249         specially.
49250         (gaih_getanswer_slice): Likewise.
49251
49252 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49253
49254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49255
49256 2010-05-31  Petr Baudis  <pasky@suse.cz>
49257
49258         [BZ #11149]
49259         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49260         silently even in the chroot mode.
49261
49262 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49263
49264         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49265         last patch a bit.  Pretty printing
49266
49267 2010-05-31  Petr Baudis <pasky@suse.cz>
49268
49269         [BZ #10085]
49270         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49271         initialization of skip_initgroups_dyn.
49272
49273 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49274
49275         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49277
49278 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49279
49280         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49281
49282 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49283
49284         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49285         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49286         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49287         ($(objpfx)tst-fnmatch-mem): New rule.
49288         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49289         * posix/tst-fnmatch.c (main): Call mtrace.
49290
49291 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49292
49293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49294         Support Intel processor model 6 and model 0x2c.
49295
49296 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49297
49298         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49299           signed comparison.
49300
49301 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49302
49303         [BZ #12205]
49304         * string/test-strncasecmp.c (check_result): New function.
49305         (do_one_test): Use it.
49306         (check1): New function.
49307         (test_main): Use it.
49308         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49309         Support strcasecmp and strncasecmp.
49310
49311 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49312
49313         [BZ #12194]
49314         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49315         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49316
49317 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49318
49319         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49320         IFUNC support.
49321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49322         memset-x86-64.
49323         * sysdeps/x86_64/multiarch/bzero.S: New file.
49324         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49325         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49326         * sysdeps/x86_64/multiarch/memset.S: New file.
49327         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49329         Set bit_Prefer_SSE_for_memop for Intel processors.
49330         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49331         Define.
49332         (index_Prefer_SSE_for_memop): Define.
49333         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49334
49335 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49336
49337         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49338         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49339
49340 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49341
49342         [BZ #12191]
49343         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49344         (__x86_64_raw_data_cache_size_half): Likewise.
49345         (__x86_64_raw_shared_cache_size): Likewise.
49346         (__x86_64_raw_shared_cache_size_half): Likewise.
49347
49348         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49349         (__x86_64_raw_data_cache_size_half): Likewise.
49350         (__x86_64_raw_shared_cache_size): Likewise.
49351         (__x86_64_raw_shared_cache_size_half): Likewise.
49352         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49353         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49354         and __x86_64_raw_shared_cache_size_half.  Round
49355         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49356         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49357         to multiple of 256 bytes.
49358
49359 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49360
49361         [BZ #12167]
49362         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49363         of inacessible symlinks.  Verify result of symlink before returning it.
49364         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49365         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49366
49367 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49368
49369         * math/math.h (isinf): Fix typo in comment.
49370
49371 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49372
49373         * po/da.po: Update from translation team.
49374
49375 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49376
49377         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49378         is added to the list.
49379
49380 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49381             Ulrich Drepper  <drepper@gmail.com>
49382
49383         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49384         the global list here.  Move code to...
49385         (_dl_add_to_namespace_list): ...here.  New function.
49386         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49387         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49388         * elf/dl-load.c (lose): Don't remove the element from the list.
49389         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49390         (_dl_map_object): Likewise.
49391
49392 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49393
49394         [BZ #12159]
49395         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49396         into all bytes of SSE register.
49397         Patch by Richard Li <richardpku@gmail.com>.
49398
49399 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49400
49401         [BZ #12140]
49402         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49403         perturbing.
49404
49405 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49406
49407         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49408         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49409         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49410         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49412         submachine.
49413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49414
49415 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49416
49417         * include/dlfcn.h (__RTLD_SECURE): Define.
49418         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49419         mode & __RTLD_SECURE instead.
49420         (open_path): Rename preloaded parameter to secure.
49421         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49422         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49423         * elf/dl-deps.c (openaux): Likewise.
49424         * elf/rtld.c (struct map_args): Remove is_preloaded.
49425         (map_doit): Don't use it.
49426         (dl_main): Likewise.
49427         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49428         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49429
49430 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49431
49432         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49433         (sysd-rules-targets): Remove duplicates.
49434         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49435         rtld-%.$o dependency.
49436
49437 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49438
49439         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49440         _dl_map_object do it.
49441
49442 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49443
49444         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49445         fast fma builtins, define the macros in the C99 standard.
49446         (FP_FAST_FMAF): Likewise.
49447         (FP_FAST_FMAL): Likewise.
49448         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49449
49450         * bits/mathdef.h: Update copyright year.
49451         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49452
49453 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49454
49455         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49456         builtins, define the macros in the C99 standard.
49457         (FP_FAST_FMAF): Likewise.
49458         (FP_FAST_FMAL): Likewise.
49459         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49460         multiply/add.
49461         (FP_FAST_FMAF): Likewise.
49462
49463 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49464
49465         [BZ #3268]
49466         * math/libm-test.inc (fma_test): Some new testcases.
49467         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49469         y and infinite z.  Do multiplication by C already in long double.
49470         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49472         y and infinite z.  Do bitwise or of inexact bit into u.d.
49473         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49474         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49475         * sysdeps/i386/fpu/s_fma.S: Removed.
49476         * sysdeps/i386/fpu/s_fmal.S: Removed.
49477
49478 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49479
49480         [BZ #3268]
49481         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49483         computation is not scheduled after fetestexcept.  Fix value
49484         of minimum denormal long double.
49485
49486 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49487
49488         [BZ #3268]
49489         * math/libm-test.inc (fma_test): Add some more tests.
49490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49491         correctly.
49492
49493 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49494
49495         * scripts/data/localplt-s390-linux-gnu.data: New file.
49496         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49497
49498 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49499
49500         [BZ #3268]
49501         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49502         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49503         instead of dbl-64.
49504         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49505         inlines.
49506         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49508         if one of x and y is very large and the other is subnormal.
49509         * sysdeps/s390/fpu/s_fmaf.c: New file.
49510         * sysdeps/s390/fpu/s_fma.c: New file.
49511         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49512         * sysdeps/powerpc/fpu/s_fma.S: New file.
49513         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49514         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49515         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49516
49517 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49518
49519         [BZ #3268]
49520         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49521         fma tests.
49522         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49523         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49524         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49525         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49526         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49527         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49528         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49529
49530 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49531
49532         [BZ #12078]
49533         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49534         * posix/bug-regex31.input: Add test case.
49535
49536 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49537
49538         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49539         * posix/bug-regex31.input: New file.
49540
49541         [BZ #12078]
49542         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49543         (parse_sub_exp): Fix last change, use postorder.
49544
49545         * posix/bug-regex31.c: New file.
49546         * posix/Makefile: Add rules to build and run bug-regex31.
49547
49548         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49549
49550         [BZ #12078]
49551         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49552
49553         [BZ #12108]
49554         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49555         to have entries in sys_siglist.
49556
49557         [BZ #12093]
49558         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49559         be NULL.
49560
49561 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49562
49563         [BZ #3268]
49564         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49565         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49566         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49567         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49568         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49569         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49570         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49571         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49572         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49573         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49574         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49575         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49576         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49577         * math/ftestexcept.c (fetestexcept): Likewise.
49578         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49579         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49580         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49581         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49582         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49583         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49584         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49585
49586 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49587
49588         [BZ #12107]
49589         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49590         newline.
49591
49592 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49593
49594         * string/bug-strstr1.c: New file.
49595         * string/Makefile: Add rules to build and run bug-strstr1.
49596
49597 2010-10-05  Eric Blake  <eblake@redhat.com>
49598
49599         [BZ #12092]
49600         * string/str-two-way.h (two_way_long_needle): Always clear memory
49601         when skipping input due to the shift table.
49602
49603 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49604
49605         [BZ #12005]
49606         * malloc/mcheck.c: Handle large requests.
49607
49608         [BZ #12077]
49609         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49610         for strncmp and strncasecmp.
49611         * string/stratcliff.c: Add tests for strcmp and strncmp.
49612         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49613
49614 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49615
49616         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49617         __set_fpscr.
49618
49619 2010-09-30  Andreas Jaeger  <aj@suse.de>
49620
49621         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49622         (CGROUP_SUPER_MAGIC): Define.
49623         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49624         Handle btrfs and cgroup file systems.
49625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49626         Likewise.
49627
49628 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49629
49630         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49631         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49632
49633 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49634
49635         [BZ #12067]
49636         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49637         trying to locate the ELF header.
49638
49639 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49640
49641         [BZ #11611]
49642         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49643         Mask out sign-bit copies when constructing f_fsid.
49644
49645 2010-09-24  Petr Baudis <pasky@suse.cz>
49646
49647         * debug/stack_chk_fail_local.c: Add missing licence exception.
49648         * debug/warning-nop.c: Likewise.
49649
49650 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49651
49652         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49653         implementing getdents64 using getdents syscall, set d_type if
49654         __ASSUME_GETDENTS32_D_TYPE.
49655
49656 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49657
49658         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49659         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49660
49661 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49662
49663         [BZ #12037]
49664         * posix/unistd.h: Undo change of feature selection for ftruncate from
49665         2010-01-11.
49666
49667 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49668
49669         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49670         detection.
49671
49672 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49673
49674         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49675         fanotify_mark.
49676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49677
49678 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49679
49680         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49681         variables after CHECK_SP call.
49682         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49683
49684 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49685             Ulrich Drepper  <drepper@redhat.com>
49686
49687         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49688         re-relocationg ld.so.
49689         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49690         _dl_init_paths call.
49691         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49692         here anymore.
49693
49694 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49695
49696         * resolv/res_init.c (__res_vinit): Count the default server we added.
49697
49698 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49699             Ulrich Drepper  <drepper@redhat.com>
49700
49701         [BZ #11968]
49702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49703         (____longjmp_chk): Use %ebx for saving value across system call.
49704         Add unwind info.
49705
49706 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49707
49708         * manual/Makefile: Don't mix pattern rules with normal rules.
49709
49710 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49711
49712         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49713         operation.
49714         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49715         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49716         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49717         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49719         Likewise.
49720
49721 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49722
49723         [BZ #11979]
49724         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49725         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49726
49727 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49728
49729         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49730         * sysdeps/x86_64/addmul_1.S: Likewise.
49731         * sysdeps/x86_64/lshift.S: Likewise.
49732         * sysdeps/x86_64/mul_1.S: Likewise.
49733         * sysdeps/x86_64/rshift.S: Likewise.
49734         * sysdeps/x86_64/sub_n.S: Likewise.
49735         * sysdeps/x86_64/submul_1.S: Likewise.
49736
49737 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49738
49739         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49740         Define __sched_param instead of SCHED_* and sched_param when
49741         <bits/sched.h> is included with __need_schedparam defined.
49742         * bits/sched.h [__need_schedparam]
49743         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49744         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49745         (__defined_schedparam): Define to 1.
49746         (__sched_param): New structure, identical to sched_param.
49747         (__need_schedparam): Undefine.
49748
49749 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49750
49751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49752         (epoll_create1): Declare.
49753
49754         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49755
49756 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49757
49758         [BZ #7066]
49759         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49760         shifting retval into place.
49761
49762 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49763
49764         * nis/rpcsvc/nis.h: Update copyright notice.
49765         * nis/rpcsvc/nis.x: Likewise.
49766         * nis/rpcsvc/nis_callback.h: Likewise.
49767         * nis/rpcsvc/nis_callback.x: Likewise.
49768         * nis/rpcsvc/nis_object.x: Likewise.
49769         * nis/rpcsvc/nis_tags.h: Likewise.
49770         * nis/rpcsvc/yp.h: Likewise.
49771         * nis/rpcsvc/yp.x: Likewise.
49772         * nis/rpcsvc/ypupd.h: Likewise.
49773         * nis/yp_xdr.c: Likewise.
49774         * nis/ypupdate_xdr.c: Likewise.
49775
49776         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49777         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49778         (pmap_getport): Use __libc_rpc_getport.
49779         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49780         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49781         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49782
49783 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49784
49785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49786         fanotify_mark.
49787
49788 2010-08-27  Roland McGrath  <roland@redhat.com>
49789
49790         * sysdeps/i386/i686/multiarch/Makefile
49791         (CFLAGS-varshift.c): New variable.
49792
49793 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49794
49795         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49796         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49797
49798         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49799
49800         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49801
49802 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49803
49804         * sysdeps/x86_64/strlen.S: Unroll the loop.
49805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49806         strlen-sse2 strlen-sse2-bsf.
49807         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49808         __strlen_no_bsf if bit_Slow_BSF is set.
49809         (__strlen_sse42): Removed.
49810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49811         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49812
49813 2010-08-25  Roland McGrath  <roland@redhat.com>
49814
49815         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49816         * sysdeps/x86_64/multiarch/varshift.c: New file.
49817         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49818         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49819         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49820         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49821
49822 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49823
49824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49825         strlen-sse2 strlen-sse2-bsf.
49826         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49827         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49828         (__strlen_sse2): Removed.
49829         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49830         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49832         bit_Slow_BSF for Atom.
49833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49834         (index_Slow_BSF): Define.
49835         (HAS_SLOW_BSF): Define.
49836
49837 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49838
49839         [BZ #10851]
49840         * resolv/res_init.c (__res_vinit): When no server address at all
49841         is given default to loopback.
49842
49843 2010-08-24  Roland McGrath  <roland@redhat.com>
49844
49845         * configure.in: Remove config-name.h generation.
49846         * configure: Regenerated.
49847         * config-name.in: File removed.
49848         * scripts/config-uname.sh: New file.
49849         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49850         ($(objdir)config-name.h): New target.
49851
49852         * sunrpc/rpc_parse.h: Avoid nested comment.
49853
49854 2010-08-24  Richard Henderson  <rth@redhat.com>
49855             Ulrich Drepper  <drepper@redhat.com>
49856             H.J. Lu  <hongjiu.lu@intel.com>
49857
49858         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49860         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49861         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49862         _mm_alignr_epi8 with _mm_loadu_si128.
49863         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49864         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49865         (__m128i_shift_right): Removed.
49866         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49867         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49868         * sysdeps/x86_64/multiarch/varshift.h: New file.
49869         * sysdeps/x86_64/multiarch/varshift.S: New file.
49870
49871 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49872
49873         * configure.in: Move assembler checks to before sysdep dir checking.
49874
49875 2010-08-20  Petr Baudis  <pasky@suse.cz>
49876
49877         * LICENSES: Sync the sunrpc license.
49878
49879 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49880
49881         * sunrpc/auth_des.c: Update copyright notice once again.
49882         * sunrpc/auth_none.c: Likewise.
49883         * sunrpc/auth_unix.c: Likewise.
49884         * sunrpc/authdes_prot.c: Likewise.
49885         * sunrpc/authuxprot.c: Likewise.
49886         * sunrpc/bindrsvprt.c: Likewise.
49887         * sunrpc/clnt_gen.c: Likewise.
49888         * sunrpc/clnt_perr.c: Likewise.
49889         * sunrpc/clnt_raw.c: Likewise.
49890         * sunrpc/clnt_simp.c: Likewise.
49891         * sunrpc/clnt_tcp.c: Likewise.
49892         * sunrpc/clnt_udp.c: Likewise.
49893         * sunrpc/clnt_unix.c: Likewise.
49894         * sunrpc/des_crypt.c: Likewise.
49895         * sunrpc/des_soft.c: Likewise.
49896         * sunrpc/get_myaddr.c: Likewise.
49897         * sunrpc/getrpcport.c: Likewise.
49898         * sunrpc/key_call.c: Likewise.
49899         * sunrpc/key_prot.c: Likewise.
49900         * sunrpc/openchild.c: Likewise.
49901         * sunrpc/pm_getmaps.c: Likewise.
49902         * sunrpc/pm_getport.c: Likewise.
49903         * sunrpc/pmap_clnt.c: Likewise.
49904         * sunrpc/pmap_prot.c: Likewise.
49905         * sunrpc/pmap_prot2.c: Likewise.
49906         * sunrpc/pmap_rmt.c: Likewise.
49907         * sunrpc/rpc/auth.h: Likewise.
49908         * sunrpc/rpc/auth_unix.h: Likewise.
49909         * sunrpc/rpc/clnt.h: Likewise.
49910         * sunrpc/rpc/des_crypt.h: Likewise.
49911         * sunrpc/rpc/key_prot.h: Likewise.
49912         * sunrpc/rpc/netdb.h: Likewise.
49913         * sunrpc/rpc/pmap_clnt.h: Likewise.
49914         * sunrpc/rpc/pmap_prot.h: Likewise.
49915         * sunrpc/rpc/pmap_rmt.h: Likewise.
49916         * sunrpc/rpc/rpc.h: Likewise.
49917         * sunrpc/rpc/rpc_des.h: Likewise.
49918         * sunrpc/rpc/rpc_msg.h: Likewise.
49919         * sunrpc/rpc/svc.h: Likewise.
49920         * sunrpc/rpc/svc_auth.h: Likewise.
49921         * sunrpc/rpc/types.h: Likewise.
49922         * sunrpc/rpc/xdr.h: Likewise.
49923         * sunrpc/rpc_clntout.c: Likewise.
49924         * sunrpc/rpc_cmsg.c: Likewise.
49925         * sunrpc/rpc_common.c: Likewise.
49926         * sunrpc/rpc_cout.c: Likewise.
49927         * sunrpc/rpc_dtable.c: Likewise.
49928         * sunrpc/rpc_hout.c: Likewise.
49929         * sunrpc/rpc_main.c: Likewise.
49930         * sunrpc/rpc_parse.c: Likewise.
49931         * sunrpc/rpc_parse.h: Likewise.
49932         * sunrpc/rpc_prot.c: Likewise.
49933         * sunrpc/rpc_sample.c: Likewise.
49934         * sunrpc/rpc_scan.c: Likewise.
49935         * sunrpc/rpc_scan.h: Likewise.
49936         * sunrpc/rpc_svcout.c: Likewise.
49937         * sunrpc/rpc_tblout.c: Likewise.
49938         * sunrpc/rpc_util.c: Likewise.
49939         * sunrpc/rpc_util.h: Likewise.
49940         * sunrpc/rpcinfo.c: Likewise.
49941         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49942         * sunrpc/rpcsvc/key_prot.x: Likewise.
49943         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49944         * sunrpc/rpcsvc/mount.x: Likewise.
49945         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49946         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49947         * sunrpc/rpcsvc/rex.x: Likewise.
49948         * sunrpc/rpcsvc/rstat.x: Likewise.
49949         * sunrpc/rpcsvc/rusers.x: Likewise.
49950         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49951         * sunrpc/rpcsvc/spray.x: Likewise.
49952         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49953         * sunrpc/rtime.c: Likewise.
49954         * sunrpc/svc.c: Likewise.
49955         * sunrpc/svc_auth.c: Likewise.
49956         * sunrpc/svc_authux.c: Likewise.
49957         * sunrpc/svc_raw.c: Likewise.
49958         * sunrpc/svc_run.c: Likewise.
49959         * sunrpc/svc_simple.c: Likewise.
49960         * sunrpc/svc_tcp.c: Likewise.
49961         * sunrpc/svc_udp.c: Likewise.
49962         * sunrpc/svc_unix.c: Likewise.
49963         * sunrpc/svcauth_des.c: Likewise.
49964         * sunrpc/xcrypt.c: Likewise.
49965         * sunrpc/xdr.c: Likewise.
49966         * sunrpc/xdr_array.c: Likewise.
49967         * sunrpc/xdr_float.c: Likewise.
49968         * sunrpc/xdr_mem.c: Likewise.
49969         * sunrpc/xdr_rec.c: Likewise.
49970         * sunrpc/xdr_ref.c: Likewise.
49971         * sunrpc/xdr_sizeof.c: Likewise.
49972         * sunrpc/xdr_stdio.c: Likewise.
49973
49974         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49975         handling.
49976
49977 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49978
49979         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49980
49981 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49982
49983         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49984         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49985         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49986         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49987         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49988         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49989         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49990         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49991         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49992         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49993         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49994         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49995         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49996         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49997
49998 2010-07-26  Anton Blanchard  <anton@samba.org>
49999
50000         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50001         * malloc/arena.c (heap_trim): Likewise.
50002
50003 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50004
50005         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50006         here.  Not...
50007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50008         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50009
50010 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50011
50012         * sysdeps/i386/elf/Makefile: New file.
50013
50014 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50015
50016         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50017         from fanotify_init.
50018         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50020
50021 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50022
50023         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50024         of strncasecmp_l.
50025         * sysdeps/multiarch/strcmp.S: Likewise.
50026
50027 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50028
50029         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50030         strncase_l-nonascii.
50031         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50032         Add strncase_l-ssse3.
50033         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50034         * sysdeps/x86_64/strcmp.S: Likewise.
50035         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50036         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50037         * sysdeps/x86_64/strncase.S: New file.
50038         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50039         * sysdeps/x86_64/strncase_l.S: New file.
50040         * string/Makefile (strop-tests): Add strncasecmp.
50041         * string/test-strncasecmp.c: New file.
50042
50043         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50044         warning.
50045
50046         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50047         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50048
50049 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50050
50051         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50052
50053 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50054
50055         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50056         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50057         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50058
50059 2010-05-01  Alan Modra  <amodra@gmail.com>
50060
50061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50062         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50063         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50064         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50065         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50066         tidying.  Don't tail-call __sigjmp_save for static lib.
50067         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50068         save location.
50069         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50070         (CALL_MCOUNT): Add eh info, and nop after bl.
50071         (TAIL_CALL_SYSCALL_ERROR): New macro.
50072         (PSEUDO_RET): Use it.
50073         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50074         Correct save location of integer regs and cr.
50075         (_dl_profile_resolve): Correct cr save location.  Delete nops
50076         after bl when SHARED.  Reduce cfi size a little by better
50077         placement of cfi directives.
50078         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50079         make a stack frame.  Instead use parm save area as a temp.
50080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50081         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50083         Don't make a stack frame for parent, use parm save area.
50084         Increase child stack frame to 112 bytes.  Don't save unused reg,
50085         and adjust reg usage.  Set up cfi on error recovery and
50086         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50088         (__makecontext): Add dummy nop after jump to exit.
50089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50090         Use correct parm save area and cr save, reduce stack frame.
50091         Correct cfi for possible PSEUDO_RET frame setup.
50092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50093         Branch to local label emitted by PSEUDO_RET rather than
50094         __syscall_error.
50095
50096 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50097
50098         [BZ #11904]
50099         * locale/programs/locale.c (print_assignment): New function.
50100         (show_locale_vars): Use it.
50101
50102 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50103
50104         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50105         field.
50106         (struct statfs64): Likewise.
50107         (_STATFS_F_FLAGS): Define.
50108         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50109         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50110         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50111         (ST_VALID): Define locally.
50112         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50113         __statvfs_getflags, use the provided value.
50114         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50115         __ASSUME_STATFS_F_FLAGS.
50116
50117         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50118
50119         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50120         Add sys/fanotify.h.
50121         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50122         fanotify_mask for GLIBC_2.13.
50123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50124         fanotify_init and fanotify_mark.
50125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50126         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50127
50128         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50129         Add prlimit.
50130         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50131         prlimit64 for GLIBC_2.13.
50132         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50133         prlimit64.
50134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50135         syscall.
50136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50137         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50138         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50139         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50141         add prlimit alias.
50142         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50143
50144         [BZ #11903]
50145         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50146         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50147
50148         * nss/Makefile: Add rules to build and run tst-nss-test1.
50149         * shlib-versions: Add entry for libnss_test1.
50150         * nss/nss_test1.c: New file.
50151         * nss/tst-nss-test1.c: New file.
50152
50153         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50154         (__nss_configure_lookup): Set appropriate entry in
50155         __nss_configure_lookup to true.
50156         * nss/nsswitch.h: Define enum with indeces of databases in
50157         databases and __nss_database_custom arrays.  Declare
50158         __nss_database_custom.
50159         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50160         to avoid using nscd when custom rules are installed.
50161         * nss/getXXbyYY_r.c: Likewise.
50162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50163
50164         * nss/nss_files/files-parse.c: Whitespace fixes.
50165
50166 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50167
50168         [BZ #11883]
50169         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50170         * posix/fnmatch_loop.c: Likewise.
50171
50172 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50173
50174         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50175         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50176         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50177         * Versions.def [GLIBC_2.13]: Add.
50178
50179 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50180
50181         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50182         Also fail if tpwd after pwuid call is NULL.
50183
50184 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50185
50186         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50187         when converting to ms.
50188
50189 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50190
50191         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50192         EOPNOTSUPP errors with ENOTTY.
50193         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50194         EOPNOTSUPP errors with ENOTTY.
50195
50196 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50197
50198         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50199         Add strcasecmp_l-ssse3.
50200         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50201         strcasecmp.
50202         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50203         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50204         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50205
50206 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50207
50208         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50209
50210         * string/Makefile (strop-tests): Add strcasecmp.
50211         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50212         strcasecmp_l-nonascii.
50213         (gen-as-const-headers): Add locale-defines.sym.
50214         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50215         * sysdeps/x86_64/strcasecmp.S: New file.
50216         * sysdeps/x86_64/strcasecmp_l.S: New file.
50217         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50218         * sysdeps/x86_64/locale-defines.sym: New file.
50219         * string/test-strcasecmp.c: New file.
50220
50221         * string/test-strcasestr.c: Test both ends of the range of characters.
50222         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50223
50224 2010-07-29  Roland McGrath  <roland@redhat.com>
50225
50226         [BZ #11856]
50227         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50228
50229 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50230
50231         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50232         for ld.so.
50233
50234 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50235
50236         * manual/memory.texi (Malloc Tunable Parameters): Document
50237         M_PERTURB.
50238
50239 2010-07-26  Roland McGrath  <roland@redhat.com>
50240
50241         [BZ #11840]
50242         * configure.in (-fgnu89-inline check): Set and substitute
50243         gnu89_inline, not libc_cv_gnu89_inline.
50244         * configure: Regenerated.
50245         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50246
50247 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50248
50249         * string/test-strnlen.c: New file.
50250         * string/Makefile (strop-tests): Add strnlen.
50251         * string/tester.c (test_strnlen): Add a few more test cases.
50252         * string/tst-strlen.c: Better error reporting.
50253
50254         * sysdeps/x86_64/strnlen.S: New file.
50255
50256 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50257
50258         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50259         lower-latency instructions.
50260
50261 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50262
50263         * string/test-strcasestr.c: New file.
50264         * string/test-strstr.c: New file.
50265         * string/Makefile (strop-tests): Add strstr and strcasestr.
50266         * string/str-two-way.h: Don't undefine MAX.
50267         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50268
50269 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50270
50271         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50272         strcasestr-nonascii.
50273         (CFLAGS-strcasestr-nonascii.c): Define.
50274         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50275         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50276         Remove unused attribute.
50277
50278 2010-07-20  Roland McGrath  <roland@redhat.com>
50279
50280         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50281         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50282         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50283         like LD_HWCAP_MASK can disable hwcaps.
50284
50285 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50286
50287         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50288
50289 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50290
50291         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50292         call in strcasestr.
50293         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50294         __strcasestr_sse42_nonascii.
50295         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50296         strcasestr-nonascii.c.
50297         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50298
50299 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50300
50301         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50302         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50303         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50304         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50305
50306 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50307
50308         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50309         fcntl.
50310
50311 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50312
50313         [BZ #11577]
50314         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50315         dl_signal_cerror.
50316
50317 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50318
50319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50320         _PC_PIPE_BUF using F_GETPIPE_SZ.
50321
50322 2010-07-05  Roland McGrath  <roland@redhat.com>
50323
50324         * manual/arith.texi (Rounding Functions): Fix rint description
50325         implicit in round description.
50326
50327 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50328
50329         * elf/Makefile: Fix linking for a few tests to make recent linker
50330         happy.
50331
50332 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50333
50334         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50335         $(common-objpfx)libc_nonshared.a.
50336
50337 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50338
50339         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50340         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50341         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50342         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50343         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50344         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50345         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50346         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50361         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50362         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50363         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50364         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50365         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50366         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50367         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50368         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50369         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50370         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50371         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50372         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50387
50388 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50389
50390         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50391         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50392         * string/memmove.c (memmove): Renamed to ...
50393         (MEMMOVE): ...this.  Default to memmove.
50394         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50395         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50396         (END_CHK): Define.
50397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50398         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50399         mempcpy-ssse3-back memmove-ssse3-back.
50400         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50403         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50404         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50405         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50406         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50407         * sysdeps/x86_64/multiarch/memmove.c: New file.
50408         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50409         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50410         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50411         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50413         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50414         Define.
50415         (index_Fast_Copy_Backward): Define.
50416         (HAS_ARCH_FEATURE): Define.
50417         (HAS_FAST_REP_STRING): Define.
50418         (HAS_FAST_COPY_BACKWARD): Define.
50419
50420 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50421
50422         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50423         Restore proper fallback handling.
50424
50425 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50426
50427         [BZ #11701]
50428         * posix/group_member.c (__group_member): Correct checking loop.
50429
50430         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50431         OOM in getpwuid_r correctly.  Return error number when the caller
50432         should return, otherwise -1.
50433         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50434         call returning > 0 value.
50435         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50436
50437 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50438
50439         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50440         libc_nonshared.a from targets in modules-names.
50441
50442 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50443
50444         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50445         requires it.
50446
50447 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50448
50449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50451         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50453
50454 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50455
50456         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50457
50458 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50459
50460         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50461         and F_GETPIPE_SZ.
50462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50463         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50466         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50468
50469 2010-06-14  Roland McGrath  <roland@redhat.com>
50470
50471         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50472
50473 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50474
50475         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50476         __REDIRECT followed by __THROW.
50477         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50478         * posix/getopt.h (getopt): Likewise.
50479
50480 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50481
50482         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50483         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50484         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50485         in AT_FLAGS.
50486         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50487         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50488
50489 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50490
50491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50492
50493 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50494
50495         [BZ #11640]
50496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50497         Properly check family and model.
50498
50499 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50500
50501         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50502
50503 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50504
50505         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50506
50507 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50508
50509         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50510         symbol reference.
50511
50512 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50513
50514         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50515         symbol reference.
50516
50517 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50518
50519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50520         and internal_recvmmsg.
50521         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50522         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50523         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50524         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50525
50526         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50527         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50528         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50529
50530 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50531
50532         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50533
50534 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50535
50536         POWER7 optimizations.
50537         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50538         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50539
50540 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50541
50542         * version.h: Update for 2.13 development version.
50543
50544 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50545
50546         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50547         exceptions.  Return 0.
50548
50549 2010-05-07  Roland McGrath  <roland@redhat.com>
50550
50551         * elf/ldconfig.c (main): Add a const.
50552
50553 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50554
50555         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50556         (args_options): Add no-idn option.
50557         (ahosts_keys_int): Add idn_flags to ai_flags.
50558         (parse_option): Handle 'i' option to clear idn_flags.
50559
50560         * malloc/malloc.c (_int_free): Possible race in the most recently
50561         added check.  Only act on the data if no current modification
50562         happened.
50563
50564 See ChangeLog.17 for earlier changes.